GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Pending self-settle is silently dropped when a queued message is steered into the running turn · Issue #36891 · pingdotgg/t3code

Pending self-settle is silently dropped when a queued message is steered into the running turn #36891

New issue
Copy link
New issue
Copy link
Closed
#36896
Closed
Pending self-settle is silently dropped when a queued message is steered into the running turn#36891
#36896
Copy link

Description

@pjmuller
pjmuller
opened on Nov 14, 2026
Issue body actions

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

  1. Start a thread with a task that takes a while (for example a 40 second shell command, then a small file write).
  2. While that turn runs, send a second message such as "then settle this thread". It queues as a new run.
  3. Promote the queued message to steer into the running turn (the "send now" action in the composer, or t3_queue promote_to_steer over MCP).
  4. The agent finishes the work and calls t3_thread_organize {"action":"settle"} on its own thread as its last tool call. The tool answers {"settlesWhenTurnEnds":true}.
  5. The turn completes.

Expected behavior

The thread settles when the turn ends. The steered message was handled by that same turn.

Actual behavior

The thread stays open. Nothing tells the agent or the user that the settle was dropped: the tool call reported success and the agent's last line says it settled.

Cause, from reading apps/server/src/orchestration-v2/ThreadManagementService.ts (settleAfterRun): promoting a queued message to steer cancels the queued run, but that cancelled run keeps its userMessageId. The message itself now belongs to the running turn. settleAfterRun sees a later run that carries a human message, treats it as a new follow-up and gives up without settling.

Seen twice: once in normal use on 2026-11-14 (second message sent 4 seconds after the first, promoted 2 seconds later), and once reproduced on purpose with the steps above. In the store, the runs of the thread read completed, cancelled and settledAt stays null; the server trace has no thread.settle for that run.

Impact

Minor bug or occasional failure

It bites exactly when a user adds "and settle when done" as an afterthought while the agent is already working, so finished threads pile up in the sidebar.

Version or commit

0.1.9 (desktop, macOS). The same check is on main at 3238db7.

Environment

macOS 26, Apple silicon, Claude provider (Claude Code). The code path is provider independent.

Workaround

Send the settle request after the turn has finished, or settle by hand.

I have a fix with tests and will link the PR.

Activity

  1. juliusmarminge
    closed this as completedin #36896on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.