Skip to content

test(visx): add React parity harness - #520

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

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

Conversation

@jonkwheeler

@jonkwheeler jonkwheeler commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • pin the released @visx/visx 4.0.0 oracle, canonical source revisions, and npm artifact checksum
  • add exact differential, divergence, SSR, hydration, and public type lanes
  • bind every documented Visx framework/measurement divergence to executable evidence
  • add fail-closed fixture compilation controls and exhaustive test classifications

Verification

  • Visx runtime and SSR projects: 11 files, 37 tests passed
  • all 5 Visx parity lanes passed
  • generated binding status and parity-gap indexes are current
  • global React parity audit passed (stable: 5,345 cases; canary: 5,413 cases)

Provenance

  • An agent produced this diff (agent-authored)

Note

Low Risk
Changes are test infrastructure, audit metadata, and documentation; no production runtime behavior beyond existing divergence comments and test splits.

Overview
Adds a recorded-unverified React parity manifest for @octanejs/visx against @visx/[email protected], with pinned oracle environment metadata, pristine/adapted type lanes, a bounded runtime differential lane, declared divergences, and a full test-classification ledger.

Differential & evidence: Expands the React-vs-Octane differential fixture and parity.test.ts with Brush and Zoom scenarios; wires @parity-case / OCTANE DIVERGENCE markers on source and dedicated spring/wordcloud parity shards. Refactors differential fixture compilation into fixture-compiler.ts with fail-closed setup tests.

Harness integration: New visx-types-lib and visx-classifications-lib verifiers hook into react-parity/check.mjs. Shared harness-lib now validates ordinary @parity-case ids and divergence bindings outside adapted-octane lanes only.

Docs & housekeeping: UPSTREAM.md gains a pin/oracle table and test-suite disposition; bindings status dates refresh for visx/wagmi. Many packages’ react-parity.json files update the vitest.config.js support hash after config changes; visx differential moves to its own Vitest project under the react-parity execution group.

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

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 00:03 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 3, 2026 00:04 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 07:04 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 3, 2026 07:04 Inactive
Comment thread scripts/react-parity/check.mjs Resolved
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 3, 2026 07:09 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 3, 2026 07:10 Inactive
@jonkwheeler
jonkwheeler force-pushed the jon/visx-react-parity-harness branch from da555c6 to 243dc25 Compare August 3, 2026 07:54
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 3, 2026 07:56 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 3, 2026 07:57 Inactive
Comment thread packages/visx/audit/react-parity.json Resolved
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:58 Inactive
Comment thread vitest.config.js Resolved
Comment thread vitest.config.js Resolved
Comment thread scripts/react-parity/check.mjs Resolved
Comment thread packages/visx/audit/react-parity.json Resolved
Dispatch wheel and pointer input so visx-native-zoom-gestures evidence is no longer mount-only.

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

Copy link
Copy Markdown
Contributor Author

Addressed hollow Zoom gesture evidence by dispatching wheel and pointer input in the visx differential parity lane.

Update react-parity.json sha256 pins for the Zoom gesture test and fixture.

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

Copy link
Copy Markdown
Contributor Author

Addressed stale Zoom evidence digests in the Visx react-parity manifest.

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

Merging origin/main to clear DIRTY conflicts; prior ready signal is void until Bugbot and the ready checklist pass 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 a2abaef. Configure here.

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

Merging origin/main to clear DIRTY conflicts; prior ready signal is void until Bugbot and the ready checklist pass on the new head.

REVIEW WITHDRAWN

Resolve react-parity vitest.config.js evidence digests against the merged config.

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

@leonidaz

Copy link
Copy Markdown
Collaborator

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