mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-23 08:31:44 +01:00
Skip the second Free Tests run when a PR lands onto a moved main (GST-3303) (#4655)
When the land tool merges a PR whose base moved, it has already run Free Tests on the exact merged tree. Main's push run now reuses that run instead of running the whole suite again, and still runs it whenever main moved again before the merge or the newest land run wasn't green. This also fixes the outdated `QUEUE_LAND_MERGED_CHECKS` row in the maintainers' land guide. Nothing to do: the next stale-base land shows `REUSE: accepted run …` on main's push run. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
6e90fa3d31
commit
7abc1949e1
9 files changed
+91
-15
No files matched your search
@@ -22,7 +22,9 @@ name: Free Tests
|
||||
# uploads a `tested-tree` record (tree.json) only after strict verification
|
||||
# passes. A push to main first runs `reuse`: when the merged pull request's
|
||||
# head has the pushed tree and a green pull_request or workflow_dispatch run of
|
||||
# this workflow verifies (lib/run-evidence.ts), every suite job is skipped and
|
||||
# this workflow verifies (lib/run-evidence.ts), or when land's newest dispatch
|
||||
# run on gstack-land/<pr> verifies with the pushed tree as its tested tree (a
|
||||
# stale-base land, docs/pregate.md#ci-reuse), every suite job is skipped and
|
||||
# the aggregate links that run instead. A pull request run reuses too, but
|
||||
# only a run the pull request cannot control: a green push or dispatch run on
|
||||
# main, or a dispatch run on its own branch, at the merge commit's exact tree,
|
||||
|
||||
Reference in new issue
Block a user