From d27e1bba1df381a47055289dc65c23604b893dd3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 29 May 2026 08:29:40 +0000 Subject: [PATCH 1/3] Initial plan From 8bf2c6dca011f03aa7cb6c3749456735c0e5008f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 29 May 2026 08:32:35 +0000 Subject: [PATCH 2/3] ci(e2e): upload website/backend container logs on failures --- .github/workflows/e2e.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 5eb1736cd..7d78149b5 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -70,6 +70,20 @@ jobs: env: BACKEND_URL: http://localhost:9021 + - name: Collect website/backend container logs + if: ${{ failure() && !cancelled() }} + run: | + mkdir -p /tmp/container-logs + docker compose -f ../docker-compose.yml logs --no-color website > /tmp/container-logs/website.log || true + docker compose -f ../docker-compose.yml logs --no-color backend > /tmp/container-logs/backend.log || true + + - uses: actions/upload-artifact@v7 + if: ${{ failure() && !cancelled() }} + with: + name: container-logs + path: /tmp/container-logs/ + retention-days: 30 + - uses: actions/upload-artifact@v7 if: ${{ !cancelled() }} with: From 80fd2b57c1ef05afe09be95a68788a50eefc10c1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 1 Jun 2026 07:33:45 +0000 Subject: [PATCH 3/3] ci(e2e): capture logs for all compose containers --- .github/workflows/e2e.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 7d78149b5..41e667a43 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -70,12 +70,14 @@ jobs: env: BACKEND_URL: http://localhost:9021 - - name: Collect website/backend container logs + - name: Collect container logs if: ${{ failure() && !cancelled() }} run: | mkdir -p /tmp/container-logs - docker compose -f ../docker-compose.yml logs --no-color website > /tmp/container-logs/website.log || true - docker compose -f ../docker-compose.yml logs --no-color backend > /tmp/container-logs/backend.log || true + services="$(docker compose -f ../docker-compose.yml config --services || true)" + for service in $services; do + docker compose -f ../docker-compose.yml logs --no-color "$service" > "/tmp/container-logs/${service}.log" || true + done - uses: actions/upload-artifact@v7 if: ${{ failure() && !cancelled() }}