Upgrade order: open one gascity-root PR moving pack imports #11
Loading…
Reference in a new issue
No description provided.
Delete branch "worker/gascitypacks-8yl"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds the
upgradeorder to therolespack, next toapply: exec, no LLM, every 10 minutes, city-scoped. In a staged worktree of the city'sorigin/mainit runsgc import upgrade; ifpack.toml,city.tomlorpacks.lockchanged, it validates asapplydoes, commits toupgrade/packsas the city's git identity, force-pushes that one branch and opens (or finds) the one pull request withgc <forge> pr open. A failure mails the Operator, deduplicated as inapply.sha:pins: checked with the real gc,gc import upgrademoves nothing against one but still rewrites everyfetchedtime inpacks.lock, so "a file changed" would open a PR every 10 minutes. The order ignoresfetched: a city that pins bysha:gets no PR, and only an import that follows the releases (^0.N) can move.GC_PACK_STATE_DIR, after the PR is open. The same upgrade is not re-validated, re-pushed or reopened while pending, so a PR you close stays closed until a different upgrade replaces it (delete the state file to propose it again).gc forgejo pr opengains--title(it required a bead and the order has none); the Operator skill gets a sentence on theupgrade:mails; the city's beads git hooks are bypassed for the order's own switch/commit/push (a staged worktree has no beads store).gc lint .,go vet,go test,shellcheck,tests/upgrade.sh(new, in CI: stub gc over throwaway repos; a dozen deliberate breakages of the script are each caught),tests/merge.sh,tests/worktree-setup.sh. One run with the real gc on a throwaway copy of the city plus a local semver pack: nothing while onlysha:pins existed, onepacks.lock-only commit once the pack released 1.1.0, nothing at the next run.pr open --title; give the orderFORGEJO_TOKEN_FILEthrough an[[orders.overrides]]entry namedupgrade(exec orders get noworkspace.env); let the supervisor's git push to the city's origin. An upgrade PR's diff carries every pack's newfetchedtime, which is gc's doing. Follow-up filed: gascitypacks-t12.Bead: gascitypacks-8yl