A web app's tests can have the base branch's history (web.history) #113

Merged
merge-queue merged 3 commits from web-test-history into main 2026-11-16 19:57:18 -08:00
Owner

Part of https://openproject.home.romaine.life/wp/PIPT-12.

chess-tactics' backend tests check that its schema migrations stay append-only against origin/main. The web-app suite's test job checks out one commit, so there is no origin/main, and the checkout drops its credentials, so a test can't fetch it later; its PR (romaine-life/chess-tactics#1000) failed there.

  • web.history: true gives that repo's test job full history (fetch-depth: 0), which brings origin/<base>. Every other web app keeps a one-commit checkout: the suites limit history to the jobs that read a diff, and the workflow test now allows exactly this conditional one.
  • chess-tactics' entry sets it.
Part of https://openproject.home.romaine.life/wp/PIPT-12. chess-tactics' backend tests check that its schema migrations stay append-only against `origin/main`. The web-app suite's test job checks out one commit, so there is no `origin/main`, and the checkout drops its credentials, so a test can't fetch it later; its PR (https://forgejo.romaine.life/romaine-life/chess-tactics/pulls/1000) failed there. - `web.history: true` gives that repo's test job full history (`fetch-depth: 0`), which brings `origin/<base>`. Every other web app keeps a one-commit checkout: the suites limit history to the jobs that read a diff, and the workflow test now allows exactly this conditional one. - chess-tactics' entry sets it.
History for a web app's tests is opt-in (web.history); chess-tactics takes it (PIPT-12)
Some checks failed
CI / changes (pull_request) Successful in 3s
CI / actionlint (pull_request) Has been cancelled
CI / prune-releases (pull_request) Has been cancelled
CI / release-version (pull_request) Has been cancelled
CI / check-versions (pull_request) Has been cancelled
CI / check-fetches (pull_request) Has been cancelled
CI / check-image-digests (pull_request) Has been cancelled
CI / cached-images (pull_request) Has been cancelled
CI / container-health (pull_request) Has been cancelled
CI / azure-cli (pull_request) Has been cancelled
CI / home-cache-linux (pull_request) Has been cancelled
CI / home-cache-windows (pull_request) Has been cancelled
CI / setup-linux (nas) (pull_request) Has been cancelled
CI / setup-windows (pull_request) Has been cancelled
CI / service-runtime (one) (pull_request) Has been cancelled
CI / service-runtime (two) (pull_request) Has been cancelled
CI / service-cancellation (pull_request) Has been cancelled
CI / suite-tests-linux (pull_request) Has been cancelled
CI / suite-tests-windows (pull_request) Has been cancelled
Fleet / align (pull_request) Has been cancelled
730c23c792
Merge branch 'main' into web-test-history
All checks were successful
CI / changes (pull_request) Successful in 6s
CI / prune-releases (pull_request) Has been skipped
CI / release-version (pull_request) Has been skipped
CI / check-versions (pull_request) Has been skipped
CI / check-fetches (pull_request) Has been skipped
CI / check-image-digests (pull_request) Has been skipped
merge-queue landed on main
CI / cached-images (pull_request) Has been skipped
CI / container-health (pull_request) Has been skipped
CI / azure-cli (pull_request) Has been skipped
CI / home-cache-linux (pull_request) Has been skipped
CI / home-cache-windows (pull_request) Has been skipped
Fleet / align (pull_request) Successful in 13s
CI / actionlint (pull_request) Successful in 7s
CI / service-runtime (one) (pull_request) Successful in 17s
CI / service-runtime (two) (pull_request) Successful in 18s
CI / suite-tests-windows (pull_request) Successful in 33s
CI / suite-tests-linux (pull_request) Successful in 17s
CI / service-cancellation (pull_request) Successful in 22s
CI / setup-linux (nas) (pull_request) Successful in 1m3s
CI / setup-windows (pull_request) Successful in 2m11s
39b1dcc579
merge-queue deleted branch web-test-history 2026-11-16 19:57:19 -08:00
Sign in to join this conversation.
No description provided.