You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
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
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 maindf7cd70f7, under services/platform/.
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.
"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
fix(platform): stop What's new spinning or saying up to date on failure
fix(platform): stop What's new spinning or saying up to date on failure