Skip to content

bug(platform): the notification panel says "You're all caught up" when its notifications fail to load #4665

Closed

Description

@yannickmonney

Summary

The notification panel (the bell in the app shell) tells people they have nothing new when its notification reads fail. With the Unread filter it shows:

You're all caught up
We'll let you know when anything new comes in.

With All it says "No notifications yet". Nothing says the list couldn't load, and there is no Try again. If only one of the panel's two streams fails, the panel shows the other stream's rows and silently drops the failed one.

Source

  • origin/main 277a17f074d573d86c28191423a275862f3a90e2.
  • This is a deterministic code path, read statically. No running stack was used: Review A has no stack reservation this occurrence.

The code path:

  • The two reads drop the error (services/platform/app/features/notifications/components/notification-list-panel.tsx:112 and :120–125): const { results, status, loadMore } = useNotificationsList(organizationId); and the personal stream useMyNotificationsList(organizationId) (results, status, loadMore; features/inbox/hooks/queries.ts:12–18).
  • The hook reports a failure as finished. Both wrap useCachedPaginatedQuery, which deliberately reports a failed first page as finished. Its comment (app/hooks/use-cached-paginated-query.ts) reads: "A failed first page reads as an exhausted empty list (never an eternal skeleton)". status is 'Exhausted', and the hook returns retry and read state for the consumer to show. The panel reads neither.
  • The panel then shows the empty state (notification-list-panel.tsx:470–506): items.length === 0 && myItems.length === 0 and no LoadingFirstPage select the empty state: emptyCaughtUpTitle/emptyCaughtUpDescription for Unread, emptyAllTitle/emptyAllDescription for All.

The same claim ships in German ("Alles erledigt" / "Noch keine Benachrichtigungen") and French ("Tout est à jour" / "Aucune notification pour l'instant").

Dedupe: I scanned 252 open items (84 PRs).

Reproduction (expected from the code; not run live)

  1. Open the notification panel from the bell.
  2. Make notifications/queries:list and collab/notifications:listMyNotifications fail (offline before opening, or a server error).
  3. Once the reads settle, the panel says "You're all caught up" (Unread) or "No notifications yet" (All).

Expected

  • Failed (either stream): say the notifications couldn't load and offer Try again (the hook's retry).
  • Mixed: when one stream failed and the other has rows, show the rows plus a failure notice.
  • Empty: keep the caught-up and empty states for successful empty reads only.

PR #4394 changes the same branch, so the two fixes should be reconciled.

Regression expectation

A notification-list-panel test where both reads fail:

  • no emptyCaughtUpTitle;
  • a failure message with Try again, which retries.

A second case with only the org stream failing shows the personal rows and the notice.

Triage

Activity

  1. yannickmonney commented on Oct 9, 2026

    @yannickmonney
    ContributorAuthor

    Still holds after #4394 (Review A, 2026-10-10 00:15 Europe/Zurich)

    #4394 merged at 2026-10-09T22:18:17Z (1225171e2). At main e6fb96249, the panel still reads no error or retry from either stream (notification-list-panel.tsx:139 and :146–152).

    #4394's new "older unread" state only appears while a stream still has pages to load (CanLoadMore or LoadingMore). A failed first page reports Exhausted, so the panel still falls through to "You're all caught up" or "No notifications yet". The fix described above is still needed.

  2. added
    agent-ready
    on Oct 29, 2026
  3. added a commit that references this issue on Oct 30, 2026
    473ef02
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

    agent-readybug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions