From 969cc07a5e813a34ad342c1e72159fd9af2c8463 Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 28 May 2026 00:35:20 -0700 Subject: [PATCH] [eric] ci: gitignore the per-run e2e trace dir and upload it as an artifact on every leg so a failed run is downloadable, not a black box --- .github/workflows/e2e.yml | 12 ++++++++++++ .gitignore | 6 ++++++ 2 files changed, 18 insertions(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 8ae52660..3cba9393 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -106,6 +106,18 @@ jobs: if-no-files-found: ignore retention-days: 14 + # Per-test traces: playwright-trace.zip (open via `npx playwright show-trace`), + # events.jsonl (unified timestamped stream), mousepath.jsonl, backend.log.tail. + # Always-upload so a failed run is debuggable without re-running. + - name: Upload E2E visibility traces + if: always() + uses: actions/upload-artifact@v4 + with: + name: e2e-traces-${{ matrix.os }} + path: e2e/traces/ + if-no-files-found: ignore + retention-days: 14 + # Real Windows 10 coverage. Skipped unless a self-hosted Win10 runner exists # and WIN10_SELF_HOSTED=true (repo variable). Mirrors the windows steps above. e2e-win10: diff --git a/.gitignore b/.gitignore index 271a2656..1d543a11 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,12 @@ .env.* !.env*.example .local-stash/ + +# Playwright e2e artifacts (per-run traces, screenshots, reports, raw results). +e2e/traces/ +e2e/playwright-report/ +e2e/test-results/ +e2e/results.json backend/data/** !backend/data/outputs/ !backend/data/outputs/*.json