The forge's restore points name the Semaphore task that took them (THE-14) #108
No reviewers
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
wontfix
needs-info
needs-triage
ready-for-agent
ready-for-human
review
merge-ready
review
needs-fix
review
needs-human
review
needs-operator
review
needs-review
review
waiting
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/infra-forge!108
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/THE-14-restore-points-name-the-task"
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?
paperclip:THE-14
Summary
THE-14 says "nothing is deployed by hand". Every restore point a merge's deploy takes on 141 and 146 reads
by hand, by an unnamed user: a Semaphore task has no Forgejo run number, soscripts/snapshot.shfell through to its hand-run words. The deploy is automated and the Guests' own record does not say so.scripts/snapshot.shelif: with no Forgejo run number the description endsby ${DEPLOY_RUN}. A Forgejo run still wins over it, and with neither the words stayby hand, by <user>scripts/semaphore-deploy.shmake prodthe labelthe Semaphore deploy task <id>. The id isSEMAPHORE_TASK_DETAILS_ID, which Semaphore 2.19.16 sets for a shell templatescripts/tests/semaphore-deploy.test.shscripts/tests/snapshot.test.shprod's sub-make.make snapshot-testruns it; its help line says sodocs/runbooks/0001-deploy-and-rollback.mdIt is the change infra-secrets has carried since #59 (
77b1268). Nothing else moves: no Stack, no role, noprodstep.Evidence
predeploy-*at04a6bb5and90fa0ed, every one endingby hand, by an unnamed user. On 144, which has this change, the three endby the Semaphore deploy task 35,37and38mise exec -- make check, fresh clone of9bde122ok, no FAILsnapshot-test(11 assertions before, 17 now),deploy-test'ssemaphore-deploy: every case passed. Eight assertions are newby; the hand fallback loses its user; the label outranks a Forgejo run; the label is not handed toprod; the label drops the task's id; the label's name is misspelt;prod's sub-make wrapped inenv -u DEPLOY_RUNmain's scriptsNot run, and the merge is the evidence: that a live task on the forge carries
SEMAPHORE_TASK_DETAILS_ID(it does on 144, three times), and the merge's own two restore points readingby the Semaphore deploy task <id>.Merge Danger
Door: two-way. The change is a label and one branch in two scripts, and a revert is an ordinary pull request. The deploy the merge starts is not undone by a revert, but it applies what
mainalready holds.Blast Radius: the one sentence a restore point carries, and the task body that names it. A mistake in
snapshot.shwould turnsnapshot, the deploy's first step, red and stop the deploy before anything changes; the new cases pin that path.What the merge deploys: the next real deploy of 141 and 146 since task 32 on 16 Nov. Run 205 on 1 Dec went red at its first request, before any task started (
curl: (35) wrong version number: THE-106's https switch merged ahead of Semaphore's TLS listener). The listener answers now, and secrets' tasks 35, 37 and 38 went through the same path. This merge touches norunner/path, so the job waits for the task; the firstrunner-serviceapply restartedforgejo-runnerunder that wait on 16 Nov (run 200,context canceledover a green task), and a repeat reads the same way. Read the task row before calling it red.Order: none with another pull request.
olympus/workshop#58describessnapshot-testas the prune's selection; that stays true, and it now also proves the description.Prose in this body is agent-written (Hermes).
Refs: THE-14
Waiting — queued behind olympus/infra-tracker#65 (one review run at a time). The review run resumes on its own at Tue 1 Dec, 21:43 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.
Waiting — queued behind olympus/infra-tracker#65 (one review run at a time). The review run resumes on its own at Tue 1 Dec, 21:43 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.
Review started (round 0/5) on
9bde122c4b— reading the diff now.Round 1 of 5 on head
9bde122c4b24a909ac7737c2d03b7116e012aae4. The dispatch said round 0 of 5. This thread holds no posted review (the two "Waiting" comments and the sign-on are comments, not reviews), so the header counts one more than the posted reviews: one.Recommendation: merge
Merge. No blocker stands. Two advisories stand, under the volume rule's threshold of three, so the recommendation is merge with both as advice. The count moved the word, not the weight. Merging is the Operator's act; this review does not merge.
Sources read
paperclip:THE-14): its report document, section "The restore-point fixes (opened 1 Dec, 20:45Z)", answering card01a28dc7; the issue description's "Done when" for contextfetch-paperclip-issue.sh,fetch-paperclip-comments.py(69 comments, none against this change)AGENTS.mdat head: §Code comments L36-38, §Pull requests L62-64;docs/agents/issue-tracker.mdL67-69;olympus/workshopAGENTS.mdL21-23 at origin/main; workshop ADR-0009, -0010, -0011, -0013 at origin/mainaa1645eSpec. The claim: a restore point taken by a Semaphore deploy names the task that took it, and reads "by hand" only for a hand run. Met in the code:
scripts/snapshot.shL114-119 andscripts/semaphore-deploy.shL152-155. The live effect is not in this diff; the body says so and the merge is the evidence.Findings
Standards
scripts/semaphore-deploy.shL152-154;scripts/snapshot.shL115-116;scripts/tests/snapshot.test.shL2-5, L131-133, L144-147, L166-167^+\s*#lines in the diff). AGENTS.md L38: "Keep comments to a minimum … propose a docs page underdocs/instead." The three-line note on Semaphore 2.19.16 (semaphore-deploy.shL152-154) is the kind of fact that rule routes todocs/. Against it:snapshot.shalready carries rationale comments at L2-5, L95-96, L104, L134-135, so this is a degree judgement, not a clear breach.paperclip:THE-14)FO-<index>(or the epic'sSL-<index>); the body names neither. The org rule cites company work aspaperclip:THE-12(workshop AGENTS.md L21-23), and this repo's tracker doc covers only Vikunja (docs/agents/issue-tracker.mdL69). The two written rules disagree for this shape of work, so the author followed one and broke the other. The body does link the ticket (line 2), which is what the rule is for. Reconcile the docs; not charged to the author.Nits (advice, outside the count; style, not findings):
docs/runbooks/0001-deploy-and-rollback.mdL315-318SEMAPHORE_TASK_DETAILS_IDunset the description readsby the Semaphore deploy task.(semaphore-deploy.shL155,:+expansion). One clause would say so.scripts/tests/snapshot.test.shL136-140take_snapshotsetsSNAP_OUTandSNAP_RC; no case reads them.DESCis the assertion, so nothing passes falsely, but the two variables are dead.Spec
No findings. Every requirement in the card traces to the diff, and nothing outside it: the runbook line and the
snapshot-testhelp line are both on the card's list. The body's claim that infra-secrets has carried the same change since #59 holds:77b1268has the identicalsnapshot.shbranch (elif [ -n "${DEPLOY_RUN:-}" ],run="by ${DEPLOY_RUN}") and the same label line insemaphore-deploy.sh.Named, not charged
predeploy-*prune is unchanged, and ADR-0013 assigns it to the Deployer. No ADR changed. No workflow file changed, so the four gate boundaries hold: workflow file, required context names, job names, and the recipes ofcheck,snapshot-test,deploy-test(Makefile L719-720; the only moved line issnapshot-test's##help text, which the charter treats as prose).make prodcall. A deploy-script edit of this shape was merged on infra-secrets via #59 (Reviewed-bytrailer on77b1268). Not escalated here. If the board reads deploy-path edits as tier-1, this is a hold and the board may say so.predeploy-*prune; the Run 205 red over the https switch; the forge'sdeploy (push)context; "nothing is deployed by hand", which the report says is unmeasured until the merges.What I verified, and how
git ls-remote origin refs/pull/108/head9bde122c…, equal to the dispatch; merge-basee390409equal to maingit diff --stat e390409 9bde122;git diff --checkmake check: exit 0, 302 okmise exec -- make checkin the head worktreedocs-check5/5; the two "FAIL" hits are the summary text0 FAILEDsnapshot-test: 17 okmise exec -- make snapshot-testdeploy-testgreenmise exec -- make deploy-testmise execstub@pve!deploy=stuband the hostnode.invalid, both stand-insPlanted defects. The body claimed eight; I reproduced those eight and added one (m8).
bymake prodprod's sub-make wrapped inenv -u DEPLOY_RUNCounts are net of three runner-play cases that fail in a copy built without
.git: they read the repo's HEAD (semaphore-deploy.test.shL627) and pass in the real worktree undermise.Edge probes: a label with no Semaphore id (pinned, deploy suite); a Forgejo run and a label set together (Forgejo wins, pinned, m4); neither set (
by hand, by pedro., pinned); four snapshots taken in one process, each description independent (the helper clears its files first). The prune path is unchanged and its cases pass.What I could not verify
SEMAPHORE_TASK_DETAILS_ID, and this merge's own restore point. Not run; the body says the merge is the evidence.mise, the runner-play cases fail on the host's unpinned Ansible ("Local RPC server did not start"). Every verdict here uses the repo'smiseroute.Summary
Advisory count 2, under the threshold of 3: the recommendation is merge, on the count and not on weight. No blocker. Nits sit outside the count.