Repository navigation
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.
Reviewed by Cursor Bugbot for commit 8dd61e3. Configure here.
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.

Summary
href, loading handlers, anddisabled={false}, and preserve both resources when an inline style collides with a stylesheet preload.Refs #744.
Why
Changes
NaN,Infinity, and failed CSS coercion, including fully static and mixed declarations; preserve single getter/coercion evaluation and Octane's supported kebab-case/cssText authoring.octanepatch changeset and production-bundle sentinel coverage for every new warning family.Validation
pnpm format:check(repository-wide formatting not run; all 21 changed files passed scoped formatting)pnpm typecheck(full 276-project workspace check not run; core source, changed-file, and typetest projects passed)pnpm test(all workspace/package projects not run)pnpm --config.verify-deps-before-run=false syncpnpm --config.verify-deps-before-run=false format:files:check <21 changed files>./node_modules/.bin/tsgo --noEmit -p packages/octane/tsconfig.json./node_modules/.bin/tsgo --noEmit -p packages/octane/typetests/tsconfig.jsonpnpm --config.verify-deps-before-run=false typecheck:files <4 changed runtime source files>./node_modules/.bin/vitest run --project octane --project octane-prod --silent=passed-only— 839 files and 12,610 tests passednode scripts/react-parity/check.mjs --validate-onlynode --test scripts/react-parity/inventory-lib.test.mjs— 26 tests passednode scripts/check-changesets.jsnode scripts/error-codes/generate.mjs --check,node scripts/check-test-markers.mjs, andnode scripts/check-tsrx-module-decls.mjsRisk / follow-ups
hrefretain the existing static-plan limitation; preserving authored inline position would require a separate dual-path compiler/runtime design.docs/react-diagnostics-plan.md.Provenance
agent-authored)Note
Medium Risk
Touches core DOM attribute/style serialization, Float resource hoisting/deduping, and preload coalescing on client and server; behavior is mostly additive dev warnings but invalid precedence links and preload/style identity changes affect head output.
Overview
Adds development-only diagnostics aligned with React for ARIA naming, inline CSS, controlled inputs, invalid event listeners, and Float stylesheet/style resources—wired through client, SSR, streaming, and hydration, with conformance tests and ledger updates. Production builds strip these warning strings.
ARIA (
aria-diagnostics.ts): validates recognized ARIA 1.3 names, unknownaria-*, camelCase/miscasing, grouped plural messages, barearia, and module-level dedupe; custom elements stay exempt. Compiler dev paths validate static ARIA literals instead of baking them away.CSS (
css.ts, runtimes, compiler): warns on miscased vendor prefixes, trailing semicolons in values,NaN/Infinity, and failed coercion—without changing serialization. Static/mixed style literals that need validation bypass compile-time baking in dev. Intentional divergence: no warnings for supported kebab-case keys or fullcssTextstrings.Float resources: precedence
<link rel="stylesheet">with missing/emptyhref, load/error handlers, ordisabled(includingfalse) stays inline with dev errors instead of hoisting; preload vs inline<style>collisions and whitespace in server stylehrefget diagnostics; inline styles no longer incorrectly consume external stylesheet preloads.Forms & events: falsy controlled values without
onInput; read-only/disabled/uncontrolled negatives stay silent; capture listener and valid↔invalid replacement cases covered.Docs/changeset refresh the diagnostics plan and move many React conformance cases to covered or documented divergence.
Reviewed by Cursor Bugbot for commit ab11783. Bugbot is set up for automated code reviews on this repo. Configure here.