From 0ecc5b0f04d37be2aaec56ff37d593ea6aa823fd Mon Sep 17 00:00:00 2001 From: Dragan Spiridonov Date: Tue, 13 Oct 2026 19:48:35 +0200 Subject: [PATCH] fix(ci): save the smoke report without running every plugin twice --- .github/workflows/all-plugins-smoke.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/all-plugins-smoke.yml b/.github/workflows/all-plugins-smoke.yml index f30ab91d29..d99e8820a9 100644 --- a/.github/workflows/all-plugins-smoke.yml +++ b/.github/workflows/all-plugins-smoke.yml @@ -65,7 +65,12 @@ jobs: # 60s (was timing out at 151s before SIGKILL). Most plugins # still complete in <5s; 300s protects against a genuinely-hung # smoke while letting the metaharness fleet finish. - run: node scripts/smoke-all-plugins.mjs --timeout 300 + # Save the report from the same execution. Re-running the whole fleet + # solely to obtain JSON can exceed this job's ten-minute deadline. + # pipefail preserves the smoke runner's failure exit through tee. + run: | + set -o pipefail + node scripts/smoke-all-plugins.mjs --timeout 300 --format json | tee /tmp/smoke-all-plugins.json - name: Mod secret screen — every copy matches the origin (ADR-445) run: node scripts/sync-mod-screen.mjs --check @@ -133,10 +138,6 @@ jobs: # plugin-qualified namespace. Reject standalone namespace references # that silently disable tools in plugin skills and agents. - - name: Upload machine-readable report - if: always() - run: node scripts/smoke-all-plugins.mjs --format json > /tmp/smoke-all-plugins.json - - uses: actions/upload-artifact@v4 if: always() with: