Skip to content

land: deferred-bash-idle-timer-test - #553

Merged
github-merge-queue[bot] merged 2 commits into
mainfrom
land/deferred-bash-idle-timer-test
Oct 18, 2026
Merged

github-merge-queue[bot] merged 2 commits into
mainfrom
land/deferred-bash-idle-timer-test

Conversation

@aft-alfonso

@aft-alfonso aft-alfonso Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Accepted agent delivery; branch-keyed search descriptor included.


Summary by cubic

Fixes the bash idle-timer test helper so wait: true terminal cases no longer compete with a 200 ms worker cap before the shell exit is observed.

  • The helper now applies the 200 ms cap only when the expected status is running; completed cases use a 30 s cap beyond the outer timeout.
  • Reversing the cap with injected 400 ms command-exit latency reproduced the flaky completion case; the change passes all gates.
  • Adds a branch-keyed search descriptor for the deferred-bash-idle-timer-test benchmark suite.

Written for commit b4dc71f. Summary will update on new commits.

View guided diff Turn on auto-fix

RetriggerView in GreptileConfidence Score: 5/5

This PR appears safe to merge.

Summary

This PR removes a competing 200 ms deadline from terminal-state bash tests.

  • Deferred Bash timer tests give terminal cases more time.

Reviews (1) · Last reviewed commit: "release notes and search-quality descrip..." · Reviewed by Greptile

ualtinok and others added 2 commits October 18, 2026 19:35
The helper capped every wait:true call at 200 ms, including its primary-session completion case. A timer turn could correctly hand back running before the shell exit was observed, despite the five-second outer guard. Give terminal cases a cap beyond that guard while preserving the 200 ms promotion and worker-cap cases, first-reply status assertions, and zero producer-wake generation.

Linux baseline passed 50/50; injecting 400 ms command-exit latency reproduced running versus completed before the change and passed 50/50 after it. Reversing the cap with that same latency failed only the completion case; the other four idle-timer cases passed. Final gates: 86 subc tests, 25 bash orchestration tests, Windows warnings-as-errors cross-check, and local rustfmt.

Co-authored-by: alfonso-aft <289616620+alfonso-aft@users.noreply.github.com>
…mer-test

Co-authored-by: alfonso-aft <289616620+alfonso-aft@users.noreply.github.com>
@ualtinok
ualtinok added this pull request to the merge queue Oct 18, 2026
@ualtinok
ualtinok removed this pull request from the merge queue due to a manual request Oct 18, 2026
@ualtinok
ualtinok added this pull request to the merge queue Oct 18, 2026
@github-merge-queue
github-merge-queue Bot merged commit 736f2ff into main Oct 18, 2026
49 checks passed
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