Repository navigation
test(tanstack-virtual): add React parity harness - #516
jonkwheeler wants to merge 44 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
55b1482 to
aab3454
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.
Share ResizeObserver and scroll shims with the main tanstack-virtual vitest project. Co-authored-by: Cursor <[email protected]>
…react-parity-harness
Regenerate lockfile hashes and Vitest evidence for tanstack-virtual.
…harness' into jon/tanstack-virtual-react-parity-harness
|
READY FOR REVIEW |
Keep fail-closed React setup scoped to *-diff.tsrx so Octane-only fixtures like server.tsrx cannot abort the parity lane. Co-authored-by: Cursor <[email protected]>
|
READY FOR REVIEW |
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
|
REVIEW WITHDRAWN Restoring merge currency after origin/main merge; will re-signal when Bugbot is clean on the new head. |
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 5c35012. Configure here.
Keep the required differential lane pinned to *-diff.tsrx oracle fixtures only. Co-authored-by: Cursor <[email protected]>
|
READY FOR REVIEW Merge currency restored (origin/main merge + Bugbot finding fixed). Checklist: CLEAN, no unresolved threads, Bugbot SUCCESS on current head. |
|
Currency repair in progress: PR is DIRTY against current main. REVIEW WITHDRAWN |
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
|
Currency restored: merged origin/main (digest/harness conflicts resolved via main + pnpm sync). Bugbot SUCCESS on current head; no unresolved threads; mergeable CLEAN. READY FOR REVIEW |
Resolve evals manifest conflict via pnpm sync after Version Packages (octanejs#682). Co-authored-by: Cursor <[email protected]>
…react-parity-harness
|
Merged origin/main twice (Version Packages #682 + react-parity docs plan). Evals manifest conflict resolved via pnpm sync. Bugbot SUCCESS on current head; no unresolved threads; mergeable CLEAN. READY FOR REVIEW |
|
Thank you for your contribution! This pull request was incorporated into |

Summary\n\n- add immutable upstream provenance and a bounded React parity manifest for TanStack Virtual\n- authenticate four same-fixture React/Octane windowing and measurement scenarios\n- add exact nested-flush divergence, DOM-free initial-window SSR, and public type lanes\n- replace fail-open fixture compilation with fail-closed compilation and negative controls\n- explicitly retain real-layout browser/e2e coverage as an unverified gap\n\n## Validation\n\n- [x] TanStack Virtual project: 7 files, 36 tests passed\n- [x] Runtime differential, adapted divergence, SSR, and type lanes passed\n- [x] Classification and recorded-unverified negative controls passed\n- [x] Repository-wide React parity audit passed (stable: 5,345 cases; canary: 5,413 cases)\n- [x] Generated binding status, parity-gap, and CLI inventories are current\n\n## Risk / follow-ups\n\n- Upstream remains recorded-unverified because the npm artifact omits upstream runtime/e2e suites and this bounded harness does not claim real-layout browser parity.\n- This PR intentionally does not change the runtime binding.\n\n## Provenance\n\n- [x] An agent produced this diff (agent-authored)\n
Note
Low Risk
Changes are tests, audit manifests, docs, and CI typecheck wiring; the virtual adapter behavior is unchanged aside from an inline divergence comment.
Overview
Adds a bounded React parity control plane for
@octanejs/tanstack-virtual: upstream provenance (UPSTREAM.md,audit/react-parity.json), test classifications, and a required differential lane with four@parity-casescenarios that compare Octane to real@tanstack/[email protected]on shared fixtures.Harness hardening: differential global setup now compiles only
*-diff.tsrxoracles via a fail-closedfixture-compiler(with unit tests); conformance/SSR fixtures stay out of the React cache. New Octane-only coverage includes DOM-free SSR (server.test.ts), public API typetests (wired into roottypecheck), and a dedicated nestedflushSyncdegradation test linked to divergencenested-flushsync-degradation(moved out ofcore.test.ts).Repo-wide parity schema:
ordinaryEvidenceon react-parity manifests lets unpaired Octane-only cases binddivergences[].caseIdswithout inventing a React lane; documented indocs/react-parity-testing.md. Classification discovery now includestypetests/*.test-d.tswhen no separate type-parity ledger exists (Apollo gains one classification entry).Metadata bumps TanStack Virtual verified date to 2026-08-02; eval train manifest grader digests refresh across tasks (content unchanged).
Reviewed by Cursor Bugbot for commit 2534d17. Bugbot is set up for automated code reviews on this repo. Configure here.