Skip to content

Bug: Inbox shows No conversations after a settled retrieval failure #3709

Closed

Description

@yannickmonney

P2 · Reproduced locally at 480ee6a3e6d33c3414a2c0f8a52fded1ddc4ca2d.

The Home panel's Inbox renders a settled retrieval failure as No conversations, disables Search and Filter, and offers no retry. An operator can conclude there is no customer work even though the server did not supply a list.

Reproduction:

  1. Open the Home panel's Inbox with no cached page for the selected status.
  2. Let GET /api/app/conversations?... fail with a deterministic 403, or let every retry fail with 503.
  3. Wait until the query has finished all retries.

Expected: Show a failed-load state with a retry action, retaining the distinction between an unavailable list and an empty list.

Actual: No conversations appears, Search and Filter are disabled, and no error or retry control is rendered. The production React Query entry is settled at status: error, fetchStatus: idle; this is not an initial loading state.

The paginated hook already returns error and retry, and explicitly assigns the consumer responsibility for displaying them. HomeInboxList ignores both and chooses its ordinary empty branch from results: [] and status: Exhausted.

Frozen command (4/4 passed; cwd detached source services/platform):

/Users/yannick/.npm/_npx/22f2fe8d8bc13000/node_modules/.bin/bun x vitest run --config /Users/yannick/.codex/notes/tale-1000-additional/inbox-wave01/vitest.config.ts /Users/yannick/.codex/notes/tale-1000-additional/inbox-wave01/list-errors.probe.test.tsx --maxWorkers 1 --testTimeout 30000 --reporter verbose --silent=false

Executed output:

CONTROL populated native HTTP200 -> owned A row, search enabled; GETs= 1
CONTROL empty native HTTP200 -> No conversations; active facet/search remain usable= true
{"defect":"settled list error rendered as empty","status":403,"requestAttempts":1,"queryStatus":"error","fetchStatus":"idle","visibleEmptyTitle":true,"searchDisabled":true,"retryVisible":false}
{"defect":"settled list error rendered as empty","status":503,"requestAttempts":4,"queryStatus":"error","fetchStatus":"idle","visibleEmptyTitle":true,"searchDisabled":true,"retryVisible":false}
Tests 4 passed (4)

Controls: The same component and actual query/adapter render a populated response from the native local backend, including the retained owned conversation. A genuinely empty native channel response renders the documented empty state and leaves its active filter undoable.

Source: Inbox query consumption, empty rendering branch, paginated error and retry contract.

Proof limits: Real HomeInboxList, list/selection/bulk hooks, React Query and HTTP adapter. Successful controls reach the actual native localhost backend; error cases replace only the final fetch response and run the production retry policy. Viewer/directory context and routing are controlled; no provider, mailbox, send or external request is allowed. This is a component proof, not a browser visual check. The phone list also consumes the shared result; it is not separately counted or claimed as executed here.

Deduplication: Full bodies in the 1,028-issue cache and baseline 102 reviewed. #2089 is hidden selected rows/counts, #2054 is incomplete loaded-page filtering, #1992 is search clearing, and #1996 is customer-name search. #3676 affects the API-key page passing undefined into a loading skeleton; #3641 affects governance usage/trash reads. This report is the Inbox's own failure to consume an already-exposed paginated error, falsely showing an empty customer queue. Parent owns final live deduplication.

Independent review

Read actual paginated error/retry contract and Inbox consumer. Independently replayed all four component cases: native populated/empty controls and settled403/503 failures. Both failures show No conversations and disabled filters with no retry. Distinct local Inbox consumer from prior API-key skeleton/governance error handling. No visual/browser claims.

The affected source files are unchanged between the tested revision and current main d351611bd as checked before publication. Checked all-state issue bodies and the separate baseline of 102 reports; this entry is additional to that baseline.

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

    bugservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions