Repository navigation
test(mantine-hooks): add React parity harness - #480
jonkwheeler wants to merge 15 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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 and regenerate binding catalog and parity metadata.
Restore adaptedRoots include regexes, add the differential Vitest project to the package test script, register @tsrx/react in pnpm-lock.yaml, and drop react-parity ownership while the manifest stays recorded-unverified. Co-authored-by: Cursor <[email protected]>
|
Babysit pass complete: resolved Bugbot feedback, merged main, and Bugbot is clean on the current head. READY FOR REVIEW |
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 0d96f32. Configure here.
Refresh sister react-parity lockfileSha256 values after the lockfile change, and mark mantine-hooks-differential as react-parity owned. Co-authored-by: Cursor <[email protected]>
Keep hook-form and react-map-gl react-parity support digests aligned after marking mantine-hooks-differential as parity-owned. Co-authored-by: Cursor <[email protected]>
Replace only the vitest.config.js support digests in hook-form and react-map-gl manifests, preserving existing JSON formatting. Co-authored-by: Cursor <[email protected]>
|
Babysit pass complete: unresolved Bugbot/review threads addressed on the current head; Cursor Bugbot finished with no open findings. READY FOR REVIEW |
|
Branch is no longer merge-clean with main (DIRTY / conflicting). Withdrawing readiness until currency is repaired and Bugbot is clean on the new head. REVIEW WITHDRAWN |
Resolve sister react-parity digest conflicts against the merged vitest.config.js and pnpm-lock.yaml contents. Co-authored-by: Cursor <[email protected]>
|
Babysit pass complete: merged origin/main (sister react-parity digest conflicts resolved to post-merge vitest/lockfile hashes), Cursor Bugbot finished on the current head with no open findings, and the PR is merge-clean while remaining draft. READY FOR REVIEW |
# Conflicts: # packages/hook-form/audit/react-parity.json # packages/livestore/audit/react-parity.json # packages/react-map-gl/audit/react-parity.json
leonidaz
left a comment
There was a problem hiding this comment.
Reviewed for React-parity and Vitest conformance only.
| "verification": "recorded-unverified" | ||
| }, | ||
| "upstreamSuites": { | ||
| "runtime": "present", |
There was a problem hiding this comment.
This manifest declares both upstream runtime and type suites present, but registers only a single repo-authored differential lane. The parity contract requires a present runtime suite to have required pristine full-suite and one-for-one adapted Vitest lanes/inventories, and a present type suite to have pristine/adapted compiler lanes with assertion inventories, a transformation ledger, and omission/deletion/@ts-expect-error negative controls. UPSTREAM.md explicitly says those suites were not vendored or adapted, so this harness cannot establish the package’s complete-surface claim. Please bring both upstream suites into executable parity evidence rather than leaving the manifest recorded-unverified.
There was a problem hiding this comment.
Please bring both upstream suites into executable parity evidence rather than leaving the manifest
recorded-unverified.
Agreed — with upstreamSuites.runtime/types: present and only the repo-authored differential lane, this harness cannot establish the package’s complete-surface claim. UPSTREAM.md already says the pristine suites were not vendored/adapted; schema allows that under recorded-unverified, but that does not satisfy the parity contract you described.
At pin bb3d25ca… (@mantine/[email protected]) the runtime suite is ~62 files / ~520 cases (renderHook / RTL / jest.fn). There is no upstream typetest suite in that package tree, so types: present looks incorrect as well — type evidence would need an honest absent/insufficient disposition plus repo-authored pristine/adapted compiler lanes if we stay on the verified path.
Need a call before expanding this PR past its bounded differential scope:
- (a) Expand this PR now: vendor
packages/mantine-hooks/upstream/, wire required pristine + one-for-one adapted Vitest runtime lanes/inventories, fix the type-suite disposition, promote verification when green. - (b) Keep this PR as differential-only evidence: correct
upstreamSuites/ surface wording so it does not claim complete-surface via present suites, and land the full suite port in a follow-up.
Lean (a) — that matches the review ask and the binding parity contract; (b) is only if we want to land the differential harness first without blocking on the full port.
|
Thank you for your contribution! This pull request was incorporated into |

Summary
Validation
mantine-state-differentiallaneThe manifest remains
recorded-unverifieduntil pristine upstream suites are vendored and adapted one-for-one.Note
Low Risk
Test and documentation/metadata only; no production hook implementation changes in this diff.
Overview
Adds React parity evidence for
@octanejs/mantine-hookswithout changing hook runtime behavior.A new differential Vitest project (
mantine-hooks-differential) runs a sharedstate-hooks.tsrxfixture through Octane and through React (@tsrx/reactcompile + import rewrites to@mantine/hooks). The test steps through increment, disclosure open, and list append and asserts both stacks stay in sync.audit/react-parity.jsonrecords the lane, file hashes, and upstream pin (@mantine/[email protected], commit + npm integrity); verification staysrecorded-unverifiedbecause full pristine upstream suites are not vendored yet.UPSTREAM.md,status.jsonprovenance, and bindings docs bump the verified date to 2026-08-02.package.jsonwires the differential project intotestand adds@tsrx/reactfor the React-side compile path.Collateral updates refresh lockfile SHA-256 entries in other parity manifests and the evals train manifest after the lockfile change.
Reviewed by Cursor Bugbot for commit 0dcd970. Bugbot is set up for automated code reviews on this repo. Configure here.