Repository navigation
Closed
Labels
Milestone
Description
总路线:#282(承接 #281)。所属 milestone:Lynx ceiling M3 — 平台下限与产品默认路径。
目的
优化必须出现在用户正常安装/构建得到的产物中。当前 plugin 的 core 仍默认 universal;#58 的 target cutover 与 size 目标尚未作为完整产品门槛交付。
依赖 #284、M1/M2 对相应生产范围的验收。#289 属于 optional capability,不阻塞 direct-PAPI 默认路径;#193 决定原生 list 覆盖,未支持范围不能默默丢功能。
切分
- 使用
lynx-bundle-size/inventory.mjs与core-switch.mjs更新同一 app 的 raw/gzip/Brotli、实际 Lepus bytecode、MTS/BTS reachable-module 列表。移除未使用的 universal interpreter、重复 validation/legacy handshake、可选 worklet/runtime graph;按真实引用移除,不靠 marker 字符串命中推断全部语义。 - 单独 PR 打开已证明覆盖的 compiler/core defaults;保留版本化、可诊断且有明确范围的 fallback/opt-out。打包外部 consumer 验证 published source、双图消重、HMR/代码分割及降级行为。
验收
- 列出 public semantic coverage matrix:hooks/refs/effects、context、Suspense/Activity/portals、worklets、native lists、error/abort/cleanup、first screen/adoption。默认路径不能比原版少行为。
- 重量目标沿用 Roadmap: replace the universal-renderer target for Lynx with a Lynx-specialized compiler and renderer #58 的相对原则:同功能同压缩口径下 ≤1.5× 当期 ReactLynx/Vue comparator 中位数;约 51KB 是历史参照,不是新固定常数。另列 encoded bundle/bytecode,不拿 gzip 推断设备 eval。
- 体积下降不能以 emitted code 随 host 数无界膨胀换取;测试不同 static-node/shape 数、重复组件与 lazy chunks。
- cold FCP、ready、first tap、steady-state 全矩阵对默认构建复验;开关性能不是默认性能。
- 停用旧 universal Lynx ABI 的清理复用 Retire the Lynx-only surface from the universal ABI once a background core stops speaking it #117,在消费者迁移证明之后另行删除。
通用合并与证据契约
- 保持 Octane 的 hooks、refs/effects、原生事件、Suspense/Activity/portal、reject/abort 与 cleanup 语义;适用模式必须覆盖。共享两条路径时使用同一语义实现,并加独立的用户可观察断言,不能只做 differential 对比。
- 每个优化 PR 带 baseline/candidate 的精确 SHA、生产 bundle hash、机制命中/回退原因、同窗口 AB/BA 原始样本及成本归属;profile 负责解释,未插桩生产产物负责 headline。未测到的收益标为 hypothesis。
- 先拿到相关 owner 数据,再实现一个机制一条 PR;正确性与 current-head CI 通过才算交付。记录对冷启动、另一线程、GC、内存和 bundle 的成本转移。
由 agent 根据 #281 的后续规划请求创建。
Activity
Huxpro commentedon Sep 8, 2026
M3 default-path audit is now in ready PR #308 at exact head
a13e6ed851091891fd10b4805826cdf5d2b73acf.This slice deliberately does not flip the product default. It adds a reproducible production ledger and records the blockers instead:
sharedinstead of nondeterministically moving between MTS/BTS based on discovery order; two repeated production builds produced identical per-group ledger hashesLocal evidence: four-arm controls green; current inventory emitted; repeated ledger determinism green; 67/67 targeted Lynx/Rspeedy tests green; exact-base
pnpm syncclean. PR is now running full exact-head CI. #290 remains open for graph reduction, semantic closure, cutover, external-consumer verification, and default-build Native performance acceptance.Huxpro commentedon Sep 8, 2026
Audit slice merged via #308 as merge SHA 57b77fd.
This closes only the reproducible inventory/default-path audit slice. #290 remains open: the relative size gate still fails and the Block semantic/product cutover gaps recorded above remain blockers.
Huxpro commentedon Sep 8, 2026
Passive-effect semantic slice merged via #309 as merge SHA
e8c2e0ad47fb93aa0edfaf0100abbcd0bb3db3a1.1b361f99f1ec2f47580094d1133e5074fdad51c7passed the complete ready-state CI matrix: https://github.com/Huxpro/octane/actions/runs/34217969632createUniversalHookScopenow keeps layout and passive cleanup/create in distinct phases. The Block background core publishes passive work only after host acknowledgement, asynchronously from layout, flushes it before the next render and unmount, and does not strand it when a layout task throws.This closes only page-component
useEffectcoverage. Insertion effects remain explicitly refused; keyed-row/native-list effect ownership and the other audit blockers remain open. The product default is unchanged and #290 stays open for full semantic closure, graph reduction, external-consumer fallback proof, the relative size gate, and default-build Native performance acceptance.Huxpro commentedon Sep 8, 2026
ACK/abort correctness is now isolated in PR #310 at exact head
0fc05692eb2e6b62a0981e4f94244522775b9ca0.The Block path now treats the native ACK as its publication boundary:
context.commit()receive the same rollback journal.Self-review found and fixed a second-order unmount hole before opening the PR: the background
mountedpointer and derived hook-scope disposal had been clearing before ACK. The regression now rejects an unmount frame, proves the same program performs an empty update rather than a duplicate mount, then accepts a later unmount.Evidence:
pnpm sync, and production build controls pass;Machine-readable receipts are SHA-256
9d52233ec7bd910c09f69ce4fcc8d20e9c648d27e2281bc7ae17b0a7a9b78775(core switch) and775ffd32be3e186e9eb6ade8a1445e9f4b0dc6464be7084c4dd65286e5f2db85(full AB/BA output). Clean current-head CI is running; #290 remains open after this PR because the broader Block capability/default-flip gaps documented in the prior audit remain.Huxpro commentedon Sep 8, 2026
M3 focused delivery update — ACK/reject rollback semantics landed, but the default gate remains open:
new-lynxas72eceb9e90303b0b6ee73492e548e5e042061523(exact PR head0fc05692eb2e6b62a0981e4f94244522775b9ca0).34227701371completed green after an isolated rerun of React parity shard 3/4. The first attempt's only source failure was the untouchedinput-otppristine React oracle's asynchronous selection test; the same base file had passed the immediately preceding merged-main run, and the isolated same-head rerun plus parity coverage aggregate passed. Merged-main push run34229830401then passed every required job without failures.9d52233ec7bd910c09f69ce4fcc8d20e9c648d27e2281bc7ae17b0a7a9b78775. Universal: 578,211 raw / 204,049 gzip. Block: 462,746 raw / 174,835 gzip. Decoded Block ownership is 57,528 gzip BTS + 117,156 gzip MTS; MTS is byte-identical to universal. The stronger abort contract costs +981 gzip BTS versus the prior Block baseline while retaining a 29,596 gzip reduction versus universal.775ffd32be3e186e9eb6ade8a1445e9f4b0dc6464be7084c4dd65286e5f2db85; ranges overlap and update-storm/clear move in opposite directions, so no speed claim is made from that noisy diagnostic.Huxpro commentedon Sep 8, 2026
M3 resident-driver CPU slice merged via #311 as merge SHA
f7d8c56c8514bed375927730533d18c8c7c3e909(exact PR headf01235078e061b31ca56eae8b87e354936e93434).Upload React parity Vitest shard reportfailed while FinalizeArtifact returned intermediary HTTP 403; the same merge SHA's failed chain passed on attempt 2.UniversalProgramPlanand execute the emitted straight-line.rundriver. The descriptor interpreter remains the diagnosed fallback for an unavailable/incompatible driver.setEvent; fault regressions prove mutate-then-throw cleanup.[1240,1201,1276,1186,1185]ms (median 1201), candidate[1074,1189,1163,1193,1095]ms (median 1163), candidate/base 0.96836 (-3.2%). Supporting Web ratios at 1k/3k/5k/10k were 0.940/0.962/0.938/0.974.This is a measured default-path CPU improvement only. It does not close the semantic coverage matrix, the bundle gate, external-consumer cutover proof, or default-build Native acceptance. No product default was flipped and #290 remains open.
Huxpro commentedon Sep 8, 2026
M3 #193 recycle-side experiment completed as a measured NO-GO (full evidence in the new #193 comment).
setClassescalls across the base population; attributes stayed at 4/cell.Per the M3 acceptance rule, this is not counted as progress and no PR/branch was published. It avoids shipping a size regression for noise-level CPU movement. The next #193 work stays on the distinct compiled materialization/program-per-cell half; #290 remains open.
Huxpro commentedon Sep 8, 2026
M3 follow-up: the local #193 Layer-1 compiled-cell consumer is NO-GO and will not be pushed. Native Explorer 4.1 proved the row address and straight-line program are present and
addressedProgramRuns=1is negotiated, but native-list rows have no ordinary placement, so universal-core drops their otherwise-successful program manifests (prepared batch programs=0). The wire remains expanded (1,402 commands/100 rows; 140,002/10k), andlistProgramCellRuns=0. A 10k real callback window still used 63 generic element creates for 9 cells. This is an unreachable consumer plus ~0.75–0.95 KiB gzip, not a performance win. Detailed evidence and the required producer-side next slice are recorded on #193.Huxpro commentedon Sep 8, 2026
M3 #193 producer follow-up 结论:NO-GO。
本地未推送 090ce90 证明了 async-readiness 首批 native-list proof 可以安全转成 dense deferred addressed runs;287 个相关测试和 source typecheck 通过,体积仅 +187 gzip。但正式 create@1000 发生在 rows=0 空壳之后的第二批,候选在空壳 prepare 时已关闭 proof,未命中被计时路径。
因此 Native 5×AB/BA 的 1135→1121 ms(0.988x)及 Web 1k/3k/5k/10k 的 0.984x/1.010x/0.982x/1.037x 均按噪声处理,不计路线收益。Native 原始 receipt sha256 47b94c9d5bd829b20175f455d290a28f2832d9319aebcaeec1d77ba0d37262d2;完整归因见 #193 最新评论。候选不推送、不建 PR,#290 保持 open。下一步回到 readiness-known 的 direct deferred producer 与第二批 CPU 分解,避免重复已落地机制。
Huxpro commentedon Sep 8, 2026
Correction to the previous #193 producer conclusion: the
lynx-tableworkload used there renders rows as ordinary<view>hosts, not native<list-item>cells. Its rows=0 → create behavior therefore could not decide the native-list producer/consumer path. Treat the earlier “producer misses the timed second batch” statement as scoped to that table fixture, not as a #193 Layer 1 verdict.The corrected real Native
<list>probe first found and fixed an ACK semantic bug (OL079after eager→deferred compaction). The producer/transport fix is merged in #312 as57e4f2dfbf2e245ef9b8cef1ec05662619840e4a, with both exact-head and merge-SHA CI green. The compiled-cell consumer is ready PR #314 at963dbe12f20ad5855f34ad530ef91e976a83b8a6.Measured Layer 1 result on Android Aries 10 / Explorer 4.1 / thermal 0:
f7d8c56c8; consumer-only controlled core-switch cost is +962 gzip over perf(lynx): retain initial list program proofs #312.Receipts: cold SHA-256
3a53c82240e027e3967fd2fe85d3f33e976efcabc59514fec720acfdbc7c1c6e; steady file SHA-25610fa4b3f3a547ac8fc146ed0c30e11e5ca21a706ff911bcc4812c97d562f1843; exact core-switch SHA-256d1528980b5b8e1c859fe2add693da1853634f8a8278d7763f8458cf672d59176.This is a GO for #193 Layer 1, pending #314 CI. It is not M3 completion: #290 stays open because the 177,748-gzip
block+programartifact still fails the 81,484.5-byte gate, the broader semantic/default matrix remains incomplete, and Layer 2's platform API is unresolved.77 remaining items
Huxpro commentedon Sep 11, 2026
Landed via #355.
d8e327fa0b720faf4f0e34c376079e3bdfb7da67new-lynx:994080cfbc995d6fd104e2ca23a568c6c7a3829bThe dual-thread application graph now exposes a separate, immutable feature/role ledger alongside semantic requirements and resident-program coverage. No runtime selection or performance claim was made in this slice; the next PR will consume all three proofs with a conservative support matrix.
Huxpro commentedon Sep 11, 2026
Ready: fail-closed Block eligibility selector (#356)
PR #356 now consumes the three independent application-graph proofs without changing the selected runtime:
new-lynx@994080cfbc995d6fd104e2ca23a568c6c7a3829bc2d4242af7fe88e3c9dc0279e45c7ff326849b83octane:lynx-block-selectionmetadata on the generated main-thread assetSelf-review found that the v1 feature ledger was not sufficient for a positive verdict: structural program addressing represents every slot hole as a range, so it cannot distinguish scalar text from ordinary component/directive/renderable values. The PR therefore upgrades the neutral compiler/Rspack/Rspeedy feature contract to v2 and records ordinary components, fragments,
@if/@switch/@try/Activity, bare renderable holes, and nativelist/list-item. All currently fail closed; the top-level keyed-row component remains owned by the existing keyed-range proof to avoid duplicate rejection.Local evidence:
eligible:trueeligible:falsepnpm sync, and clean diff passThis is advisory build evidence only: emitted application JavaScript, compact graph selection, default core, bundle-size headline, and runtime behavior are unchanged. Current-head CI is running; the next focused slice must consume this report in product selection and prove capability/static fallback plus external-consumer behavior before cutover.
Huxpro commentedon Sep 11, 2026
PR #356 current-head update:
8c991995ab4e7835ed88be36c4547e1c19fc87fc.The pre-merge Block refusal audit found one distinction that resident-program coverage alone cannot prove: the first-screen resident program accepts a native event binding on its root, while the Block program deliberately refuses that root binding because the root is the node its parent inserts. Feature requirements v2 now records
program-root-eventfrom the compiler's finished plan root and the selector fails closed at the exact authored site. Ordinary hostrefis also retained explicitly (host-ref); host spreads remain an existing main-thread compile error.Additional exact-head evidence:
pnpm syncandgit diff --check: passThe earlier head's CI completed green, but it is now superseded. Current-head CI must pass before merge.
Huxpro commentedon Sep 11, 2026
Landed the fail-closed Block eligibility selector in #356.
Exact evidence:
8c991995ab4e7835ed88be36c4547e1c19fc87fcnew-lynx:22a2bde6ef30097524d463e8390ae9c2042be959The correction before merge made
host-refandprogram-root-eventexplicit template feature requirements. This is required even when resident program coverage is complete: a root event can be supported by the resident first-screen program but rejected by the Block template program because its root is parent-inserted. The selector therefore remains conservative across both program coverage and the distinct template-feature ledger.Scope: this slice is advisory metadata and selection logic only. It does not change the default core, generated JavaScript, or runtime behavior, so it makes no performance claim. The next dependency is automatic availability of the main-thread program backend in a normal application build; without that, an omitted-config build cannot produce the paired coverage required for a truthful default selection.
Huxpro commentedon Sep 11, 2026
Ready: default resident-program backend (#357)
PR #357 removes the omitted-config gap that kept #356 eligibility evidence empty in an ordinary application build:
new-lynx@22a2bde6ef30097524d463e8390ae9c2042be95947cbe2d360ede26df01b0c93406da66e80a6555a{ request, signature }reference, so Rspack worker compilation remains available; each worker loads and verifies the renderer modulemainThreadProgramBackend: falsepreserves the full command-path control, whileprogramAddressing: falsepreserves compiled programs with descriptor transportLocal evidence:
src/BlockEligible.tsrxprogram address in both decoded thread programs with no manual backend optionpnpm sync, formatting, changeset, and clean diff pass/data00/home/xuan.huang/.codex/tmp/m3-default-backend-core-switch.json; BTS gzip 85,467 / 54,193 / 54,193 / 54,263 B and MTS gzip 104,369 / 104,369 / 105,389 / 105,730 B across universal / Block / Block+descriptor / Block+address, with program counts 0/0/1/1 and all identity assertions passingThe one-shot build durations in that receipt are not treated as a latency experiment. This PR does not flip the background core or make a runtime performance claim; it supplies the normal-build compiled/addressed evidence needed for the next static selection slice. Draft current-head CI is starting.
Huxpro commentedon Sep 11, 2026
PR #357 current-head correction:
fb55967c0e366fa7353ebcd01bd8cfd084a01a70.The first ready CI run correctly exposed an old Octane integration assertion that still required a described-but-unemittable Lynx plan to throw. That is incompatible with making this backend a normal build default: the exact emitter probe now declines the plan before a positional program exists, and the command-path encoding must remain byte-identical. The integration test now asserts that exact fallback and template encoding.
Correction evidence:
pnpm sync, targeted formatting, and clean diff passThe superseded CI failure was 1 assertion among 7,110 tests in its shard, with 7,109 passing. A fresh complete current-head matrix is now required before merge.
Huxpro commentedon Sep 11, 2026
PR #357 current-head correction:
35c0eed91972b0a356707a1bf4e3a4baa9e78a5e.The previous exact-head run was green in every implementation/typecheck/test shard; the browser lane’s 26 files / 127 tests also passed, then its real Lynx-for-Web profile smoke failed because the normal build now executes a resident emitted program and the gate required only the interpreted
applier walkbucket.The correction keeps the 40% unmatched ceiling and requires either
applier walkorcompiled program create. It also re-derived probes from the current production-minified script so the caller fallback attributes only the two actual emitted frames, not the resident-address lookup, dense-span selector, visitor, or profile-injected PAPI wrappers.Local exact CI commands passed: FCP smoke painted 1,000 rows with no DNF; the 3-repetition profile had 16.9 ms named median, 7.615 ms unmatched median / 31.1% unmatched-share median, and 1.714 ms in
compiled program create. These are CI smoke/attribution values, not a latency claim. The 37 focused profile tests pass, as dopnpm sync, formatting, andgit diff --check.New exact-head CI: https://github.com/Huxpro/octane/actions/runs/34578845001
Huxpro commentedon Sep 11, 2026
Landed the default resident-program backend via #357.
Exact evidence:
35c0eed91972b0a356707a1bf4e3a4baa9e78a5enew-lynx:22dc9014bc3572c8cc04889a396f6d5428fc96d7The exact-head rerun was limited to an infrastructure-only React parity failure: ANSI progress output contaminated its JSON report on attempt 1; shard 3/4, aggregate coverage, and provenance all passed on the same head in attempt 2. Both the PR and merged-main browser lanes independently passed 26 files / 127 tests, the 1,000-row no-DNF FCP smoke, and the resident-program-aware MTS attribution gate.
Normal dual-thread application builds now compile and address eligible first-screen programs through the serializable renderer-owned backend, including Rspack workers and packed external consumers. Explicit command-path and descriptor-transport controls remain. This slice still leaves the background core universal and makes no latency claim; the next focused PR consumes the landed three-proof selector to choose one static compact core or fail closed to universal.
Huxpro commentedon Sep 11, 2026
Draft: automatic fail-closed Block product selection (#360)
Exact base:
new-lynx@22dc9014bc3572c8cc04889a396f6d5428fc96d7Exact head:
c1bba5e88a3334539b0acf69305f554bdfff3a1cThis slice consumes the landed three-proof selector in the same compilation. Omitted
corechooses Block only for an eligible one-shot production application; development/watch, missing/incomplete/unsupported graphs, and a mixed multi-entry application remain universal. Explicit universal/block controls remain. The plugin rebuilds the tiny background-root selection dependency and authenticates its final edge before it publishes versioned decision metadata.The
lynx-tablegraph initially failed closed becauseuseCallbackanduseRefwere not in support-matrix v1. Both already execute through the shared universal hook scope on Block; independent tests now prove ref identity/value persistence and callback dependency reuse/invalidation, so matrix v2 admits them without new runtime semantics.Local evidence:
0e143ebdcd104ab001a5dab772c2c7be3f3fface09f9dde6b46e0f0ef05c5bf6pnpm sync, format, diff checks, and Lynx production/testing/typetest types passNo latency claim is made from build duration.
pnpm typecheck's only terminal error was the untouched PDF lane resolving two incompatible Vitest peer graphs; exact-head CI is the full authority. PR remains draft until review is complete, then it will require the full ready-state exact-head matrix before merge.Huxpro commentedon Sep 11, 2026
#360 final-head correction and product-path Web matrix
Exact base:
22dc9014bc3572c8cc04889a396f6d5428fc96d7Exact candidate:
d329b16e66b76687e1f541c4361b6deddad0f228The first Native candidate at
96a245d2d5bae727ff5713c2a52c4fcb75e73fb5was a real DNF, not a timing sample. Its exact base completed, while the automatic candidate failed at startup. Debug-info reconstruction placed the top frame at Block commit tracking'sPromise.allSettled; the official Lynx background runtime is ES2015 and does not list that ES2020 method.735aba70e06b2b09cf789db2ce4320f609e88e05replaced it with rejection-settledthenchains and added an independent no-allSettledrender/flush regression. That head's CI is 26/26 green: https://github.com/Huxpro/octane/actions/runs/34587528758Profiling then exposed a separate default-path clear regression: automatic sent 5,000 host commands for 1,000 rows while universal sent one. The final head preserves each complete Block allocation range as the already-supported
destroy-run; fragmented histories split only at real allocation holes. Dense, appended, fragmented, background transport, host/client acknowledgement, and stream-differential tests all pass. The profile replication now observes one background command and one main command for automatic clear.Exact final-head artifacts
2c8427edff2a218c35cc4c8e0050139b44d41de70455eaf5e6c49cf90dcd7825601f985b54733ea06b23b8590b801b7b1ab5dbdd15e8e662a87a9a5da492399d772d0f2a4f86caffd5e2ec7e2b209ed3fd5ca7164dbfc2062c721551beb154a1181fa1ac3e3ae9d7a59bba5f782196d00c8d644105d9049b56bde7e456b1f32fShipping Web, same window
1,000 rows, n=7, interleaved AB/BA, 0 DNF; 32× Intel Xeon Platinum 8336C; load start 1.86/1.67/1.29, end 2.31/1.80/1.35;
@lynx-js/web-core0.22.2; comparator sourcevue-lynx@02376ecd1cd62d3797ff1de1209d82dc2f9d91d9.Raw samples in operation order
[create, update10th, select, updateStorm, selectStorm, clear]:{ "universal": [[120.8,128.3,125.7,117.7,141.1,119.9,114.4],[26.4,29.2,28.7,32.2,28.9,23.8,23.3],[18.3,18.2,18.5,19.5,20.2,15.2,21.0],[79.9,94.2,88.3,96.1,79.7,79.4,110.7],[20.1,28.6,16.7,20.3,20.5,18.4,20.0],[21.6,23.9,32.0,21.1,23.6,26.0,28.3]], "automatic": [[101.0,99.2,105.0,100.7,97.5,102.0,97.0],[18.1,17.8,27.2,15.0,14.1,25.7,28.1],[18.5,14.1,19.5,18.8,20.1,21.1,20.3],[43.0,41.6,43.6,45.7,46.2,45.6,46.0],[22.7,22.7,23.1,25.2,25.4,26.3,26.5],[16.6,22.0,27.4,16.5,16.7,15.6,15.5]], "vue-vdom": [[154.8,159.1,161.8,160.7,158.2,149.4,161.8],[23.0,22.3,26.6,20.9,22.0,13.4,22.2],[19.1,17.4,16.2,15.6,20.0,20.3,20.4],[114.0,128.6,121.7,108.8,112.8,116.4,116.3],[55.6,67.2,66.7,55.0,56.4,55.3,57.3],[25.6,23.2,34.2,25.1,21.6,20.5,27.1]], "vue-vapor": [[161.1,184.5,190.0,170.0,164.1,163.7,166.6],[18.5,17.9,16.9,20.2,18.1,20.1,20.5],[19.8,18.3,17.9,19.1,20.1,21.2,20.3],[46.3,45.0,48.0,48.6,47.3,48.9,46.7],[22.4,20.1,20.6,22.8,24.3,22.8,22.6],[26.8,24.4,23.9,26.1,25.8,25.0,26.3]], "react": [[133.2,125.6,137.6,133.1,136.7,130.3,127.8],[32.0,31.9,36.4,31.9,31.4,18.8,22.8],[19.8,16.3,17.3,20.8,18.3,20.6,20.6],[427.9,438.3,426.3,445.6,429.5,430.5,428.9],[169.5,184.9,178.6,188.3,171.9,172.3,176.6],[27.4,32.0,32.2,30.2,30.7,27.1,29.4]] }The Web storm rows are disclosed but are not equal-work device claims: the profile window shows automatic performed two effective commits/four updates, while universal scheduled nine passes, eight empty, and published two final updates. Native's storm recipe uses a flush plus frame barrier per tick. The final exact-head Native 5× AB/BA matrix is still pending Sandbox capacity and remains a merge gate.
Local gates on the final head: full Lynx 56 files / 984 tests; focused host/protocol 6 files / 269 tests; benchmark stages 237 tests; Lynx production/testing/typetest types; sync/format/diff all green.
Current exact-head CI: https://github.com/Huxpro/octane/actions/runs/34589099633
Huxpro commentedon Sep 11, 2026
Final evidence-only commit correction: PR #360 now points at
cf1018a051cd14b2c384ed0541b0ee5ee1789970. It adds the checked-in raw fresh-page record generated from the already-builtd329b16e66b76687e1f541c4361b6deddad0f228runtime candidate; no runtime/build input changed, so the recorded bundle hashes remain exact for the final tree.Record:
benchmarks/lynx-table/stages/results/issue290-default-final-production-ab-1000.jsonIt proves all-row FCP/settled parity rather than a speedup: candidate 151.3 ms versus base 150.7 ms (1.004×; overlapping ranges), identical final row/count/checksum semantics, and candidate Web bundle 433,485 B versus base 552,965 B.
Exact-head CI: https://github.com/Huxpro/octane/actions/runs/34589442011
Huxpro commentedon Sep 11, 2026
Final clean five-arm default-selection receipt on exact PR head
cf1018a051cd14b2c384ed0541b0ee5ee1789970:0da4f8c006ba1c4f0aed8bd504278c2e21c4a413fee0ae85e837f4dbf799da6bdirty: false); all controls passedautomaticis byte-identical to explicit Block + resident program:9dcd3c7c2b3e9f59d1f691a78ee23bc9ac2b5f5f68a65201ffd1e833185b83e04f3bbbb2d9707c2c2a77a5fe27e20208e1898d204e3fbfca16072d6eebfa2e5759144f94ca942701c331b02aa3be65abd3bcfae2bddd4235de8b155a3b9f07dbmode=automatic,selectedCore=block,eligible=true,reasons=[]Command:
OCTANE_AUDIT_BASE=HEAD OCTANE_CORE_SWITCH_OUTPUT=/data00/home/xuan.huang/.codex/tmp/m3-auto-block-core-switch-cf1018a05.json node benchmarks/lynx-bundle-size/core-switch.mjs.This closes the exact-head artifact-selection proof. Build duration is excluded from performance claims; current-head CI and the final leased-device AB/BA matrix remain the merge gates.
Huxpro commentedon Sep 12, 2026
Corrected Native product gate: automatic Block + compact product
The first automatic-only Native comparison was a real regression because the selected Block path still synchronously constructed the complete legacy command graph. A proposed first-tree manifest transport did not fix that owner: on the exact
#357control it leftstartup@1000at 2,606 ms versus 1,374 ms (about 1.90x), so that candidate is rejected and was not pushed.The product gate now absorbs the capability-minimal compiled application from #361 into #360, because automatic Block selection is not independently shippable while it retains legacy graph construction. Native validation also found and fixed two production correctness defects before timing:
Elementhandles as an engine-ownedunknownvalue, so compact adoption now rejects only nullish roots instead of requiring a V8 object;Exact Native AB/BA gate:
22dc9014bc3572c8cc04889a396f6d5428fc96d7(feat(lynx): enable default main-thread programs #357 merged default backend)25abe4d35e43d694bed1faf1adbf181bc6edd9352faa48cfdd243e6e052b1c31d3e65f9c6ab6523bCandidate bundle receipts: rows 0
184457 B, SHA-256e7fca720ee7225547a070006c2fa40eb0370c2baa4d040d362d16e2fa4e2f8ab; rows 1,000184752 B, SHA-256ab1732e414d6719f2daef9d3cc4591cbfb0447bc6891f403f2b19eb3c2dd8cea.Checked-in evidence:
benchmarks/lynx-table/stages/results/issue290-automatic-compact-product-native-ab-1000.json(formatted SHA-256aa2e766c3eac5695d2392a81b915dd9075ccdece997fb631b7c51717fe98cf61). Full Lynx validation is 57 files / 999 tests plus focused transport tests, production/testing typechecks, sync, and formatting. #360 current-head CI is still running; no merge claim is made until it is green.Huxpro commentedon Sep 12, 2026
#360 has now landed on
new-lynx.2faa48cfdd243e6e052b1c31d3e65f9c6ab6523bad000ef70c2ebe55ca308864f3b1dca24e1873f5This completes #290's normal-build automatic Block + resident compact-product delivery while retaining fail-closed fallback and explicit controls. The cross-framework, tail, lifecycle, and complete device qualification remain owned by #291.