Skip to content

bug(platform): Project Overview becomes blank after a failed project read #3885

Closed

Description

@yannickmonney

Bug: Project Overview becomes blank after a failed project read

  • Classification: P2 confirmed product defect (Projects / Overview)
  • Source SHA: 9ea5972
  • Replay: /Users/yannick/.codex/notes/tale-1000-additional/project-overview-read-error-probe.log
  • Scope: isolated local jsdom/Vitest component probe; no production network or writes.

Reproduction

Render ProjectOverview while projects/queries:getProject settles with data: undefined, isLoading: false, and a 503 error. The actual component returns no section, form, alert, or Retry control; the tab content is blank. The probe passed one test against source SHA 9ea59724df24d62729a9360f3902d964dab39b3e.

Root cause and impact

useProject returns project: data ?? null and drops the query error. ProjectOverviewContent builds an undefined editor data value and then immediately returns null when project is absent, so a failed read is indistinguishable from an unmounted or missing project. Users receive no explanation or recovery path and may assume their project settings were deleted or that the route is broken.

Expected behavior is an explicit project-read error or not-found state with Retry/reload guidance while retaining the page shell. A successful not-found response may use a dedicated access/not-found message; a 503 must not render a blank tab. This is distinct from project Files, Chats, and sharing list failures.

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