From 36dfb9a5efc70d306bf3b9569a8ab2733c753265 Mon Sep 17 00:00:00 2001 From: CodewithJha <155089480+CodewithJha@users.noreply.github.com> Date: Sun, 22 Nov 2026 21:24:18 +0000 Subject: [PATCH] fix(e2e): widen API healthcheck window for Compose E2E (T-117) Document e2e.yml PR triggers after the seeded Playwright harness landed in #347. --- docker/compose.yaml | 4 ++-- docs/20-ci-cd-and-devops.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/compose.yaml b/docker/compose.yaml index 1c05fd8f..d9da62c3 100644 --- a/docker/compose.yaml +++ b/docker/compose.yaml @@ -174,8 +174,8 @@ services: ] interval: 5s timeout: 5s - retries: 12 - start_period: 20s + retries: 24 + start_period: 45s depends_on: {migrate: {condition: service_completed_successfully}} web: diff --git a/docs/20-ci-cd-and-devops.md b/docs/20-ci-cd-and-devops.md index 7a848c8b..072dd18d 100644 --- a/docs/20-ci-cd-and-devops.md +++ b/docs/20-ci-cd-and-devops.md @@ -10,7 +10,7 @@ | `ci.yml` | push, pull_request | `lint` (ruff, mypy, import-linter, ESLint, Prettier), `test-backend` (matrix ubuntu/macos; unit, property, contract), `test-integration` (Postgres 17 service), `benchmark-smoke`, `test-web` (Vitest), `build-web`, `openapi-check`, `config-docs-check`, `license-check`, `security` (pip-audit, pnpm audit, gitleaks) | ≤ 10 min | | `docs.yml` | changes in `docs/**`, `*.md` | markdownlint, mermaid-cli render of every Mermaid block, lychee link check, ADR index check | ≤ 3 min | | `images.yml` | push to `main`, tags | build `backend`, `web`, `gazebo` images (Buildx + GHA cache), Trivy scan, push to GHCR (`:sha`, `:main`, `:vX.Y.Z`), SBOM (Syft) attached | ≤ 25 min (gazebo cached) | -| `e2e.yml` | nightly 02:00 IST, manual | compose `core` up from built images, demo campaign, Playwright + axe | ≤ 20 min | +| `e2e.yml` | dashboard/API PRs, nightly 02:00 IST, manual | locally built Compose stack, seeded campaigns, Chromium/Firefox + axe | < 10 min | | `nightly-sim.yml` | nightly / manual (`workflow_dispatch`) | pull gazebo image, `pytest -m sim` with 1 worker, upload artefacts | ≤ 60 min (hosted runner CPU) | | `benchmark-full.yml` | weekly, manual | EXP-02 analytic + reduced EXP-01 (10 seeds) → compare with baseline JSON, comment on regression | ≤ 45 min | | `release.yml` | tag `v*` | verify CHANGELOG entry, build/push images, create GitHub Release with notes, report bundle | ≤ 30 min |