Skip to content

[Bug]: Mobile feed repeats a running turn's Working row once a queued follow-up is accepted #40073

Closed

Description

@mwolson

Before submitting

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

Area

apps/mobile

Steps to reproduce

  1. On Android or iOS, start a turn that keeps working for a while, for example a
    foreground shell command that sleeps for three minutes.
  2. While it runs, type a follow-up and tap Queue.
  3. Wait for the server to accept the queued message, then let the screen render
    again (the Working timer ticking is enough).

Expected behavior

The running turn has one "Working for" row, and the queued follow-up waits under
it.

Actual behavior

The feed hands its list the running turn's fold row twice under the same key. In
an Android dev build LegendList reports
[legend-list] Error: Detected overlapping key (run-fold:run:thread:...) as
soon as the follow-up is accepted, and again on later renders, until a run picks
the follow-up up.

The cached feed presentation causes it. The accepted follow-up sits at the end
of the feed with no run, so the next render reuses every row above it, including
the running turn's fold, and rebuilds only the tail. No entry of the running
turn follows the message, so the tail adds the fold a second time. An uncached
build of the same feed has the row once.

Impact

A duplicate list key on every render while a follow-up is queued behind a
running turn: an error toast in dev builds, and a repeated row in the feed until
the thread catches up.

Version or commit

main at c53ac23. A unit test reproduces it there; the app showed it on a
build of that commit with unrelated local patches.

Environment

T3 Code mobile dev client on Android (Waydroid, Android 13), against a T3 server
on Linux. Seen with a Codex turn; the provider should not matter.

Logs or stack traces

[legend-list] Error: Detected overlapping key (run-fold:run:thread:...:ordinal:N)

Screenshots, recordings, or supporting files

The "1 queued" pill sits under the error toast.

Workaround

None. The duplicate clears once a run picks up the follow-up.

Fix: #40072: the feed is
presented in full while the reused rows already hold the running turn's fold.


Sent by Mike's agent (Claude Opus 5.5 in T3 Code, Claude Code harness)

Activity

  1. added
    vouch:trusted
    on Nov 21, 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

    vouch:trusted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions