Repository navigation
Description
Spun out of #711 (the React 19.2 parity tracking issue, now closed): everything behavioral from that audit shipped across #709/#712/#715/#720/#725/#727/#738/#739/#742. What remains is warning-message parity — cases where Octane's runtime behavior matches React but React emits a development diagnostic that Octane doesn't (or whose message parity is unaudited). The inventory lives in docs/react-diagnostics-plan.md; this issue tracks the named remainders.
Merged update (2026-08-13): #753 (
9efd6f47ed3bbe72641cb8972a531fa04f2215cc) implemented all three Float warning families, ARIA/CSS diagnostics, controlled-form negative controls, and capture/replacement listener coverage. It also fixed stylesheet declassification and inline-style/preload ordering, moved 26 React parity cases to covered, and documented 2 intentional CSS divergences. Final development/production verification: 12,616 passing tests across 839 files.This issue stays open for the unchecked diagnostic audits below.
Ledger-pinned: the three Float warning families (from #725's evidence port)
These are the last three planned cases in ReactDOMFloat-test.js (parity ledger packages/octane/audit/react-conformance-ledger.json). Each is a dev-only warning at the classification site plus a conformance test asserting the diagnostic; no behavior change:
-
precedencecombined with resource-invalidating props (ledger…77bece4a— "warns if you provide aprecedenceprop with other props that invalidate the creation of a stylesheet resource"): e.g.onLoad/onError/disabledon a precedence link silently de-classifies the element from a Float resource to a per-site element. React tells the author why; Octane is silent. The most valuable of the three — the silent de-classification is genuinely confusing. - Preload-then-
<style>href collision (ledger…e1591cd6— "should warn if you preload a stylesheet and then render a style tag with the same href"): the preload can't serve the style resource; React flags the mismatch. -
<style href>containing a space, server-side (ledger…b5694dcf— "warns if you render a <style> with an href with a space on the server"): href is the style resource's dedupe KEY; a space suggests it isn't a real key.
Diagnostic-parity audits (behavior covered, warnings unaudited)
- ARIA name/casing family — completed in fix: improve React diagnostic warning parity #753: ARIA 1.3 names, invalid lowercase/camelCase names, suggestions, singular/plural grouping, static/dynamic/spread hosts, custom-element negatives, SVG, SSR, streaming, hydration, and production silence.
- CSS style name/value/coercion warnings — completed in fix: improve React diagnostic warning parity #753: malformed vendor prefixes, trailing semicolons, NaN/Infinity, failed coercion, custom-property negatives, static/mixed/dynamic declarations, hydration, SSR, and production stripping. Kebab-case CSS names and full
cssTextremain supported intentional divergences. - Controlled-form negatives — completed in fix: improve React diagnostic warning parity #753: falsy controlled values and null/read-only/disabled/uncontrolled negative controls.
- Invalid-listener capture/replacement variants — completed in fix: improve React diagnostic warning parity #753: capture listeners plus valid-to-invalid and invalid-to-valid replacement.
- Unknown-property variants — boolean-string/empty-string values,
innerHTML, string-valuedis, unknown camelCase, non-ARIA invalid-prop aggregation, remaining event-name/URL/coercion cases, and authored-name dedupe. - Controlled-form conflicts and SSR warnings —
value/defaultValue,checked/defaultChecked, option/textarea child variants, form-action prop conflicts, and server diagnostics. - Nesting/hydration message matrix — table/SVG/MathML/whitespace cases, component/source context, dedupe, early updates, and recoverable-error routing.
- Remaining invalid-listener variants — non-delegated, throwing-listener, and custom-event cases.
- Resource prop-conflict warnings —
preload/preinitprop conflicts, destination edge cases, and React-message parity for the validation family introduced by feat: close the React Float behavioral gaps (#711) #720.
Working notes
- Message-parity tests belong in
packages/octane/tests/conformance/with upstream citations (// Per <file>:<line>), asserting Octane's published diagnostic — the goal is an equivalent, actionable message at the same trigger, not byte-identical React text (see.rulesync/rules/testing.mdon published diagnostics). - Flipping the three ledger cases follows the usual mechanics: programmatic ledger edit,
pnpm format:fileson the JSON, regeneratedocs/react-parity-coverage.md,node scripts/react-parity/check.mjs --validate-only. - Dev-only diagnostics must hold in the
octanevitest project and be correctly ABSENT inoctane-prod(process.env.OCTANE_TEST_COMPILE_MODE === 'prod'guards the assertion).
Context: divergence contract in docs/differences-from-react.md; parity coverage report in docs/react-parity-coverage.md. Audit history and the shipped behavioral work: #711.
🤖 Generated with Claude Code
Activity