Repository navigation
fix: show typing while a queued follow-up turn runs - #201920
Conversation
Source dispatch sealed the shared typing controller before the queued turn could start it.
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs real behavior proof before merge. What this changesThis PR retains the inbound typing lifecycle until a queued follow-up finishes. Example: A Telegram follow-up queues at 14:02:53, starts at 14:03:38, and replies at 14:04:36.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 5 items remain This PR addresses a current typing lifecycle bug and merits continued work, but it removes documented enqueue feedback and suppresses channel idle work beyond typing cleanup. Priority: P2 Before merge
Findings
Provenance
Tests
Agent review detailsHow this fits togetherShared auto-reply dispatch creates a typing controller for each inbound message, passes it into queued execution, and connects its start and cleanup signals to channel callbacks. flowchart TD
A[Inbound channel message] --> B[Reply dispatcher]
B --> C[Typing controller]
B --> D[Follow-up queue]
D --> E[Follow-up runner]
E --> C
C --> F[Channel typing callbacks]
Technical reviewBest possible solution: Transfer typing ownership through the existing queue lifecycle while preserving enqueue feedback, channel finalization, and terminal controller sealing. Do we have a high-confidence way to reproduce the issue? The linked report and current source establish that dispatch completion disables both typing layers before queued execution reuses them; no live reproduction was run during this read-only review. Is this the best way to solve the issue? Keeping the existing lifecycle usable addresses the central cause, but the handoff must preserve channel idle side effects and the documented enqueue signal. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 0eb6488cd3ce. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +26, Tests +46. Total +72 across 7 files. Added test files: 1. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes: No label changes. Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 19, 2026, 11:25 AM ET / 16:25 UTC. |
|
ClawSweeper status: applying reviewed decision. I am applying the reviewed decision for this pull request: fix: show typing for a queued Telegram follow-up This is item 1/1 in the current shard. Shard 1/1. This transient lease prevents a newer review from overlapping label, comment, or close mutations. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
|
@steipete shows typing for a queued Telegram follow-up. |
1 similar comment
|
@steipete shows typing for a queued Telegram follow-up. |
The source dispatch seals its typing controller and stops the channel typing callbacks when it returns on enqueue, so the queued turn reused a closed lifecycle and never showed typing. Each queued turn now builds its own controller, and an explicit channel typing start opens a new cycle. Replaces the hold/release controller flags, which skipped channel idle work (Feishu) and removed the enqueue typing pulse.
|
Legend: Live Telegram proof (Telegram Test Server, real user account, real model anthropic/claude-haiku-5-5, M1 runs
Regression test |
|
Landed in f3a62f7. A Telegram message that waits behind a running turn now shows typing while its own turn runs, until its reply arrives. Each queued turn starts and stops its own typing, so nothing stays stuck after a cancel or a reply. Thanks @chessing234 for the PR and @Davidnovarro for the report in #201885. We replaced the approach in commits on top of yours: a fresh typing controller per queued turn instead of holding the first one open. |
Root cause: src/auto-reply/dispatch.ts:358-359 seals the source message's typing controller and src/auto-reply/reply/reply-dispatcher.ts:706-709 stops its channel typing callbacks (src/channels/typing.ts `closed`) when the enqueuing dispatch returns, and the queued follow-up turn reused both (agent-runner-run.ts createFollowupRunner `typing`, followup-turn-execution.ts `defaults.typing`), so its typing starts were no-ops. Fixes #201885 ## What Problem This Solves Fixes: a message that waits behind a running turn (queue mode `followup`, or a busy session) never shows "typing…" while the agent works on it, even though the docs promise typing once the model loop starts. ## User Impact User impact: a queued message now shows typing from the moment its own turn starts until its reply arrives, the same as a message sent to an idle session. `typingMode: "never"` and `/stop` behave as before. ## Why This Change Was Made Each queued turn now owns its typing: the follow-up runner builds a fresh typing controller per turn and stops it in the existing `finally`. An explicit typing start on the channel callbacks opens a new cycle instead of being ignored after an earlier stop; stops still win over in-flight keepalive ticks. This replaces the earlier version of this PR, which kept the source controller open with hold/release flags. That skipped channel idle work (Feishu preview finalization), removed the typing pulse at enqueue, and could leave holds open in collect mode or on retries. Thanks @chessing234 for the PR and @Davidnovarro for the precise report. ## Evidence - Live Telegram Test Server, real model (anthropic/claude-haiku-5-5), `messages.queue.mode: "followup"`; M1 runs a ~12 s exec, M2 is sent 3 s later; the QA userbot records the bot's typing updates. Details: openclaw/openclaw#201920 (comment) - main (6d2cb0379cb6), twice: no typing between M1's reply and M2's reply (11.4 s and 10.8 s without typing). - this PR, twice: typing within 2 s of M2's turn start and every ≤6 s until its reply, none afterwards. - Controls: idle message shows typing on both builds; `/stop` during M2's turn ends typing; `/stop` while M2 waits shows no typing afterwards; `typingMode: "never"` shows none. - Regression in `followup-runner.test.ts` with real `createTypingCallbacks`: fails on main, still fails with only the runner change (the stopped callbacks ignore the start), passes with both. Merge danger: two-way door. No stored state, config or contract change; a revert restores the old behavior. Blast radius: typing indicators for queued turns on all channels; channel plugins that call `onReplyStart` directly now restart typing after an earlier stop (checked: Discord, Matrix, Feishu, MS Teams and ACP call it only at turn or block start, before their own stop). Co-authored-by: Ayaan Zaidi <[email protected]>
* commit 'fd681ab8786e062045fa5ec6261b1b06f60832eb': (2115 commits) fix: keep doctor --fix pending checks from creating SQLite sidecars (#206485) fix(ci): update iOS screenshot reducer gate (#206497) fix: keep chat photo previews sharp within their byte limits (#206461) fix: let agents use short Workboard card IDs fix(tui): run provider sign-in in the local TUI (#200605) improve(config): reduce repeated directory checks for larger agent rosters (#206494) perf(test): reuse the Periphery producer workflow snapshot (#189681) fix(ci): keep locale assets within the installed package budget (#206492) fix: preserve failed Apple chat messages across partial history pages (#205404) improve: avoid merging unrelated settings for agent directory lookups (#206489) fix: show typing while a queued follow-up turn runs (#201920) fix: stop 2026-11-17 main Git checkouts from half-switching on a schema update (#206341) refactor(codex): centralize native completion delivery (#206447) fix(subagents): finish claimed stops after session rotation (#206405) fix: let owners fork a chat with exec after a subagent or exec completion (#206483) test(cli): gate agent --local cold-start processes and workers (#206466) perf(ci): skip baseline inventory when line-cap debt is empty (#189909) refactor(test): share core process-result fixtures (#174149) refactor(ci): reuse canonical budget flag parsing (#189480) fix: recover Codex chats after oversized requests (#206475) ...
* commit 'fd681ab8786e062045fa5ec6261b1b06f60832eb': (923 commits) fix: keep doctor --fix pending checks from creating SQLite sidecars (#206485) fix(ci): update iOS screenshot reducer gate (#206497) fix: keep chat photo previews sharp within their byte limits (#206461) fix: let agents use short Workboard card IDs fix(tui): run provider sign-in in the local TUI (#200605) improve(config): reduce repeated directory checks for larger agent rosters (#206494) perf(test): reuse the Periphery producer workflow snapshot (#189681) fix(ci): keep locale assets within the installed package budget (#206492) fix: preserve failed Apple chat messages across partial history pages (#205404) improve: avoid merging unrelated settings for agent directory lookups (#206489) fix: show typing while a queued follow-up turn runs (#201920) fix: stop 2026-11-17 main Git checkouts from half-switching on a schema update (#206341) refactor(codex): centralize native completion delivery (#206447) fix(subagents): finish claimed stops after session rotation (#206405) fix: let owners fork a chat with exec after a subagent or exec completion (#206483) test(cli): gate agent --local cold-start processes and workers (#206466) perf(ci): skip baseline inventory when line-cap debt is empty (#189909) refactor(test): share core process-result fixtures (#174149) refactor(ci): reuse canonical budget flag parsing (#189480) fix: recover Codex chats after oversized requests (#206475) ...
Root cause: src/auto-reply/dispatch.ts:358-359 seals the source message's typing controller and src/auto-reply/reply/reply-dispatcher.ts:706-709 stops its channel typing callbacks (src/channels/typing.ts `closed`) when the enqueuing dispatch returns, and the queued follow-up turn reused both (agent-runner-run.ts createFollowupRunner `typing`, followup-turn-execution.ts `defaults.typing`), so its typing starts were no-ops. Fixes openclaw#201885 ## What Problem This Solves Fixes: a message that waits behind a running turn (queue mode `followup`, or a busy session) never shows "typing…" while the agent works on it, even though the docs promise typing once the model loop starts. ## User Impact User impact: a queued message now shows typing from the moment its own turn starts until its reply arrives, the same as a message sent to an idle session. `typingMode: "never"` and `/stop` behave as before. ## Why This Change Was Made Each queued turn now owns its typing: the follow-up runner builds a fresh typing controller per turn and stops it in the existing `finally`. An explicit typing start on the channel callbacks opens a new cycle instead of being ignored after an earlier stop; stops still win over in-flight keepalive ticks. This replaces the earlier version of this PR, which kept the source controller open with hold/release flags. That skipped channel idle work (Feishu preview finalization), removed the typing pulse at enqueue, and could leave holds open in collect mode or on retries. Thanks @chessing234 for the PR and @Davidnovarro for the precise report. ## Evidence - Live Telegram Test Server, real model (anthropic/claude-haiku-5-5), `messages.queue.mode: "followup"`; M1 runs a ~12 s exec, M2 is sent 3 s later; the QA userbot records the bot's typing updates. Details: openclaw#201920 (comment) - main (7e9dc4d), twice: no typing between M1's reply and M2's reply (11.4 s and 10.8 s without typing). - this PR, twice: typing within 2 s of M2's turn start and every ≤6 s until its reply, none afterwards. - Controls: idle message shows typing on both builds; `/stop` during M2's turn ends typing; `/stop` while M2 waits shows no typing afterwards; `typingMode: "never"` shows none. - Regression in `followup-runner.test.ts` with real `createTypingCallbacks`: fails on main, still fails with only the runner change (the stopped callbacks ignore the start), passes with both. Merge danger: two-way door. No stored state, config or contract change; a revert restores the old behavior. Blast radius: typing indicators for queued turns on all channels; channel plugins that call `onReplyStart` directly now restart typing after an earlier stop (checked: Discord, Matrix, Feishu, MS Teams and ACP call it only at turn or block start, before their own stop). Co-authored-by: Ayaan Zaidi <[email protected]>
…162684) Root cause: src/auto-reply/reply/agent-runner-run.ts:376 starts typing for an input queued behind an active turn on the enqueuing dispatch's own typing controller, and src/auto-reply/dispatch.ts:358-359 seals that controller (and the channel typing callbacks) when the dispatch returns a few hundred ms later, so nothing types for the rest of the wait. Fixes #162547 Thanks @AXEG0 for the detailed report and logs, and @jayzhou2309 for the original fix and its analysis of the sealed controller. ## What Problem This Solves A Telegram DM that queues behind a turn already running in the same session (an announce-started run, an operator turn, `messages.queue.mode: "followup"`) shows "typing…" for at most one pulse, then nothing until its own turn starts. `docs/concepts/queue.md` says typing fires on enqueue and stays on while the run waits its turn. ## Why This Change Was Made The queued input now owns its typing for the wait, the same way it already owns typing for its own turn since #201920: - `createFollowupTyping` (`followup-runner.ts`) builds a typing controller from the channel's existing typing callbacks (`onReplyStart` / `onTypingCleanup`). The follow-up runner already did this per turn; it now calls the same function. - On enqueue behind an active turn, `runReplyAgent` starts that controller (respecting the typing mode, as before) and stops it when the active owner clears (`runAfterReplyOperationClear`, the same point that schedules the queue drain, so the queued turn's own typing takes over) or when the queued input settles first (`controllerInput.settlement`: `/stop`, queue clear, queue-cap drop). The enqueuing dispatch's own controller is cleaned up as before. This replaces the earlier dispatcher handoff (an `onTypingHandoff` callback returned from `createReplyDispatcherWithTyping`, a per-run typing field on `FollowupRun` and dispatcher idle deferral). `createReplyDispatcherWithTyping` is a public Plugin SDK export, so that callback escaped Core. Nothing changes in the dispatcher, the SDK or plugin-facing types now; channels without typing callbacks get a no-op controller. ## User Impact A message waiting behind a busy session shows typing from enqueue until its turn starts, then its own turn's typing takes over until the reply is sent. Messages that do not queue, `typingMode: "never"`, and channels without typing are unchanged. Typing stops on `/stop` or when the queued input is dropped. ## Evidence Live Telegram Test Server (telegram-e2e-userbot, real QA user, mock provider that holds every model call until a release at 90 s). An operator CLI turn runs in `agent:main:main` from 0 s (no Telegram typing), `messages.queue.mode: "followup"`, the DM is sent at 30 s and queues behind it. Full timelines: #162684 (comment) | run | DM queued at | sendChatAction during the wait | max gap in the wait | after the reply | |---|---|---|---|---| | main #1 | 30.2 s | 1 (at enqueue) | 59.2 s | none | | main #2 | 30.3 s | 1 (at enqueue) | 58.5 s | none | | this PR #1 | 30.2 s | 15 | 6.0 s | none | | this PR #2 | 30.3 s | 14 | 8.0 s | none | | this PR, slow queued turn | 30.3 s | 14, then the queued turn's own typing at 94.9/99.0/103.0 s | 7.3 s | none after the 106.1 s reply | | main, slow queued turn | 30.2 s | 1 | 59.2 s | none | Controls on this PR: a DM with no active turn behaves as on main (one typing, reply, nothing after); `/stop` while the DM waits ends typing (last 49.3 s, stop reply 50.6 s, nothing after); `typingMode: "never"` sends no typing; queue cap 1 with `drop: "old"` keeps a single typing stream when the second DM drops the first, and nothing after the reply. Regression: `agent-runner.runreplyagent.followup-drain.cases.ts` "types for a queued input past its dispatch until the active owner clears / the queued input is cleared": fails on main (channel `onReplyStart` called 0 times), passes here. Merge danger: two-way door. No stored state, config, schema or contract change; a revert restores the old single pulse. Blast radius: typing indicators for inputs queued behind an active turn, on channels with typing callbacks. Co-authored-by: Ayaan Zaidi <[email protected]>
…162684) Root cause: src/auto-reply/reply/agent-runner-run.ts:376 starts typing for an input queued behind an active turn on the enqueuing dispatch's own typing controller, and src/auto-reply/dispatch.ts:358-359 seals that controller (and the channel typing callbacks) when the dispatch returns a few hundred ms later, so nothing types for the rest of the wait. Fixes #162547 Thanks @AXEG0 for the detailed report and logs, and @jayzhou2309 for the original fix and its analysis of the sealed controller. A Telegram DM that queues behind a turn already running in the same session (an announce-started run, an operator turn, `messages.queue.mode: "followup"`) shows "typing…" for at most one pulse, then nothing until its own turn starts. `docs/concepts/queue.md` says typing fires on enqueue and stays on while the run waits its turn. The queued input now owns its typing for the wait, the same way it already owns typing for its own turn since #201920: - `createFollowupTyping` (`followup-runner.ts`) builds a typing controller from the channel's existing typing callbacks (`onReplyStart` / `onTypingCleanup`). The follow-up runner already did this per turn; it now calls the same function. - On enqueue behind an active turn, `runReplyAgent` starts that controller (respecting the typing mode, as before) and stops it when the active owner clears (`runAfterReplyOperationClear`, the same point that schedules the queue drain, so the queued turn's own typing takes over) or when the queued input settles first (`controllerInput.settlement`: `/stop`, queue clear, queue-cap drop). The enqueuing dispatch's own controller is cleaned up as before. This replaces the earlier dispatcher handoff (an `onTypingHandoff` callback returned from `createReplyDispatcherWithTyping`, a per-run typing field on `FollowupRun` and dispatcher idle deferral). `createReplyDispatcherWithTyping` is a public Plugin SDK export, so that callback escaped Core. Nothing changes in the dispatcher, the SDK or plugin-facing types now; channels without typing callbacks get a no-op controller. A message waiting behind a busy session shows typing from enqueue until its turn starts, then its own turn's typing takes over until the reply is sent. Messages that do not queue, `typingMode: "never"`, and channels without typing are unchanged. Typing stops on `/stop` or when the queued input is dropped. Live Telegram Test Server (telegram-e2e-userbot, real QA user, mock provider that holds every model call until a release at 90 s). An operator CLI turn runs in `agent:main:main` from 0 s (no Telegram typing), `messages.queue.mode: "followup"`, the DM is sent at 30 s and queues behind it. Full timelines: #162684 (comment) | run | DM queued at | sendChatAction during the wait | max gap in the wait | after the reply | |---|---|---|---|---| | main #1 | 30.2 s | 1 (at enqueue) | 59.2 s | none | | main #2 | 30.3 s | 1 (at enqueue) | 58.5 s | none | | this PR #1 | 30.2 s | 15 | 6.0 s | none | | this PR #2 | 30.3 s | 14 | 8.0 s | none | | this PR, slow queued turn | 30.3 s | 14, then the queued turn's own typing at 94.9/99.0/103.0 s | 7.3 s | none after the 106.1 s reply | | main, slow queued turn | 30.2 s | 1 | 59.2 s | none | Controls on this PR: a DM with no active turn behaves as on main (one typing, reply, nothing after); `/stop` while the DM waits ends typing (last 49.3 s, stop reply 50.6 s, nothing after); `typingMode: "never"` sends no typing; queue cap 1 with `drop: "old"` keeps a single typing stream when the second DM drops the first, and nothing after the reply. Regression: `agent-runner.runreplyagent.followup-drain.cases.ts` "types for a queued input past its dispatch until the active owner clears / the queued input is cleared": fails on main (channel `onReplyStart` called 0 times), passes here. Merge danger: two-way door. No stored state, config, schema or contract change; a revert restores the old single pulse. Blast radius: typing indicators for inputs queued behind an active turn, on channels with typing callbacks. Co-authored-by: Ayaan Zaidi <[email protected]> (cherry picked from commit 6e0f49f) Release adaptation: the stable runner supplies its turn defaults inside executeFollowup; create fresh typing for the queued dispatch route while preserving injected controllers on other callers. PR-number mention hits are unrelated and no later same-path commits were found. Co-authored-by: RomneyDa <[email protected]>
…penclaw#162684) Root cause: src/auto-reply/reply/agent-runner-run.ts:376 starts typing for an input queued behind an active turn on the enqueuing dispatch's own typing controller, and src/auto-reply/dispatch.ts:358-359 seals that controller (and the channel typing callbacks) when the dispatch returns a few hundred ms later, so nothing types for the rest of the wait. Fixes openclaw#162547 Thanks @AXEG0 for the detailed report and logs, and @jayzhou2309 for the original fix and its analysis of the sealed controller. ## What Problem This Solves A Telegram DM that queues behind a turn already running in the same session (an announce-started run, an operator turn, `messages.queue.mode: "followup"`) shows "typing…" for at most one pulse, then nothing until its own turn starts. `docs/concepts/queue.md` says typing fires on enqueue and stays on while the run waits its turn. ## Why This Change Was Made The queued input now owns its typing for the wait, the same way it already owns typing for its own turn since openclaw#201920: - `createFollowupTyping` (`followup-runner.ts`) builds a typing controller from the channel's existing typing callbacks (`onReplyStart` / `onTypingCleanup`). The follow-up runner already did this per turn; it now calls the same function. - On enqueue behind an active turn, `runReplyAgent` starts that controller (respecting the typing mode, as before) and stops it when the active owner clears (`runAfterReplyOperationClear`, the same point that schedules the queue drain, so the queued turn's own typing takes over) or when the queued input settles first (`controllerInput.settlement`: `/stop`, queue clear, queue-cap drop). The enqueuing dispatch's own controller is cleaned up as before. This replaces the earlier dispatcher handoff (an `onTypingHandoff` callback returned from `createReplyDispatcherWithTyping`, a per-run typing field on `FollowupRun` and dispatcher idle deferral). `createReplyDispatcherWithTyping` is a public Plugin SDK export, so that callback escaped Core. Nothing changes in the dispatcher, the SDK or plugin-facing types now; channels without typing callbacks get a no-op controller. ## User Impact A message waiting behind a busy session shows typing from enqueue until its turn starts, then its own turn's typing takes over until the reply is sent. Messages that do not queue, `typingMode: "never"`, and channels without typing are unchanged. Typing stops on `/stop` or when the queued input is dropped. ## Evidence Live Telegram Test Server (telegram-e2e-userbot, real QA user, mock provider that holds every model call until a release at 90 s). An operator CLI turn runs in `agent:main:main` from 0 s (no Telegram typing), `messages.queue.mode: "followup"`, the DM is sent at 30 s and queues behind it. Full timelines: openclaw#162684 (comment) | run | DM queued at | sendChatAction during the wait | max gap in the wait | after the reply | |---|---|---|---|---| | main #1 | 30.2 s | 1 (at enqueue) | 59.2 s | none | | main #2 | 30.3 s | 1 (at enqueue) | 58.5 s | none | | this PR #1 | 30.2 s | 15 | 6.0 s | none | | this PR #2 | 30.3 s | 14 | 8.0 s | none | | this PR, slow queued turn | 30.3 s | 14, then the queued turn's own typing at 94.9/99.0/103.0 s | 7.3 s | none after the 106.1 s reply | | main, slow queued turn | 30.2 s | 1 | 59.2 s | none | Controls on this PR: a DM with no active turn behaves as on main (one typing, reply, nothing after); `/stop` while the DM waits ends typing (last 49.3 s, stop reply 50.6 s, nothing after); `typingMode: "never"` sends no typing; queue cap 1 with `drop: "old"` keeps a single typing stream when the second DM drops the first, and nothing after the reply. Regression: `agent-runner.runreplyagent.followup-drain.cases.ts` "types for a queued input past its dispatch until the active owner clears / the queued input is cleared": fails on main (channel `onReplyStart` called 0 times), passes here. Merge danger: two-way door. No stored state, config, schema or contract change; a revert restores the old single pulse. Blast radius: typing indicators for inputs queued behind an active turn, on channels with typing callbacks. Co-authored-by: Ayaan Zaidi <[email protected]>
Root cause: src/auto-reply/dispatch.ts:358-359 seals the source message's typing controller and src/auto-reply/reply/reply-dispatcher.ts:706-709 stops its channel typing callbacks (src/channels/typing.ts
closed) when the enqueuing dispatch returns, and the queued follow-up turn reused both (agent-runner-run.ts createFollowupRunnertyping, followup-turn-execution.tsdefaults.typing), so its typing starts were no-ops.Fixes #201885
What Problem This Solves
Fixes: a message that waits behind a running turn (queue mode
followup, or a busy session) never shows "typing…" while the agent works on it, even though the docs promise typing once the model loop starts.User Impact
User impact: a queued message now shows typing from the moment its own turn starts until its reply arrives, the same as a message sent to an idle session.
typingMode: "never"and/stopbehave as before.Why This Change Was Made
Each queued turn now owns its typing: the follow-up runner builds a fresh typing controller per turn and stops it in the existing
finally. An explicit typing start on the channel callbacks opens a new cycle instead of being ignored after an earlier stop; stops still win over in-flight keepalive ticks.This replaces the earlier version of this PR, which kept the source controller open with hold/release flags. That skipped channel idle work (Feishu preview finalization), removed the typing pulse at enqueue, and could leave holds open in collect mode or on retries. Thanks @chessing234 for the PR and @Davidnovarro for the precise report.
Evidence
messages.queue.mode: "followup"; M1 runs a ~12 s exec, M2 is sent 3 s later; the QA userbot records the bot's typing updates. Details: fix: show typing while a queued follow-up turn runs #201920 (comment)/stopduring M2's turn ends typing;/stopwhile M2 waits shows no typing afterwards;typingMode: "never"shows none.followup-runner.test.tswith realcreateTypingCallbacks: fails on main, still fails with only the runner change (the stopped callbacks ignore the start), passes with both.Merge danger: two-way door. No stored state, config or contract change; a revert restores the old behavior. Blast radius: typing indicators for queued turns on all channels; channel plugins that call
onReplyStartdirectly now restart typing after an earlier stop (checked: Discord, Matrix, Feishu, MS Teams and ACP call it only at turn or block start, before their own stop).