docs(roadmap): record web e2e ci

This commit is contained in:
Saravana Achu Mac 2026-05-05 13:27:30 -07:00
parent d929247db5
commit e0834abd70

View File

@ -219,7 +219,7 @@ Acceptance criteria:
Goal: the production-readiness checks run in automation, not only locally.
- [x] **P8.1** Extend CI mobile job to run mobile tests and lint, not only typecheck. Commit: `150f824`; Verified: `zsh -lc 'source ~/.zshrc; export GITEA_NPM_TOKEN; pnpm --filter @notelett/mobile run lint'`; `zsh -lc 'source ~/.zshrc; export GITEA_NPM_TOKEN; pnpm --filter @notelett/mobile run typecheck'`; `zsh -lc 'source ~/.zshrc; export GITEA_NPM_TOKEN; pnpm --filter @notelett/mobile run test'`; `git diff --check`; `rg -n "Mobile — lint \\+ typecheck \\+ test|Mobile lint|Mobile tests|Link common-platform workspace path" .github/workflows/ci.yml`. Extended the mobile CI job to run lint, typecheck, and tests with named steps, and added a common-platform workspace symlink step in CI jobs so the GitHub checkout layout matches the repo's `../learning_ai/learning_ai_common_plat` workspace expectation. Mobile lint exits 0 with warnings only; full mobile suite passed 25 files and 97 tests.
- [ ] **P8.2** Add CI web E2E job or documented gated workflow with Playwright browser install/cache. Commit:
- [x] **P8.2** Add CI web E2E job or documented gated workflow with Playwright browser install/cache. Commit: `d929247`; Verified: `zsh -lc 'source ~/.zshrc; export GITEA_NPM_TOKEN; pnpm --filter @notelett/web run typecheck'`; `zsh -lc 'source ~/.zshrc; export GITEA_NPM_TOKEN; pnpm --filter @notelett/web exec playwright test e2e/release-flows.spec.ts --reporter=list --workers=1'`; `git diff --check`; `rg -n "web-e2e|Cache Playwright browsers|Install Playwright Chromium|Web Playwright E2E|pnpm run dev" .github/workflows/ci.yml web/playwright.config.ts`. Added a dedicated `web-e2e` CI job gated after the web job, with common-platform workspace linking, Playwright browser cache, Chromium install with dependencies, `pnpm --filter @notelett/web run test:e2e -- --reporter=list`, and Playwright report/test-results artifact upload. Updated Playwright webServer to use `pnpm run dev`.
- [ ] **P8.3** Add CI Docker build job for backend and web images. Commit:
- [ ] **P8.4** Add or document compose smoke: build, start backend/web, hit `/health`, `/api/bootstrap`, and a web smoke endpoint. Commit:
- [ ] **P8.5** Add secret scan and hardcoded token/color checks, reusing common platform scripts where possible. Commit: