ludic/changes/docs-deploy-concurrency.md
Orkuncakilkaya f81ca5c3c1
All checks were successful
bootstrap / cfree-fixpoint (push) Successful in 25s
ci / build-and-test (push) Successful in 2m54s
commit-lint / conventional-commits (push) Successful in 5s
docs / build-and-deploy (push) Successful in 32s
ci(docs): serialise the pages deploy
Publishing the site force-pushes an orphan `pages` branch. Two runs racing can
therefore land out of order and leave `pages` holding the older build, with both
runs green and nothing to indicate the site went backwards.

A `pages-deploy` concurrency group with cancel-in-progress makes a newer push
cancel an older in-flight build rather than queue behind it, so the last push to
land is the one that ends up published.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-05 03:37:33 +03:00

7 lines
376 B
Markdown

bump: patch
type: ci
The docs deploy is serialised. Publishing is a force-push of an orphan `pages`
branch, so two runs racing could land out of order and leave the site holding the
older build — with both runs reporting success. A `pages-deploy` concurrency
group with `cancel-in-progress` means a newer push cancels an older in-flight
build instead of queueing behind it.