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>
This commit is contained in:
Garry Tanandcapy-ai[bot] authored and GitHub committed 2026-11-25 19:23:38 +00:00
1 parent a48df18f51
commit 1145e80a47
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -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": {
@@ -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.