From 4a3cdd9849d88827f3a66b74ddbf26f272c57739 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Wed, 30 Sep 2026 18:09:08 +0200 Subject: [PATCH] Upload e2e artifacts from CI runs A flaky test that passed on retry left nothing to debug with. The fixture already drops passing tests' folders, so this stays small. --- .github/workflows/e2e.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index cd882bfdb..2585f0d13 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -46,3 +46,13 @@ jobs: - name: Run e2e tests run: npm run test:e2e + + # Kept for passing runs too: a test that passed on retry still leaves + # the failed attempt's logs and trace behind. + - name: Upload test artifacts + if: ${{ !cancelled() }} + uses: actions/upload-artifact@v6 + with: + name: e2e-artifacts + path: tests/artifacts + retention-days: 7