Remove the deprecated lib.forgejoTokenGroups alias #32
No reviewers
Labels
No labels
blocked
bug
decision
duplicate
enhancement
handoff
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/secrets!32
Loading…
Reference in a new issue
No description provided.
Delete branch "agent/remove-registry-alias"
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?
The deprecated export
lib.forgejoTokenGroupsis removed; the credential rotation registry is now reachable only aslib.rotationRegistry. What changes for a running machine: nothing, because every consumer already reads the new name (allod/archetypes PR 78, allod/nexus PR 60, allod/tools PR 219, all merged) and the deploy lock pins a secrets commit that exports it, with tools and nexus pins that include those consumers. What stays identical: the registry file, its validation, and the value oflib.rotationRegistry, which hashes exactly as it did on the reviewed rename commit. What proves it: the three registry checks pass, and evaluating the old name now fails by attribute. If it is wrong the symptom is an evaluation error namingforgejoTokenGroupsfrom something not yet moved, and the fix is a revert of this one commit, which restores the alias.Before merging: the deployment's private fork of allod/secrets must carry the rename already, and any VM still running an
allodbinary older than allod/tools PR 219 losesallod secretagainst a checkout without the alias until it is rebuilt.Closes allod/secrets#22
Risk
R2. Removes a name nothing on master reads; the failure mode is a loud evaluation error and rollback is one revert.
Validation
Run by the integrator on the reviewed commit:
nix build .#checks.x86_64-linux.credential-registry .#checks.x86_64-linux.credential-inventory .#checks.x86_64-linux.local-auth-refresh --no-link: exit 0.nix eval --json .#lib.rotationRegistry | sha256sum: 29836d4c…, unchanged from the rename PR.nix eval .#lib.forgejoTokenGroups: fails, "does not provide attribute … lib.forgejoTokenGroups".grep -rn -i 'forgejo-token-groups\|forgejoTokenGroups' .outside.git: no hits.Cold review:
gpt-5.6-terraviacodex exec, default effort, read-only sandbox, on commitabdf3d13. No findings, no missed consumers, no unsupported claims; the reviewer searched the snapshot for both old names and found none.