Repository navigation
feat(octane): add inspectable descriptor children - #555
jonkwheeler wants to merge 35 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
* perf: skip unchanged conditional keyed rows * fix: exclude Activity boundaries from keyed row memoization
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 9fad17d. Configure here.
Align import scanning with void-component discovery so Identifier-tagged Element nodes are proven the same way JSXOpeningElement tags already were. Co-authored-by: Cursor <[email protected]>
|
Addressed Cursor Bugbot finding on TSRX Element tag import scanning (bfbfbdd). Waiting for Bugbot on the new head before re-signaling ready. |
|
READY FOR REVIEW |
Restore autoMemo LocalHazards from main (dropped by earlier merges) while keeping descriptorChildren bindings/lowering, and take octanejs#684 returned-JSX wall-B memoization. Co-authored-by: Cursor <[email protected]>
|
REVIEW WITHDRAWN |
|
READY FOR REVIEW |
|
READY FOR REVIEW |
|
Currency update-branch completed onto current main. Prior ready signal no longer holds until Cursor Bugbot finishes on the new head. REVIEW WITHDRAWN |
|
Currency restored via update-branch onto current main. Merge CLEAN, Cursor Bugbot completed on head 26f0dd8 with no unresolved findings, threads clear. READY FOR REVIEW |
|
Branch is BEHIND main again (new commits landed after prior update-branch). Withdrawing ready signal while updating currency. REVIEW WITHDRAWN |
|
Currency restored via update-branch onto current main. Merge state CLEAN, Cursor Bugbot completed on head ef3151f with no unresolved findings, threads clear. READY FOR REVIEW |
|
Branch is BEHIND main; updating via update-branch before re-checking readiness. REVIEW WITHDRAWN |
|
Thank you for your contribution! This pull request was incorporated into |

Summary
descriptorChildren(component)as an identity-preserving compiler markerWhy
react-draggableinspect and clone their single childChanges
.tsbarrel propagationoctanepatch changesetValidation
pnpm syncoctaneandoctane-prodtypecheck:filesfor the public runtime surface and TSЯX fixturegit diff --checkpnpm format:checkpnpm typecheckpnpm testRisk / follow-ups
<Draggable><div /></Draggable>authoring shape in the separate@octanejs/react-draggablebinding PRProvenance
agent-authored)Note
Medium Risk
Changes core children lowering and Vite transform metadata for both client and SSR; incorrect graph proof or lowering could break clone/inspect bindings or hydration parity, though coverage is extensive.
Overview
Adds
descriptorChildren(component)as a compile-time marker so bindings can inspect and clone ordinary TSЯX children (e.g.Children.only/cloneElement) instead of only receiving compiled children render blocks.For marked local or imported components, client and server lowering now pass element descriptors (including
@if/@forunder marked slots and positional siblings viapositionalChildren), while unmarked components keep the existingmarkChildrenBlockpath.Vite discovers marked exports/imports, attaches
octane:descriptor-children-exportsmetadata (with barrel re-export propagation, grouped loads, filesystem fallback, and fail-loud errors), and feedsisDescriptorChildrenImportinto the compiler on client and SSR transforms.Also adds runtime exports, fixtures, and broad compiler/Vite/runtime tests; trims some nested keyed-list projection coverage; and includes separate
octanepatch changesets for unrelated runtime optimizations bundled in the diff.Reviewed by Cursor Bugbot for commit 3d3cbc3. Bugbot is set up for automated code reviews on this repo. Configure here.