The `Pre-publish benchmark gate` job's `1-file rebuild` regression check has been failing intermittently, by a razor-thin margin right around its 75% threshold, across many unrelated PRs recently (observed today on PR #2021, and per prior session notes also on #1992, #1998, #2000, #2002, #2012, #2013, #2014, #2018 — none of which touch anything plausibly connected to file-rebuild performance).
Example from PR #2021 (fix(native): thread config.db.busyTimeoutMs into NativeDatabase open factories — a PR with zero plausible connection to WASM rebuild timing):
- Run 1:
1-file rebuild: 112 → 202 (+80%, threshold 75%) and 113 → 198 (+75%, threshold 75%)
- Run 2 (rerun):
1-file rebuild: 112 → 201 (+79%, threshold 75%) and 113 → 205 (+81%, threshold 75%)
The baseline (~112-117ms) and measured (~198-209ms) values are both very small in absolute terms, so a few ms of CI-runner scheduling noise translates into large percentage swings right at the threshold boundary.
This is the same class of problem previously investigated and closed in #1855 ("perf: 1-file incremental rebuild regresses +79-81% (117ms -> ~209ms)"), #1864 ("CI: '1-file rebuild' benchmark baseline (117ms) appears stale against current runner performance"), and #1440 ("benchmark.ts incremental tiers lack warmup runs — CI jitter shows as 1-file rebuild regressions") — but it keeps recurring, suggesting those fixes didn't durably resolve the underlying measurement noise.
Suggested directions (not scoped/investigated here):
Filed per this repo's scope-discipline convention while triaging PRs #2021/#2022/#2024 — out of scope for those PRs' own content, but a real recurring CI reliability gap that shouldn't go untracked.
The `Pre-publish benchmark gate` job's `1-file rebuild` regression check has been failing intermittently, by a razor-thin margin right around its 75% threshold, across many unrelated PRs recently (observed today on PR #2021, and per prior session notes also on #1992, #1998, #2000, #2002, #2012, #2013, #2014, #2018 — none of which touch anything plausibly connected to file-rebuild performance).
Example from PR #2021 (
fix(native): thread config.db.busyTimeoutMs into NativeDatabase open factories— a PR with zero plausible connection to WASM rebuild timing):1-file rebuild: 112 → 202 (+80%, threshold 75%)and113 → 198 (+75%, threshold 75%)1-file rebuild: 112 → 201 (+79%, threshold 75%)and113 → 205 (+81%, threshold 75%)The baseline (~112-117ms) and measured (~198-209ms) values are both very small in absolute terms, so a few ms of CI-runner scheduling noise translates into large percentage swings right at the threshold boundary.
This is the same class of problem previously investigated and closed in #1855 ("perf: 1-file incremental rebuild regresses +79-81% (117ms -> ~209ms)"), #1864 ("CI: '1-file rebuild' benchmark baseline (117ms) appears stale against current runner performance"), and #1440 ("benchmark.ts incremental tiers lack warmup runs — CI jitter shows as 1-file rebuild regressions") — but it keeps recurring, suggesting those fixes didn't durably resolve the underlying measurement noise.
Suggested directions (not scoped/investigated here):
Filed per this repo's scope-discipline convention while triaging PRs #2021/#2022/#2024 — out of scope for those PRs' own content, but a real recurring CI reliability gap that shouldn't go untracked.