Skip to content

feat(react-select): port complete public surface - #541

Merged
trueadm merged 90 commits into
octanejs:mainfrom
jonkwheeler:jon/react-select-binding
Aug 28, 2026
Merged

trueadm merged 90 commits into
octanejs:mainfrom
jonkwheeler:jon/react-select-binding

Conversation

@jonkwheeler

@jonkwheeler jonkwheeler commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • completes the [email protected] Octane binding across all six public entry points and all 20 runtime exports
  • ports state management, async, creatable, AsyncCreatable, animated components, portals, scroll locking, CSP nonces, accessibility, forms, and imperative methods
  • adds fail-closed upstream provenance, runtime inventories, export crosswalks, consumer-shaped type fixtures, and structured migration guidance for the three Octane renderer type adaptations
  • promotes the candidate evidence into the permanent package suite and registers the package across repository-generated catalogs

This draft is stacked on #487 (@octanejs/react-transition-group). GitHub cannot target a fork-only head branch as the base of an upstream pull request, so this PR targets main; its effective diff will collapse after #487 merges. The branch must then be rebased onto the merged prerequisite and all final-head gates rerun before this PR can remain ready.

The implementation follows the session-settled decisions: exact pinned runtime compatibility, one binding per PR, executable React parity evidence, and draft-first review gating.

Validation

  • React Select suite: 16 files, 139 tests passed, including Chromium, SSR, differential, verifier, and inventory lanes
  • React Select package typecheck: package, browser fixture, local consumer, cross-environment compatibility, and pinned React consumer projects
  • pinned upstream verification: 63 files
  • export crosswalk: 6 entry points / 20 runtime exports
  • repository sync and generated inventories
  • repository-wide React parity audit: 5,345 stable / 5,413 canary cases
  • staged diff whitespace validation

Risk / follow-ups

  • blocked from final readiness until feat(bindings): port react-transition-group #487 merges; rebase onto the merged prerequisite and rerun sync, the complete parity suite, full CI, and current-head automated review
  • renderer-owned public types deliberately use OctaneNode, native DOM events, and Octane style objects in place of ReactNode, React synthetic events, and Emotion CSS objects; the parity ledger includes consumer impact and migration guidance

Provenance

  • An agent produced this diff (agent-authored)

Built with Compound Engineering.


Note

Medium Risk
Large, interaction-heavy UI binding (portals, async races, global scroll lock, forms/a11y) with broad consumer API surface; risk is mitigated by pinned upstream evidence and React-oracle/Chromium/SSR test lanes but still warrants careful review before merge readiness (including the stacked transition-group prerequisite).

Overview
Introduces @octanejs/select (0.1.0) as a drop-in Octane port of [email protected], with the same six public entry points (root, base, async, animated, creatable, async-creatable) and documented parity for 20 runtime exports.

The binding reimplements the full select surface—core Select, state-managed hooks, async/creatable composition, menu portals/placement, scroll locking, styling/CSP nonces, forms, a11y, and imperative SelectInstance APIs—on Octane (including @octanejs/transition-group for animated variants). Public types are checked fail-closed with three explicit migrations: OctaneNode instead of ReactNode, native DOM events instead of synthetic events, and Octane style objects instead of Emotion CSSObjectWithLabel.

Repository wiring adds a patch changeset, generated inventories/status docs, an implementation plan, react-select → @octanejs/select in CLI catalog data (and tests), and refreshed lockfile hashes in parity audit files across the monorepo.

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

Request Review

Comment thread packages/select/src/select.tsrx Resolved
Comment thread packages/select/src/select.tsrx Resolved
Match upstream focusedValue remapping on value updates and give the
animated ValueContainer path stable keys without breaking MultiValue
child inspection.

Co-authored-by: Cursor <[email protected]>
Comment thread packages/select/src/select.tsrx Resolved
Unwrap inspectable ValueContainer's keyed Fragment slots before
TransitionGroup and MultiValueContainer inspect child types.

Co-authored-by: Cursor <[email protected]>
- retain fragment and inner child keys when flattening inspectable children
- cover animated single-select value and input rendering

