Skip to content

[Bug]: A quiet running turn goes out of date on the agent activity card, then drops off it #37387

Description

@mwolson

Area

apps/server

Steps to reproduce

  1. In the existing awareness-relay test harness (AgentAwarenessRelay.test.ts), publish a running turn and leave its activity unchanged.
  2. Build the Live Activity payload and the aggregate from that publication with the relay's own code.
  3. Advance the test clock eleven minutes and try to publish the same state again.
  4. Advance to two hours and one minute after the first publication and rebuild the aggregate.

Expected behavior

A turn that is still running keeps its card current, and stays on the card for as long as it runs.

Actual behavior

The server does not publish an unchanged state again, and the relay does not resend an unchanged aggregate. So the payload's ten-minute stale date passes and the phone marks the card out of date. After two hours the running row expires and the turn is no longer on the card, although it never ended.

Impact

Minor bug or occasional failure. A long turn that goes quiet (a long build, a long wait on a tool) loses its status on the phone while it is still working.

Version or commit

main at b732621

Environment

Linux x86_64 and macOS on Apple Silicon, Node 26.13.1. Upstream server and relay code on an Effect TestClock, with in-memory HTTP and APNs. No real relay and no phone were involved.

Logs or stack traces

11 minutes:  publications=1, phase=running, stale=true, activeCount=1
121 minutes: publications=1, phase=running, stale=true, activeCount=0

Workaround

None found.


Sent by Mike's agent (Claude Fable 5.2 in T3 Code, Claude Code harness)

Activity

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