From 1145e80a4793cbdd8bd44b635478de81a3e61b71 Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Wed, 25 Nov 2026 14:23:38 -0500 Subject: [PATCH] Let CI results count for /ship without the three /cso jobs being removed (#4836) /ship and the merge step reuse a pull request's CI run as its test run only when the run has every job main's `.gstack/pregate.json` lists. This drops the three /cso jobs from that list. Why: #4833 deletes those jobs along with /cso, so its own CI could never match the list main still holds. This lands first, then #4833 merges main and its CI counts. Nothing to do: the jobs still run on main until #4833 lands, and the free-tests job still requires all three to pass. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- .gstack/pregate.json | 2 +- changelog.d/ci-reuse-without-removed-cso-jobs.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 changelog.d/ci-reuse-without-removed-cso-jobs.md diff --git a/.gstack/pregate.json b/.gstack/pregate.json index 29bb8a24c..cb8eec711 100644 --- a/.gstack/pregate.json +++ b/.gstack/pregate.json @@ -22,7 +22,7 @@ "free-tests.yml/free-suite": "bun run scripts/test-free-shards.ts --list" }, "run_profiles": { - "ci-reuse/free-tests": { "workflow": "free-tests.yml", "events": ["pull_request", "workflow_dispatch"], "jobs": ["free-plan", "typecheck", "quick-bun-default", "cso-macos-launcher", "macos-named-regressions", "cso-windows-launcher", "cso-docker-integration", "free-tests"], "artifact": "tested-tree", "os": "Linux", "skippable": { "jobs": ["typecheck", "quick-bun-default", "cso-macos-launcher", "macos-named-regressions", "cso-windows-launcher", "cso-docker-integration"], "gate": "docs-scope", "scripts": [".github/actions/docs-scope/action.yml", "bin/gstack-docs-only", "lib/docs-only.ts", "lib/review-depth.ts", "lib/ship-policy.ts", "lib/ship-policy-docs-only.ts"] } }, + "ci-reuse/free-tests": { "workflow": "free-tests.yml", "events": ["pull_request", "workflow_dispatch"], "jobs": ["free-plan", "typecheck", "quick-bun-default", "macos-named-regressions", "free-tests"], "artifact": "tested-tree", "os": "Linux", "skippable": { "jobs": ["typecheck", "quick-bun-default", "macos-named-regressions"], "gate": "docs-scope", "scripts": [".github/actions/docs-scope/action.yml", "bin/gstack-docs-only", "lib/docs-only.ts", "lib/review-depth.ts", "lib/ship-policy.ts", "lib/ship-policy-docs-only.ts"] } }, "ci-reuse/windows-free-tests": { "workflow": "windows-free-tests.yml", "events": ["pull_request", "workflow_dispatch"], "jobs": ["windows-plan", "windows-free-tests"], "artifact": "tested-tree", "os": "Windows" } }, "remote_gate_runs": { diff --git a/changelog.d/ci-reuse-without-removed-cso-jobs.md b/changelog.d/ci-reuse-without-removed-cso-jobs.md new file mode 100644 index 000000000..889c56db6 --- /dev/null +++ b/changelog.d/ci-reuse-without-removed-cso-jobs.md @@ -0,0 +1,3 @@ +### Changed + +- **/ship can reuse a pull request's CI run without the three /cso CI jobs.** gstack's CI reuse rules no longer list `cso-macos-launcher`, `cso-windows-launcher` and `cso-docker-integration`, so the change that removes /cso, and with it those jobs, can count its own CI run. Nothing changes for anyone using gstack.