Repository navigation
test(testing-library): add React parity harness - #523
jonkwheeler wants to merge 26 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
42a7b0f to
74d0f19
Compare
Follow the hook-form pattern: tag parity lanes with testExecution group react-parity, move differential tests into a dedicated project with globalSetup precompile, and drop per-file beforeAll compile hooks.
Resolve merge conflicts preserving PR intent and the react-parity vitest differential split; refresh lockfile and vitest integrity hashes. Co-authored-by: Cursor <[email protected]>
Align vitest differential wiring with the split-project pattern and refresh react-parity evidence hashes. Co-authored-by: Cursor <[email protected]>
|
READY FOR REVIEW |
|
Branch is conflicting with main; withdrawing readiness until merge is clean. REVIEW WITHDRAWN |
Resolve parity check imports by keeping generalized binding classifications and adding livestore verification from main; refresh evidence hashes. Co-authored-by: Cursor <[email protected]>
Shared binding classifications reject adapted-upstream-suite; skip livestore in that loop so main's verifyLivestoreTestClassifications owns it. Co-authored-by: Cursor <[email protected]>
|
Main merge conflicts resolved; Cursor Bugbot clean on current head. READY FOR REVIEW |
leonidaz
left a comment
There was a problem hiding this comment.
React parity configuration review.
…ases Move the four adapted native-event cases into a dedicated file and list only that file in testExecution.include so ordinary Testing Library tests stay in the Node-version shards. Co-authored-by: Cursor <[email protected]>
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 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 433de11. Configure here.
Parity-owned Vitest files are excluded from ordinary shards, so check must execute required evidence even when full-suite provenance is still unverified. Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
|
Parity ownership narrowed, main merged, and Bugbot findings cleared on the current head. READY FOR REVIEW |
| "testRoot": "src/__tests__ and types", | ||
| "license": "MIT", | ||
| "integrity": "sha256:a0ac35e67812c71b10b834a64704a2aace7e12e4ef0f2bbaea2dd3fe9fee6fe9", | ||
| "verification": "recorded-unverified" |
There was a problem hiding this comment.
recorded-unverified provenance means the generic job validates this manifest without executing either required lane. With runtime and types both recorded present, the repository contract also requires pristine upstream suites and one-for-one adapted copies. Please make provenance and the paired evidence executable.
There was a problem hiding this comment.
With runtime and types both recorded present, the repository contract also requires pristine upstream suites and one-for-one adapted copies. Please make provenance and the paired evidence executable.
Needs a human call before I expand this PR.
What you asked: flip this binding to verified, executable provenance with pristine upstream runtime/types lanes and one-for-one adapted copies.
Why I stopped: that is a full RTL suite port (vendor pin, pristine runners, adapted copies, inventories, type lanes) — well beyond a babysit fix on this harness PR. Current head only has the repo-authored differential lane after removing the incorrect native-event adapted lane.
Options:
- Expand this PR (or a follow-up) into the full verified RTL upstream/adapted port.
- Keep this PR as a narrower recorded-unverified harness + differential, and track the verified suite work separately.
- Something else you prefer for interim suite-state / verification labeling.
Lean: option 2 for landing the harness/differential wiring cleanly, then a dedicated PR for verified RTL suites — unless you want this branch to absorb that port now.
Keep events-native-parity as ordinary framework-contract coverage outside react-parity testExecution, matching the octane-only divergence contract. Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
|
Thank you for your contribution! This pull request was incorporated into |

Summary
Verification
Provenance
agent-authored)Note
Medium Risk
Changes react-parity CI execution for every binding manifest (required lanes always run) and expands test/audit surface; production adapter code is largely unchanged aside from docs, metadata, and test layout.
Overview
Adds a recorded-unverified React parity ledger for
@octanejs/testing-libraryagainst @testing-library/[email protected], withUPSTREAM.md,test-classifications.json, and a differential lane that compares Octanerender/clicks to a rawreact-dom/clientroot (native DOM only, avoiding circular RTL-as-oracle evidence). Native fireEvent divergence cases move fromevents.test.tsintoevents-native-parity.test.tsas ordinary framework-contract coverage.CI / harness: Port test classification verification is generalized (
binding-classifications-lib.mjstakes a binding id);check.mjsruns it for any manifest that has classifications and always executes required parity lanes (run-required), sorecorded-unverifiedmanifests still run declared evidence while full provenance schema stays onverified. Vitest splits the testing-library differential into areact-parityproject and excludes it from the default testing-library shard. Metadata bumps:status.json, CLIoctane-data.json, and parity manifests’ lockfile / vitest.config SHA-256 hashes afterpnpm-lockand config changes.Reviewed by Cursor Bugbot for commit 250c5dd. Bugbot is set up for automated code reviews on this repo. Configure here.