Repository navigation
test(radix): add React parity harness - #535
jonkwheeler wants to merge 24 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Resolve inventory, eval manifest, hook-form parity lockfile, and root package scripts while keeping radix coverage. Co-authored-by: Cursor <[email protected]>
Regenerate lockfile hashes and inventory for radix. Co-authored-by: Cursor <[email protected]>
Regenerate lockfile hashes and inventory for radix. Co-authored-by: Cursor <[email protected]>
Resolve inventory, eval manifest, hook-form parity lockfile, and root package scripts while keeping radix coverage.
Regenerate lockfile hashes and inventory for radix.
Regenerate lockfile hashes and inventory for radix.
Fixed in |
Co-authored-by: Cursor <[email protected]>
Fixed: refreshed |
|
Bugbot clean on current head; branch merged with main and mergeable. READY FOR REVIEW |
leonidaz
left a comment
There was a problem hiding this comment.
Scoped review: documented React parity rules and root Vitest ownership only. Tests were not run, as requested.
| } | ||
| }, | ||
| "adaptedRuntimeSummary": { | ||
| "inventoryEntries": 0, |
There was a problem hiding this comment.
The manifest confirms that none of the 38 canonical runtime test files has been adapted (inventoryEntries: 0). Vendoring those files is provenance, not executable parity evidence: the repository rules require running the pinned upstream suite and porting it case-by-case while preserving assertions and recording concrete incompatibilities individually. Please add pristine React execution where feasible and an adapted Octane lane; the 16 repo-authored differential scenarios do not replace the upstream suite.
There was a problem hiding this comment.
The manifest confirms that none of the 38 canonical runtime test files has been adapted (
inventoryEntries: 0).
Agreed this is still the gap. This pass landed the export crosswalk, type lanes, audit-group ownership, and deterministic rAF settle — but adapting all 38 vendored Vitest suites into pristine React + adapted Octane lanes (with inventory and per-case incompatibilities) is a larger porting slice than I want to rush into this draft.
Options:
- Keep this PR as the harness/ledger/type/differential foundation and open a follow-up for the pristine+adapted runtime suite.
- Expand this PR now to scaffold those lanes and start adapting case-by-case until inventory is non-zero / verified.
Lean: (1) so this draft stays reviewable and the suite port gets its own focused validation. Happy to take (2) if you want the suite work on this branch before READY.
Add root export crosswalk + type lanes, keep audit contracts out of the react-parity group, and settle differential rAF without wall-clock waits. Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
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 63c5793. Configure here.
Co-authored-by: Cursor <[email protected]>
|
Thank you for your contribution! This pull request was incorporated into |

Summary
Radix now has binding-local, auditable React parity evidence for the exact unified
[email protected]release. The harness pins release commiteb8b851619a655e278c819b959be0d3924b0ada8, vendors and checksum-authenticates the complete 61-package transitive boundary (452 files, including 207 source files and 38 canonical runtime tests), and keeps the resultrecorded-unverifiedbecause the canonical suites are preserved but not adapted in full.All 16 existing same-fixture differential cases are now exact required cases. Separate ordinary, differential, and audit projects prevent framework-only tests from being counted as React parity, while audit contracts make the Slot descriptor and ref-as-prop adaptations structured and executable.
Session-settled decisions carried from planning: one master ledger with one PR per binding (user-approved); incomplete retrofits default to
recorded-unverified; binding-local evidence takes priority; available required lanes fail CI regardless of verification status.Validation
Risk / follow-ups
This intentionally remains
recorded-unverified. The 38 canonical upstream tests are preserved as provenance but are not adapted or executed by Octane. The 16 jsdom differential cases do not exhaustively prove portals, focus management, pointer geometry, observers, SSR, hydration, or every upstream primitive behavior. The draft also changes shared Vitest integrity and must be refreshed after preceding parity-harness PRs merge.Provenance
agent-authored)Note
Low Risk
Documentation and test/audit infrastructure only; runtime Radix behavior is unchanged. Main effect is honest verification status and a large vendored upstream snapshot in the repo.
Overview
Introduces binding-local React parity evidence for
@octanejs/radixagainst pinned[email protected], and tightens public claims so the package is surface-present andrecorded-unverifiedrather than “complete” parity.The harness vendors the full transitive upstream tree under
packages/radix/upstream/withSHA256SUMS, documents the pin inUPSTREAM.md, and addscheck-upstream-ledger.mjsplusaudit/export-crosswalk.json,audit/react-parity.json, andaudit/test-classifications.jsonso package graph, bytes, root exports, and test lanes stay aligned.tests/parity/contracts.test.tsruns the ledger checker and keeps Slot/ref divergences explicit; the 16 differential cases inparity.test.tsgain@parity-caseIDs and a more reliablesettleRafhelper. Pristine/adapted type smokes land undertypetests/.status.json,docs/bindings-status.md,packages/cli/.../octane-data.json, andREADME.mdare updated to match the new verification story (16 bounded differentials; 38 canonical upstream tests preserved but not adapted).Reviewed by Cursor Bugbot for commit 9733046. Bugbot is set up for automated code reviews on this repo. Configure here.