Skip to content

finding(console): /organizations leaves the viewport centre uncovered for ~453ms after the org gate has handed off #6570

Description

@claude

Found while implementing #6507 (PR #6565), on a page that card did not send me to. One measurement, no rate.

The reading

Driving a signed-in mock boot into RequireOrganization's "no org at all, multi-org enabled" decision, with the coverage probe from e2e/console-boot-indicator.spec.ts (hit test at the viewport centre on every mutation and every animation frame after React's first commit):

  • 26 covered samples, then 22 uncovered samples
  • every uncovered sample on /organizations — none on the entry path
  • the centre hit test lands on a div that is outside both #root and #boot-splash
  • the window spans roughly 453 ms, first sample at t=2489 ms

That signature — the viewport centre resolving to something the app is not responsible for — is what this campaign (objectui#6378, #6506, #6507) treats as a blank viewport.

Why this is filed separately from #6507

The redirect that #6507 converts had already handed off cleanly when these samples were taken. The gate's own window came back empty of findings; every uncovered sample is on the destination page, after arrival. Asserting on it inside #6507's tests would have made them red for a reason pointing away from the redirect they exist to guard.

What is NOT established

  • Whether this is a real blank frame or a probe artifact. A full-screen portal or overlay rendered outside #root would produce the same reading without any visible defect. That hypothesis was not tested — checking it is most of the work here.
  • Any rate. One measurement, one scenario, one fixture. objectui#6378's figures came from 102 paired boots; this is not comparable to them.
  • Whether a real (non-mocked) boot reaches the same state. The organizations surface was reached with mocked endpoints.
  • The related scenario ("member of orgs, none active") recorded zero samples of any kind, because that surface performs a full-page navigation which tears down an init-script probe along with the document. That is a fixture limit, and it also means this page is awkward to instrument the usual way.

Reproducing

Production apps/console bundle, boot endpoints mocked to return a signed-in session with an empty organization list and features.multiOrgEnabled: true, entry at /home. Probe as in e2e/console-boot-indicator.spec.ts's Console boot continuity test. Browser: pre-installed Chromium 141 at PLAYWRIGHT_BROWSERS_PATH=/opt/pw-browsers, driven via executablePath (do not run playwright install — that CDN is blocked).


Generated by Claude Code

Metadata

Metadata

Assignees

Labels

domain:uiobjectui ui stream: fix lands on the published library or apps — objectui execution seatpm:dispatched

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions