From df6801ea4fc25a6769c9375305d79ef5346dcfc1 Mon Sep 17 00:00:00 2001 From: DJ Majumdar Date: Wed, 18 Mar 2026 03:51:55 -0700 Subject: [PATCH] fix(ci): capture benchmark output from stderr in workflow Criterion 0.5 writes bencher-format output to stderr. The previous 2>/dev/null discarded it, leaving bench-output.txt empty and failing the benchmark-action timeline step on first run. --- .github/workflows/benchmarks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index b0fcd6a..60c897e 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -29,7 +29,7 @@ jobs: run: cargo install critcmp - name: Run benchmarks - run: cargo bench --all-features -- --save-baseline current --output-format bencher 2>/dev/null | tee bench-output.txt + run: cargo bench --all-features -- --save-baseline current --output-format bencher 2>&1 | tee bench-output.txt # ── Push to main: update timeline + cache baseline ──