Skip to content

Reduce background work in archived conversations #1939

Closed

Description

@sentry-junior

Conversations that participants consider finished can continue receiving watch-triggered work, wasting compute and creating unwanted activity. Archiving is per-user, while execution and watches are shared, so hiding a conversation is not an unambiguous signal to stop it. This tracks the reported concern and a potential lifecycle change; compute impact has not yet been quantified.

Potential solution

The proposed behavior is to make a conversation dormant once all participants have archived it:

  • Pause/no-op its watches without invoking the agent for incoming events.
  • Keep background events from waking or unarchiving the conversation.
  • Resume eligible watches when a user sends new explicit input (such as a mention), unarchiving the conversation.
  • Consider stopping in-flight execution when it becomes dormant; the cancellation policy is not settled.

This is a proposal, not a settled UX or implementation decision.

UX questions

  • Who counts as a participant? An incidental participant who never archives could prevent dormancy indefinitely.
  • How do we explain that archiving only pauses shared activity when the last participant archives? Should an explicit “pause for everyone” action also exist?
  • Does manually unarchiving resume watches, or only explicit new input?
  • What happens to queued events and expired watches? A suggested default is to discard events received while dormant, avoid replaying a backlog, and preserve original watch expiry.
  • How should stopping an in-flight run interact with work already performed?

Related: #908 introduced personal archive behavior and specified auto-unarchiving on new transcript activity. This proposal would distinguish explicit user input from background activity rather than treating both as a reason to reactivate a conversation.

via David Cramer.

--

View Junior Session [Sentry]

Activity

  1. sentry-junior commented on Nov 9, 2026

    @sentry-junior
    ContributorAuthor

    Folding into #2888. The per-user archive premise is gone (#2900 made archive shared), and whether background work is held now follows #2888's status model.

    Closed during a tracker cleanup. Reopen if this still needs separate tracking.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions