Auto seed-bump PR workflow + fix reconcile/bump-seed ref resolution #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/auto-seed-bump"
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?
Implements Option A from the cve-watch discussion: auto-open a PR for the one "necessary change" that's actually a file edit — the kernel-config seed. (A routine kernel bump is a tag push, deliberately human-gated on upstream-signature review, so it isn't automated here.)
fix(seed)— ref resolution (latent bug found while building this)reconcile-vs-anthraxx.shdefaulted its compare ref toHEAD, and both it andbump-seed.shcheck out the pinned baseline commit (detached HEAD) before checking out the target ref — so a literalHEADresolved back to the pinned commit. The defaultreconcile-vs-anthraxx.sh(no arg) was therefore comparing the seed to itself and would report "no change" forever, silently defeating the drift check once anthraxx advances. Dormant today only because their packaging HEAD currently equals our pin.reconcile: default refHEAD→origin/HEAD(remote-tracking ref → anthraxx's real tip).bump-seed: rewrite a literalHEADarg →origin/HEAD. Explicit tag/commit refs were always fine.ci—seed-bump.yml(weekly + manual dispatch)tools/bump-seed.shagainst anthraxx's latest (origin/HEAD, or a dispatch-supplied ref). bump-seed verifies the commit's GPG signature againstkeys/anthraxx.gpg— an unsigned/mis-signed seed fails the job, no PR.config.x86_64's sha256 changes (a commit-only move is reverted and skipped).Operator step
Provision a
SEED_BUMP_TOKENsecret (Forgejo PAT,write:repository) — documented inrunner-setup.md/first-build.md, flow inconfig-architecture.md. Until then the PR step fails loudly; the detection still runs. Note: anthraxx hasn't advanced past our pin, so the first runs correctly no-op until they do.Verified: shellcheck + yamllint clean; reconcile runs correctly via
origin/HEAD; the workflow's sha-detection, idempotency jq, and PR-body construction tested in isolation.🤖 Generated with Claude Code