From 61bad58833d42d3ff2f7d22d07b82870f934e16f Mon Sep 17 00:00:00 2001 From: Gerrrt Date: Sat, 28 Nov 2026 15:47:50 -0800 Subject: [PATCH] docs(images): commit a re-shoot from a worktree, not the deploy checkout On 2026-11-28 the screenshot re-shoot (#1803) was committed on a branch in prometheus's deployment checkout and the tree was left there, so converge refused hourly and ScheduledJobFailed, ScheduledJobStale, DeployUnapplied and DeployUnverified fired all evening. Record it, and say how to carry the PNGs to a worktree instead. Co-Authored-By: Claude Opus 5.5 --- docs/changelog.md | 12 ++++++++++++ docs/images/README.md | 23 +++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/docs/changelog.md b/docs/changelog.md index eabfa39c3..538b93ef9 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -19,6 +19,18 @@ docstring gives: it is a record, not a claim about now. ## 2026-11-28 +- **`prometheus`: converge refused from 15:27 UTC because the deployment + checkout was left on a branch.** The screenshot re-shoot was committed on + `gerrrt/update-screenshots` in `robo`'s tree. It merged as #1803 at 15:44, + but the tree stayed on the branch. Every hourly converge then exited 2 on the + branch check, so four warnings fired on `prometheus` and stayed up: + `ScheduledJobFailed` and `ScheduledJobStale` for `converge`, `DeployUnapplied` + (HEAD was the branch commit, never applied), and `DeployUnverified` (a + commit made on the host carries no GitHub signature). The tree was clean and + its one commit was on `main` as #1803, so `git switch main` lost nothing. It + was switched back at about 23:50. `docs/images/README.md` now says to commit + a re-shoot from a worktree, so the deployment checkout stays on `main`. + - **Weekly docs audit, week 2026-48, stacks.** Two READMEs corrected. `stacks/media/README.md` said `stacks/sensitive` puts seventeen services behind Caddy; its compose file has twenty-three. `stacks/observability/README.md` diff --git a/docs/images/README.md b/docs/images/README.md index ea7166823..a76b020d0 100644 --- a/docs/images/README.md +++ b/docs/images/README.md @@ -95,6 +95,29 @@ Overwrite the existing files in place. The root `README.md` references them by name, so a re-shoot needs no edit there — but it does need the checklist at the bottom of this file running over it again before it is committed. +### Commit them from a worktree, not the deployment checkout + +`make screenshots` has to run where the stack runs, so on `prometheus` it +writes the PNGs into the deployment checkout, `robo`'s tree. Do not branch and +commit there. The hourly converge refuses while that tree is off `main`, and +`ScheduledJobFailed`, `ScheduledJobStale`, `DeployUnverified` and +`DeployUnapplied` all fire on `prometheus` until somebody switches it back +([`converge-the-host.md`](../runbooks/converge-the-host.md), *The tree is on +another branch*). On 2026-11-28 the re-shoot merged as #1803 inside twenty +minutes, but the checkout stayed on its branch for the rest of the day. + +Carry the images to a worktree instead, and put the deployment checkout back +the way it was: + +```bash +git worktree add -b gerrrt/update-screenshots ../screenshots origin/main +cp docs/images/*.png ../screenshots/docs/images/ +git restore docs/images/ # the deployment checkout is clean on main again +cd ../screenshots # review, commit and push from here +``` + +`git status` in the deployment checkout should then print nothing. + ### The window matters The renderer captures `now-24h` to `now`, so **anything that was broken in the