Repository navigation
test: flip the three streamed Float sheet parity cases to covered - #738
Merged
Merged
Conversation
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]>
trueadm
marked this pull request as ready for review
August 12, 2026 17:36
This was referenced Aug 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
test: flip the three streaming Float sheet ledger cases to covered
Summary
ReactDOMFloat-test.jsparity-ledger cases that test: disposition all 121 planned ReactDOMFloat parity cases with executable evidence #725 deferred asplannedagainst the "streaming SSR drops late-discovered Float sheets" gap — fixed by fix: ship Float sheet resources discovered after the streaming shell #727 — tocoveredwith executable evidence in thefloat-resources.test.ts"streamed late boundaries" describe. ReactDOMFloat planned drops 8 → 5 (covered 68 → 71).:2350case ("boundary stylesheet resource dependencies hoist to a parent boundary when flushed inline"): the existing fix: ship Float sheet resources discovered after the streaming shell #727 tests resolve the outer boundary first, so none asserted the inline-flush shape where the inner boundary resolves first and its complete content + sheet flush inside the parent's reveal wave. The new test inverts the resolution order on the existingNestedLateBoundariesfixture and asserts the child's sheet ships exactly once with that wave, joins the head precedence groups behind the shell's, and both contents reveal.Why
…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 newships an inline-flushed complete child boundary's sheet with the parent's reveal(server-stream).:2041and:2350; with a dedicated:2350test it now cites:2041only, 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\uXXXXescape 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.vitest run packages/octane/tests/float-resources.test.ts— 38 passed across both theoctaneandoctane-prodprojects.tsgo --noEmit -p packages/octane/tsconfig.json(the project owning every changed file);pnpm typecheck(repo-wide chain) not run.pnpm format:files:checkon the three changed files; repo-widepnpm format:checknot 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):
alien-signalspinned pristine suite fails only whenCLAUDECODE=1is set (bun mutes the output ledger the runner scrapes); passes with the variable unset. Known issue, previously chipped.markdownpublic-typestimes 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 asSTACK_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.input-otpbrowser selection test flaked once under batch load; passes standalone and in other full-batch runs.dreipristine Playwright lane cannot pass on macOS: the upstream fixture ships onlyshould-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
agent-authored)Note
Low Risk
Test, conformance-ledger, and generated documentation updates only; no production behavior changes.
Overview
Marks three high-risk
ReactDOMFloat-test.jsparity-ledger entries as covered, pointing at existing and new tests infloat-resources.test.tsunder streamed late boundaries. Ledger planned counts drop by three on stable and canary; covered rises by the same amount in the regeneratedreact-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 onNestedLateBoundariesso 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:2350has 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.