Skip to content

bench(lynx): check in device rounds 2–3 evidence and harden the runner - #244

Merged
Huxpro merged 6 commits into
new-lynxfrom
huxcx/perf-lynx-device-round2
Aug 30, 2026
Merged

Huxpro merged 6 commits into
new-lynxfrom
huxcx/perf-lynx-device-round2

Conversation

@Huxpro

@Huxpro Huxpro commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Checks in the device evidence the campaign has been citing from an unpushed branch, plus the gate's runner fixes.

Evidence records (benchmarks/lynx-table/stages/results/)

Every record embeds its lease acquisition/release receipt; all pass the evidence-writer byte-identity gate.

Runner/instrumentation

issue194-device-run.mjs, issue194-native-instrument.mjs, build-app.mjs patches, and the README protocol section, with four gate fixes (review at high over the runner surface):

  • logcat ring eviction of the measurement marker fell back to the empty string, discarding exactly the ART-dump evidence the snapshot delay exists to capture; the full dump is the correct fallback since the buffer is cleared at window start;
  • the single-workload path attributed interaction records by unstable array offsets; it now matches by version/workload/scale like the create-clear-recreate path;
  • the disableDevTool call-site injection gained the missing/ambiguous anchor check every other patch already has;
  • BENCH_DEVICE_MESSAGECHANNEL_FALLBACK + BENCH_ISSUE194_NATIVE now fails fast instead of dying later on a misleading missing-anchor error.

Also rewrites the stale issue57-clear-teardown.json (dcf94cf/octanejs#762 writer drift, recorded in #230) through the evidence writer — values unchanged — restoring the stage suite to 112/112.

Validation

node --test stage suite 112/112; node --check on both runners; scoped Prettier clean; pnpm sync clean. No framework sources touched. CI note: the Actions runner pool has been starving queued runs since 03:06Z across all branches; per the #103 protocol this PR's done-ness rests on the local validation above, reconciled when the pool recovers.

🤖 Generated with Claude Code

https://claude.ai/code/session_01YHfFsy9CLaRovTFH8pTGyY


Generated by Claude Code

Huxpro and others added 6 commits August 28, 2026 08:32
…chor drift

Gate fixes for the round-2/3 device tooling, none touching the recorded
evidence:

- A crash's multi-megabyte ART dump can evict the measurement marker from
  the logcat ring; falling back to the empty string discarded exactly that
  evidence and rejected valid crash samples. The buffer is cleared at
  window start, so the full dump is the correct fallback.
- The single-workload path attributed interaction records by array offsets
  its own comment calls unstable across snapshots; it now identifies them
  by version/workload/scale, the way the create-clear-recreate path
  already does.
- The disableDevTool call-site injection silently no-oped if its anchor
  drifted, building a preflight bundle whose failure blamed the device;
  the anchor is now checked like every other patch in the file.
- BENCH_DEVICE_MESSAGECHANNEL_FALLBACK combined with BENCH_ISSUE194_NATIVE
  patched the same anchors twice and failed with a misleading
  missing-anchor error; the combination now fails fast with the reason.

Also rewrites the stale issue57-clear-teardown record through the
evidence writer (values unchanged), restoring the byte-identity gate to
112/112.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YHfFsy9CLaRovTFH8pTGyY
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.

2 participants