From 8687b3807772b1a538bb57ec19bae2991b6ae929 Mon Sep 17 00:00:00 2001 From: JuliaEdom Date: Sun, 19 Jul 2026 16:27:52 +0300 Subject: [PATCH] ci(load-test): exclude live DuckDB files from artifact upload (flaky ENOENT) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The load-test job intermittently failed at "Upload load-test artifacts" with `ENOENT: ... agentflow-load.duckdb.wal`: DuckDB checkpoints and removes the .wal sidecar asynchronously, so it can vanish between upload-artifact's file scan and the zip step. Hit twice this session (PRs #208, #211), each cleared only by a rerun — a recurring false red on every PR and main push. Exclude the live DuckDB files (`*.duckdb`, `*.duckdb.*`) from the uploaded artifact. They are runtime state, not debug output (results.json, stats and api.log are kept), so the step is now deterministic instead of racing the checkpoint. Co-Authored-By: Claude Fable 5 --- .github/workflows/load-test.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/load-test.yml b/.github/workflows/load-test.yml index 8fb56f86..f051d122 100644 --- a/.github/workflows/load-test.yml +++ b/.github/workflows/load-test.yml @@ -69,4 +69,12 @@ jobs: uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: load-test-results - path: .artifacts/load/ + # Exclude the live DuckDB files: their .wal sidecar is checkpointed away + # asynchronously, so it can vanish between upload-artifact's file scan and + # the zip step, failing the job with ENOENT on `*.duckdb.wal`. The DBs are + # runtime state, not useful debug output (results.json / stats / api.log + # are). This makes the step deterministic instead of racing the checkpoint. + path: | + .artifacts/load/ + !.artifacts/load/*.duckdb + !.artifacts/load/*.duckdb.*