Compare commits

...

4 Commits

Author SHA1 Message Date
Stephen Zhou
8c6c10b396 ci(e2e): retain measured core readiness improvement 2026-09-21 02:02:12 +08:00
Stephen Zhou
bfaf602fac ci(e2e): measure core build cache compression overhead 2026-09-21 01:43:29 +08:00
Stephen Zhou
294b1a366a ci(e2e): test faster core Redis health checks 2026-09-21 01:25:44 +08:00
Stephen Zhou
5a04792875 ci(e2e): compare core Chromium shard counts 2026-09-21 00:49:07 +08:00
4 changed files with 15 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
name: Web Full-Stack E2E
on:
workflow_dispatch:
workflow_call:
inputs:
run-external-runtime:
@@ -101,6 +102,7 @@ jobs:
E2E_ADMIN_NAME: E2E Admin
E2E_ADMIN_PASSWORD: E2eAdmin12345
E2E_INIT_PASSWORD: E2eInit12345
E2E_FAST_REDIS_HEALTH: '1'
steps:
- name: Checkout code
@@ -159,6 +161,7 @@ jobs:
E2E_ADMIN_PASSWORD: E2eAdmin12345
E2E_BROWSER: webkit
E2E_INIT_PASSWORD: E2eInit12345
E2E_FAST_REDIS_HEALTH: '1'
steps:
- name: Checkout code

View File

@@ -23,6 +23,8 @@ Run commands from the repository root. Install dependencies and browsers once wi
The runner reuses `web/.next/BUILD_ID` when present. Set `E2E_FORCE_WEB_BUILD=1` to force a frontend rebuild. Use `E2E_BROWSER=webkit` for focused cross-browser runs and `E2E_SLOW_MO=500` with a headed command for local action debugging.
Core CI sets `E2E_FAST_REDIS_HEALTH=1` to use the E2E-only Compose override. It retains the authenticated Redis PONG probe, polls every second, and preserves the approximate failed-probe budget. Unset it for the default middleware health cadence.
## Runtime Ownership
- `scripts/setup.ts` owns reset, middleware, backend, and frontend startup.

View File

@@ -0,0 +1,7 @@
# Core E2E-only override. Inherit the authenticated PONG check from middleware.
services:
redis:
healthcheck:
interval: 1s
# Preserve the default ~90-second failed-probe budget (3 x 30s).
retries: 90

View File

@@ -72,6 +72,9 @@ const composeArgs = [
'compose',
'-f',
middlewareComposeFile,
...(process.env.E2E_FAST_REDIS_HEALTH === '1'
? ['-f', path.join(e2eDir, 'docker-compose.health.yaml')]
: []),
'--profile',
'postgresql',
'--profile',