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): Project breadcrumb hides a failed project-list read and loses switching #3883
Scope: isolated local jsdom/Vitest component probe; no production network or writes.
Reproduction
Render ProjectBreadcrumbSwitcher for a project while projects/queries:listProjects settles with data: undefined, isLoading: false, and a 503 error. The actual breadcrumb falls back to a plain Getting started name: the switch-project button is absent, with no alert or Retry action. The probe passed one test against source SHA 9ea59724df24d62729a9360f3902d964dab39b3e.
Root cause and impact
useProjects returns projects: data ?? [] and drops the query error. ProjectBreadcrumbSwitcher interprets the empty array as the legitimate no-siblings case, so users lose the in-place project switcher on every project detail tab during a transient list outage. They must navigate back to the Projects page or hand-edit the URL, and there is no indication that the list read failed.
Expected behavior is to keep the breadcrumb in an unavailable state with a retry/reload affordance or explicit error while preserving the current project name. A successful empty list can continue to render a plain name; the failed list must not be indistinguishable from it.
Activity