Skip to content

Prune unused compiled native-list support - #391

Merged
Huxpro merged 2 commits into
new-lynxfrom
huxcx/m4-no-native-list-291
Sep 15, 2026
Merged

Huxpro merged 2 commits into
new-lynxfrom
huxcx/m4-no-native-list-291

Conversation

@Huxpro

@Huxpro Huxpro commented Sep 15, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • add a fail-closed, versioned native-list feature decision to paired Lynx program coverage
  • replace the feature seam only for one-shot production graphs where every authored entry proves that neither thread uses native lists
  • guard compiled-program store preparation/rollback/disposal/deferred cells, first-screen list detection, and Element PAPI list adapter construction behind the static feature
  • keep the full implementation for development, watch, missing or unpaired facts, general applications, ineligible entries, and any native-list template

Advances #291.

Evidence

Exact rows=0 production artifacts compared with merged #390:

  • Web: 247,572 -> 233,029 bytes (-14,543, -5.87%), SHA-256 cb95cf60052274ac19a333632668a89be561ce518cf18c2f191ada9970e32b7a
  • Lynx: 246,798 -> 232,593 bytes (-14,205, -5.76%), SHA-256 707ea1eb77be8fe308fd2c75beadbef7f5881790bec75f8a338403fef17fe8a6

The actual production build test verifies the no-list fixture retains only the no-native-list feature module. A separate actual native-list build reports full with entry-requires-native-list; its list artifacts remain 217,751 Web / 218,306 Lynx bytes and retain native-list behavior.

This is a bundle result, not a #291 startup pass. The exact final artifact two-order seven-repetition pilot remained inconclusive/behind overall:

  • AB: Octane 33.3 ms, ReactLynx 33.6 ms
  • BA: ReactLynx 32.7 ms, Octane 34.8 ms

No formal 10-session run was started from this pilot. A separate 20-pair sourcemapped CDP attribution run localized remaining Octane main-thread self time chiefly to compiled first-screen/PAPI/application bootstrap; it is diagnostic-only and will drive the next focused optimization.

Validation

  • pnpm exec vitest run packages/lynx/tests packages/rspeedy-plugin-octane/tests --silent=false (91 files, 1,309 tests)
  • pnpm --filter @octanejs/lynx typecheck
  • pnpm typecheck:files with the changed production and rspeedy-plugin files explicitly selected
  • pnpm sync
  • pnpm format:files:check
  • git diff --check

The default diff-driven typecheck helper routes the changed Node-based runtime-compatibility test through the production tsconfig and reports missing Node globals; the package typecheck covers that test through tsconfig.testing.json and passes.

@Huxpro
Huxpro force-pushed the huxcx/m4-no-native-list-291 branch from d4ed4d8 to ddab1e3 Compare September 15, 2026 16:18
@Huxpro
Huxpro force-pushed the huxcx/m4-no-native-list-291 branch from ddab1e3 to 3c74beb Compare September 15, 2026 16:27
@Huxpro
Huxpro merged commit c8e46ec into new-lynx Sep 15, 2026
26 checks passed
@Huxpro
Huxpro deleted the huxcx/m4-no-native-list-291 branch September 15, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant