Repository navigation
test(dnd-kit): add React parity harness - #534
jonkwheeler wants to merge 50 commits into
Conversation
Pin and checksum the complete @dnd-kit/react 0.5.0 adapter source, register bounded differential and audit lanes, and keep browser lifecycle gaps explicit instead of overstating parity.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Resolve inventory, eval manifest, hook-form parity lockfile, and root package scripts while keeping dnd-kit coverage. Co-authored-by: Cursor <[email protected]>
Regenerate lockfile hashes and inventory for dnd-kit. Co-authored-by: Cursor <[email protected]>
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 8a2fdc9. Configure here.
Keep core/hooks conformance fixtures out of the React oracle cache so Octane-only changes there cannot fail-closed the required differential lane. Co-authored-by: Cursor <[email protected]>
|
Addressed Bugbot: differential setup now compiles only the declared |
|
READY FOR REVIEW |
|
READY FOR REVIEW |
Co-authored-by: Cursor <[email protected]>
Align lockfile and vitest.config.js digests (plus dnd-kit differential setup) so integrity validation matches the post-merge tree. Co-authored-by: Cursor <[email protected]>
|
Merging origin/main to clear DIRTY conflicts; previous ready pass is void until Bugbot completes on the new head. REVIEW WITHDRAWN |
|
Merge currency restored (origin/main merged, evidence digests refreshed). Bugbot completed on current head with no unresolved findings; mergeable CLEAN. READY FOR REVIEW |
|
Branch is DIRTY against main; restoring merge currency via normal origin/main merge. REVIEW WITHDRAWN |
Resolve react-parity vitest.config.js digest conflicts against the post-merge tree so integrity validation stays current. Co-authored-by: Cursor <[email protected]>
|
Merged origin/main, resolved react-parity vitest.config.js digest conflicts, and refreshed evidence. Cursor Bugbot completed on the current head with no unresolved findings; merge state is CLEAN. READY FOR REVIEW |
|
Branch is BEHIND main; restoring currency via update-branch. Previous ready pass is void until Bugbot completes on the new head. REVIEW WITHDRAWN |
|
Branch currency restored via update-branch (main merged into head). Cursor Bugbot completed on the current head with no unresolved findings; merge state is CLEAN. READY FOR REVIEW |
|
Thank you for your contribution! This pull request was incorporated into |

Summary
dnd-kit now has auditable, binding-local React parity evidence instead of an implicit differential directory. The harness pins
@dnd-kit/react0.5.0, checksum-verifies the complete canonical adapter source, proves that the pinned package directory contains no upstream runtime or dedicated type suite, and keeps the resultrecorded-unverifiedbecause browser drag lifecycles remain broader than the current evidence.The same-fixture keyboard drag scenario is now an exact required case. Separate differential and audit projects preserve ordinary conformance, hydration, and SSR coverage while executing provenance and structured renderer-adaptation contracts through the generic parity runner.
Session-settled decisions carried from planning: one master ledger with one PR per binding (user-approved); incomplete retrofits default to
recorded-unverified; binding-local evidence takes priority; available required lanes fail CI regardless of verification status.Validation
pnpm format:check— scoped formatter check passed; vendored upstream bytes remain checksum-exactpnpm typecheck— no runtime or public type implementation changedpnpm test— dnd-kit projects: 7 files, 19 tests passed; React parity harness: 77 tests passedRisk / follow-ups
This intentionally remains
recorded-unverified. The canonical adapter has no upstream suite at this pin, and one jsdom keyboard lifecycle cannot prove real pointer geometry, observers, or the complete browser drag lifecycle. The draft also changes shared Vitest integrity and must be refreshed after preceding parity-harness PRs merge.Provenance
agent-authored)Note
Low Risk
Changes are primarily tests, vendored upstream bytes, audit manifests, and documentation; runtime behavior is unchanged aside from parity annotations already describing known adapter divergences.
Overview
Adds binding-local React parity evidence for
@octanejs/dnd-kit: pins and checksum-vendors the full@dnd-kit/[email protected]adapter tree, documents absent upstream runtime/type suites, and records parity asrecorded-unverifiedinstatus.json,UPSTREAM.md, and bindings docs.Introduces
audit/react-parity.json, test classifications, ledger verification (check-upstream-ledger.mjs), adnd-kit-parity-auditVitest project, andscripts/react-parity/dnd-kit-controls.test.mjs. The differential lane now runs three declared cases against a pinned React 19.2.7 oracle (dnd-kit-react-oraclecatalog): programmaticmanager.actionsdrag lifecycle, static DragOverlay compiled-children equivalence, and explicit OptimisticSortingPlugin default divergence foruseSortable. Differential setup is fail-closed and only precompiles declared fixtures.Wires
dnd-kit-differentialinto the sharedreact-parityCI group (excluded from sharding). Source gains inline OCTANE DIVERGENCE markers onDragOverlayanduseSortablematching the structured divergence ledger.Reviewed by Cursor Bugbot for commit 9857fd3. Bugbot is set up for automated code reviews on this repo. Configure here.