Skip to content

bug(platform): What's new spins forever when the changelog state can't be read, and says "You're up to date" over an empty release feed #4900

Closed

Description

@yannickmonney

Problem

The in-app What's new page (/dashboard/changelog, opened from the account menu) can spin forever, or tell people they are up to date when it showed them nothing. Paths at main df7cd70f7, under services/platform/.

  1. Endless spinner when the person's changelog state can't be read.
    • app/hooks/use-changelog-notification.ts:56-59 reads the per-user state with useBackendQuery(…getUserNotificationState…) and sets stateLoaded = state !== undefined (:70). A failed read never sets it.
    • The account menu's link passes from: lastSeenVersion (app/components/user-button.tsx:287-292), which is undefined after that failure.
    • app/routes/dashboard/changelog.tsx:66-68 then waits (if (currentVersion !== undefined && from === undefined && !stateLoaded) return;), so the release feed is never requested, and :159-165 renders only a full-page <Spinner />. There's no message, no Try again and no link to the release notes on GitHub. The comment at :60-65 guards only the development case where the version is unset.
  2. "You're up to date." over an empty feed.
    • The feed is scraped from the GitHub releases page: backend/core/changelog/internal_actions.ts:166-167 returns parseReleasesHtml(html) without checking that anything matched, and the result is cached (backend/domains/changelog/service.ts).
    • When the parse finds nothing, for example after GitHub changes its markup, toMissing returns false for an empty list (changelog.tsx:134-135). The page then shows "Release notes for v{to}" and "You're up to date." (:209, :255), with no notes and no error.
    • The comment at :129-133 already calls "up to date" misleading for a version missing from the feed.

Expected

  • If the state read fails, fetch the feed without from (or offer Try again) instead of waiting on stateLoaded. Never leave a bare spinner.
  • Treat an empty parse of a non-empty releases page as an error: don't cache it, and show "Couldn't read the release notes" with a link to GitHub, not "up to date".

Regression: a changelog route test with a rejected notification-state read renders the feed or an error, not only a spinner. A test with an empty feed and a current version doesn't say "You're up to date.". On df7cd70f7 the first spins and the second says it.

Severity and owner

  • Severity: low-medium. Both are failure-only paths, but the second hits every user at once after a markup change.
  • Owner: platform (shell, changelog).
  • Found by: Review A (TALE-358), 2026-10-13 00:15 Zurich occurrence, oldest-due app.changelog UX-CLARITY slice: worker candidates, verified at the cited lines. This is static reading at df7cd70f7; I didn't run it, because Review A's stack is BLOCKED.

Activity

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