mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-17 05:41:50 +01:00
fix(ship-release): push guards skip only when origin has no base branch; a refused run or unreachable origin stops
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
e9b98e2da8
commit
f44e61c7ee
3 files changed
+30
-2
No files matched your search
+6
-1
@@ -1104,7 +1104,12 @@ prints `GUARDS: <verdict> (<detail>)`. A failing or unfinished guard stops the
|
||||
push with the guard's fix, and nothing is pushed. A pass already recorded at
|
||||
HEAD's exact tree is reused instead of rerun: either push's own record or
|
||||
`finish`'s preflight record. Both live under `.git`, where no commit can
|
||||
place one. Outside /ship, run the command above yourself before `git push`.
|
||||
place one. The guards must have checked the tree being pushed, so uncommitted
|
||||
or untracked files that change what they saw stop the push until you commit or
|
||||
stash them. A refused run (an unreadable policy, a base that is on origin but
|
||||
not fetched, a mistyped `--base`) stops the push too; only a remote with no base
|
||||
branch at all skips the guards, as `GUARDS: not run`. Outside /ship, run the
|
||||
command above yourself before `git push`.
|
||||
|
||||
gstack declares its own list in `.gstack/pregate.json`: `typecheck`,
|
||||
`skill-size`, `parity-suite`, `context-budget`, `module-size`, `goldens` and
|
||||
|
||||
Reference in new issue
Block a user