Repository navigation
Add Lynx Phase 1 native scaffolding - #180
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
trueadm
marked this pull request as ready for review
July 19, 2026 12:43
# Conflicts: # packages/octane-evals/datasets/train/user-apps-v1/manifest.jsonl
4 of 7 tasks
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
octane/universal/nativefacade while preserving the existing DOM facade exports@octanejs/lynxand@octanejs/rspeedy-pluginscaffolds with exact Lynx/Rspeedy pins, renderer-local intrinsics, background/main-thread production builds, and an external packed-consumer canaryScope
This completes the Milestone 1 build/source gate only. Milestone 0 remains blocked on public lifecycle/event hooks and Android/iOS engine evidence. This PR does not add a native root, claim real-device support, or claim Octane
.lynx.bundleexecution.Validation
pnpm typecheckpnpm test— 1,186 files and 11,367 tests passedpnpm format:checknpm run phase0inpackages/lynx/probe— 17 protocol/lifecycle tests plus pinned bundle/evidence auditnode packages/octane/scripts/build.mjsnode scripts/check-package-packs.mjs— 43 tarballs plus the external DOM/React-free Lynx production graphNote
Medium Risk
Touches core universal scheduling and compiler/renderer resolution paths used beyond Lynx; DOM/Three behavior is intended unchanged but the surface area is large. Lynx remains private scaffolding with no production native host yet.
Overview
Milestone 1 Lynx scaffolding — Private
@octanejs/lynxand@octanejs/rspeedy-pluginadd data-only renderer config for**/*.lynx.tsrx, a facade overoctane/universal/native, module-scoped Lynx intrinsics (no global React/DOM JSX pollution), and explicit “not implemented” metadata for root/platform/testing. Runtime-compatibility evidence and dual-thread compile graphs are documented; this is a build/source gate only, not a native preview or.lynx.bundleexecution.Universal runtime & compiler — The universal stack gains a DOM-free native entry, optional
scheduleMicrotaskwhenqueueMicrotaskis absent, andExperimentalRendererValidationOptionson renderer registry entries (forbidden globals/imports, text parents, host props). Rspack can pick graph-local Octane runtime with distinct cache metadata per universal specialization; project.ts/.jshelpers can be validated for renderer-selected files without changing compile ownership.Phase 0 probe hardening — Background/main transport uses request-correlated acks and a dedicated
destroypath with idempotent teardown when PAPI append/remove mutates then throws (__GetParent/__ElementIsEqual); probe tests grow from 12 to 17.Repo wiring — Changesets patch
octane,@octanejs/app-core, and@octanejs/rspack-plugin; roottypecheckincludes Lynx packages; docs mark Milestone 1 implemented while Milestone 0 device/hook gates stay blocked.Reviewed by Cursor Bugbot for commit 1806d3c. Bugbot is set up for automated code reviews on this repo. Configure here.