Host allod carries the secret namespace; registry groups may have no Forgejo token #50
No reviewers
Labels
No labels
blocked
bug
decision
duplicate
enhancement
help wanted
invalid
landed?
question
ready-to-merge
stale
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
allod/nexus!50
Loading…
Reference in a new issue
No description provided.
Delete branch "agent/secret-tag-and-registry-service"
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?
After the next host rebuild with a bumped
allod-toolspin, Nexus'sallodgainsallod secret createandallod secret rekey, the command that lands an encrypted credential in the secrets repository; until that pin moves, the new build tag names no code and the binary is unchanged.rotate-tokennow accepts a registry group whoseserviceisnone, for a credential that is not a Forgejo token, and prints generic instead of Forgejo copy for it; every existing group isforgejoand behaves exactly as before. What proves it: the nexus flake check passes, the rotate-token suite passes with two new refusals and one new dry-run case, and the tools side was smoke-tested separately. If it is wrong, revert this commit: the tag comes off the build and the validator returns to requiringforgejo.Closes allod/tools#182. The other landings are allod/secrets#19 (the
pendinginventory state) and allod/tools#195 (the command). Merge order: secrets, tools, then this; after tools merges, bump theallod-toolsinput here and in the deploy flake so the tag reaches code.Risk
R2. The build-tag line changes one host package; a wrong tag is a build error, not a runtime one. The validator change widens what
rotate-tokenaccepts, and the two new negative fixtures show it still refuses an unknown service and a Forgejo group without an account.Validation
nix flake checkon this branch: all checks passed.bash tests/rotate-token.sh: 37 passed, including the newservice none group dry-run omits the Forgejo copyand thebogus.serviceandforgejo.no-accountcases in the unsupported-metadata loop.allod secretbinary itself was exercised in allod/tools#195; nothing here runs it.Left to the operator
save-encrypted-credentialskill retires by hand once this lands, as the issue's comment says; its paste-safe relay shape already lives in the publicagent-behavior.md.accountandui_token_nameby settingservicetonone.