Skip to content

ci: append benchmark results to storage as JSON lines - #10682

Merged
IWANABETHATGUY merged 1 commit into
mainfrom
ci/benchmark-storage-jsonl
Aug 18, 2026
Merged

IWANABETHATGUY merged 1 commit into
mainfrom
ci/benchmark-storage-jsonl

Conversation

@IWANABETHATGUY

Copy link
Copy Markdown
Member

The save step rewrote the whole 17 MB benchmark-node-output.json on every main push, and two concurrent runs silently lost one run's results (last push wins). This replaces the copy action with a script that appends the run as Entry-schema JSON lines (the format rolldown/metric's metric.json uses), dual-writes the nested JSON during the migration window, and pushes with a pull-rebase retry.

window-from-jsonl.mjs is the cutover piece and is not wired yet.

refs rolldown/benchmark-results-storage#2
refs rolldown/metric#468

@netlify

netlify Bot commented Aug 16, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit 3779b12
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/6a8444671317040008093867

The save step rewrote the whole 17 MB benchmark-node-output.json on
every main push, and two concurrent runs silently lost one run's
results (last push wins). This replaces the copy action with a script
that converts the newest github-action-benchmark entry into the Entry
schema rolldown/metric already uses, appends the lines to
benchmark-node-output.jsonl, dual-writes the nested JSON during the
migration window, and pushes with a pull-rebase retry.

window-from-jsonl.mjs is the cutover piece: it reconstructs a small
action data file from the jsonl tail, and gets wired once the dual-write
window closes.

refs rolldown/benchmark-results-storage#2

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@IWANABETHATGUY
IWANABETHATGUY force-pushed the ci/benchmark-storage-jsonl branch from ad0e6c7 to 3779b12 Compare August 18, 2026 11:39
@IWANABETHATGUY
IWANABETHATGUY marked this pull request as ready for review August 18, 2026 11:49
@IWANABETHATGUY
IWANABETHATGUY merged commit 712b864 into main Aug 18, 2026
71 of 80 checks passed
@IWANABETHATGUY
IWANABETHATGUY deleted the ci/benchmark-storage-jsonl branch August 18, 2026 12:49
IWANABETHATGUY added a commit that referenced this pull request Aug 19, 2026
The action only compares the new run against the previous entry, so it
does not need the whole 17 MB `benchmark-node-output.json` — a 50-run
window rebuilt from `benchmark-node-output.jsonl` is 38 KB and carries
the same information. With that in place the nested JSON stops being
written, and a push appends six lines instead of rewriting 17 MB.

The reconstructed entries keep only the commit id and url, so the
previous run's author and message render blank in the job summary.

`benchmark-node-output.json` stays in the storage repo, frozen. Deleting
it would reclaim nothing because the blobs stay in history.

refs #10682
@rolldown-guard rolldown-guard Bot mentioned this pull request Aug 19, 2026
shulaoda added a commit that referenced this pull request Aug 19, 2026
## [1.2.5] - 2026-08-19

### 🚀 Features

- bench: record per-suite peak memory in the node benchmark (#10704) by @IWANABETHATGUY
- binding: allocation-tracking global allocator behind the `tracking_allocator` feature (#10703) by @IWANABETHATGUY
- add armv7 android (armv7-linux-androideabi) support (#10691) by @shulaoda
- add `NAMESPACE_CONFLICT` warning for conflicting star re-exports (#7452) by @AliceLanniste

### 🐛 Bug Fixes

- rolldown_plugin_vite_reporter: avoid ANSI erase-line escape in non-TTY output (#10692) by @shulaoda
- rolldown_plugin_vite_resolve: preserve Yarn PnP virtual importer (#10591) by @Freakazo
- exclude hash placeholders from case-insensitive filename deconfliction (#10590) by @Nic-Polumeyv
- code-splitting: fold already-loaded side-effectful libraries into eager entries (#10645) by @JoviDeCroock
- dev: flush re-emitted assets when their content changes (#10637) by @btea
- renamer: rename nested `require`/`__filename`/`__dirname` bindings in CJS output (#10655) by @marcoroth
- silence two wasm-only warnings (#10668) by @IWANABETHATGUY

### 🚜 Refactor

- skip case folding for filenames with hash placeholders (#10689) by @hyfdev
- code-splitting: remove redundant synthetic statement owner (#10503) by @hyfdev
- renamer: move the cjs check into `rename_bindings_shadowing_cjs_ambient_names` (#10672) by @IWANABETHATGUY

### 📚 Documentation

- agents: point the never-edit list at the binding files that exist (#10719) by @melbinjp

### 🧪 Testing

- deconflict: pin renaming the external process binding away from the global (#10702) by @hyfdev
- dev: expect a hot update across a circular import (#10700) by @hyfdev

### ⚙️ Miscellaneous Tasks

- deps: upgrade oxc to 0.146.0 (#10707) by @Boshen
- deps: update rust crates (#10684) by @renovate[bot]
- deps: update npm packages (#10685) by @renovate[bot]
- build the benchmark comparison window from the JSON lines (#10701) by @IWANABETHATGUY
- wasi: retry the Node Test step to absorb the shared-dlmalloc flake (#10699) by @hyfdev
- append benchmark results to storage as JSON lines (#10682) by @IWANABETHATGUY
- deps: update github actions (#10683) by @renovate[bot]
- deps: update dependency rolldown-plugin-dts to v0.28.2 (#10679) by @renovate[bot]
- deps: update dependency rolldown-plugin-dts to v0.28.1 (#10674) by @renovate[bot]

### ❤️ New Contributors

* @melbinjp made their first contribution in [#10719](#10719)
* @Freakazo made their first contribution in [#10591](#10591)
* @marcoroth made their first contribution in [#10655](#10655)

Co-authored-by: shulaoda <[email protected]>
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