Skip to content

[Frontend][Inbox] Successful batch poll recovery leaves a stale list error hiding rows #2305

Description

@Chris0Jeky

Found by the completed current-head Codex review of PR #2299 and independently confirmed as MEDIUM/non-blocking.

When a batch-triage POST succeeds but its immediate list refresh exhausts retries, fetchItems records listError. A later successful quiet poll replaces the Inbox items and can reconcile the open terminal detail, but it does not clear that stale listError. InboxListPanel continues to prioritize the old error and hides the recovered rows behind Retry until the user acts manually. Server state and the open Legacy detail remain correct.

Acceptance:

  • clear a stale listError only when a current successful background list response is accepted;
  • do not let aborted, stale-scope, 401, or 403 responses clear a foreground error;
  • prove immediate refresh failure followed by successful poll recovery reveals the rows without manual Retry;
  • preserve the authoritative POST result, bounded polling, and auth behavior.

Refs #2230 and PR #2299 thread r3889030803.

Activity

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

    Priority IIIValuable but unscheduled: residuals, tech-debt, performance, depth work.bugSomething isn't workingfrontendPrimary implementation impact in Vue/TypeScript UI and client runtime.uxDiscoverability, accessibility, interaction model, and user workflow quality.

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions