Repository navigation
fix(cmux-next): show progress while forking chats - #24662
Conversation
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Unclear: CI failed on
Failures:
Matched log linesNot re-run automatically: Written by red: cmux-next checks (god files, concurrency, crash safety, l10n); no finished base run on 80beafb to compare; do not merge until green; see lane-rules Tour of Gallery before/after for
States
Pick other states with a |
|
Found 51 test failures on Blacksmith runners: Failures
...and 41 more test failures. View all on Blacksmith: run 40040940541, run 40040940507, run 40040940591
|
|
Bead |
4aa6c60 to
c96e3d7
Compare
|
Fleet evidence for final exact head
|
c96e3d7 to
edd2e03
Compare
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
|
Final head after independent review repair: Repair: the fallback Focused final-head evidence:
|
Leo: "the fork button is slow with no feedback" Agent-Session: https://cmux.com/deeplink/agent?harness=codex&session=01a16ae2-ef2f-7c92-976f-56af7d6b4bce&host=cmux16
edd2e03 to
359c6b1
Compare
|
Review (gpt-6-astra): SHIP at Verified the exact diff against |
|
Shipped in:
|
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
Problem
Fork starts a slow asynchronous host operation without showing that the click was accepted. A second click can arrive before the new session appears, and refusal/error feedback is easy to miss.
Change
Fork actions now use the live host
chat.forkpromise when available. The button enters a same-frame pending state, disables duplicate activation, shows a spinner while the fork/new-agent handoff is pending, then shows a success check or the existing localized fork failure state. Gallery and unit-test callers retain their injected fallback.Leo described the problem as: “the fork button is slow with no feedback”.
Validation
bun test test/user-message-actions.test.tsx --test-name-pattern 'Fork|read prompt'bunx vp lint src/agent-session/acpmux/conversation/MessageActions.tsx src/agent-session/acpmux/conversation/UserBubble.tsx src/agent-session/acpmux/conversation/TurnRows.tsxDesign reference
Matched the quiet, hover-first transcript action rows documented in
apps/claude/live/NOTES.mdand the fork action row referenceapps/claude/live/transcript-user-message-actions-read-receipt.png.Agent-Session: cmux16
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Fork now shows immediate feedback in the transcript instead of looking inert while the host creates the new session.
chat.forkpromise when available, and the app path now waits for session selection and persistence before resolving; injected fallbacks are unchanged.Written for commit 359c6b1. Summary will update on new commits.