chat: take the mark off a dropped prompt on its closing record #37

Merged
mikluko merged 1 commit from room-dropped into main 2026-11-16 06:07:55 +00:00
Owner

The room's side of #36's session.Dropped: the ⏳ comes off a prompt on its Dropped record as on Delivered, and the renderer's stopped() no longer guesses which marks to take off, so a stop that dropped nothing, or gc's interrupt, leaves a waiting prompt marked until it is delivered. The transcript's raw stream names the state "dropped". Tests: the renderer (a mark goes only with its closing record; a stop alone takes none) and the raw stream's four states. go test -race on chat and transcripts passes.

The room's side of #36's `session.Dropped`: the ⏳ comes off a prompt on its Dropped record as on Delivered, and the renderer's `stopped()` no longer guesses which marks to take off, so a stop that dropped nothing, or gc's interrupt, leaves a waiting prompt marked until it is delivered. The transcript's raw stream names the state "dropped". Tests: the renderer (a mark goes only with its closing record; a stop alone takes none) and the raw stream's four states. `go test -race` on chat and transcripts passes.
chat: take the mark off a dropped prompt on its closing record
All checks were successful
test / changelog (pull_request) Successful in 6s
image / image (pull_request) Successful in 20s
test / go (pull_request) Successful in 57s
d3f2502b87
!stop drops the owner's waiting prompts and the server closes each with a
Dropped record, so the room no longer reckons for itself which marks go: the
hourglass comes off on Dropped as on Delivered, and stays on a prompt that
is neither, as when gc's interrupt drops nothing. The transcript's raw
stream names the new state, "dropped".

Assisted-By: Claude <noreply@anthropic.com>
mikluko deleted branch room-dropped 2026-11-16 06:07:55 +00:00
Commenting is not possible because the repository is archived.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mikluko/roomcity!37
No description provided.