Repository navigation
ci: deploy Pages once per merge batch on main - #91
Merged
Merged
Conversation
Skip superseded main pushes after a short settle wait so only the tip builds and deploys, instead of cancelling intermediate Pages runs. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #52
What changed
Pages no longer shares one concurrency group across every push to
main(which cancels intermediate pending runs). A tip job waits briefly for a merge batch to settle, then only the tip ofmainbuilds and deploys; superseded commits exit successfully. Deploy still serializes withcancel-in-progress: falseso two tips cannot race the Pages backend.Workflow changes
mainin a short burst (merge-queue batch or rapid merges); deploy once per batch tip instead of once per commit.Quality bar
Read docs/QUALITY.md before you change code, data, or docs. CI enforces its nine criteria: add no new debt, and allowlist existing debt only with an expiry.
Checks CI cannot make
Verification
npm cinpm run checkNotes for reviewers
Superseded tip jobs sleep 60s then skip; that is intentional so a typical merge-queue burst collapses to one deploy without cancelling runs. The pull-request runner-minute budget is unchanged because
pages.ymldoes not run on pull requests.