Repository navigation
test(tui): remove fixed synchronization waits - #10988
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe changes scale browser and terminal test deadlines. The CLI subscription test now waits for a flushed server acknowledgement instead of using a fixed delay. ChangesTest timing reliability
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This PR only improves synchronization in TUI tests by replacing fixed waits with deadline-based polling and acknowledgement ordering; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 24 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (24 passed)
Full details: Description checkExplanation The description explains the main changes and lists validation steps. It omits several template sections, including the checklist, review trigger, and demo video, but the core summary and testing information are present. Full details: Cmux Swift Actor IsolationExplanation PASS: The pull request changes only three Rust test files. The range from origin/main to HEAD contains no Swift files and no production Swift changes. Therefore, the Swift actor-isolation check does not apply. Full details: Cmux Swift Blocking RuntimeExplanation The PR changes only three Rust test files under Full details: Cmux Browser Automation Off-MainExplanation PASS: The PR changes only three Rust TUI test files: Full details: Cmux Expensive Synchronous LoadExplanation PASS: The pull request changes only three Rust test files: Full details: Cmux Cache Substitution CorrectnessExplanation PASS: The custom check applies only to production Swift, TypeScript, and JavaScript changes. The pull request changes only three Rust test files: Full details: Cmux No Hacky SleepsExplanation PASS: The PR changes only three Rust test files under Full details: Cmux Algorithmic ComplexityExplanation PASS: The PR changes only three Rust files under Full details: Cmux Swift `@Concurrent`Explanation PASS: The pull request changes only three Rust test files: Full details: Cmux Swift Package BoundariesExplanation PASS: The PR diff from origin/main to HEAD changes only three Rust test files. It introduces no Swift, SwiftPM, Xcode project, or package manifest changes. The Swift package-boundaries check is therefore not applicable. Full details: Cmux Swiftpm LockfilesExplanation PASS: The PR diff contains only three Rust test files: Full details: Cmux Swift LoggingExplanation PASS: The PR diff contains only three Rust test files and no changed Swift paths. The changes adjust Rust timeout polling and subscription synchronization; they do not add or materially change Swift logging. Therefore the Swift logging failure conditions do not apply. Full details: Cmux User-Facing Error PrivacyExplanation PASS — the complete PR diff against Full details: Cmux Full InternationalizationExplanation PASS: The complete diff from Full details: Cmux Swiftui State LayoutExplanation PASS: The pull request changes only three Rust test files: Full details: Cmux Architecture RethinkExplanation PASS: The pull request changes only three Rust test files. It introduces no Swift architecture changes. The new deadline loop and acknowledgement wait are test-only synchronization, which the rule explicitly allows. The existing polling helpers remain test code and are only adjusted for timeout scaling; no Swift owner, state, lifecycle, or entrypoint wiring changes are present. Full details: Cmux Swift Auxiliary Window Close ShortcutsExplanation PASS: The pull request diff changes only three Rust test files: Full details: Cmux Source ArtifactsExplanation PASS. The diff against origin/main changes only three existing Rust test files: browser_runtime.rs, cli.rs, and terminal_host_recovery.rs. The changes are test synchronization and timeout logic. No logs, screenshots, recordings, caches, build output, temp directories, dependency checkouts, or other artifact paths enter source control. All three files remain regular 100644 files. Full details: Cmux No Test Or Debug Seam In Production SourceExplanation PASS: The PR changes only three Rust test files under Full details: Cmux No Ambient Global StateExplanation PASS: The pull request changes only three Rust test files (
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
f781332 to
ac9066d
Compare
8a2f990 to
e12ce40
Compare
Summary:
Validation:
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by cubic
Removes fixed synchronization waits in TUI tests so they no longer time out or flake under slow CI.
Written for commit e12ce40. Summary will update on new commits.
Summary by CodeRabbit