mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-24 09:01:28 +01:00
When main has moved since a PR's last CI run, `gstack-ship-queue land` now runs its local merge checks in a throwaway clone and can then run the full CI suite on the merged code before it merges. Why: the old checks shared the checkout's git directory, so a PR's own test commands could plant a hook that later ran with land's tokens, and a PR could reach main on a base its full suite never saw. Nothing to do: gstack's own policy turns the CI run on; other repos opt in with `land.merged_ci`. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Review-Finding: p1/red-team#1 reader=red-team Review-Finding: p1/specialist-batched#1 reader=security Review-Finding: p1/red-team#2 reader=red-team Review-Finding: p1/red-team#3 reader=red-team Review-Finding: p2/specialist-batched#1 reader=security Review-Finding: p2/red-team#1 reader=red-team Review-Finding: p2/red-team#2 reader=red-team Review-Finding: p2/outside-voice#1 reader=outside-voice Review-Finding: p2/outside-voice#2 reader=outside-voice Review-Finding: p2/adversarial-native#1 reader=adversarial-native Review-Finding: p2/adversarial-native#2 reader=adversarial-native Review-Finding: p2/adversarial-native#3 reader=adversarial-native Review-Finding: p2/adversarial-native#4 reader=adversarial-native
30 lines
1.7 KiB
JSON
30 lines
1.7 KiB
JSON
{
|
|
"$schema": "https://github.com/garrytan/gstack/docs/ship-policy.md#schema-v1",
|
|
"bump": "patch",
|
|
"queue_mode": "stamp-at-merge",
|
|
"release_tool": "bun scripts/gen-agents-digest.ts",
|
|
"release_outputs": ["agents-digest/gstack-AGENTS.md"],
|
|
"stamp_paths": ["lib/ship-policy.ts", "lib/ship-policy-keys.ts"],
|
|
"stamp_patterns": ["_KEY_VERSION = '{version}'"],
|
|
"changelog": "CHANGELOG.md",
|
|
"mirror": null,
|
|
"history": "squash-ok",
|
|
"preregistration_shas": [],
|
|
"stamp_sensitive_gates": ["tests"],
|
|
"pr_count": { "default_pr_count": 1, "split_requires_owner": true },
|
|
"maintainers": ["garrytan"],
|
|
"train": { "gate_workflow": "evals.yml", "free_workflow": "free-tests.yml", "full_gate_check": "gstack/full-gate", "record_artifact": "gstack-train-record", "max_size": 5, "fill_hours": 1, "screen_selection": "gstack-paid", "trial_reservation_usd": 1.5 },
|
|
"changelog_fragments": { "dir": "changelog.d", "required_checks": ["free-tests", "windows-smoke", "Check VERSION is not stale vs queue", "quality", "check-freshness", "actionlint", "Plain title"] },
|
|
"merge": "direct",
|
|
"land": {
|
|
"merged_checks": [
|
|
"bun run typecheck",
|
|
"bun run gen:skill-docs --host all && test -z \"$(git status --porcelain -- . ':(exclude)node_modules')\"",
|
|
"bun run scripts/test-free-shards.ts --files-from test/land-merged-checks.txt --wall-timeout 600"
|
|
],
|
|
"merged_ci": { "workflow": "free-tests.yml", "profile": "ci-reuse/free-tests" }
|
|
},
|
|
"release_gate": { "cadence_hours": 8, "gate_workflow": "evals.yml", "branch": "main", "stable_ref": "stable", "check_name": "main-backstop", "on_red": "hold-release", "bisect_spend_cap_usd": 80 },
|
|
"min_gstack_version": "1.96.0.0"
|
|
}
|