Skip to content

test(tanstack-table): add React parity harness - #515

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

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

Conversation

@jonkwheeler

@jonkwheeler jonkwheeler commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add immutable upstream provenance and the bounded React parity manifest for TanStack Table
  • authenticate five same-fixture React/Octane scenarios covering rendering, sorting, filtering/pagination, selection, and visibility/expanding
  • add paired pristine/adapted public type-contract lanes; keep unpaired legacy/component-shape checks as ordinary framework contracts
  • replace fail-open fixture compilation with fail-closed compilation and negative controls
  • authenticate every fixture read by the differential global setup

Validation

  • TanStack Table project: 7 files, 42 tests passed
  • Runtime differential, adapted divergence, and type lanes passed
  • Classification checks and verified run-required lanes passed
  • Repository-wide React parity audit passed (stable: 5,345 cases; canary: 5,413 cases)
  • Generated binding status, parity-gap, and CLI inventories are current

Risk / follow-ups

  • Upstream has no adapter runtime suite; provenance is verified via repo-authored differential scenarios plus paired pristine/adapted type contracts. Unpaired framework-contract checks stay outside the parity group.
  • This PR intentionally does not change the runtime binding.

Provenance

  • An agent produced this diff (agent-authored)

Note

Low Risk
Changes are test, audit, and Vitest orchestration plus metadata; the adapter implementation is explicitly untouched, so production behavior risk is minimal.

Overview
Adds a bounded React parity harness for @octanejs/tanstack-table: upstream provenance (UPSTREAM.md, audit/react-parity.json at recorded-unverified), test disposition ledger, and wiring into react-parity:check (dedicated type + classification verifiers, Vitest lanes split so differential and parity-legacy-api run under the react-parity group).

Runtime evidence is five byte-identical Octane vs @tanstack/react-table scenarios (rendering, sorting, filter/pagination, selection, visibility/expanding), with @parity-case IDs and a fail-closed shared fixture-compiler (replacing silent compile skips) plus negative controls.

Type evidence is paired pristine (tsc on React) / adapted (tsrx-tsc on Octane) public-surface probes with hashed assertion-group inventories enforced by tanstack-table-types-lib.mjs. The intentional ./legacy omission is documented as divergence legacy-migration-subpath and checked via package exports. Unpaired checks (e.g. memo flexRender shapes) move to ordinary framework-contract tests.

Docs/CLI binding metadata verified date bumps to 2026-08-02; many react-parity.json files pick up an updated lockfile SHA from workspace lockfile drift. harness-lib relaxes wording when upstream adapter runtime is absent but repo differential lanes exist. No intentional runtime adapter changes beyond an OCTANE DIVERGENCE comment on the main export.

Reviewed by Cursor Bugbot for commit 8e4d807. 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:57pm
octane-website-mcp Ready Ready Preview Aug 7, 2026 3:57pm

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 23:07 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 2, 2026 23:08 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:08 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 3, 2026 06:09 Inactive
@jonkwheeler
jonkwheeler force-pushed the jon/tanstack-table-react-parity-harness branch from b24c747 to 85561cb Compare August 3, 2026 07:49
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 3, 2026 07:50 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 3, 2026 07:50 Inactive
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:57 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 7, 2026 15:57 Inactive
Comment thread vitest.config.js Resolved
jonkwheeler and others added 2 commits August 8, 2026 11:33
Remove react-parity execution-group ownership from tanstack-table Vitest
projects while provenance stays recorded-unverified. Without
testExecution.include the sharded config dropped them entirely.

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

Copy link
Copy Markdown
Contributor Author

Babysit pass: removed react-parity execution-group ownership from tanstack-table Vitest projects so sharded CI runs conformance and differential coverage while provenance stays recorded-unverified. Merged origin/main; Cursor thread resolved; Bugbot clean on 6a1cd93.

READY FOR REVIEW

@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

REVIEW WITHDRAWN

Branch is behind main; restoring merge currency via update-branch. Will re-signal READY FOR REVIEW after Bugbot completes on the new head with a clean checklist.

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

Merge currency restored (update-branch, then origin/main merge + lockfile integrity refresh). Cursor Bugbot completed successfully on head 0b5f0b0 with no unresolved findings; merge state CLEAN.

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

REVIEW WITHDRAWN

Branch updated onto current main; withdrawing ready signal until Bugbot finishes on the new head.

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

Merge currency restored via update-branch. Cursor Bugbot completed on current head with no unresolved findings; merge state CLEAN.

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

Merge currency restored via update-branch. Cursor Bugbot completed on current head with no unresolved findings; merge state CLEAN.

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

REVIEW WITHDRAWN

Branch is behind main; restoring merge currency via update-branch. Will re-signal READY FOR REVIEW after Bugbot completes on the new head.

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

Merge currency restored via update-branch (twice as main moved during the pass). Cursor Bugbot completed successfully on head 8e4d807 with no unresolved findings; merge state CLEAN.

@leonidaz

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! This pull request was incorporated into main as commit 56994f0c3c85 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

Labels

agent-authored Diff or issue body substantially produced by an AI agent READY FOR REVIEW REVIEW COMPLETE test PR: tests only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants