Upgrade order: fix review findings on #11 #12
Loading…
Reference in a new issue
No description provided.
Delete branch "worker/gascitypacks-r3f"
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?
Follow-up to #11: the three review findings on the upgrade order, one commit each with the test that fails without it. The bead asked for them on
worker/gascitypacks-8yl, keeping #11; #11 merged at 14:48:19Z with its head atc3bf15dwhile this was in progress, so they ride a new branch cut from the newmain.git range-diffshows each commit patch-identical to the one first made on #11's branch.61c9015): the key is what the upgrade moved, thepacks.lockentries (source, version, commit) that differ fromorigin/main's and any line it changed inpack.tomlorcity.toml, not the post-upgrade text of the three files. Test: proposed → acity.toml-only commit lands → asha:pin bump lands → nothing is pushed, validated or opened again; a different upgrade on top is still proposed.d5f6cdb):reapruns before the staged worktree is made. It removes the leftover worktree that holdsupgrade/packsand prunes registrations whose directory is gone. It takes only the order's own (gc-upgrade.XXXXXX/city, whose pid file names a dead process): a user's checkout of the branch, or a run still going, is left alone and fails as before, with a mail. Tests SIGKILL the order for real, with its temp directory left and cleaned away, and cover both restraint cases.754c884): the commit runs with-c commit.gpgsign=false; the README, CHANGELOG and script header say so. Test: a global config that signs every commit through a gpg that cannot reach its agent.Verified: each new test fails against the merged script (a second pull request /
already used by worktree/gpg failed to sign the data) and passes with the fix; the restraint tests fail whenreap's guards are removed.gc lint .,go vet,go test,shellcheck,tests/upgrade.sh,tests/merge.shandtests/worktree-setup.shpass on this branch;tests/upgrade.shalso under macOS/bin/bash3.2 with Apple git. Not changed:sha:pins resolving to themselves, the city directory never edited in place, an open pull request reused rather than duplicated.To know:
git worktree pruneis repository-wide, so it also drops the registration of any worktree of the city repository whose directory is missing (git worktree lockprotects one). The lock format was checked against the city's realpacks.lock, but the order was not run against a realgchere; "gc import upgrade writes only packs.lock" is the review's reading of gc's source, and the key coverspack.tomlandcity.tomllines in case it ever does not. Found outside this bead:gascitypacks-s1j, the formula cuts a fresh branch for a review-fix bead that names an existing pull request only in its text.🤖 Generated with Claude Code
Bead: gascitypacks-r3f