Skip to content

chat: a reply stops with 'nobody was left watching this conversation' and a cancelled bash while the person is sitting in front of it #833

Closed

Description

@santoshkumarradha

What happened

2026-09-10, prompt-diet/integrate@2a90be7e8 under lane H's parity bench on the Spark, repeat run of go test -tags e2e -run 'TestQuestionsE2E/TheOrdinaryRoadCarriesAQuestionAndItsAnswer' ./internal/e2e/ with E2E_MODEL=deepseek/deepseek-v4-flash-0731. The screen (repeat-askroad-diet-1.log) read:

Delete it. Running the removal.
  ▾ ran 1 command                                   1 call
  ╰─▶ bash · cancelled
  · nobody was left watching this conversation, so the reply stopped — ask again to pick it up

The person had just pressed 1 on the card in that window. The reply's bash was cancelled and the turn ended on the unattended door's sentence. Lane L's trace of the sibling failure (#832) shows the surface's call refused at internal/remote's ten-second callDeadline while the engine applied it; this symptom rode the same stall in a different run and was not captured with a trace.

Replication

Deterministic (no model). Owed: a session test where the surface's presence lapses mid-turn (the watcher registry the unattended door reads) and asserts the reply is not stopped while a window that pressed a key seconds ago is attached.

Field (real models). The subtest above, repeated under load (several copies in parallel), OPENROUTER_API_KEY, about a minute and a cent per copy.

Bench forensics, may be gone: ~/bench-diet-out/repeat-askroad-diet-1.log on the Spark; the screen quoted above is the whole of what is needed.

Where

The sentence is nobody was left watching this conversation, so the reply stopped (search it in internal/session); the fact it reads is whichever presence or watcher registry the unattended door consults; internal/remote's serial dispatch and callDeadline are the likely reason the presence lapsed.

The fix

A window that answered a question seconds ago is watching. The unattended door must not stop a reply on a presence reading that a stalled road made stale, and a stop it does take must say which window it believed had gone.

Acceptance

End to end: the subtest above, six copies in parallel, none printing the sentence; then the deterministic test.

🤖 Generated with Claude Code


Drafted with CodeAF · reviewed and owned by the author

Activity

  1. added
    bug
    area:chat
    on Oct 3, 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

    area:chatbug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions