Repository navigation
fix(nsh): validate published crates and wait for the TUI avatar - #7354
Merged
Merged
Conversation
Read Cargo publish metadata for the vendored workspace and account for the two upstream GPUI packages. Mark the Maka-only terminal transport private so upstream patch generation stays accurate. Wait for the first painted half block before checking the icon and avatar rows. Generated-by: Maka
me2seeks
approved these changes
Nov 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The NSH job on main failed in two tests. Both failures reproduced locally at
a081e8ffcd. Failed NSH jobThe CLI test walked upstream's separate GPUI workspace, which Maka omits. It also treated Maka's local terminal transport as an upstream release. The test now reads Cargo's publish metadata for the vendored workspace, includes the two upstream-only GPUI packages, and compares the full set against the CLI patch list. The terminal transport inherits the workspace's private publish setting.
The TUI test checked the avatar cell as soon as its static label appeared. That frame can precede PNG decoding. The test now waits for a painted half block before asserting the avatar position, label placement, and collapsed icon row.
#7338 closed with both tests still using the old logic. Its follow-up #7352 touches different files.
Verification
cargo nextest run --locked --manifest-path third-party/nsh/Cargo.toml -p nsh-cli --bin nsh -p nsh-platform-tui --test tui -E 'test(every_published_nsh_crate_is_patched) | test(/^image::/)'passed all 8 selected tests.git diff --checkpassed. The Linux nsh worker on this commit passed, including both previously failing tests and all 6,829 tests selected in their nextest run.AI use
Maka diagnosed the failures, authored the changes, ran the targeted checks and drafted this PR. The commit carries the
Generated-by: Makatrailer.Checklist
Does this PR entail a breaking change or persisted-data migration?
Does this PR entail a change in behavior?