Skip to content

test(tanstack-devtools): add React parity harness - #539

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

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

Conversation

@jonkwheeler

@jonkwheeler jonkwheeler commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds an auditable React parity harness for @octanejs/tanstack-devtools, pinned to @tanstack/[email protected] at commit c6374669b8f56d7e64542b5d385af9be606e5aa7. The complete tagged adapter and license are vendored and checksum-authenticated; both published entrypoints are accounted for, and the absence of an upstream runtime suite is executable ledger evidence.

A same-fixture differential runs the Octane adapter and pinned React source against one shared fake core. It compares mount, plugin/title/custom-trigger portals, config synchronization, and teardown. Structured divergences record the 0.12.4 versus 0.12.5 core version, Octane-prefixed adapter types, and additive framework-neutral core re-exports. Provenance is verified; core-version drift and Octane-specific type names/core re-exports stay as explicit divergences.

Validation

  • package, SSR, differential, and audit projects: 4 files, 14 tests passed
  • package source typecheck passed
  • manifest validation and every required lane passed
  • ten-file upstream ledger and two-entrypoint crosswalk passed
  • negative control proved a renamed differential case fails validation
  • all 77 React parity harness self-tests passed
  • generated binding, CLI, package, and eval inventories are current
  • repository-wide React parity audit passed: stable React 5,345 tests and canary React 5,413 tests

Risk / follow-ups

The separate legacy typetest project retains its existing missing JSX.IntrinsicElements configuration error and is not claimed as parity evidence. Upstream has no runtime suite, and the current Octane core is one patch ahead of the core published with the pinned adapter. The draft changes shared lockfile/Vitest integrity and may require refresh after sibling harness PRs merge.

Provenance

  • An agent produced this diff (agent-authored)

Note

Low Risk
Test, audit, and documentation changes only; adapter runtime behavior is unchanged aside from devDependency/oracle wiring for parity jobs.

Overview
Introduces an auditable React parity harness for @octanejs/tanstack-devtools against pinned @tanstack/[email protected], with vendored upstream bytes, checksum ledger, export crosswalk, and audit/react-parity.json marking verification as verified.

Runtime evidence is a repo-authored same-fixture differential (mount, config sync, plugin/title/trigger portals, teardown) because upstream ships no runtime tests. Type evidence mirrors upstream test:types via pristine tsc and adapted tsrx-tsc lanes, with type-parity.json file maps and supplementary public-API probes.

Docs and generated inventories (bindings-status, octane-data.json, eval manifest lockfile hashes) now describe surface-present status, differential/type lanes, and scope checked 2026-08-03. Known divergences (core 0.12.4 vs 0.12.5, Octane-prefixed types, additive core re-exports) are recorded explicitly—not hidden omissions.

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

@vercel

vercel Bot commented Aug 3, 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 3, 2026 7:13am
octane-website-mcp Ready Ready Preview Aug 3, 2026 7:13am

Request Review

@github-actions github-actions Bot added agent-authored Diff or issue body substantially produced by an AI agent test PR: tests only labels Aug 3, 2026
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 3, 2026 05:55 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 3, 2026 05:56 Inactive
@jonkwheeler
jonkwheeler marked this pull request as ready for review August 3, 2026 06:30
@jonkwheeler
jonkwheeler marked this pull request as draft August 3, 2026 06:31
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 3, 2026 06:49 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 3, 2026 06:50 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 3, 2026 06:58 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 3, 2026 06:58 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 3, 2026 07:12 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 3, 2026 07:13 Inactive
@jonkwheeler
jonkwheeler marked this pull request as ready for review August 3, 2026 10:26
@jonkwheeler
jonkwheeler marked this pull request as draft August 3, 2026 11:18
@jonkwheeler
jonkwheeler marked this pull request as ready for review August 7, 2026 18:24
jonkwheeler and others added 4 commits August 7, 2026 15:23
Resolve inventory, eval manifest, hook-form parity lockfile, and root
package scripts while keeping tanstack-devtools coverage.

Co-authored-by: Cursor <[email protected]>
Regenerate lockfile hashes and inventory for tanstack-devtools.

Co-authored-by: Cursor <[email protected]>
Resolve inventory, eval manifest, hook-form parity lockfile, and root
package scripts while keeping tanstack-devtools coverage.

Co-authored-by: Cursor <[email protected]>
Regenerate lockfile hashes and inventory for tanstack-devtools.

Co-authored-by: Cursor <[email protected]>
@jonkwheeler
jonkwheeler marked this pull request as draft August 7, 2026 19:49
Resolve inventory, eval manifest, hook-form parity lockfile, and root
package scripts while keeping tanstack-devtools coverage.
Regenerate lockfile hashes and inventory for tanstack-devtools.
Resolve inventory and root scripts while keeping tanstack-devtools coverage.
jonkwheeler and others added 2 commits August 10, 2026 11:14
Address leonidaz review: membership via tsconfig program fileNames,
structural adaptation with signature/body negative controls, and cite
the ordinary conformance case for octane-type-names.

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

Copy link
Copy Markdown
Contributor Author

REVIEW WITHDRAWN

Address Bugbot findings from the structural rewrite: key portal map
children for Octane list reconciliation, and keep Renderable distinct
from unknown so callback parameter inference survives.

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

Merging origin/main to clear DIRTY conflicts; will re-signal when ready checklist passes.

jonkwheeler and others added 2 commits August 10, 2026 12:25
Regenerate lockfile and Vitest evidence hashes against the merged tree.

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

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

Merging origin/main to resolve conflicts; prior ready pass is void until Bugbot re-runs on the new head.

REVIEW WITHDRAWN

Resolve react-parity vitest.config.js hash conflicts from main and
refresh tanstack-devtools parity evidence against the merged tree.

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

Copy link
Copy Markdown
Contributor Author

Merged origin/main (commonjs bindings + vitest.config.js hash refresh). Bugbot clean on head 6d8e533; merge state CLEAN; all review threads resolved.

READY FOR REVIEW

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

origin/main advanced again; merge state DIRTY. Prior ready pass void.

REVIEW WITHDRAWN

Resolve evals manifest conflict via pnpm sync after main advanced.

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

@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 edc1d91. Configure here.

Align upstream-crosswalk.json with react-parity.json and UPSTREAM.md:
upstream test:types source compile is present, with repo-authored probes
supplementary.

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

Copy link
Copy Markdown
Contributor Author

Merged origin/main (21fc873); resolved evals manifest conflict via pnpm sync. Fixed Bugbot crosswalk typeSuite disposition (present, aligned with react-parity.json). Bugbot clean on head e4adb59; merge CLEAN; all review threads resolved.

READY FOR REVIEW

@leonidaz

Copy link
Copy Markdown
Collaborator

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