One CI workflow in the home web-app shape #994

Merged
nelson merged 2 commits from PIPT-4-ci-shape into main 2026-11-13 14:16:08 -08:00
Owner

Replaces Docker Build Check and Build and Deploy with one CI workflow (.forgejo/workflows/ci.yml) in the PIPT-4 web-app shape: a changes job, Markdown-only pull requests skipping the backend, Windows frontend and image jobs, and the Markdown guards in their own Linux job. The deploy job runs on every push to main with its permissions, environment and ARM_CLIENT_ID condition unchanged; ADR-0644 records the decision and the release contract test now reads ci.yml.

https://openproject.romaine.life/wp/PIPT-4

Replaces Docker Build Check and Build and Deploy with one CI workflow (.forgejo/workflows/ci.yml) in the PIPT-4 web-app shape: a changes job, Markdown-only pull requests skipping the backend, Windows frontend and image jobs, and the Markdown guards in their own Linux job. The deploy job runs on every push to main with its permissions, environment and ARM_CLIENT_ID condition unchanged; ADR-0644 records the decision and the release contract test now reads ci.yml. https://openproject.romaine.life/wp/PIPT-4
One CI workflow in the home web-app shape (PIPT-4)
Some checks failed
CI / Check docs (pull_request) Successful in 23s
CI / changes (pull_request) Successful in 37s
CI / Test backend (pull_request) Successful in 4m41s
CI / Check frontend contracts (pull_request) Failing after 6m56s
CI / Test and build app image (pull_request) Has been skipped
CI / Build merged image and pin Helm digest (pull_request) Has been skipped
7210ff81c8
Docker Build Check and Build and Deploy become .forgejo/workflows/ci.yml: a changes job, a Markdown-only pull request skipping the backend, Windows frontend and image jobs, the Markdown guards in their own Linux job, and the deploy job unchanged on push. ADR-0644 records it.

https://openproject.romaine.life/wp/PIPT-4
Require every needed job's success before deploy; publish on a dispatch of main (PIPT-4)
All checks were successful
CI / changes (pull_request) Successful in 44s
CI / Check docs (pull_request) Successful in 43s
CI / Test backend (pull_request) Successful in 6m16s
CI / Check frontend contracts (pull_request) Successful in 7m47s
CI / Test and build app image (pull_request) Successful in 6m54s
CI / Build merged image and pin Helm digest (pull_request) Has been skipped
6af448bc8b
- deploy needs `changes` too and runs only when `changes`, both test lanes and `image`
  succeeded (`image` may be skipped only on a push, where it never runs). `!failure()`
  also let it run when `changes` failed and every test job was skipped.
- The release version, prod publish and source release steps run on any non-PR run of
  main, so strip-owner's dispatch restarts a merge run. A dispatch with `git_ref` still
  builds without publishing, as its input promises.
- Pushes and dispatches keep Build and Deploy's shared `build-and-deploy` concurrency
  group; nothing cancels, since `backend-tests` starts a PostgreSQL container.
- The retrograde determinism test keeps its input and gets an explicit 30 s timeout:
  it took 1.4-2.0 s on the last four PRs' runs and passed 5 s only on a runner running
  the whole suite about 3x slower; 30 s is the timeout proofNegamax.test.ts uses for
  the same reason.
- ADR-0644 states the decision is PIPT-4's (Nelson, 2026-11-13) and that this record
  of how chess-tactics applies it has not had his review.

https://openproject.romaine.life/wp/PIPT-4
nelson merged commit eed03d1b51 into main 2026-11-13 14:16:08 -08:00
nelson deleted branch PIPT-4-ci-shape 2026-11-13 14:16:08 -08:00
Sign in to join this conversation.
No description provided.