fix(agent-pane): block restart during queued retry

Merged
TE
7d ago
+25-1

When a Retry is queued behind an in-flight acpmux handshake, the recovery status still left Restart acpmux enabled. Clicking it could stop the daemon while that handshake was using it. Restart now stays disabled until the queued retry settles, while the existing callback, success clearing, and restart gate behavior remain unchanged.

Leo’s exact words for this recovery audit: “stop having all this nonsense, fing unusable fing functionality. It's fing garbage, okay? This fing nonsense lying around.”

Validation:

  • scripts/web-lint.sh
  • Focused cmux-ci test for HostError.test.tsx and hostRetry.test.ts
  • Added a DOM regression test proving both controls are disabled while Retry is queued

agent-identity footer --repo manaflow-ai/cmux
Agent session: agent session


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


Summary by cubic

Fixes the agent-pane recovery card so Restart acpmux stays disabled while a Retry is queued behind an in-flight cmux handshake, preventing the daemon from being stopped mid-handshake.

  • Restart now remains disabled until the queued retry settles; callback, success clearing, and restart gate behavior are unchanged.
  • Adds a DOM regression test proving both controls are disabled while Retry is queued.