Repository navigation
Test Iroh path selection without sleeps - #9925
lawrencecchen wants to merge 2 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 9d2b381. Configure here.
| shell: bash | ||
| run: | | ||
| version="$(bash ./scripts/ghostty-zig-version.sh)" | ||
| echo "version=$version" >> "$GITHUB_OUTPUT" |
There was a problem hiding this comment.
Missing Zig version helper script
High Severity
The package build workflow runs ./scripts/ghostty-zig-version.sh to pick the Zig version, but that script is not in the repository. Every dogfood and package build hits this step and fails before compilation starts, including focused hosted verification that still builds macOS arm64.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 9d2b381. Configure here.
| "$test_name" \ | ||
| --exact \ | ||
| --test-threads=1 | ||
| done |
There was a problem hiding this comment.
Valgrind targets missing tests
High Severity
The Valgrind startup shard hard-requires pending_wrap_replay_preserves_cursor_with_origin_mode and three config::tests::* names that are not present in the tree. Full-mode hosted verification fails at the exact-test checks even when binaries build cleanly.
Reviewed by Cursor Bugbot for commit 9d2b381. Configure here.


Summary
Testing
Related
Note
Medium Risk
Large CI and workflow changes affect the merge gate and release-path builds; the Iroh test tweak is low risk but bundled with broad pipeline edits.
Overview
Replaces ad-hoc local
cargowith a hosted verification gate driven byworkflow_dispatchon an exact 40-char SHA (focusedtest filter vsfullmerge gate), plusscripts/verify-cmux-tui-hosted.shto dispatch, wait, and download a macOS arm64 binary.Centralizes Rust for cmux-tui via
cmux-tui/rust-toolchain.tomland.github/actions/setup-cmux-tui-rust, wired into package builds, SDK conformance, and the main TUI workflow.Expands CI behavior:
cmux-tui-build-package.ymladds target planning (allvsmacos-arm64), runner overrides, Ghostty-derived Zig version, Linux vs macOS cross-build paths, and optional Cloudflare relay / native Linux ARM64 package checks. Newcmux-tui-sdks.ymlruns multi-language SDK contract, package, consumer, and live conformance jobs.Test execution changes in
cmux-tui.yml: Valgrind limited to a startup shard with exact tests;cmux-tui-coretests run one-per-process viarun-cmux-tui-core-tests-isolated.py; full mode reuses the package workflow for dogfood artifacts.Iroh e2e (
wait_for_path_kind): drops fixedsleeppolling for a 50msintervalwithMissedTickBehavior::Delayinside a single 20s timeout.Agent docs in
cmux-tui/AGENTS.mddocument hosted-only verification on Lawrence's Mac.Reviewed by Cursor Bugbot for commit 9d2b381. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by cubic
Make the Iroh path-selection test deterministic and add an exact-head hosted verification path for
cmux-tuiwith a pinned Rust toolchain. This reduces test flakiness and ensures CI runs the exact pushed commit across focused and full suites.cmux-tui.ymlandscripts/verify-cmux-tui-hosted.shto run focused or full suites on hosted runners, require an exact commit, and publish a macOS arm64 artifact.cmux-tui/rust-toolchain.tomland a reusable setup action, and update build/package workflows to use target planning, Zig version resolution, and per-binary test isolation.Written for commit 9d2b381. Summary will update on new commits.