mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-04 15:57:33 +01:00
fix: pre-landing review fixes (dispatch-ci skips a workflow the branch predates; harness decision; changelog fragment)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
68466832ac
commit
195bf0b3fc
5 files changed
+60
-9
No files matched your search
+9
-7
@@ -213,13 +213,15 @@ has no merge ref for the PR, so no `pull_request` CI runs on the head and
|
||||
runs `ready … --dispatch-ci free-tests.yml,windows-smoke.yml [--timeout
|
||||
<s>]` (under a train policy): it dispatches each named workflow on the branch
|
||||
(`gh workflow run <wf> --ref <branch>`, skipped when a run at this head already
|
||||
concluded), waits for the runs (`CI_DISPATCH: <wf> --ref <branch> run <id> <url>
|
||||
<conclusion>`), clears every requires-remote pregate lane whose workflow is one
|
||||
of them with the run URL (`PREGATE_CLEARED: <lane> <url>`; a lane of another
|
||||
workflow stays uncleared and is named in the refusal), and then reads the head
|
||||
as usual, which passes because the dispatched check runs attach to the commit;
|
||||
the `ci-hint:` line then says those non-pull_request runs count. A red run
|
||||
clears no lane and refuses (`QUEUE_NOT_READY`); a run still going at `--timeout`
|
||||
concluded, and skipped with a note when the base has the workflow file but the
|
||||
branch predates it, since GitHub reads the file from the branch), waits for the
|
||||
runs (`CI_DISPATCH: <wf> --ref <branch> run <id> <url> <conclusion>`), clears
|
||||
every requires-remote pregate lane whose workflow is one of them with the run
|
||||
URL (`PREGATE_CLEARED: <lane> <url>`; a lane of another workflow stays
|
||||
uncleared and is named in the refusal), and then reads the head as usual,
|
||||
which passes because the dispatched check runs attach to the commit; the
|
||||
`ci-hint:` line then says those non-pull_request runs count. A red run clears
|
||||
no lane and refuses (`QUEUE_NOT_READY`); a run still going at `--timeout`
|
||||
(default 2700 s) is `QUEUE_TRAIN_PENDING`, and rerunning the command keeps
|
||||
waiting; a fork head is never dispatched here (`QUEUE_TRAIN_UNTRUSTED`). By hand the same four steps are `gh workflow
|
||||
run <wf> --ref <branch>`, wait, `gstack-pregate clear --remote <lane> --run-url
|
||||
|
||||
Reference in new issue
Block a user