You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Queued messages can get stuck while an inactive session remains in Running state after completion #3525
Queued messages intermittently get stuck because the active session continues to show Running even though no work appears to be happening.
The queued message remains visible in the queue and is not sent automatically. Clicking Send now fails with this error:
Queued message was not sent. Check the updated queue and try again.
The session remains in the running state, leaving no working way to dispatch the queued message.
Steps to reproduce
Open a session in the GitHub Copilot desktop app.
While the session is running, queue another message.
Wait until the active session appears to have finished all work.
Observe that the session still shows Running even though nothing is happening, and the queued message is not sent.
Open the queue and click Send now.
Observe the error: Queued message was not sent. Check the updated queue and try again.
The issue occurs intermittently.
Expected behavior
When the active session finishes, its status should change from Running and the next queued message should be sent automatically. If a message remains queued, clicking Send now should dispatch it successfully.
Additional context
Platform: Windows
Frequency: Intermittent
A screenshot of the Send now error is available and will be attached to this issue.
Additional sanitized evidence from Windows Copilot app v1.1.15: this also affects a coordinated worker sending results to an apparently idle coordinator.
Sender / receiver / host correlation
The coordinator emitted a final response, and the host's keep-awake tracker logged Session became idle.
Starting about 90 seconds later, a worker sent six progress updates over approximately 32 minutes. Every call explicitly used send_session_message with delivery_mode: "immediate"; the optional mode argument was omitted. All calls succeeded and reported that the message was sent immediately.
None of those six updates appeared as input events in the coordinator's session journal during the interval. They appeared in the app's queued-message UI instead.
There was no outstanding coordinator tool call spanning this interval. No automatic incomplete-task continuation prompts occurred in the captured interval; recurring coordinator automation was disabled.
About 45 minutes after the idle event, a manual Send now attempt failed with the error in this issue. The host log records the send-now request, but the available trace does not expose a specific rejection reason.
The six queued progress entries were then manually removed. A subsequent new final handoff reached the coordinator approximately four seconds after being sent. The deleted progress entries are not counted as delivered, and the final handoff was not one of those earlier six entries.
The worker continued its own work; this was a handoff/delivery stall, not evidence that its implementation process had stopped. The trace locates a discrepancy between accepted/immediate-send acknowledgments, receiver input consumption, and queue state. It does not establish which internal busy/drain flag, stale item, or race is responsible.
Useful regression coverage / diagnostics
Immediate worker input to an idle coordinator, including when the destination session is not the selected view.
Busy-to-idle transition with pending inputs: automatic drain without manual deletion.
Send now on an existing queued item: either dispatch or return the actual blocking reason while preserving the message.
Distinguish accepted, queued, dispatched, and consumed state rather than reporting queued input as immediately sent.
Repeated delivery/recovery must not lose or duplicate inputs.
No private repository names, session IDs, filesystem paths, prompts, screenshots, credentials, or raw logs are included here. The current published stable release remains v1.1.15; its related queue-fix release notes do not establish that this recurrence is fixed.
Additional observed reproduction on Windows, Copilot App 1.1.17 / bundled CLI 1.0.83, on 2026-09-11. This matches the accepted-but-undelivered queue failure here and recurred shortly after a successful targeted runtime restart.
Environment
Windows 11, OS version 10.0.26200.
Desktop executable ProductVersion and FileVersion: 1.1.17. The bundled CLI version is a separate value: 1.0.83.
Long-lived local sessions: a general-chat coordinator and a folder-backed project session, with cross-session handoffs. The project session was in autopilot mode.
Session names, IDs, user paths, project content, and raw conversation logs are omitted below.
Observed reproduction sequence
This is a repeatedly observed sequence, not a deterministic minimal trigger.
Let an existing session finish a response or report session.task_complete.
Send a follow-up from the composer, or send a cross-session message with delivery_mode: "immediate".
The sender reports success (Message sent immediately ...), but the receiver records neither a corresponding user.message nor a new assistant turn. In the UI, the input remains queued.
Trying Send now can show:
Queued message was not sent. Check the updated queue and try again.
This error was captured in the earlier September 9 occurrence; the September 11 recurrence was additionally traced through sender results and receiver journals.
The CLI process remains alive. For the affected project session, get_sessions_status still reported is_running: true, mode: autopilot, awaiting_user_input: false, and awaiting_plan_approval: false, despite its last recorded task having completed hours earlier.
With explicit user approval, restart only the identified affected CLI runtime, reopen/resume the same saved session, and resend one control message. A fresh process starts, the receiver records input and a new turn, and the agent actually responds and executes tools.
After the coordinator subsequently finishes another response, a new immediate message can become stuck again. A second targeted reconnect was required in this case.
Correlated September 11 timeline (UTC)
Time
Observation
01:00:36.633
Project session B records session.task_complete, followed by assistant.turn_end.
09:21:31.208
Coordinator A records its last assistant.turn_end before the first observed stall.
20:29-20:31
Both old CLI processes are alive; receiver journals still end at the times above. Fresh immediate-send probes report success without appearing in either receiver journal. B is still reported as Running, without a pending user-input or plan-approval request.
20:49:39.109 / 20:49:40.098
After targeted runtime recovery, A and B respectively record new assistant.turn_start events. Both subsequently send explicit acknowledgements that they are processing again.
21:01:35.292
A finishes another response. Its agentStop and sessionEnd hooks subsequently finish; the final hook event is at 21:01:35.429.
Shortly after 21:03
Another immediate message to A reports success, but does not appear in A's journal. Its journal remains at 123,605,533 bytes, with last filesystem write at 21:01:35.5377745 UTC. A's CLI process is still alive and has only its console-host child, not a running task process.
21:05:04.059 / 21:05:04.069
After reconnecting only A's runtime again, the resent message appears as user.message, followed by assistant.turn_start. The requested action is subsequently performed and persisted.
The recurrence matters: one successful recovery and acknowledgement did not establish that subsequent queued inputs would drain normally.
Additional control-plane evidence from September 9
An earlier occurrence, using bundled CLI 1.0.83-5, showed this distinction in the host log:
Nevertheless, the receiver journal remained unchanged. A mode change did appear as session.mode_changed, but no new input/turn followed. The liveness probe therefore showed that the control/RPC path was responsive, not that the input-processing loop could advance.
Expected behavior and useful regression coverage
A completed session should transition correctly and drain pending input without manual deletion or a runtime restart.
Distinguish accepted, queued, delivered, and consumed. A sender should not report immediate delivery when the receiver has not consumed input.
Detect a stalled input/turn loop even when session.mode.get succeeds and the process is alive.
Exercise repeated idle -> send -> process -> idle cycles after recovery, including cross-session immediate sends and general-chat/folder-backed sessions.
Preserve queued input across recovery and make replay/consumption observable, without duplicating operations.
Scope and workaround caveats
The observed workaround was a targeted runtime reconnect followed by an explicit resend, not proof that the original queued messages were automatically recovered. This report does not claim permanent message loss, exactly-once replay, a specific lock/network/model cause, or that killing a shared runtime is generally safe. One project CLI process hosted multiple sessions, so blindly killing all Copilot processes is especially inappropriate.
Related: #3564 was closed as fixed in v1.1.16, but these symptoms persist in the environment above. #3590 contains related accepted-send/receiver-journal evidence; this comment specifically adds the two-session recovery and rapid recurrence on September 11.
No raw debug bundle or screenshots containing private prompts/paths are attached.
Additional evidence for this stuck-queue issue, following the September 10 observed repro in #3590: the same affected session remains stalled more than 50 hours later, with the original CLI process still alive. The user currently reports many queued messages visible in the affected session.
This is newly collected persistence evidence for the same occurrence, not a claim of a second independently triggered incident or a deterministic minimal trigger.
The visible backlog is user-reported; the available diagnostic status API does not expose its count or contents, so no exact queue length is claimed. This report concerns a queue that is not draining, not a claim that those visible queued messages have disappeared.
Environment
GitHub Copilot desktop app 1.1.17, confirmed from the running desktop executable's ProductVersion.
Bundled CLI 1.0.83, confirmed from the running runtime's installation path.
Windows 11 Enterprise, version 10.0.26200.
Local Git-worktree session, interactive mode.
Inspection: 2026-09-12 22:26-22:28 UTC (September 13 locally).
Observed repro and new evidence
The receiver finishes its assistant response and final external tool request.
Its journal records assistant.turn_end, followed by successful agentStop and sessionEnd hooks with reason complete.
Another session calls send_session_message with delivery_mode: "immediate". The tool returns success and says the message was sent immediately.
The receiver records no corresponding user.message or subsequent assistant turn.
More than two days later, inspect the same receiver: it still reports Running, its original runtime is alive, and its journal has not advanced. The user reports many messages still queued in the UI.
The original send and completion were independently re-read from the sender journal during this follow-up, rather than inferred solely from the previous issue comment.
UTC timestamp
Evidence
2026-09-10 19:41:02.076
Receiver's final external tool request completes successfully.
2026-09-10 19:41:04.848
Final assistant message, with no tool requests.
2026-09-10 19:41:04.850
assistant.turn_end.
2026-09-10 19:41:04.866-19:41:04.875
sessionEnd hook starts with reason complete and finishes successfully.
2026-09-10 21:04:47.210
Sender starts the immediate cross-session send.
2026-09-10 21:04:48.654
Sender records success: true and Message sent immediately to session '<redacted>'.
2026-09-12 22:27:09
Receiver journal is still exactly 70,242,310 bytes, with filesystem last-write time 2026-09-10 19:41:04.9879987 UTC. Its final event remains the successful hook completion above.
A read-only inspection of the app's persisted session row independently shows is_running = 1, was_interrupted = 0, and no interruption reason. The original CLI runtime and its desktop parent are still alive; the CLI's only direct child is its console host, not a task subprocess.
Diagnosis and expected behavior
The supported failure boundary is successful sender acknowledgement without observable receiver input/turn ingestion, together with a stale Running state after completed turn hooks. The user-visible backlog is consistent with stalled queue draining. This is not established as a CLI process crash or a pending user/plan approval.
The app should reconcile completed/stalled sessions, distinguish accepted or queued input from delivered input, and retain a recoverable pending message until consumption can be observed. A regression scenario should cover a long-lived interactive worktree session completing a turn, receiving an immediate cross-session follow-up, and transitioning into a new durable input/turn rather than remaining indefinitely Running.
No new probe message, restart, cancellation, database edit, queue send/clear, or task execution was performed during this inspection. This report does not establish a source-level locking/network cause, permanent message loss after recovery, or whether pending messages survive restart. Only redacted metadata is included; no private prompts, code, user paths, or raw logs are attached.
Activity
likamrat commentedon Sep 8, 2026
Additional sanitized evidence from Windows Copilot app v1.1.15: this also affects a coordinated worker sending results to an apparently idle coordinator.
Sender / receiver / host correlation
Session became idle.send_session_messagewithdelivery_mode: "immediate"; the optionalmodeargument was omitted. All calls succeeded and reported that the message was sent immediately.The worker continued its own work; this was a handoff/delivery stall, not evidence that its implementation process had stopped. The trace locates a discrepancy between accepted/immediate-send acknowledgments, receiver input consumption, and queue state. It does not establish which internal busy/drain flag, stale item, or race is responsible.
Useful regression coverage / diagnostics
No private repository names, session IDs, filesystem paths, prompts, screenshots, credentials, or raw logs are included here. The current published stable release remains v1.1.15; its related queue-fix release notes do not establish that this recurrence is fixed.
sebastienros commentedon Sep 8, 2026
Seeing almost all sub-sessions triggering this state on the parent one now. And the parent get a red icon
Seems to have started with 1.1.15
likamrat commentedon Sep 8, 2026
yeah seeing similar things
voyager163 commentedon Sep 10, 2026
Seeing the same error "Queued message was not sent. Check the updated queue and try again." in the latest version 1.1.16 and using GPT Astra.
rumukh commentedon Sep 11, 2026
Additional observed reproduction on Windows, Copilot App 1.1.17 / bundled CLI 1.0.83, on 2026-09-11. This matches the accepted-but-undelivered queue failure here and recurred shortly after a successful targeted runtime restart.
Environment
10.0.26200.ProductVersionandFileVersion:1.1.17. The bundled CLI version is a separate value:1.0.83.Observed reproduction sequence
This is a repeatedly observed sequence, not a deterministic minimal trigger.
Let an existing session finish a response or report
session.task_complete.Send a follow-up from the composer, or send a cross-session message with
delivery_mode: "immediate".The sender reports success (
Message sent immediately ...), but the receiver records neither a correspondinguser.messagenor a new assistant turn. In the UI, the input remains queued.Trying Send now can show:
This error was captured in the earlier September 9 occurrence; the September 11 recurrence was additionally traced through sender results and receiver journals.
The CLI process remains alive. For the affected project session,
get_sessions_statusstill reportedis_running: true,mode: autopilot,awaiting_user_input: false, andawaiting_plan_approval: false, despite its last recorded task having completed hours earlier.With explicit user approval, restart only the identified affected CLI runtime, reopen/resume the same saved session, and resend one control message. A fresh process starts, the receiver records input and a new turn, and the agent actually responds and executes tools.
After the coordinator subsequently finishes another response, a new immediate message can become stuck again. A second targeted reconnect was required in this case.
Correlated September 11 timeline (UTC)
session.task_complete, followed byassistant.turn_end.assistant.turn_endbefore the first observed stall.assistant.turn_startevents. Both subsequently send explicit acknowledgements that they are processing again.agentStopandsessionEndhooks subsequently finish; the final hook event is at 21:01:35.429.user.message, followed byassistant.turn_start. The requested action is subsequently performed and persisted.The recurrence matters: one successful recovery and acknowledgement did not establish that subsequent queued inputs would drain normally.
Additional control-plane evidence from September 9
An earlier occurrence, using bundled CLI
1.0.83-5, showed this distinction in the host log:Nevertheless, the receiver journal remained unchanged. A mode change did appear as
session.mode_changed, but no new input/turn followed. The liveness probe therefore showed that the control/RPC path was responsive, not that the input-processing loop could advance.Expected behavior and useful regression coverage
session.mode.getsucceeds and the process is alive.Scope and workaround caveats
The observed workaround was a targeted runtime reconnect followed by an explicit resend, not proof that the original queued messages were automatically recovered. This report does not claim permanent message loss, exactly-once replay, a specific lock/network/model cause, or that killing a shared runtime is generally safe. One project CLI process hosted multiple sessions, so blindly killing all Copilot processes is especially inappropriate.
Related: #3564 was closed as fixed in v1.1.16, but these symptoms persist in the environment above. #3590 contains related accepted-send/receiver-journal evidence; this comment specifically adds the two-session recovery and rapid recurrence on September 11.
No raw debug bundle or screenshots containing private prompts/paths are attached.
rumukh commentedon Sep 12, 2026
Additional evidence for this stuck-queue issue, following the September 10 observed repro in #3590: the same affected session remains stalled more than 50 hours later, with the original CLI process still alive. The user currently reports many queued messages visible in the affected session.
This is newly collected persistence evidence for the same occurrence, not a claim of a second independently triggered incident or a deterministic minimal trigger.
The visible backlog is user-reported; the available diagnostic status API does not expose its count or contents, so no exact queue length is claimed. This report concerns a queue that is not draining, not a claim that those visible queued messages have disappeared.
Environment
Observed repro and new evidence
assistant.turn_end, followed by successfulagentStopandsessionEndhooks with reasoncomplete.send_session_messagewithdelivery_mode: "immediate". The tool returns success and says the message was sent immediately.user.messageor subsequent assistant turn.The original send and completion were independently re-read from the sender journal during this follow-up, rather than inferred solely from the previous issue comment.
assistant.turn_end.sessionEndhook starts with reasoncompleteand finishes successfully.success: trueandMessage sent immediately to session '<redacted>'.A fresh
get_sessions_statussnapshot reports:{ "is_running": true, "mode": "interactive", "awaiting_user_input": false, "awaiting_plan_approval": false }A read-only inspection of the app's persisted session row independently shows
is_running = 1,was_interrupted = 0, and no interruption reason. The original CLI runtime and its desktop parent are still alive; the CLI's only direct child is its console host, not a task subprocess.Diagnosis and expected behavior
The supported failure boundary is successful sender acknowledgement without observable receiver input/turn ingestion, together with a stale Running state after completed turn hooks. The user-visible backlog is consistent with stalled queue draining. This is not established as a CLI process crash or a pending user/plan approval.
The app should reconcile completed/stalled sessions, distinguish accepted or queued input from delivered input, and retain a recoverable pending message until consumption can be observed. A regression scenario should cover a long-lived interactive worktree session completing a turn, receiving an immediate cross-session follow-up, and transitioning into a new durable input/turn rather than remaining indefinitely Running.
No new probe message, restart, cancellation, database edit, queue send/clear, or task execution was performed during this inspection. This report does not establish a source-level locking/network cause, permanent message loss after recovery, or whether pending messages survive restart. Only redacted metadata is included; no private prompts, code, user paths, or raw logs are attached.
Chuxel commentedon Sep 30, 2026
Resolved in GitHub Copilot app 1.1.24 by the same queue and session-liveness fixes tracked in #4031 (#4031) and #3590 (#3590).