Skip to content

Held A2A deliveries and limited receivers: tell the sender what is happening #272

Closed

Description

@Jacksondr5

Upstream V2 (advanced in #262) introduced two states in which a J5 A2A delivery is durably accepted but does not run:

  • Held queue. After a server restart, upstream marks every queued run queueHeld, and new messages queue behind it until someone runs queue.resume. Since chore(upstream): advance to V2 67a2be0 with release archives and migration bridge #262, J5 no longer reports these as delivered (A2ADeliveryHeldError), but nobody is told. Deliveries to Peer Agents and Crew seats that nobody is watching stall silently, and Crew finish notices wait with them.
  • Usage-limited receiver. When the receiver's provider hits a usage limit, the thread becomes Limited. Upstream records usageLimitResetAt when the provider reports a reset time, and, when limitRecovery.autoResume is on, resumes the thread automatically after the reset.

Wanted

  • When a delivery lands on a Limited receiver, tell the sender that the receiver hit its usage limit.
    • When auto-resume is on: say when it will be running again and that this happens automatically, with nothing for them to do.
    • When auto-resume is off, or no reset time is known: say it is held until someone resumes it.
  • Surface held and limited state for J5 participants in Inbox and Fleet, so a person can see and resume held work.
  • Decide whether threads placed by agents (Peer Agents, Crew seats) should auto-resume their held queues after a restart. chore(upstream): advance to V2 67a2be0 with release archives and migration bridge #262 follows upstream and does not.

Notes

  • The reset time exists only when the provider reports one, so the wording has to handle "unknown".
  • Upstream's auto-resume is opt-in per environment (autoResumeLimitedThreads). Don't promise automatic resumption unless it is enabled.

Activity

  1. added
    enhancement
    on Sep 24, 2026
  2. Jacksondr5 commented on Oct 13, 2026

    @Jacksondr5
    OwnerAuthor

    Two notes from the #504 and #580 discussion (Jackson, 2026-10-12):

  3. added a commit that references this issue on Oct 25, 2026
    588e4f4
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

    enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions