Skip to content

test: flip the three streamed Float sheet parity cases to covered - #738

Merged
trueadm merged 1 commit into
mainfrom
test/float-streamed-ledger-flips
Aug 12, 2026
Merged

trueadm merged 1 commit into
mainfrom
test/float-streamed-ledger-flips

Conversation

@trueadm

@trueadm trueadm commented Aug 12, 2026 •

Copy link
Copy Markdown
Collaborator

test: flip the three streaming Float sheet ledger cases to covered

Summary

Why

  • Evidence follow-up tracked in React 19 parity: outstanding gaps and follow-ups after #709 #711 under the streaming item. Case → evidence (verified against upstream at the pinned stable commit; each Octane test cites its upstream line):
    • …7b6da8a5 "will include child boundary stylesheet resources in the boundary reveal instruction" (:1923) → streams a use()-gated dynamic-href sheet late and moves it into document.head (server-stream, hydrate-match) + hoists a nested pending boundary's sheet into the outer boundary's reveal wave (server-stream).
    • …8d52f5f3 "will hoist resources of child boundaries emitted as part of a partial boundary to the parent boundary" (:2041) → hoists a nested pending boundary's sheet into the outer boundary's reveal wave (server-stream).
    • …745930fa "boundary stylesheet resource dependencies hoist to a parent boundary when flushed inline" (:2350) → the new ships an inline-flushed complete child boundary's sheet with the parent's reveal (server-stream).
  • The existing nested-boundary test's comment claimed both :2041 and :2350; with a dedicated :2350 test it now cites :2041 only, so each test cites exactly the case it evidences.

Changes

  • packages/octane/audit/react-conformance-ledger.json: the three case flips (status, rationale, evidence) — nothing else touched; the file's \uXXXX escape convention is preserved.
  • packages/octane/tests/float-resources.test.ts: one new test in the "streamed late boundaries" describe; narrowed one citation comment.
  • docs/react-parity-coverage.md: regenerated (planned 1,876 → 1,873 stable / 1,914 → 1,911 canary; covered 968 → 971 / 1,029 → 1,032).

No changeset: test/audit/docs-only — no published package behavior changes.

Validation

  • node scripts/react-parity/check.mjs --validate-only — metadata current.
  • node scripts/react-parity/check.mjs (full, executes evidence) — see the local-environment note below for how the lanes were covered.
  • targeted tests: vitest run packages/octane/tests/float-resources.test.ts — 38 passed across both the octane and octane-prod projects.
  • tsgo --noEmit -p packages/octane/tsconfig.json (the project owning every changed file); pnpm typecheck (repo-wide chain) not run.
  • pnpm format:files:check on the three changed files; repo-wide pnpm format:check not run.
  • pnpm test (full root suite) — result recorded below.

Local-environment note (macOS agent machine): the full check's parity-wide Vitest batch (136 lanes, 3,337 tests) and the non-Vitest binding lanes (44 manifests) were all executed; every lane passed on this exact tree, with four environment/load artifacts observed and attributed, none related to this diff (which touches only the octane Float test file, the audit ledger, and a generated doc):

  1. alien-signals pinned pristine suite fails only when CLAUDECODE=1 is set (bun mutes the output ledger the runner scrapes); passes with the variable unset. Known issue, previously chipped.
  2. markdown public-types times out at vitest's default 5s under full batch load (its first import compiles the package through the Octane plugin; the batch's JSON reporter loses the timeout as STACK_TRACE_ERROR); passes standalone and with a real timeout. Background task filed to make the lane deterministic; the temporary local timeout bump used to let the batch proceed is not part of this diff.
  3. input-otp browser selection test flaked once under batch load; passes standalone and in other full-batch runs.
  4. drei pristine Playwright lane cannot pass on macOS: the upstream fixture ships only should-match-previous-one-1-linux.png, so darwin has no screenshot baseline. Verified against the committed fixture; lane excluded locally, runs on Linux CI. The other 43 manifests' non-Vitest lanes all passed.

Risk / follow-ups

Provenance

  • An agent produced this diff (agent-authored)

Note

Low Risk
Test, conformance-ledger, and generated documentation updates only; no production behavior changes.

Overview
Marks three high-risk ReactDOMFloat-test.js parity-ledger entries as covered, pointing at existing and new tests in float-resources.test.ts under streamed late boundaries. Ledger planned counts drop by three on stable and canary; covered rises by the same amount in the regenerated react-parity-coverage.md.

Adds ships an inline-flushed complete child boundary's sheet with the parent's reveal, which resolves the inner boundary before the outer on NestedLateBoundaries so the child's stylesheet ships once inside the parent's reveal wave (upstream :2350). The nested-pending-boundary test comment now cites only :2041, since :2350 has its own test.

No runtime or published API changes—audit, tests, and generated docs only.

Reviewed by Cursor Bugbot for commit 4fc4a4d. Bugbot is set up for automated code reviews on this repo. Configure here.

PR #727 made streaming SSR ship Float stylesheet resources discovered after
the shell with their boundary's reveal wave, closing the gap #725 had
deferred three ReactDOMFloat-test.js ledger cases against. Flip those cases
(:1923 …7b6da8a5, :2041 …8d52f5f3, :2350 …745930fa) to covered with evidence
into the 'streamed late boundaries' describe, add one adapted test for the
:2350 inline-flush shape (inner boundary resolves first; its complete content
and sheet ride the parent's reveal wave exactly once), and regenerate the
coverage report. ReactDOMFloat planned drops 8 -> 5.

Co-Authored-By: Claude Fable 5 <[email protected]>
@github-actions github-actions Bot added agent-authored Diff or issue body substantially produced by an AI agent test PR: tests only labels Aug 12, 2026
@trueadm
trueadm marked this pull request as ready for review August 12, 2026 17:36
@trueadm
trueadm merged commit db63631 into main Aug 12, 2026
69 of 72 checks passed
@trueadm
trueadm deleted the test/float-streamed-ledger-flips branch August 12, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-authored Diff or issue body substantially produced by an AI agent test PR: tests only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant