Skip to content

feat(bindings): add Vaul parity binding - #495

Closed
jonkwheeler wants to merge 54 commits into
octanejs:mainfrom
jonkwheeler:jon/vaul-binding
Closed

jonkwheeler wants to merge 54 commits into
octanejs:mainfrom
jonkwheeler:jon/vaul-binding

Conversation

@jonkwheeler

@jonkwheeler jonkwheeler commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Octane applications can now replace [email protected] with @octanejs/vaul while retaining the drawer API, DOM attributes, styling, gestures, snap points, portal behavior, and public prop contracts. The port reuses Octane's Radix primitives, preserves the pinned MIT source and license, and registers Vaul across the package catalog, website, CLI, MCP bridge, and generated inventories.

Parity evidence includes a React semantic oracle, exact-identity adapted runtime and SSR lanes, an executable public-type lane, and a real-Chromium interaction lane. The complete upstream Playwright suite remains pinned and integrity-checked; its provenance is deliberately marked recorded-unverified until every upstream identity is adapted or explicitly classified.

Validation

  • pnpm format:check
  • pnpm typecheck
  • pnpm test
  • targeted tests:
    • pnpm --dir packages/vaul test — 5 files and 5 tests passed, including real Chromium
    • pnpm --dir packages/vaul run typecheck
    • pnpm run react-parity:check
    • Vaul upstream integrity check — all 28 pinned files verified
    • packed package contents inspected

Risk / follow-ups

  • Upstream Vaul's broader Playwright suite is retained as provenance but is not claimed as fully verified by this PR.
  • The adapted runtime intentionally preserves pinned Vaul behavior where changing it would create an Octane-only semantic divergence.

Provenance

  • An agent produced this diff (agent-authored)

Compound Engineering


Note

Medium Risk
New UI binding with drag, portal, scroll-lock, and snap behavior plus broad CI/parity wiring; adapted coverage is partial relative to the full upstream Playwright suite.

Overview
Adds @octanejs/vaul (0.1.0) as a source-compatible Octane port of [email protected], with pinned upstream source, MIT license, integrity checks, and a TSRX implementation built on @octanejs/radix Dialog primitives while keeping Vaul’s public API (Drawer, Root, snap points, data-vaul-*, style.css).

Registration and tooling: changeset, generated binding/package inventories, CLI catalog, MCP vaul → @octanejs/vaul mapping, and a port plan doc. React-parity lockfile hashes and eval manifest overlay hashes refresh with the lockfile.

CI: excludes packages/*/tests/browser-conformance from default shards; adds packages/*/tests/browser-conformance to the Chromium browser lane; installs Playwright Chromium before react-parity:check.

Evidence: Vitest lanes (adapted drawer, React oracle differential, SSR, real Chromium, browser-conformance), vendored pristine Playwright inventory, and audit/react-parity.json — with documented gaps (nested, non-dismissible, full upstream suite still recorded-unverified).

Reviewed by Cursor Bugbot for commit 6f76f34. 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 3, 2026 1:17am
octane-website-mcp Ready Ready Preview Aug 3, 2026 1:17am

Request Review

@github-actions github-actions Bot added agent-authored Diff or issue body substantially produced by an AI agent feat PR: new feature or capability labels Aug 2, 2026
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 2, 2026 16:45 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 2, 2026 16:46 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 2, 2026 16:49 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 2, 2026 16:49 Inactive
Comment thread packages/vaul/src/index.tsrx Resolved
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 2, 2026 16:57 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 2, 2026 16:58 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 2, 2026 16:59 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 2, 2026 17:00 Inactive
Comment thread packages/vaul/src/index.tsrx Resolved
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 2, 2026 17:20 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 2, 2026 17:21 Inactive
Comment thread packages/vaul/src/index.tsrx Resolved
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 2, 2026 17:43 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 2, 2026 17:44 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 3, 2026 00:05 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 3, 2026 00:06 Inactive

@leonidaz leonidaz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

React-parity re-review complete. The generic browser-conformance routing and controlled-overlay disposition now conform, and the previously raised parity/configuration findings are resolved. No new inline findings; tests were not run, per request.

@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

Branch updated onto current main (gh pr update-branch). Cursor Bugbot completed on the new head with no unresolved findings; merge state is CLEAN.

READY FOR REVIEW

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

REVIEW WITHDRAWN

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

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

Branch is behind main; restoring merge currency before re-checking readiness.

REVIEW WITHDRAWN

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

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

READY FOR REVIEW

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

REVIEW WITHDRAWN

Branch is DIRTY vs main; merging origin/main before re-checking ready checklist.

jonkwheeler and others added 2 commits August 10, 2026 14:28
Resolve docs/packages.md via pnpm sync after Version Packages (octanejs#682).

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

Copy link
Copy Markdown
Contributor Author

Merged origin/main (Version Packages #682), resolved docs/packages.md via pnpm sync, updated branch currency, and confirmed Cursor Bugbot completed cleanly on current head with no unresolved findings.

READY FOR REVIEW

@leonidaz

Copy link
Copy Markdown
Collaborator

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

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 feat PR: new feature or capability READY FOR REVIEW REVIEW COMPLETE

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants