Skip to content

ci(benchmarks): gate Lynx stage instruments - #292

Merged
Huxpro merged 1 commit into
new-lynxfrom
test/lynx-stage-harness-ci-255
Sep 6, 2026
Merged

Huxpro merged 1 commit into
new-lynxfrom
test/lynx-stage-harness-ci-255

Conversation

@Huxpro

@Huxpro Huxpro commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • run the complete Lynx stage-instrument contract suite in the universal lint job on every current-head CI run
  • restore the isolated first-screen compilation fixture after the resident-program registry became a runtime dependency
  • pin the workflow wiring with a CI configuration regression test

Why

The stage analyzers turn raw Lynx measurements into ownership and performance claims, but their 18-file Node test suite was not executed by repository CI. Enabling it exposed a current-head failure immediately: the isolated main-renderer.ts fixture did not copy core/program-registry.ts, added by the resident-program work, so its first-screen compile check had already rotted.

This is the pure-contract half of #255. Browser/device collection smoke remains a separate M0 follow-up and is not claimed by this PR.

Changes

  • add pnpm --dir benchmarks/lynx-table test:stages to the always-run lint job
  • copy program-registry.ts into the isolated source graph used by the real TSRX/esbuild first-screen check
  • assert that the CI workflow retains the stage-instrument step

Validation

  • pnpm format:check
  • pnpm typecheck (not run; no TypeScript or public API changed)
  • pnpm test (the affected Node suites were run directly)
  • pnpm --dir benchmarks/lynx-table test:stages — 216/216 passed
  • pnpm ci:workflow:test — 110/110 passed
  • pnpm sync — clean apart from this focused diff
  • red/green: the new workflow assertion failed before the CI step; the stage suite failed 215/216 before adding the missing runtime dependency

Risk / follow-ups

Part of #255.

Provenance

  • An agent produced this diff (agent-authored)

@Huxpro
Huxpro marked this pull request as ready for review September 6, 2026 21:46
@Huxpro
Huxpro merged commit 1b44d99 into new-lynx Sep 6, 2026
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant