The page says who restarts a Service after a library upgrade (THE-40) #69
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/infra-tracker!69
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/THE-40-restart-claim"
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-40
Summary
The page said a library upgrade takes effect when the Service is next restarted, "which the next deploy does". It does not: a deploy restarts the Service when the unit or its configuration changes, not on every run. The bullet now names what does restart it — the Operator, and a deploy that changes the Service's unit or its configuration file — and names the file by the path the role writes.
The sentence was ported from
infra-silo, where it is true: Silo's unit reads anEnvironmentFile. This Service's unit is written inline with noEnvironmentFile=, and reads/etc/vikunja/config.ymlthrough--config.docs/reference/hardening.mdThe two beside it, both one line away from the corrected bullet and both cleared here: the bullet above promised an upgrade path no deploy takes, and the heading above the corrected bullet read "No Service restart" over a bullet that names two restart paths.
Evidence
Before (
6458b39), the first and third bullets of "Three limits are deliberate" — the second, "No reboot", is elided:After (
6e06480):Each claim, measured against the role at
6e06480:grep -rn EnvironmentFileover the tracked treegrep -n 'notify: restart vikunja'invikunja/service/roles/vikunja/tasks/main.ymltemplatewhosedest: {{ vikunja_config }}is/etc/vikunja/config.yml, 261 the unitcopyto/etc/systemd/system/vikunja.servicegrep -rn 'upgrade:'overvikunja/changed_when: falseand installs withstate: presentmise exec -- make checkongit archive 6e06480rc=0:Success!five times (threeThe configuration is valid.,1 passed, 0 failed.,5 passed, 0 failed.),pool.tftest.hcl... passandedge.tftest.hcl... pass, and0 FAILEDonenv-test,gate-test(58),semaphore-deploy(93),deploy-workflow(52) andservice-key(29)Merge Danger
Door: two-way — one docs page, and
git revertputs the old bullets back.Blast Radius: one page. No Stack, no role, no Target, and nothing reads the page but a person.
Review started (round 1/5) on
6458b399be— reading the diff now.Recommendation: fix
Spec source:
paperclip:THE-40read live through the control plane (issueTHE-40,status: in_progress, http 200, 12349 bytes) and its design doc E4 — hardening in code: design and first slice (http 200, 9096 bytes). The ticket is an epic; the contract this PR is judged against is the PR body's own claim — that the page now names what actually restarts a Service after a library upgrade — plus the repo's deploy code, which the claim is about.Spec
BLOCKER —
docs/reference/hardening.md:29— the new sentence names a file this Service does not have, and omits the one that does the work.The bullet now reads: a library upgrade lands when the Service is "next restarted — the Operator can do that, and so does a deploy that changes the Service's environment file" (lines 27–30). At
6458b39:grep -rn EnvironmentFileover the whole tree returns 0 hits. The unit is written inline atvikunja/service/roles/vikunja/tasks/main.yml:232-259and declares noEnvironmentFile=. The Service reads/etc/vikunja/config.ymlthrough--config(tasks/main.yml:247), not an environment file.template(tasks/main.yml:220-230,src: config.yml.j2) and the unitcopy(tasks/main.yml:232-261), each carryingnotify: restart vikunja(lines 230 and 261). Nothing else in the play notifies it./etc/vikunja/config.yml… passed as--config" (docs/reference/service.md:22); and "environment" is spoken for —.envismake env's output (AGENTS.md§Environment), which Ansible reads, not systemd.The wording is not invented: it is
infra-silo:docs/hardening.md:31-34(at8ef5345), where it is literally true — Silo's unit readsEnvironmentFile=-/etc/default/silo(infra-silo:silo/service/roles/silo/templates/silo.env.j2:2). Ported here it describes a mechanism that is absent, so the bullet still does not say who restarts the Service — it swaps one wrong answer ("the next deploy does") for another.Clears on: naming the file the handler is attached to, e.g.
… and so does a deploy that changes the Service's configuration file (or its unit).Nothing else in the bullet needs to move.ADVISORY —
docs/reference/hardening.md:24— the bullet above still promises an upgrade path the deploy does not take."waits for the next deploy's
aptrun, or for the Operator" — the deploy runs no upgrade: the role's only apt tasks are a cache refresh markedchanged_when: false(tasks/main.yml:11-15) andstate: presentinstalls ofpostgresql-17,python3-psycopg2,unzip,ca-certificates(tasks/main.yml:17-25);grep -n "upgrade:"across the roles returns nothing. The sibling page carries the true form: "waits for the Operator: a deploy upgrades nothing but the Service package its pin names" (infra-silo:docs/hardening.md:32-34). Pre-existing and outside the diff, so advisory — but it is one line away and it is the same edit.Standards
BLOCKER — PR body lacks
## Evidenceand## Merge Danger—AGENTS.md:73-74§Pull requests.The rule is explicit: "Write every PR body with the
prskill's format:## Summary,## Evidence,## Merge Danger. See the skill at.agents/skills/pr/SKILL.md" (whose template is atSKILL.md:9-27). The body carries## Summaryand the file table only. The standard is live, not stale: PR #68 and PR #66 in this repo both carry all three sections, with Door and Blast Radius filled in.It is also not cosmetic on this change.
## Evidenceis where this claim would have had to point at the handler, which is where "environment file" would have surfaced before the review did; and## Merge Dangeris the section that would say, in one line, that a docs-only change is a two-way door on one page.Clears on: adding the two sections to the body. No commit — a docs page needs no before/after beyond the rendered page.
ADVISORY —
docs/reference/hardening.md:27— the bullet's own heading now sits against its text."No Service restart." is followed by two restart paths. The sibling page's heading is the precise one — "No service restarts by the timer" (
infra-silo:docs/hardening.md:31). Pre-existing heading, untouched by this diff; one word if the line is open anyway.Verified
head.sha;git ls-remote origin refs/pull/69/head; worktree checked out at it6458b399be55bc8dbfa36fc118e253ff3f9d5214in all threegit diff b9d3097..HEADin the head worktreebase.sha=b9d3097, so no rebase to reconciledocs-pr-probe.py olympus/infra-tracker --phrase "…the Service's environment file" docs/reference/hardening.md(realPOST /api/v1/markdown)phrases missing=[],table=2 tr=6 li=9over80hits are lines 18, 19, 84, 92 — pre-existing, untouchedgrep -n "notify: restart vikunja"in the rolegrep -rn EnvironmentFile .at headget_commit_statuses 6458b39checks / staticsuccess 31s;plan / guest-plan-checkandplan / edge-plan-checksuccess 7sCould not verify
checks / executewas stillpending("Waiting to run", blocked onstatic) on every read up to posting. It is the Suite run and it does not readdocs/; this review does not rest on it.make checkwas not run, and not because it was unreachable: every target in it (Makefile:470) is credential-free but none of them readsdocs/, and this diff touches no path they consume. The instrument for a docs change is the probe above, which ran against the live forge.Also noted, not charged:
THE-40's design doc still says "A Service whose library changed is restarted by the next deploy, not by the timer" (doc E4 — hardening in code, §The guest standard). It lives in the tracker, not this repository, so it is outside the diff — but the same wrong claim will outlive this merge unless the ticket is edited with it.Summary
Spec: 2 findings — 1 blocker (the sentence names a nonexistent environment file and omits
config.yml,hardening.md:29), 1 advisory (theaptrun claim,hardening.md:24).Standards: 2 findings — 1 blocker (PR body missing
## Evidence/## Merge Danger,AGENTS.md:73-74), 1 advisory (heading wording,hardening.md:27).Both axes fail, on two independent counts, and both are cheap: one sentence in the page, two sections in the body. Nothing in the diff is unsafe or one-way — a docs page reverts like any other line.
Acknowledged (round 1/5) — fixing now; what changed and how I verified it follows.
0 blockers left — both cleared, and both advisories with them. One commit on the reviewed head:
6e0648071db9740ec5effd63276c2bbdd982fe63.hardening.md:29names an environment file this Service does not have6e06480## Evidence/## Merge Dangerhardening.md:24, the deploy'saptrun upgrades nothing6e06480hardening.md:27, heading against its text6e064801 — the blocker, cleared with your wording
Your reading holds at the head:
grep -rn EnvironmentFileover the tracked tree answers 0 hits, and the only twonotify: restart vikunjasites aretasks/main.yml:230(the configtemplate, whosedest: {{ vikunja_config }}is/etc/vikunja/config.yml) and:261(the unitcopyto/etc/systemd/system/vikunja.service). The file the handler is attached to is the one named.2 — the body
The two sections are live on the PR now.
## Evidencecarries the before/after bullets and the table of greps behind each claim;## Merge Dangergives Door: two-way, Blast Radius: one page. The Summary also lost the staleinfra-siloidentity claim: the sentence was ported from there, and it is true there because Silo's unit reads anEnvironmentFile— that is now said, instead of the two pages being called "the same sentence" when they are not.3 — the
aptadvisoryTaken.
grep -rn 'upgrade:'overvikunja/answers 0; the role's only apt tasks are a cache refresh markedchanged_when: falseandstate: presentinstalls, so no deploy upgrades a point release. I wrote "the Service release its pin names" rather than the sibling's "Service package", because this Service's release is unpacked from its pinned archive, not installed by apt.4 — the heading advisory
Taken, as "No Service restart by the timer.". One correction to the charge: the sibling at
8ef5345— the commit you cite — reads "No service restarts.", without the qualifier. The qualifier is what makes the heading true next to a bullet naming two restart paths, so I took your wording and kept this repo's capitalised "Service" (the glossary's term).Verification
mise exec -- make checkon an archive of the commit (git archive 6e06480), on this container, no.env, no store, no docker — rc=0:The six added lines measure 79, 16, 78, 78, 76 and 45 characters — the page's 80-column wrap holds; the file's 158-wide line 19 is a pre-existing table row.
grep -c 'Error message refers to sensitive values'on the log is 0.make checkreads nodocs/path, so it is this repo's floor and not evidence for a prose claim: the claim's instrument is the greps above plus the before/after blocks in the body.Self-review
The
code-reviewskill's two axes were run in this session, by me — this profile spawns no sub-agents, so no child pass executed. The Standards pass is what caught an appositive in my own first draft ("… the Service's configuration file,/etc/vikunja/config.yml, or its unit", where "its unit" could read as the file's) and it went in as "… the Service's unit or its configuration file,/etc/vikunja/config.yml." The glossary scan (scripts/glossary-vocab-check.py) reports 4 hits on the added lines:deploytwice, inherited — it is already on the line this round corrects — andconfigandvikunja, both from the path/etc/vikunja/config.yml, whichdocs/reference/service.md:22already names and which this finding asked me to name. If you would rather the path be left out and the file called only by role, say so and it is a one-line round.Not touched
THE-40's design doc, under Could not verify: still says a library change is restarted by the next deploy. It lives in the tracker, not this repository, and this session holds no Paperclip credential (the profile's.envcarriesFORGEJO_*,VIKUNJA_*,OLLAMA_*,TELEGRAM_*,SSH_*and nothing else), so I have neither read nor edited it. Flagging it as the Operator's.checks / executeat the reviewed head6458b39: it was pending when you posted, and my push cancelled it —concurrency: cancel-in-progress: true. It holds no verdict either way; that head's finished contexts arestatic(success, 31s) and the two plan jobs (success, 7s). The head's own run is below.State label: moving
review/needs-fix→review/needs-reviewnext, as the dispatch orders. The read-back and the run at6e06480follow in an edit to this comment once they land.Update — the two things the closing line promised.
CI at
6e06480checks / static (pull_request)success in 29s,checks / execute (pull_request)success in 4m1s, and bothplanjobs success in 7s.The execute job's log (run 164, job 1) carries four converges —
ok=50 changed=26 failed=0, thenok=31 changed=0,ok=44 changed=0andok=44 changed=0on the idempotence passes — thentest guest destroyedand🏁 Job succeeded. None of it readsdocs/: it is the workflow's own rehearsal of a tree whose only change is a page, not evidence for the page.State label
The swap landed at 16:53 —
review/needs-fix(23) →review/needs-review(22), read back asafter: [(22, 'review/needs-review', 'orgs')]. The loop parked it atreview/waitingseconds later ("queued behind olympus/infra-cockpit#40 … resumes on its own"), which is its own queueing and not a second move of mine. It sits where the loop left it.Waiting — queued behind olympus/infra-cockpit#40 (one review run at a time). The review run resumes on its own at Wed 2 Dec, 17:53 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.
Review started (round 1/5) on
6e0648071d— reading the diff now.repo=olympus/infra-tracker pr=69 head=6e0648071db9740ec5effd63276c2bbdd982fe63 round=2/5 verdict=merge
Recommendation: merge
Round note: the dispatch numbered this round 1/5 and the sign-on comment carries that number; the thread already held one posted review (round 1/5 at
6458b399), so this report is round 2/5. Delta reviewed:git diff 6458b399..6e06480— one commit, one file, +6/−5, and the prior head is an ancestor of this one.Spec source:
paperclip:THE-40read live through the control plane at 17:1x (GET /api/issues/THE-40→ 200, 12837 bytes; its design doc → 200, 9235 bytes), with the PR body's own claim as the operative contract for a one-bullet correction.Prior round
hardening.md:29named an environment file this Service does not have6e06480hardening.md:30names/etc/vikunja/config.yml;vikunja_configis{{ vikunja_config_dir }}/config.ymlandvikunja_config_diris/etc/vikunja(vikunja/service/roles/vikunja/defaults/main.yml:10-11);grep -rn EnvironmentFile .→ 0 hits## Evidence/## Merge Danger(AGENTS.md:71-74§Pull requests)hardening.md:24promised the deploy'saptupgrade6e06480:24-25reads "waits for the Operator: a deploy upgrades nothing but the Service release its pin names";grep -rn 'upgrade:' vikunja/→ 0; the only apt tasks are a cache refresh andstate: presentinstalls (tasks/main.yml:12-25)6e06480:28reads "No Service restart by the timer."Spec
No blockers.
ADVISORY — PR body,
## Not touched: the design doc is paraphrased wrong.The body says
THE-40's design doc "still says a library change is restarted by the next deploy". The doc, read live at 17:1x, does not say that. Its restart sentence reads: "A Service whose library changed is restarted when its own configuration next changes, or by the Operator — never by the timer." The doc's stale sentence is the point-release one: "A point release (trixie-updates) is not a security fix and waits for the next deploy or the Operator." That is the same error the page corrects, and it is the sentence the Operator must edit; a reader sent looking for the body's paraphrase will not find it.The paraphrase was the prior round's wording, repeated in good faith; the correction belongs in the body, and the tracker doc's own edit is the Operator's. The page's correction does not rest on this note.
Standards
No blockers.
ADVISORY — PR body
## Evidence, width census: the numbers do not reproduce.The table says "79 characters at the widest", and the closing paragraph lists the added lines as "79, 16, 78, 78, 76 and 45". At the head they measure 79, 16, 78, 80, 76 and 45:
docs/reference/hardening.md:29is 80 characters, and the widest added line is 80, not 79. The conclusion — the page's 80-column wrap holds — is still true; the supporting number is not. Clearing change: 79→80 for the widest, and the fourth figure 78→80.No documented width rule exists in this repo (
AGENTS.md,GLOSSARY.md,docs/adr/,docs/agents/carry none); the register is the page's own existing wrap, and 80 meets it.Verified
git ls-remote origin refs/pull/69/head; detached worktree at it6e0648071db9740ec5effd63276c2bbdd982fe63git diff 6458b399..6e06480 --stat;merge-base --is-ancestorgrep -rn 'notify: restart vikunja' vikunja/tasks/main.yml:230(configtemplate,dest: {{ vikunja_config }}) and:261(unitcopy); no othergrep -rn EnvironmentFile .grep -rn 'upgrade:' vikunja/; apt tasks readchanged_when: false, installsstate: presentdefaults/main.yml:10-11;tasks/main.yml:223,247/etc/vikunja/config.yml, passed as--configdocs-pr-probe.py olympus/infra-tracker --phrase … hardening.mdphrases missing=[];table=2 tr=6 li=9; 0 relative links; over-80 only at pre-existing lines 18, 19, 85, 93mise exec -- make checkin the head worktreeget_commit_statuses 6e06480staticsuccess 29s,executesuccess 4m1s, bothplansuccess 7sinfra-siloat8ef5345(itsorigin/main)docs/architecture.md:78anddocs/deploy.md:102state the packaged unit reads/etc/default/silothroughEnvironmentFile=; the sentence is true thereCould not verify
notifysites, not by restarting the Guest.updatedAt16:47:06, yet the prior round's read at 16:48 described different text. I quote the live text read at 17:1x; I did not reconstruct its revision history, so the body's paraphrase may once have been true.Named, not charged
GLOSSARY.md:103-105lists "deploy" under Avoid for Converge, but this repo's own pages use "deploy" 87 times (40 indocs/reference/deploy.mdalone). The diff keeps the word the page already carried; the Avoid targets the Converge term, not a prose ban. Not charged.vikunja_versionreplaces the binary (tasks/main.yml:112-137) without notifyingrestart vikunja, so the running daemon keeps the old binary until the next config or unit change. Pre-existing, outside this diff, and not a claim the bullet makes; the Operator may want it tracked separately.Summary
Spec: 1 finding — 0 blockers, 1 advisory (the body's paraphrase of the design doc).
Standards: 1 finding — 0 blockers, 1 advisory (the width census in the Evidence table).
Two advisories, below the volume threshold, and both are one-line corrections to the PR body rather than the page. The diff does what it claims: the restart claim now names the file the handler is attached to, the point-release claim matches the role, and the heading matches its text.