ci(web): Phase P6 — Vite build + headless E2E gate on every trunk merge #1445

Closed
opened 2026-08-27 02:16:35 +00:00 by fred · 0 comments
Collaborator

Phase P completion, step P6, per the webui-audit T10 ruling (adopted by Jason 2026-08-26): CI proves the SPA build on every trunk merge.

Scope:

  1. CI builds the SPA with vite build on every PR and trunk pipeline (replacing the next build path once P5 lands).
  2. The Playwright E2E suite (apps/web/e2e, playwright.config.ts) runs as a required gate — headless, against the built bundle served the same way the Gateway serves it in production.
  3. Image parity: the trunk pipeline publishes the web/gateway image carrying the SPA bundle and the E2E gate runs against that artifact shape, keeping #1407's parity guarantee.

Constraints:

  • Depends on the P5 cutover issue (Gateway serves SPA, Next tree deleted).
  • Browser automation runs headless only (estate standard).
  • All changes via reviewed squash PRs to next with green CI.
Phase P completion, step P6, per the webui-audit T10 ruling (adopted by Jason 2026-08-26): CI proves the SPA build on every trunk merge. Scope: 1. CI builds the SPA with `vite build` on every PR and trunk pipeline (replacing the `next build` path once P5 lands). 2. The Playwright E2E suite (`apps/web/e2e`, `playwright.config.ts`) runs as a required gate — headless, against the built bundle served the same way the Gateway serves it in production. 3. Image parity: the trunk pipeline publishes the web/gateway image carrying the SPA bundle and the E2E gate runs against that artifact shape, keeping #1407's parity guarantee. Constraints: - Depends on the P5 cutover issue (Gateway serves SPA, Next tree deleted). - Browser automation runs headless only (estate standard). - All changes via reviewed squash PRs to `next` with green CI.
fred closed this issue 2026-08-27 15:26:12 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#1445