Skip to content

test(tanstack-store): add React parity harness - #514

Closed
jonkwheeler wants to merge 52 commits into
octanejs:mainfrom
jonkwheeler:jon/tanstack-store-react-parity-harness
Closed

jonkwheeler wants to merge 52 commits into
octanejs:mainfrom
jonkwheeler:jon/tanstack-store-react-parity-harness

Conversation

@jonkwheeler

@jonkwheeler jonkwheeler commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary\n\n- add immutable upstream provenance and the bounded React parity manifest for TanStack Store\n- authenticate the existing same-fixture React/Octane store, atom, action, and context scenario\n- add explicit experimental-export divergence, DOM-free SSR, and public type-contract lanes\n- make the fixture compiler fail closed and authenticate every fixture its global setup reads\n- generalize shared classification and required-lane checks for recorded-unverified bindings\n\n## Validation\n\n- [x] TanStack Store projects: 5 files, 17 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 published npm artifact omits the canonical runtime and type suites.\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
Test, audit, and documentation changes only; binding behavior is unchanged and divergence from upstream is explicitly inventoried (_useStore omission).

Overview
Adds a full React parity evidence stack for @octanejs/tanstack-store against pinned @tanstack/[email protected], without changing the runtime binding.

Vendored upstream sources and tests live under packages/tanstack-store/upstream/ with SHA256SUMS and upstream:verify. Lanes cover pristine React Vitest (32 cases), one-for-one Octane-adapted runtime (30 cases, omitting experimental _useStore), pristine/adapted type suites, a dedicated _useStore omission typetest, and the existing React/Octane differential fixture (now scoped under _fixtures/differential with a fail-closed compiler).

Repo wiring extends the shared react-parity check (per-binding classification discovery for typetests, TanStack Store type/upstream verifiers) and updates binding docs/status (verified 2026-08-09, adapted-suite evidence bullets). Dev deps pin a tanstack-store-react-oracle catalog for React 19.2.3 oracle runs.

Many unrelated audit/react-parity.json files only refresh lockfile SHA-256 after the workspace lockfile change.

Reviewed by Cursor Bugbot for commit 423747d. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Aug 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
octane-website Ready Ready Preview Aug 7, 2026 3:58pm
octane-website-mcp Ready Ready Preview Aug 7, 2026 3:58pm

Request Review

@github-actions github-actions Bot added the test PR: tests only label Aug 2, 2026
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 2, 2026 22:51 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 2, 2026 22:52 Inactive
@jonkwheeler
jonkwheeler marked this pull request as draft August 3, 2026 01:49
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 3, 2026 06:03 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 3, 2026 06:04 Inactive
@jonkwheeler
jonkwheeler force-pushed the jon/tanstack-store-react-parity-harness branch from 59e4afe to 701330d Compare August 3, 2026 07:48
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 3, 2026 07:49 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 3, 2026 07:50 Inactive
@jonkwheeler
jonkwheeler marked this pull request as ready for review August 3, 2026 08:31
@jonkwheeler
jonkwheeler marked this pull request as draft August 3, 2026 08:31
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.
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 7, 2026 15:56 Inactive
Comment thread vitest.config.js Resolved
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 7, 2026 15:58 Inactive
Comment thread vitest.config.js Resolved
jonkwheeler and others added 2 commits August 8, 2026 11:30
Remove react-parity execution-group ownership from the three tanstack-store
Vitest projects while provenance is recorded-unverified. Without
testExecution.include the sharded config dropped them entirely, so
conformance, differential, and SSR coverage never ran in CI.

Co-authored-by: Cursor <[email protected]>
@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

REVIEW WITHDRAWN

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

Branch updated onto latest main; prior ready signal is void until Bugbot finishes on the new head.

REVIEW WITHDRAWN

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

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 25ee4a9. Configure here.

Keep differential oracles under _fixtures/differential and reject leftover
@octanejs imports in the React fixture compiler so upstream/conformance
fixtures cannot poison the oracle cache.

Co-authored-by: Cursor <[email protected]>
@jonkwheeler

Copy link
Copy Markdown
Contributor Author

Merge currency restored on latest main; Bugbot completed with no unresolved findings on the current head.

READY FOR REVIEW

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

Branch is BEHIND main; prior ready signal is void until currency is restored and Bugbot finishes on the new head.

REVIEW WITHDRAWN

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

Currency pass: posted REVIEW WITHDRAWN, updated branch onto latest main via gh pr update-branch, Bugbot completed with no unresolved findings on 2fc77e9. Draft; CLEAN/mergeable; no unresolved threads.

READY FOR REVIEW

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

Branch is BEHIND main (21fc873); prior ready signal is void until currency is restored and Bugbot finishes on the new head.

REVIEW WITHDRAWN

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

Currency pass: posted REVIEW WITHDRAWN, updated branch onto latest main via gh pr update-branch, Bugbot completed with no unresolved findings on 423747d. Draft; CLEAN/mergeable; no unresolved threads.

READY FOR REVIEW

@leonidaz

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! This pull request was incorporated into main as commit c7a7592f7e8e through consolidated PR #699.

@leonidaz leonidaz closed this Aug 12, 2026
kotarotaniguchi0523 pushed a commit to kotarotaniguchi0523/octane that referenced this pull request Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants