Skip to content

bug(platform): Organization settings turn a failed organization read into a blank disabled editor #3889

Closed

Description

@yannickmonney

Bug: Organization settings turn a failed organization read into a blank disabled editor

  • Classification: P2 confirmed product defect (Settings / Organization)
  • Source SHA: 9ea5972
  • Evidence: /Users/yannick/.codex/notes/tale-1000-additional/settings-next/organization-settings-org-read-error.md
  • Replay: /Users/yannick/.codex/notes/tale-1000-additional/settings-next/organization-settings-org-read-error.replay.log
  • Scope: isolated local component probe; no production network or writes.

Reproduction

Open Settings → Organization while useOrganization(organizationId) settles with data: undefined, isLoading: false, and a 503. The actual page renders the Organization details section with an empty disabled Organization name field; the danger zone is withheld. No alert, error copy, or Retry control appears. The isolated probe passed against source SHA 9ea59724df24d62729a9360f3902d964dab39b3e.

Root cause and impact

organization-settings.tsx consumes only data and isLoading, then renders its view with organization ?? null once loading ends. The editor's empty initial data is indistinguishable from a failed read, so owners receive no explanation or recovery path and may assume the tenant is unconfigured. The danger-zone controls are also silently omitted because the failed payload is treated as absent.

Expected behavior is a settled read-error state with Retry and no editable shell until the organization payload is known. A deliberate empty/not-found response should have its own message; a 503 must not appear as a blank organization.

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