Note: pre-existing typecheck failures in packages/select/src/animated/transitions.tsrx were not addressed by this PR.
Resolve the transition-group rename and refresh the select integration.
Refresh generated parity evidence against the latest base.
Regenerate package inventories after the release version bump.
@jonkwheeler
jonkwheeler marked this pull request as ready for review August 27, 2026 13:48
Comment thread packages/select/src/use-async.tsrx Resolved
# Conflicts:
#	packages/alien-signals/audit/react-parity.json
#	packages/apollo-client/audit/react-parity.json
#	packages/aria/audit/react-parity.json
#	packages/base-ui/audit/react-parity.json
#	packages/cmdk/audit/react-parity.json
#	packages/colorful/audit/react-parity.json
#	packages/day-picker/audit/react-parity.json
#	packages/dexie/audit/react-parity.json
#	packages/dnd-kit/audit/react-parity.json
#	packages/draggable/audit/react-parity.json
#	packages/drei/audit/react-parity.json
#	packages/dropzone/audit/react-parity.json
#	packages/embla-carousel/audit/react-parity.json
#	packages/floating-ui/audit/react-parity.json
#	packages/formisch/audit/react-parity.json
#	packages/gsap/audit/react-parity.json
#	packages/hook-form/audit/react-parity.json
#	packages/i18next/audit/react-parity.json
#	packages/inertia/audit/react-parity.json
#	packages/ink/audit/react-parity.json
#	packages/input-otp/audit/react-parity.json
#	packages/intersection-observer/audit/react-parity.json
#	packages/jotai/audit/react-parity.json
#	packages/lexical/audit/react-parity.json
#	packages/livestore/audit/react-parity.json
#	packages/lucide/audit/react-parity.json
#	packages/mantine-hooks/audit/react-parity.json
#	packages/markdown/audit/react-parity.json
#	packages/mobx/audit/react-parity.json
#	packages/monaco-editor/audit/react-parity.json
#	packages/motion/audit/react-parity.json
#	packages/nuqs/audit/react-parity.json
#	packages/octane-evals/datasets/train/user-apps-v1/manifest.jsonl
#	packages/opentui/audit/react-parity.json
#	packages/pdf/audit/react-parity.json
#	packages/phosphor-icons/audit/react-parity.json
#	packages/popper/audit/react-parity.json
#	packages/radix/audit/react-parity.json
#	packages/rainbowkit/audit/react-parity.json
#	packages/react-error-boundary/audit/react-parity.json
#	packages/react-map-gl/audit/react-parity.json
#	packages/recharts/audit/react-parity.json
#	packages/redux-toolkit/audit/react-parity.json
#	packages/redux/audit/react-parity.json
#	packages/remix-router/audit/react-parity.json
#	packages/resizable-panels/audit/react-parity.json
#	packages/rxjs/audit/react-parity.json
#	packages/shadcn/audit/react-parity.json
#	packages/solana-kit/audit/react-parity.json
#	packages/sonner/audit/react-parity.json
#	packages/spring/audit/react-parity.json
#	packages/streamdown/audit/react-parity.json
#	packages/styled-components/audit/react-parity.json
#	packages/swr/audit/react-parity.json
#	packages/syntax-highlighter/audit/react-parity.json
#	packages/tanstack-ai/audit/react-parity.json
#	packages/tanstack-devtools/audit/react-parity.json
#	packages/tanstack-form/audit/react-parity.json
#	packages/tanstack-hotkeys/audit/react-parity.json
#	packages/tanstack-pacer/audit/react-parity.json
#	packages/tanstack-query/audit/react-parity.json
#	packages/tanstack-router-ssr-query/audit/react-parity.json
#	packages/tanstack-router/audit/react-parity.json
#	packages/tanstack-store/audit/react-parity.json
#	packages/tanstack-table/audit/react-parity.json
#	packages/tanstack-virtual/audit/react-parity.json
#	packages/testing-library/audit/react-parity.json
#	packages/textarea-autosize/audit/react-parity.json
#	packages/three/audit/react-parity.json
#	packages/tiptap/audit/react-parity.json
#	packages/transition-group/audit/react-parity.json
#	packages/usehooks-ts/audit/react-parity.json
#	packages/valtio/audit/react-parity.json
#	packages/vaul/audit/react-parity.json
#	packages/visx/audit/react-parity.json
#	packages/wagmi/audit/react-parity.json
#	packages/waypoint/audit/react-parity.json
#	packages/window/audit/react-parity.json
#	packages/xstate-store/audit/react-parity.json
#	packages/xstate/audit/react-parity.json
#	packages/zag/audit/react-parity.json
#	packages/zustand/audit/react-parity.json
@jonkwheeler

Copy link
Copy Markdown
Contributor Author

Merged latest main (69a56855c), addressed the async render-phase state feedback with transactional useLinkedState reconciliation, and resolved the review thread. Current-head CI is green (28/28), Cursor Bugbot is clean, and no unresolved review threads remain.

READY FOR REVIEW

@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 3 potential issues.

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 ac4afe1. Configure here.

Comment thread packages/select/src/select.tsrx Resolved
Comment thread packages/select/src/select.tsrx Resolved
Comment thread packages/select/src/select.tsrx Resolved
@trueadm
trueadm merged commit e7384d4 into octanejs:main Aug 28, 2026
29 checks passed
@jonkwheeler
jonkwheeler deleted the jon/react-select-binding branch October 20, 2026 12:53
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants