Repository navigation
Fix cmux-cli compile error on main: hookEventName argument order - #11720
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThe session initialization call in ChangesSession initialization
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This change only restores CLI compilation by correcting the argument order in one call site; it does not alter runtime behavior, and no actionable merge-blocking risk remains. Suggested reviewers: 🚥 Pre-merge checks | ✅ 14 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (14 passed)
Full details: Description checkExplanation The description clearly explains what changed, why the compile error occurred, and that behavior remains unchanged. However, it does not include the required Testing section or Checklist, and it does not address the Demo Video or Review Trigger sections. Resolution Add the required Testing section with test results, include the Checklist with applicable items marked, and address the Demo Video and Review Trigger sections. State when the demo video is not applicable and include the review trigger block or its equivalent if reviews were requested elsewhere. Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 too large.) Full details: Cmux Swift Actor IsolationExplanation PASS. The diff changes only the order of Full details: Cmux Swift Blocking RuntimeExplanation PASS. The only production Swift change moves the existing Full details: Cmux Browser Automation Off-MainExplanation PASS: The commit changes only one line in Full details: Cmux Expensive Synchronous LoadExplanation PASS: The commit changes only one argument position in an existing Full details: Cmux Cache Substitution CorrectnessExplanation PASS: The diff changes only the order of Full details: Cmux No Hacky SleepsExplanation PASS: The diff changes only Full details: Cmux Algorithmic ComplexityExplanation PASS: The pull request changes only the order of two named arguments in Full details: Cmux Swift ConcurrencyExplanation PASS: The available Swift diff contains only one argument move in Full details: Cmux Swift `@Concurrent`Explanation PASS. The HEAD diff changes only the order of Full details: Cmux Swift Package BoundariesExplanation PASS. The only committed change is a one-line reorder in
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Some tools did not complete. Review the errors below. 🔧 OpenGrep (1.27.1)CLI/cmux.swiftOpenGrep scan timed out 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.
No issues found across 1 file
You’re at about 98% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.
a944e5e to
e4b3b7e
Compare
Bugbot is paused — on-demand spend limit reachedBugbot uses usage-based billing for this team and has hit its on-demand spend limit. A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue. |
e4b3b7e to
4003d00
Compare
…rt call PR #11529 added this call site with hookEventName after updateRuntimeStatus, but the upsert signature declares hookEventName earlier, so the cmux-cli target fails to compile on main (argument 'hookEventName' must precede argument 'runtimeStatus'). The PR lane has no macOS compile gate, so it landed red. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
4003d00 to
a8dbaf4
Compare
651e4f6 Merge pull request manaflow-ai#11729 from manaflow-ai/feat-supervisor-owner 4164ae1 Merge pull request manaflow-ai#11722 from manaflow-ai/feat-plugin-manager-hardening-main d49bda2 fix: combine journal sequence and cursor continuity checks (manaflow-ai#11468) ee3b0b4 fix(relay): drain pending process escalation before return 21ace78 fix(tui): distinguish local plugin Git paths b39ae5d fix(relay): bound keeper setup cleanup 1562cad test(tui): preserve local plugin Git paths b01cf06 fix(relay): disarm Windows jobs on normal completion c098bbf test(relay): preserve successful Windows process jobs 7de2d03 fix(tui): reject option-like SSH usernames ab23651 test(tui): reject option-like SSH usernames c99f089 fix(relay): keep process-group owner through grace period cc7e1e1 fix(relay): scrub process-group keeper environment ba2640e fix(relay): own process groups through bounded cleanup 5836c5f test(relay): cover owned process cancellation and timeout 8f41cf6 fix(tui): reject SSH option-like plugin hosts ad825ef test(tui): reject SSH option-like plugin hosts 7c4c752 fix(tui): classify common plugin credential variables a9ec9ea fix(tui): preserve plugin toolchain environment 8fc0e86 test(tui): preserve plugin toolchain environment 012569f fix(tui): close plugin source and environment escape hatches 3fe0d92 test(tui): reject plugin source options and env leaks edeed73 test(tui): close plugin source and environment escape hatches 63c0c25 fix(tui): reject Git credentials in all non-SSH URLs e480982 test(tui): reject credential-like Git userinfo 35bb023 fix(tui): allow IPv6 plugin Git sources df9e467 test(tui): preserve IPv6 plugin Git sources 0931ca2 fix(tui): bound and isolate plugin builds e199af9 test(tui): cover plugin transport and build boundaries 2c66ab9 iOS: use the official cmux brand lockup (manaflow-ai#11725) 368c47a docs(tui): align protocol contracts with runtime (manaflow-ai#11418) 3507ef0 iOS: launch with a cached session mounts the shell, not the sign-in loading screen (manaflow-ai#11564) cf475ff Merge pull request manaflow-ai#11727 from manaflow-ai/fix-tui-app-closure-type-main 6603bf7 fix(cmux-tui): annotate pane fixture closure input 1384921 Merge pull request manaflow-ai#11720 from manaflow-ai/fix-cli-upsert-arg-order a8dbaf4 fix(cli): order hookEventName before runtimeStatus in agent-hook upsert call
PR #11529 added an
store.upsert(...)call site inCLI/cmux.swiftthat passeshookEventName:afterupdateRuntimeStatus:, but the signature declareshookEventNamebeforeruntimeStatus. Swift requires call-site order to match declaration order, so thecmux-clitarget fails to compile on main:The PR lane has no macOS compile gate, so this landed red. This reorders the one misordered call site; the other seven
hookEventName:call sites already use the correct order. No behavior change.🤖 Generated with Claude Code
Summary by cubic
Fixes the
cmux-clicompile error on main by reorderinghookEventName:beforeruntimeStatus:in thestore.upsert(...)call.hookEventName:call sites already use the correct order.Written for commit a8dbaf4. Summary will update on new commits.
Summary by CodeRabbit