mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-25 09:31:43 +01:00
A green CI run now counts for your branch when only main moved under it (GST-3567) (#4728)
/ship's final CI check (`gstack-ship-release accept`) now accepts a green pull request run that tested your branch merged onto a newer main, when main changed none of your lines. Why: before, it refused that run and you had to merge main and rerun CI, which never settles on a busy repo (harness-evals #576, gstack #4722). Nothing to do. Repos with a land step still re-check the merged tree; repos with `land: null` get no merged-tree check. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Review-Finding: p1/specialist-batched#1 reader=testing Review-Finding: lib/pregate/run-check.ts:70:functional-contract reader=qa Review-Finding: p2/outside-voice#1 reader=outside-voice
This commit is contained in:
1 parent
8751b382dd
commit
261f380002
13 files changed
+344
-27
No files matched your search
@@ -75,6 +75,7 @@ function find(): number {
|
||||
else out(v.ok ? `CI_CARRY: accepted ${v.receipt}` : `CI_CARRY: none (${v.reason}: ${v.detail})`);
|
||||
const from = v.ok && !argv.includes('--json') ? carriedFromLine(v.runs, head) : undefined;
|
||||
if (from) out(from);
|
||||
if (!v.ok && !argv.includes('--json')) for (const d of v.diagnosis ?? []) out(`CARRY_DIAGNOSIS: ${d}`);
|
||||
return v.ok ? 0 : 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user