mirror of
https://github.com/garrytan/gstack.git
synced 2026-12-01 04:13:55 +01:00
A land that waits on an earlier CI run decides on what that run did, and main's reuse skips cancelled runs (GST-3634) (#4763)
A land that waits on an earlier CI run now goes by that run's real result, and main's Free Tests run skips a cancelled run when it looks for a land's run. Why: a green run rerun at the moment land picked it up could have its red result ignored, and a cancelled run made main rerun the whole suite. Nothing to do. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
6ef3861302
commit
7c321fff5d
6 files changed
+25
-8
No files matched your search
+1
-1
@@ -1600,7 +1600,7 @@ workflow on the merged commit, on the scratch branch `gstack-land/<n>`
|
||||
([ship-policy.md](ship-policy.md#land-direct)), and GitHub's merge has that
|
||||
same tree unless main moved again before the merge. So when the head's tree
|
||||
differs, `find` takes the newest `workflow_dispatch` run on `gstack-land/<n>`
|
||||
and reuses it only when `verifyRun` accepts it and its `tested-tree` record
|
||||
that wasn't cancelled (land passes cancelled runs over too) and reuses it only when `verifyRun` accepts it and its `tested-tree` record
|
||||
names the pushed tree (`no_verified_run` or `tree_mismatch` otherwise; a branch
|
||||
with no such run keeps `tree_mismatch`). Only the newest run counts, newest by run id
|
||||
rather than start time, so a red retry on the same tree is never hidden
|
||||
|
||||
Reference in new issue
Block a user