From a29efd56c9bdea70b2ffea58b76a67d5b5ca6043 Mon Sep 17 00:00:00 2001 From: Saravana Achu Mac Date: Tue, 5 May 2026 13:31:31 -0700 Subject: [PATCH] docs(roadmap): record compose smoke --- docs/PRODUCTION_READINESS_HANDOFF_ROADMAP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/PRODUCTION_READINESS_HANDOFF_ROADMAP.md b/docs/PRODUCTION_READINESS_HANDOFF_ROADMAP.md index 88a02b0..3f21ab0 100644 --- a/docs/PRODUCTION_READINESS_HANDOFF_ROADMAP.md +++ b/docs/PRODUCTION_READINESS_HANDOFF_ROADMAP.md @@ -221,7 +221,7 @@ 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. - [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`. - [x] **P8.3** Add CI Docker build job for backend and web images. Commit: `7fb44d0`; Verified: `bash -n scripts/docker-prep.sh`; `COMMON_PLAT=/definitely/missing bash scripts/docker-prep.sh --restore`; `git diff --check`; `rg -n "docker-build|Prepare Docker tarball dependencies|Build backend image|Build web image|Restore Docker prep changes|COMMON_PLAT" .github/workflows/ci.yml scripts/docker-prep.sh`; `docker --version` failed locally with `command not found`, so image build execution is delegated to the GitHub Ubuntu runner. Added a `docker-build` CI job gated after backend/web jobs to prepare common-platform tarball dependencies, build backend and web Docker images with BuildKit secrets, and restore docker-prep changes; made `scripts/docker-prep.sh` support the current `../learning_ai/learning_ai_common_plat` path, `COMMON_PLAT` override, restore without a common-platform checkout, and Linux-safe package rewrites. -- [ ] **P8.4** Add or document compose smoke: build, start backend/web, hit `/health`, `/api/bootstrap`, and a web smoke endpoint. Commit: +- [x] **P8.4** Add or document compose smoke: build, start backend/web, hit `/health`, `/api/bootstrap`, and a web smoke endpoint. Commit: `cae5941`; Verified: `bash -n scripts/compose-smoke.sh`; `git diff --check`; `rg -n "smoke:compose|compose-smoke|3000:3045|NEXT_PUBLIC_NOTES_API_URL|/api/bootstrap|NODE_ENV=development" package.json README.md docker-compose.yml scripts/compose-smoke.sh`; `docker --version` failed locally with `command not found`, so live compose execution is deferred to Docker-capable environments. Added `pnpm run smoke:compose`, an executable compose smoke script that runs docker-prep, builds backend/web images, starts compose in local memory mode, checks backend `/health`, backend `/api/bootstrap`, and web `/`, then restores docker-prep changes and tears down by default; fixed compose web port mapping to `3000:3045`, added web build args, and replaced the backend healthcheck with a Node fetch check. - [ ] **P8.5** Add secret scan and hardcoded token/color checks, reusing common platform scripts where possible. Commit: - [ ] **P8.6** Add dependency health workflow or scheduled check for `@bytelyst/*`, Next, React, Expo, Fastify, Vitest, and Playwright compatibility. Commit: - [ ] **P8.7** Add release notes template and production deploy checklist with environment variables, rollback, migrations, smoke tests, and monitoring links. Commit: