Skip to content

Synchronize terminal mode test - #607

Merged
SaladDay merged 1 commit into
aos/cutoverfrom
aos/synchronize-terminal-mode-test
Oct 9, 2026
Merged

SaladDay merged 1 commit into
aos/cutoverfrom
aos/synchronize-terminal-mode-test

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

The terminal-size test let the child exit immediately after its second output line. The Process protocol allows queued PTY output to arrive after Exit, when the local terminal is already restored; that valid ordering can produce a second carriage return and make the test fail.

Keep the child alive until the test has observed the resized output, then release it through stdin. Preserve exact output and restored-terminal-mode assertions. Replace output polling with notification, and reap the child on failure. Production code and protocol behavior are unchanged.

Validation: a controlled real-relay diagnostic reproduces the CI output with Exit preceding late output; focused race 50 repetitions, full processbroker tests (including uncached postcommit), vet and naming/docs/CI hygiene pass. Coordinator reviewed the complete diff. Fixes the runtime CI failure observed on #606 without rerunning that failed result or weakening its assertion.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@SaladDay
SaladDay merged commit f58205b into aos/cutover Oct 9, 2026
1 check passed
@SaladDay
SaladDay deleted the aos/synchronize-terminal-mode-test branch October 9, 2026 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant