Skip to content

Eliminate SSH fixture execution races in connection tests - #843

Merged
nick-potts merged 1 commit into
mainfrom
fix/ssh-cancellation-fixture-race
Sep 9, 2026
Merged

nick-potts merged 1 commit into
mainfrom
fix/ssh-cancellation-fixture-race

Conversation

@nick-potts

Copy link
Copy Markdown
Contributor

Connection tests intermittently fail with ExecutableFileBusy when another test forks while their generated SSH script is open for writing. Replace the three generated executables with one checked-in fixture. Only the cancellation test needs a temporary symlink to keep its PID file isolated; the timeout test no longer needs an ETXTBSY retry loop. Production SSH behavior is unchanged.

Follow-up to #833.

Validation:

  • Rung 1: all 14 connect::tests pass, including cancellation, timeout, and retry classification.
  • Cancellation regression passed 100 runs with 16 concurrent processes.
  • Full workspace tests passed with standard umask 022; connection tests rerun after fixture simplification.
  • Formatting and workspace Clippy with all targets/features and warnings denied pass.
  • Standards PASS; Spec PASS; Maintainability PASS; Simplicity PASS.

@nick-potts
nick-potts merged commit dbdfba5 into main Sep 9, 2026
7 checks passed
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-09T04:16:45.563345Z 5586e03 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@nick-potts
nick-potts deleted the fix/ssh-cancellation-fixture-race branch September 30, 2026 15:14
nick-potts added a commit that referenced this pull request Sep 30, 2026
Co-authored-by: Codex <codex@codex-vm.tailcb9c5.ts.net>
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