Skip to content

Cloud relay chat: argument promptId, so cloud start-chat's --prompt-id reaches it - #36193

Merged
teamleaderleo merged 1 commit into
feat-cmux-nextfrom
leo/cloud-relay-prompt-id
Nov 5, 2026
Merged

teamleaderleo merged 1 commit into
feat-cmux-nextfrom
leo/cloud-relay-prompt-id

Conversation

@teamleaderleo

@teamleaderleo teamleaderleo commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Leo, on the Cloud chat that never starts: "this is hanging again?"

Every cmux cloud start-chat on a current build failed before sending anything with cloudRelayChat has no argument 'promptId' (DEV a42d125, production). The relay-first start (#35829) passes --prompt-id. The CLI maps flags to camelCase argument names, the same way it maps stateDir, sshKey and shareId, but the catalog had declared this argument as prompt-id. This renames it to promptId in the catalog and in the handler.

The compile check passed at eaac594.

Agent session: agent session

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Fixes cmux cloud start-chat failing with cloudRelayChat has no argument 'promptId' before sending anything.

The CLI maps --prompt-id to the camelCase argument name promptId, but the catalog declared it as prompt-id, so every relay-first start was refused. Renames the argument to promptId in the catalog and in the handler.

Written for commit eaac594. Summary will update on new commits.

View guided diff Turn on auto-fix

…ompt-id maps to

cmux cloud start-chat (relay-first, #35829) passes --prompt-id; the CLI maps flags to camelCase
argument names (stateDir, sshKey, ...), so the app refused it: "cloudRelayChat has no argument
'promptId'", and every start-chat failed before sending (DEV a42d125, production).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent-Session: https://cmux.com/deeplink/agent?id=aid-3bab30503f0b9a7059e5
@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

cmux status (one comment, edited in place; each line is updated by the job that owns it)

Review eaac594: HQ feed card · gallery before/after runs · checks

App of this head (app.zip, kept 1 day)

gh workflow run reload-build.yml -R manaflow-ai/cmux --ref feat-cmux-next -f tag=pr36193 -f ref=leo/cloud-relay-prompt-id -f platform=macos -f backend_mode=local

red: cmux-next checks (god files, concurrency, crash safety, l10n); NEW: red check: Script tests (pin-cmux-tui, embed-cef, ensure-cef store) is not red on the base 8d49160; do not merge until green; see lane-rules

Shipped in:

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Owned by an agent session · session

@github-actions github-actions Bot added the risk:normal Risk tier (docs/ci/risk-tiers.md) label Nov 5, 2026
@blacksmith-sh

blacksmith-sh Bot commented Nov 5, 2026

Copy link
Copy Markdown

Found 6 test failures on Blacksmith runners:

Failures

Test View Logs
/tmp/tmp74pzg16l/summary-missing.json (live):/summary-missing.json (live): View Logs
/tmp/tmpucaktfy9/summary-fail.json (live):/summary-fail.json (live): View Logs
[new_workspaces] debug.new_workspace timed 0 of 50 new workspace rows/
[new_workspaces] debug.new_workspace timed 0 of 50 new workspace rows
View Logs
[new_workspaces] the window draws no frames/[new_workspaces] the window draws no frames View Logs
[tabs] debug.tab_switch timed 0 of 40 switches/
[tabs] debug.tab_switch timed 0 of 40 switches
View Logs
[tabs] the window draws no frames/[tabs] the window draws no frames View Logs

Fix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@teamleaderleo
teamleaderleo merged commit e17e834 into feat-cmux-next Nov 5, 2026
178 of 195 checks passed
@teamleaderleo
teamleaderleo deleted the leo/cloud-relay-prompt-id branch November 5, 2026 05:56

This branch was previously deployed

1 inactive deployment
ci-routing-agent — eaac5949 Deployed Nov 5, 2026 by teamleaderleo via namespace autofix #14923
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:normal Risk tier (docs/ci/risk-tiers.md)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant