You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
git-backup's 'could not untrack' message (line 630) still has no rotate-credential advice #989
filed-by-loopFiled by the maintainer loop, not by a human. Sets the author axis in dispatch_rank.lane-otherfits no other lane — kept so an unlabelled issue means untriaged, not 'nothing matched'priority:highBlocks work or has already caused damage
Symptom: A user who hits the "could not untrack" branch of the config.json/logs/tmp untrack block in hooks.d/after_save/50-git-backup.sh learns nothing about needing to rotate a credential that config.json may have carried, and cannot tell "credential never existed" from "credential exists but this message happens not to say so."
Location:hooks.d/after_save/50-git-backup.sh:630 (current HEAD, confirmed during curate pass):
log "git-backup" "could not untrack $SLUG/logs, $SLUG/tmp or $SLUG/config.json; the index was restored and the next backup retries."
Mechanism: The untrack block (lines 622-631) has three branches, all reached only after git -C "$REPO_ROOT" ls-files already shows a legacy $SLUG/config.json tracked -- i.e. any haiku.oauth_token it carried is already in this store's git history, regardless of which branch fires:
line 624, "deferred" (store has other staged changes) -- carries rotate advice.
line 627, "succeeded" (untrack commit landed) -- carries rotate advice.
line 630, "could not untrack" (git rm --cached or _gb_commit_untrack failed) -- still has NO rotate advice.
#974 (PR #987) fixed the first two branches; this third sibling was found by self-review round 2 on that same PR, after it merged, and deliberately left for a follow-up rather than reopening #974 for an unbounded sweep of self-review rounds.
What would settle it: add the same "if that config.json ever carried a haiku.oauth_token... rotate it (claude setup-token)" sentence to line 630's message, with a red/green test constructing the git rm --cached/_gb_commit_untrack failure path (see tests/test_git_backup_silent_exclude_mkdir_759.py for the ENOTDIR-failure construction pattern used for a similar branch).
filed-by-loopFiled by the maintainer loop, not by a human. Sets the author axis in dispatch_rank.lane-otherfits no other lane — kept so an unlabelled issue means untriaged, not 'nothing matched'priority:highBlocks work or has already caused damage
Activity
curate(trap.d): decline 3 fragments, each filed as a tracking issue (#…
fix(#989): add rotate-credential advice to git-backup's could-not-unt…
test: no shipped shell script names a credential (directory finding, …
fix: drop credential names from the backup hook's rotate advice (dire…
Directory credential finding: drop credential names from the backup h…