Repository navigation
test(zustand): add React parity harness - #521
jonkwheeler wants to merge 22 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
b6315fa to
adf8dcb
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.
Regenerate lockfile hashes and Vitest evidence for zustand.
…into jon/zustand-react-parity-harness
|
@leonidaz Ready for the Checklist:
I can't apply labels from the fork — please add |
|
Bugbot findings addressed; branch updated onto main; Cursor Bugbot completed on current head with no unresolved findings. READY FOR REVIEW |
|
Branch is no longer merge-clean with main (DIRTY/CONFLICTING). Withdrawing ready signal while currency is repaired. REVIEW WITHDRAWN |
Resolve react-parity conflicts after main landed livestore checks and shared vitest digest drift; keep binding classifications for zustand/hook-form. Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
|
Merged latest READY FOR REVIEW |
leonidaz
left a comment
There was a problem hiding this comment.
React parity configuration review.
Move the unstable-selector divergence into a dedicated file and mark only that path plus differential/parity.test.ts as parity-owned so ordinary conformance and setup cases stay in the regular CI shards. Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
The dedicated unstable-selectors file brings the port-authored suite to six tests; keep the binding classification helper assertion in sync. Co-authored-by: Cursor <[email protected]>
|
Addressed leonidaz ownership feedback, merged latest main, and cleared the follow-up Bugbot classification-count finding. Cursor Bugbot completed on the current head with no unresolved threads; merge state is CLEAN while staying draft. READY FOR REVIEW |
| "testRoot": "tests", | ||
| "license": "MIT", | ||
| "integrity": "sha256:c1fad9e123a79d12f56b4ef8aece6abd6036df164b01d7ffb52d40b08956e96b", | ||
| "verification": "recorded-unverified" |
There was a problem hiding this comment.
recorded-unverified provenance prevents the generic job from executing every required lane. Runtime and types are recorded present, but the required pristine upstream suites and one-for-one adapted copies are not represented. Please verify provenance and add executable paired suite evidence.
There was a problem hiding this comment.
recorded-unverified provenance prevents the generic job from executing every required lane. Runtime and types are recorded present, but the required pristine upstream suites and one-for-one adapted copies are not represented. Please verify provenance and add executable paired suite evidence.
Agreed this blocks accepting the harness as verified parity. This PR was intentionally scoped as a recorded-unverified retrofit (differential + public typetests) and does not yet vendor or execute the pin's pristine/adapted runtime and type suites.
Need a call on scope before I expand the branch:
- (a) Expand this PR into full verified zustand parity (vendor pin tests, pristine + one-for-one adapted runtime/types, inventories, runners) — multi-day binding work.
- (b) Keep this PR as the recorded-unverified harness and land verified paired suites in a follow-up.
Lean (a) if you want the generic job to run required lanes before merge; otherwise (b) keeps this PR reviewable as harness scaffolding only.
Review feedback: octane-only-divergence coverage must stay in ordinary shards and cannot serve as adapted React parity evidence. 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 073e6a9. Configure here.
Keep the unstable-selector pin in ordinary shards as framework-contract coverage, and refresh vitest.config.js evidence hashes after ownership change. Co-authored-by: Cursor <[email protected]>
|
Thank you for your contribution! This pull request was incorporated into |

Summary
Verification
Provenance
agent-authored)Note
Low Risk
Changes are test harness, audit metadata, and CI wiring; no runtime changes to the Zustand binding implementation in this diff.
Overview
Adds a recorded-unverified React parity story for
@octanejs/zustandagainst [email protected]: upstream ledger (UPSTREAM.md),react-parity.jsonlanes (byte-identical differential counter/multistore, adapted public types), and a test-classifications ledger that separates differential evidence from Octane-only conformance (including unstable-selector divergence).Differential fixture compilation is fail-closed via a shared
fixture-compilerand setup tests; parity cases are tagged inparity.test.ts. The unstable-selector case moves out ofextras.test.tsinto its own conformance file so it stays ordinary CI, not parity-owned evidence.Repo-wide parity checks now use
binding-classifications-lib(binding name parameter) for every package withaudit/test-classifications.json, not only hook-form. Vitest splits Zustand into ordinary conformance shards vs a react-parity group forparity.test.tsonly.Collateral updates: Zustand verified date in docs/CLI/status, refreshed user-apps-v1 grader digests, and
vitest.config.jschecksums in other bindings’ parity manifests.Reviewed by Cursor Bugbot for commit 391c0f6. Bugbot is set up for automated code reviews on this repo. Configure here.