gstack 1.91.320.0

1.91.320.0
Added 1
  • PREGATE_NO_LANE offers two routes: land the policy change in its own PR first, or rerun with --policy-from head --allow-repo-commands, which records the run as unreviewed
Changed 4
  • /ship stops on the duplicate-title refusal and reports the duplicated titles instead of reposting itself (#3575)
  • docs/troubleshooting.md and docs/pregate.md now cover the own-policy case
  • The gstack-post-pr-body-merge documentation entry now covers the duplicate-title refusal
  • Tests in pregate-selection, pregate-user-policy and gstack-post now cover the new fix lines and the duplicate-title refusal
Fixed 3
  • PREGATE_NO_LANE now names the policy source and explains that a lane added by the branch counts only once it is on the base branch
  • Pregate no longer loops telling a branch to declare a lane it had already declared in its own .gstack/pregate.json (#3574)
  • gstack-post pr-body posts nothing when the PR's current body holds a title from the file more than once, exiting 64 and advising a rerun with --replace and the whole body behavior changed · inferred, marked in the notes below

1 change to check, marked in the notes below

From gstack

A branch that adds its own pregate lane now learns why it still fails, and gstack-post pr-body no longer keeps a stale copy of a section. Pregate reads its policy from the base branch so a branch cannot loosen its own gate. A branch that had already declared a lane in its own .gstack/pregate.json was still told to declare it, and went round in a circle. Separately, a PR body that held ## What changed twice kept the old copy every time /ship reposted. Fixed: PREGATE_NO_LANE now names the policy source, says a lane the branch adds counts only once it is on the base, and offers two routes: land the policy change in its own PR first, or rerun with --policy-from head --allow-repo-commands, which records the run as unreviewed. Pregate still never reads the branch's policy on its own (#3574). Fixed: gstack-post pr-body posts nothing when the PR's current body holds a title from the file more than once, exits 64 and says to rerun with --replace and the whole body. /ship stops on that refusal and reports the duplicated titles instead of reposting itself (#3575). Docs: docs/troubleshooting.md and docs/pregate.md cover the own-policy case; the gstack-post-pr-body-merge entry covers the duplicate-title refusal. Tests: test/pregate-selection.test.ts, test/pregate-user-policy.test.ts and test/gstack-post.test.ts cover the new fix lines and the duplicate-title refusal. Gate integrity: a duplicate-title assertion that expected the first copy replaced now expects the refusal, plus a case where duplicates the file does not touch are kept. behavior changed · inferred

View original

Upgraded? How did it go?

Discussion