Repository navigation
docs(sensitive): edit secrets from a worktree, not trinity's deploy checkout - #1821
Merged
Merged
Conversation
…heckout converge-sensitive refused on 2026-11-27 and 2026-11-28 at about 05:30 UTC because secrets/sensitive.sops.yaml was mid-edit in the deployment checkout, and ScheduledJobFailed fired each time. Say how to run make secrets-edit from a worktree instead, in the converge runbook and the stack README. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gerrrt
enabled auto-merge (squash)
November 29, 2026 02:11
…rom-a-worktree # Conflicts: # docs/changelog.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Docs only. Nothing in the running lab changes. The The tree is dirty section of
docs/runbooks/converge-the-host.mdnow covers the usual case ontrinity:secrets/sensitive.sops.yamlwith an edit still waiting for its pull request. It shows how to runmake secrets-editfrom a git worktree instead.stacks/sensitive/README.mdgets the same advice in a sentence where it introduces the secrets file.docs/changelog.mdrecords the two refusals.Why
ScheduledJobFailed{homelab_job="converge-sensitive", instance="trinity"}fired at about 05:26 UTC on 2026-11-27 and 05:30 on 2026-11-28. Both times the error was "the deployment checkout has uncommitted changes", and the only changed file wassecrets/sensitive.sops.yaml. The reflog shows Glance secrets edits made in~/code/Gerrrt/HomeLabthat went out as #1779 and #1796. Each run cleared the next hour, after the merge and a pull. Editing from a worktree keeps the deployment checkout clean while the pull request is open, so the alert doesn't fire.Blast radius
None. These are three Markdown files, and no config, rule or script changes.
secrets/*.sops.yamlVerification
On
trinity,sops -dof the deployment checkout'ssecrets/sensitive.sops.yamlwith/tmpas the working directory succeeded, with output discarded. The age key is per user, somake secrets-editworks from a worktree. I did not do an actual edit from a worktree.python scripts/check_docs.py:docs OK../scripts/lint.shin a throwaway--depth 1clone of this branch onprometheus(removed afterwards):lint passed, nothing skipped.make validatepasses (not run; docs only, so CLAUDE.md's minimum is the two checks above)Deployed to the lab and confirmed working (nothing to deploy)
Docs updated (
docs/, service README, ordocs/roadmap.md)🤖 Generated with Claude Code