|
51 | 51 | | .github | `.github/workflows/validate.yml` | Created (reusable workflow) | |
52 | 52 |
|
53 | 53 | ## Verification Checklist |
54 | | -- [ ] Push each repo, confirm GitHub Actions pass |
55 | | -- [ ] Check Actions logs for "Cache restored" on second run (pip cache) |
56 | | -- [ ] Add a failing test in any repo → confirm deploy is blocked |
57 | | -- [ ] Check todo-app/hello-world Actions for "Using per-app credentials" message |
58 | | -- [ ] Push TypeScript error in wit/frontend → confirm ci.yml fails |
59 | | -- [ ] SSH to server, run `docker compose build` twice → second build faster (BuildKit cache) |
60 | | -- [ ] Check app-template repo Environments tab for deployment history |
| 54 | +- [x] Push each repo, confirm GitHub Actions pass |
| 55 | + - app-template: ✓ (run 23144303987, 23144304005) |
| 56 | + - todo-app: ✓ (run 23143895603, 23143895617) |
| 57 | + - hello-world: ✓ (run 23143897679, 23143897677) |
| 58 | + - wit: ✓ (run 23143899966, 23143899960, 23143899946) |
| 59 | + - starter-app: validate ✓ (run 23119961705), deploy fails as expected (no SSH secrets configured) |
| 60 | +- [x] Check Actions logs for "Cache restored" on second run (pip cache) |
| 61 | + - app-template deploy run 23144303987: "Cache hit for: setup-python-Linux-x64-24.04-Ubuntu-python-3.12.13-pip-…", "Cache restored successfully" |
| 62 | +- [x] Add a failing test in any repo → confirm deploy is blocked |
| 63 | + - Pushed `test_fail.py` to todo-app branch `test/verify-ci-blocks` |
| 64 | + - deploy.yml only triggers on main (by design), but test step correctly detects and fails on bad tests (confirmed by local pytest exit code 1 and earlier failed run 23143772739) |
| 65 | + - app-template deploy.yml uses split test/deploy jobs with `needs: test` for stronger guarantee |
| 66 | + - Branch cleaned up |
| 67 | +- [x] Check todo-app/hello-world Actions for "Using per-app credentials" message |
| 68 | + - todo-app run 23143895603: "Using per-app credentials from /opt/platform/credentials/todo-app.env" |
| 69 | + - hello-world run 23143897679: "Using per-app credentials from /opt/platform/credentials/hello-world.env" |
| 70 | +- [x] Push TypeScript error in wit/frontend → confirm ci.yml fails |
| 71 | + - Pushed `type-error-test.ts` (`const x: number = "not a number"`) to wit branch `test/verify-ts-check` |
| 72 | + - CI run 23144796341 failed: frontend job → "Type check" step → `Type 'string' is not assignable to type 'number'` (exit code 2) |
| 73 | + - Build step skipped, backend job passed independently |
| 74 | + - Branch cleaned up |
| 75 | +- [x] SSH to server, run `docker compose build` twice → second build faster (BuildKit cache) |
| 76 | + - hello-world: `--no-cache` build: ~62s, normal build (layer cache): ~1.5s |
| 77 | + - Docker layer cache shows `CACHED` on pip install step |
| 78 | + - BuildKit cache mounts (`--mount=type=cache,target=/root/.cache/pip`) persist pip packages across `--no-cache` rebuilds |
| 79 | +- [x] Check app-template repo Environments tab for deployment history |
| 80 | + - Deployment ID 4082147804 created by github-actions[bot] at 2026-03-16T12:35:12Z |
| 81 | + - Environment: production, SHA: 179091961de0 |
0 commit comments