Skip to content

Activity: failed items never expire and there is no bulk dismiss, so a month of unactionable rows accumulates #25353

Open

Description

@phattytuna

Summary

Failed items in Activity → Needs attention never leave the list, and there is no bulk dismiss. A month of permanently-failed items accumulates, and every one of them is unactionable. The only bulk action available (retry-all) re-runs them, they fail again, and they return to the same place.

For me this list now goes back to 2026-10-19, roughly a month of rows.

What I see

  • Rows dating back to Oct 19 still sitting in Needs attention, most of which are recordings that never produced a transcript at all.
  • On 2026-11-14 I hit Try Again on three of them. All three moved to Processing with "Writing notes", then came back. Server-side check on all three (GET /v1/mcp/conversations/{id}) shows transcript_segments: [] and an empty overview — the audio never reached the server, so no retry can ever succeed.
  • retry-all therefore cannot reduce the list; it only cycles it.

Why the list only grows

Per backend/docs/pending-work.md, attention items expire at 7 days only when they remain non-retryable, and reasons including processing_failed, final_attempt_failed and durable_attempts_exhausted never expire even if retryable. Combined with the absence of a dismiss-all endpoint (app/lib/backend/http/api/pending_work.dart has retry-all, /seen, and per-item /dismiss only), a permanently-failed item is effectively immortal unless the user taps it individually.

Context on how many are real

Across the same period I made 62 pendant recordings since Oct 19, and only 8 lacked a summary. So the list does not reflect 60 failures; it reflects ~60 permanently-stuck rows on top of 8 real ones. That makes a working app look broken.

Request

  1. Stop retrying items that have no transcript and cannot succeed — retryable should be false when transcript_segments is empty, so they don't sit in the retry path.
  2. Add a dismiss all / clear resolved action in Activity.
  3. Let items that fail permanently (no audio, empty transcript) age out regardless of the stored retryable flag.

Repro: open Activity on any over-accumulated account and look at the date range in Needs attention.

Activity

  1. phattytuna commented on Nov 15, 2026

    @phattytuna
    Author

    Correction: there is no dismiss UI at all

    I said earlier that rows could be dismissed individually. They can't. Checking the client:

    • app/lib/backend/http/api/pending_work.dart defines dismissAttentionItem(String id) → POST /v1/attention-items/{id}/dismiss.
    • Nothing in the app calls it. A repo-wide search for dismissAttentionItem returns only that definition.
    • app/lib/pages/activity/needs_attention_section.dart renders only retry (onRetry) and tap-to-open (onTap). No dismiss control, no swipe action, no overflow menu.

    So a failed row has exactly two possible outcomes: retry (which fails again for empty recordings) or stay forever. There is no user path to clear it, which makes the accumulation in this issue permanent rather than merely tedious.

    Suggested fix: wire the existing dismissAttentionItem into the row (swipe or overflow), and add a dismiss-all alongside retry-all.

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

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions