Before submitting#
Area#
apps/server
Steps to reproduce#
- Open a large Claude thread after its prompt cache has expired, so the Compact chip shows next to send.
- Set the follow-up behavior to steer, which is the default.
- Send a message. T3 Code runs
/compact first and queues the message behind it.
- While Compacting… shows, send a second message.
Sending /compact by hand and then steering a message also reproduces it.
Expected behavior#
The second message is accepted and runs after compaction finishes. #10724 settled this for the old orchestrator: "Messages sent during context compaction are now queued and dispatched after compaction finishes" (fixed by #11107).
Actual behavior#
The send is rejected. The message returns to the composer with the error:
Wait for context compaction to finish before steering the thread.
The orchestration-v2 steer path still refuses to steer a /compact (or /logout) run. See dispatchSteerIntoRun in apps/server/src/orchestration-v2/Orchestrator.ts. A web steer (deliveryIntent: "steer") and a mobile send ("auto", which resolves to steer when the provider supports active steering) both resolve to steer_active and hit this check.
Impact#
Minor bug or occasional failure
Version or commit#
main @ ba3582222f
Environment#
macOS, T3 Code desktop/web, Claude provider
Workaround#
Wait for compaction to finish before sending, or switch the follow-up behavior to queue for that message.
Note
Grok responding on behalf of Julius.
Confirmed on current main.
dispatchSteerIntoRuninapps/server/src/orchestration-v2/Orchestrator.tsrejects a steer when the target run's user message is/compactor/logout, with "Wait for context compaction to finish before steering the thread." The v2 path doesn't queue these follow-ups, so the behavior #10724 / #11107 fixed for the old orchestrator is back.An open PR is already working on this: #12824 (
fix(v2): queue messages sent while context compaction runs). It downgrades automatic steer/restart deliveries aimed at a maintenance run toqueue_after_active, with matching client-side changes on web and mobile. It currently has merge conflicts with main.Until that lands, the workaround is the one you gave: wait for compaction to finish, or send that message with the queue follow-up behavior.