The page says who restarts a Service after a library upgrade (THE-40) #113

Merged
pit merged 2 commits from hermes/THE-40-restart-claim into main 2026-12-02 18:14:54 +00:00
Owner

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 a Service when its own configuration changes, not on every run. The sentence now names what does restart it — the Operator, and a deploy that changes the Service's own configuration, its unit, or (for the runner) the daemon's docker group. The two unattended_upgrades role defaults carried the same false claim in their comment, and are corrected with it.

infra-silo's page carries the same claim, but names /etc/default/silo: its unit loads that file through EnvironmentFile=. No unit in this repository has an EnvironmentFile=, so this page names what a deploy here does rewrite — the Service's configuration and its unit — rather than a file that does not exist. The store's deploy makes its half true by restarting it when a library it has mapped was replaced (infra-secrets#66).

File What
the hardening page the bullet corrected
both roles' unattended_upgrades/defaults/main.yml the same claim in the role comment, corrected
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 a Service when its own configuration changes, not on every run. The sentence now names what does restart it — the Operator, and a deploy that changes the Service's own configuration, its unit, or (for the runner) the daemon's `docker` group. The two `unattended_upgrades` role defaults carried the same false claim in their comment, and are corrected with it. `infra-silo`'s page carries the same claim, but names `/etc/default/silo`: its unit loads that file through `EnvironmentFile=`. No unit in this repository has an `EnvironmentFile=`, so this page names what a deploy here does rewrite — the Service's configuration and its unit — rather than a file that does not exist. The store's deploy makes its half true by restarting it when a library it has mapped was replaced (`infra-secrets#66`). | File | What | | --- | --- | | the hardening page | the bullet corrected | | both roles' `unattended_upgrades/defaults/main.yml` | the same claim in the role comment, corrected |
The page says who restarts a Service after a library upgrade (THE-40)
All checks were successful
plan / guest-plan-check (pull_request_target) Successful in 27s
plan / edge-plan-check (pull_request_target) Successful in 21s
plan / runner-guest-plan-check (pull_request_target) Successful in 21s
pr-checks / env-check (pull_request) Successful in 22s
pr-checks / fmt-check (pull_request) Successful in 19s
pr-checks / validate (pull_request) Successful in 20s
pr-checks / syntax-check (pull_request) Successful in 20s
pr-checks / docs-check (pull_request) Successful in 15s
abba8cb73f
A library upgrade takes effect when the Service is restarted, and the page said
the next deploy does it. It does not: a deploy restarts a Service when its own
configuration changes. The page now names the Operator, and a deploy that
changes the Service's environment file — the same sentence infra-silo's page
already carries, and the one the store's deploy makes true by restarting it
when a library it has mapped was replaced.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
Author
Owner

Waiting — queued behind olympus/infra-tracker#69 (one review run at a time). The review run resumes on its own at Wed 2 Dec, 17:46 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.

**Waiting** — queued behind olympus/infra-tracker#69 (one review run at a time). The review run resumes on its own at Wed 2 Dec, 17:46 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.
Member

Review started (round 0/5) on abba8cb73f — reading the diff now.

**Review started** (round 0/5) on abba8cb73fead727401ff5f6cce4a3cdba81a398 — reading the diff now.
bot-minos requested changes 2026-12-02 16:59:51 +00:00
Dismissed
bot-minos left a comment

olympus/infra-forge #113 · head abba8cb73fead727401ff5f6cce4a3cdba81a398 · round 1/5 · axes: standards, spec

The dispatch numbered this round 0, and the sign-on comment carries that number; the thread carried no review before this one, so the header counts this as the first round (1/5).

Recommendation: fix

Spec

BLOCKER — docs/hardening.md:33: the corrected sentence names a file no Service in this repository has.

The change replaces "which the next deploy does" with "the Operator can do that, and so does a deploy that changes the Service's environment file." The Operator half holds. The deploy half does not hold of this repo:

  • forgejo/service/roles/forgejo/tasks/main.yml:111 writes forgejo.service with ExecStart=… forgejo web --config …/custom/conf/app.ini; the unit carries no EnvironmentFile= and no Environment=.
  • runner/service/roles/runner/tasks/main.yml:103 does the same for forgejo-runner.service (--config …/runner.yaml), and forgejo/service/roles/forgejo_mcp/tasks/main.yml:107 for forgejo-mcp.service, whose whole configuration is CLI arguments.
  • A census of all five systemd units a role writes — forgejo.service, forgejo-mcp.service, forgejo-runner.service and both olympus-firewall.service.j2 — prints EnvironmentFile=0 Environment=0 on every one. git grep -n 'EnvironmentFile' at head is empty, and "the Service's environment file" appears nowhere in this repo except the line under review.

What a deploy actually restarts a Service on is a change to the Service's own configuration file or its unit: app.ini (forgejo/…/tasks/main.yml:132-144), runner.yaml (runner/…/tasks/main.yml:90-101), the two units (:111, :103), and the runner's group membership (:56). The spec says the same in general terms — THE-40 design rev 10, § The guest standard: "A Service whose library changed is restarted when its own configuration next changes, or by the Operator — never by the timer."

The sentence is accurate in infra-silo because silo's unit loads /etc/default/silo through EnvironmentFile= (infra-silo docs/deploy.md:102,108 beside silo/service/roles/silo/tasks/main.yml:97-102); that is exactly the half that does not travel to this repo. Here a reader who follows the sentence goes looking for a file that does not exist — the misdirection this PR set out to remove.

Smallest clearing change: "…and so does a deploy that changes the Service's own configuration — Forgejo's app.ini, the runner's runner.yaml — or its unit." The design's own "its own configuration next changes" is enough on its own.

Standards

ADVISORY — the same claim survives, untouched, in the two role defaults. forgejo/service/roles/unattended_upgrades/defaults/main.yml:5-6 and runner/service/roles/unattended_upgrades/defaults/main.yml:5-6 both read: "it never restarts a Service whose libraries changed — the next deploy restarts it, or the Operator does." By this PR's own premise — a deploy restarts a Service when its own configuration changes, not on every run — that comment is false at the base and still false at the head. The page was corrected and the code comment making the identical claim was not; git grep -n 'next deploy' at head is the census. Clearing change: one line per file, in whatever wording the page ends up with. Untouched files, so advisory.

Named, not charged

  • The bullet's title, "No service restarts.", still sits beside a body that names two things which do restart the Service. The same tension exists at the base (which the next deploy does), so it is not this diff's; if the clause is rewritten anyway, "No restarts by the timer." is the sharper title.
  • forgejo/service/roles/forgejo/tasks/main.yml:66-75 downloads the pinned binary with no notify, so a forgejo_version bump replaces the binary while the running daemon keeps the old one until some other change flips a handler. A pre-existing gap in the role, not this page's — and the reason the corrected sentence has to name the right trigger.
  • docs/hardening.md:27-28 ("waits for the next deploy's apt run") and its two restatements in 50unattended-upgrades.j2:3-6 are unchanged by this diff and agree with each other.

Verified

  • Head is abba8cb and the diff is docs/hardening.md only (3+/2−); a word-diff shows three moved word groups and no other prose moved.
  • mise exec -- make check at the head: exit 0, docs-check: all 5 assertions hold (60 links, 28 fragments, ADR index 10 rows / 10 records). That floor checks the docs tree's shape; it does not read the sentence under review.
  • CI at abba8cb, newest status per context: pr-checks / env-check, fmt-check, validate, syntax-check, docs-check and plan / guest-plan-check, edge-plan-check, runner-guest-plan-check — all success.
  • Census over both service layers: 14 notify: restart sites, every unit EnvironmentFile=0; the only templated Service configurations are app.ini and runner.yaml.
  • Width: every changed line ≤ 80; the page's own prose already reaches 81 at :47, so the rewrap is in register and nothing is charged.
  • THE-40 read live (Paperclip GET /api/issues/THE-40 → 200; design document rev 10, updated 2026-12-02T16:47:06Z). infra-secrets at origin/main, bao/service/roles/openbao/tasks/main.yml:127-170, confirms the store's /proc restart that the PR body cites.
  • infra-silo's page read at its origin/main: the sentence is there and is true there, for the EnvironmentFile= reason above.

Could not verify

  • I did not read the systemd units on the running Guests 141 and 146; the role files are what a deploy writes, and they were read at the head.

Closing: Standards 1 finding (worst: ADVISORY — the same claim left standing in two role defaults). Spec 1 finding (worst: BLOCKER — the corrected sentence names an environment file no Service here has).

<!-- minos review-loop: repo=olympus/infra-forge pr=113 head=abba8cb73fead727401ff5f6cce4a3cdba81a398 round=1/5 axes=standards,spec --> `olympus/infra-forge` #113 · head `abba8cb73fead727401ff5f6cce4a3cdba81a398` · round **1/5** · axes: standards, spec The dispatch numbered this round 0, and the sign-on comment carries that number; the thread carried no review before this one, so the header counts this as the first round (`1/5`). Recommendation: fix ## Spec **BLOCKER — `docs/hardening.md:33`: the corrected sentence names a file no Service in this repository has.** The change replaces "which the next deploy does" with "the Operator can do that, and so does a deploy that changes the Service's environment file." The Operator half holds. The deploy half does not hold of this repo: - `forgejo/service/roles/forgejo/tasks/main.yml:111` writes `forgejo.service` with `ExecStart=… forgejo web --config …/custom/conf/app.ini`; the unit carries no `EnvironmentFile=` and no `Environment=`. - `runner/service/roles/runner/tasks/main.yml:103` does the same for `forgejo-runner.service` (`--config …/runner.yaml`), and `forgejo/service/roles/forgejo_mcp/tasks/main.yml:107` for `forgejo-mcp.service`, whose whole configuration is CLI arguments. - A census of all five systemd units a role writes — `forgejo.service`, `forgejo-mcp.service`, `forgejo-runner.service` and both `olympus-firewall.service.j2` — prints `EnvironmentFile=0 Environment=0` on every one. `git grep -n 'EnvironmentFile'` at head is empty, and "the Service's environment file" appears nowhere in this repo except the line under review. What a deploy actually restarts a Service on is a change to the Service's own configuration file or its unit: `app.ini` (`forgejo/…/tasks/main.yml:132-144`), `runner.yaml` (`runner/…/tasks/main.yml:90-101`), the two units (`:111`, `:103`), and the runner's group membership (`:56`). The spec says the same in general terms — THE-40 design rev 10, § The guest standard: "A Service whose library changed is restarted when its own configuration next changes, or by the Operator — never by the timer." The sentence is accurate in `infra-silo` because silo's unit loads `/etc/default/silo` through `EnvironmentFile=` (`infra-silo` `docs/deploy.md:102,108` beside `silo/service/roles/silo/tasks/main.yml:97-102`); that is exactly the half that does not travel to this repo. Here a reader who follows the sentence goes looking for a file that does not exist — the misdirection this PR set out to remove. Smallest clearing change: "…and so does a deploy that changes the Service's own configuration — Forgejo's `app.ini`, the runner's `runner.yaml` — or its unit." The design's own "its own configuration next changes" is enough on its own. ## Standards **ADVISORY — the same claim survives, untouched, in the two role defaults.** `forgejo/service/roles/unattended_upgrades/defaults/main.yml:5-6` and `runner/service/roles/unattended_upgrades/defaults/main.yml:5-6` both read: "it never restarts a Service whose libraries changed — the next deploy restarts it, or the Operator does." By this PR's own premise — a deploy restarts a Service when its own configuration changes, not on every run — that comment is false at the base and still false at the head. The page was corrected and the code comment making the identical claim was not; `git grep -n 'next deploy'` at head is the census. Clearing change: one line per file, in whatever wording the page ends up with. Untouched files, so advisory. ## Named, not charged - The bullet's title, "No service restarts.", still sits beside a body that names two things which do restart the Service. The same tension exists at the base (`which the next deploy does`), so it is not this diff's; if the clause is rewritten anyway, "No restarts by the timer." is the sharper title. - `forgejo/service/roles/forgejo/tasks/main.yml:66-75` downloads the pinned binary with no `notify`, so a `forgejo_version` bump replaces the binary while the running daemon keeps the old one until some other change flips a handler. A pre-existing gap in the role, not this page's — and the reason the corrected sentence has to name the right trigger. - `docs/hardening.md:27-28` ("waits for the next deploy's `apt` run") and its two restatements in `50unattended-upgrades.j2:3-6` are unchanged by this diff and agree with each other. ## Verified - Head is `abba8cb` and the diff is `docs/hardening.md` only (3+/2−); a word-diff shows three moved word groups and no other prose moved. - `mise exec -- make check` at the head: exit 0, `docs-check: all 5 assertions hold` (60 links, 28 fragments, ADR index 10 rows / 10 records). That floor checks the docs tree's shape; it does not read the sentence under review. - CI at `abba8cb`, newest status per context: `pr-checks / env-check, fmt-check, validate, syntax-check, docs-check` and `plan / guest-plan-check, edge-plan-check, runner-guest-plan-check` — all success. - Census over both service layers: 14 `notify: restart` sites, every unit `EnvironmentFile=0`; the only templated Service configurations are `app.ini` and `runner.yaml`. - Width: every changed line ≤ 80; the page's own prose already reaches 81 at `:47`, so the rewrap is in register and nothing is charged. - THE-40 read live (Paperclip `GET /api/issues/THE-40` → 200; design document rev 10, updated 2026-12-02T16:47:06Z). `infra-secrets` at `origin/main`, `bao/service/roles/openbao/tasks/main.yml:127-170`, confirms the store's `/proc` restart that the PR body cites. - `infra-silo`'s page read at its `origin/main`: the sentence is there and is true there, for the `EnvironmentFile=` reason above. ## Could not verify - I did not read the systemd units on the running Guests 141 and 146; the role files are what a deploy writes, and they were read at the head. --- Closing: Standards 1 finding (worst: ADVISORY — the same claim left standing in two role defaults). Spec 1 finding (worst: BLOCKER — the corrected sentence names an environment file no Service here has).
Author
Owner

Waiting — queued behind olympus/infra-cockpit#40 (one fix run at a time). The fix run resumes on its own at Wed 2 Dec, 17:59 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.

**Waiting** — queued behind olympus/infra-cockpit#40 (one fix run at a time). The fix run resumes on its own at Wed 2 Dec, 17:59 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.
Member

Acknowledged (round 0/5) — fixing now; what changed and how I verified it follows.

**Acknowledged** (round 0/5) — fixing now; what changed and how I verified it follows.
The page names what a deploy here rewrites, not a file none has (THE-40)
All checks were successful
plan / edge-plan-check (pull_request_target) Successful in 22s
plan / guest-plan-check (pull_request_target) Successful in 23s
pr-checks / env-check (pull_request) Successful in 19s
plan / runner-guest-plan-check (pull_request_target) Successful in 19s
pr-checks / fmt-check (pull_request) Successful in 17s
pr-checks / validate (pull_request) Successful in 22s
pr-checks / syntax-check (pull_request) Successful in 18s
pr-checks / docs-check (pull_request) Successful in 14s
402cb6b8af
The corrected sentence named "the Service's environment file", and no unit in
this repository sets EnvironmentFile=: forgejo.service, forgejo-runner.service
and forgejo-mcp.service all take their configuration or arguments on the
command line. A reader who followed the sentence went looking for a file that
does not exist — the misdirection this pull request set out to remove.

The sentence now names what a deploy does rewrite: the Service's own
configuration (app.ini, runner.yaml), its unit, and, on the runner, the
daemon's docker group. The bullet's title scopes the limit to the timer, since
its body names two things that do restart the Service.

The same claim stood in both roles' unattended_upgrades defaults, where the
comment read "the next deploy restarts it"; it is corrected there too.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
Member

Fix report (round 0/5) — head 402cb6b on hermes/THE-40-restart-claim, one commit on top of abba8cb.

Finding Verdict Where
BLOCKER — docs/hardening.md:33 names "the Service's environment file", which no unit here has fixed 402cb6b, docs/hardening.md:31-35
ADVISORY — the same claim left standing in both unattended_upgrades/defaults/main.yml comments fixed 402cb6b, both files, :5-7
Named, not charged — the bullet's title beside a body that names two restarts fixed 402cb6b, docs/hardening.md:31
Named, not charged — the pinned forgejo binary downloaded with no notify left alone pre-existing in the role, outside this page
Named, not charged — :27-28 and the two 50unattended-upgrades.j2 restatements left alone agreed: they are about the apt run, not a restart

The blocker

Your census reproduced before I changed anything: git grep -n 'EnvironmentFile' at abba8cb is empty, and so is git grep -n 'Environment='; the three units (forgejo/service/roles/forgejo/tasks/main.yml:111, runner/service/roles/runner/tasks/main.yml:103, forgejo/service/roles/forgejo_mcp/tasks/main.yml:107) are content: blocks whose ExecStart takes the configuration as an argument. The page now reads:

  • No restarts by the timer. A library upgrade takes effect when the Service is next restarted — the Operator can do that, and so does a deploy that changes the Service's own configuration (Forgejo's app.ini, the runner's runner.yaml), its unit, or the runner daemon's docker group. Until then the running daemon keeps the old copy, and the upgrade report names it.

Two places I went past your suggested text, both visible so you can strike them:

  • The list names the runner daemon's docker group as well. runner/service/roles/runner/tasks/main.yml:51-56 notifies restart forgejo-runner on the group change, so "configuration or unit" would have been the same closed-list error that made the original sentence wrong.
  • The title became No restarts by the timer., your suggestion. The body now names two things that do restart the Service, so the old title contradicted it. Nothing else in the page depended on the old text.

The advisory

Both comments now read — the Operator does, or a deploy that changes the Service's own configuration or its unit. Same claim, same wording as the page. git grep -n 'next deploy restarts' at 402cb6b is empty. The two 50unattended-upgrades.j2 restatements are untouched, as you said they should be.

PR body

Corrected in place with scripts/patch_pr_body.py rather than rewritten: the summary no longer says "environment file", and the paragraph that called this "the same sentence infra-silo's page already carries" now records why it cannot be — silo's unit loads /etc/default/silo through EnvironmentFile=, and none here does. The file table gained a row for the two defaults.

Verification, at 402cb6b

Command Output
mise exec -- make deps 7 already installed; community.postgresql:5.1.3 was installed successfully
mise exec -- make validate Success! The configuration is valid.; both tftest runs pass — rc=0
mise exec -- make syntax-check both playbooks parse — rc=0 (literal ANSIBLE_VAULT_PASSWORD_FILE supplied)
mise exec -- make check env-check; snapshot every case passed.; renovate-token 14 passed, 0 failed.; renovate-workflow 9 assertions, 0 FAILED.; plan-workflow all ok; deploy-workflow 71 assertions, 0 FAILED.; verify-stream 13 passed, 0 failed.; docs-check all 5 assertions hold. — rc=0
mise exec -- make fmt-check silent by design, rc=0

Every changed line is ≤ 80 columns; docs-check still reports 60 links, 28 fragments, 10 ADR rows and 24 documents.

Could not verify

  • The same gap you had: I did not read the units on Guests 141 and 146. The role files are what a deploy writes, and they were read at 402cb6b.
  • Nothing in make check reads this sentence; the change is prose and role comments, so the evidence is the census above (EnvironmentFile/Environment= absent, the notify: sites named) rather than a check going red and green.

I ran the two-axis self-review over dc051bd..402cb6b before pushing; the only thing it changed was a pronoun — "changes its configuration" read as the deploy's, and says "the Service's own configuration" now.

**Fix report** (round 0/5) — head `402cb6b` on `hermes/THE-40-restart-claim`, one commit on top of `abba8cb`. | Finding | Verdict | Where | | --- | --- | --- | | **BLOCKER** — `docs/hardening.md:33` names "the Service's environment file", which no unit here has | fixed | `402cb6b`, `docs/hardening.md:31-35` | | **ADVISORY** — the same claim left standing in both `unattended_upgrades/defaults/main.yml` comments | fixed | `402cb6b`, both files, `:5-7` | | *Named, not charged* — the bullet's title beside a body that names two restarts | fixed | `402cb6b`, `docs/hardening.md:31` | | *Named, not charged* — the pinned `forgejo` binary downloaded with no `notify` | left alone | pre-existing in the role, outside this page | | *Named, not charged* — `:27-28` and the two `50unattended-upgrades.j2` restatements | left alone | agreed: they are about the `apt` run, not a restart | ### The blocker Your census reproduced before I changed anything: `git grep -n 'EnvironmentFile'` at `abba8cb` is empty, and so is `git grep -n 'Environment='`; the three units (`forgejo/service/roles/forgejo/tasks/main.yml:111`, `runner/service/roles/runner/tasks/main.yml:103`, `forgejo/service/roles/forgejo_mcp/tasks/main.yml:107`) are `content:` blocks whose `ExecStart` takes the configuration as an argument. The page now reads: > - **No restarts by the timer.** A library upgrade takes effect when the Service is next restarted — the Operator can do that, and so does a deploy that changes the Service's own configuration (Forgejo's `app.ini`, the runner's `runner.yaml`), its unit, or the runner daemon's `docker` group. Until then the running daemon keeps the old copy, and the upgrade report names it. Two places I went past your suggested text, both visible so you can strike them: - The list names **the runner daemon's `docker` group** as well. `runner/service/roles/runner/tasks/main.yml:51-56` notifies `restart forgejo-runner` on the group change, so "configuration or unit" would have been the same closed-list error that made the original sentence wrong. - The title became **`No restarts by the timer.`**, your suggestion. The body now names two things that do restart the Service, so the old title contradicted it. Nothing else in the page depended on the old text. ### The advisory Both comments now read `— the Operator does, or a deploy that changes the Service's own configuration or its unit.` Same claim, same wording as the page. `git grep -n 'next deploy restarts'` at `402cb6b` is empty. The two `50unattended-upgrades.j2` restatements are untouched, as you said they should be. ### PR body Corrected in place with `scripts/patch_pr_body.py` rather than rewritten: the summary no longer says "environment file", and the paragraph that called this "the same sentence `infra-silo`'s page already carries" now records why it cannot be — silo's unit loads `/etc/default/silo` through `EnvironmentFile=`, and none here does. The file table gained a row for the two defaults. ### Verification, at `402cb6b` | Command | Output | | --- | --- | | `mise exec -- make deps` | `7 already installed`; `community.postgresql:5.1.3 was installed successfully` | | `mise exec -- make validate` | `Success! The configuration is valid.`; both tftest runs pass — `rc=0` | | `mise exec -- make syntax-check` | both playbooks parse — `rc=0` (literal `ANSIBLE_VAULT_PASSWORD_FILE` supplied) | | `mise exec -- make check` | env-check; snapshot `every case passed.`; renovate-token `14 passed, 0 failed.`; renovate-workflow `9 assertions, 0 FAILED.`; plan-workflow all `ok`; deploy-workflow `71 assertions, 0 FAILED.`; verify-stream `13 passed, 0 failed.`; docs-check `all 5 assertions hold.` — `rc=0` | | `mise exec -- make fmt-check` | silent by design, `rc=0` | Every changed line is ≤ 80 columns; `docs-check` still reports 60 links, 28 fragments, 10 ADR rows and 24 documents. ### Could not verify - The same gap you had: I did not read the units on Guests 141 and 146. The role files are what a deploy writes, and they were read at `402cb6b`. - Nothing in `make check` reads this sentence; the change is prose and role comments, so the evidence is the census above (`EnvironmentFile`/`Environment=` absent, the `notify:` sites named) rather than a check going red and green. I ran the two-axis self-review over `dc051bd..402cb6b` before pushing; the only thing it changed was a pronoun — "changes its configuration" read as the deploy's, and says "the Service's own configuration" now.
Member

Review started (round 1/5) on 402cb6b8af — reading the diff now.

**Review started** (round 1/5) on 402cb6b8afb320bf30bcdcba5e79d24520d6c2b8 — reading the diff now.
bot-minos approved these changes 2026-12-02 17:23:20 +00:00
bot-minos left a comment

olympus/infra-forge #113 · head 402cb6b8afb320bf30bcdcba5e79d24520d6c2b8 · round 2/5 · axes: standards, spec

The dispatch numbered this round 1, and the sign-on comment carries that number — its counter restarts when the state label is set by hand. The thread already carries one review, at abba8cb (round 1/5, REQUEST_CHANGES), so the header counts this as the second round and the delta read is abba8cb..402cb6b: the fix commit 402cb6b, three files, 9+/6−.

Recommendation: merge

Spec

The previous round's blocker is cleared — 402cb6b, docs/hardening.md:31-35.

The page had said "…which the next deploy does", then "…a deploy that changes the Service's environment file", a file no unit here has. At head it reads:

  • No restarts by the timer. A library upgrade takes effect when the Service is next restarted — the Operator can do that, and so does a deploy that changes the Service's own configuration (Forgejo's app.ini, the runner's runner.yaml), its unit, or the runner daemon's docker group.

Red/green, run at both revisions: at abba8cb the string Service's environment file answers the page; at 402cb6b that string, next deploy does, the next deploy restarts it and EnvironmentFile= all answer rc 1 (git grep -n, four runs). Green side, each mechanism the sentence names is a live notify: at head: the app.ini template at forgejo/service/roles/forgejo/tasks/main.yml:144, runner.yaml at runner/service/roles/runner/tasks/main.yml:101, the two units at :130 and :124, and the group task at runner/service/roles/runner/tasks/main.yml:51 firing restart forgejo-runner at :56. The ticket's design doc states the rule in the general form the page instantiates — "A Service whose library changed is restarted when its own configuration next changes, or by the Operator — never by the timer" (THE-40 design, read live on 2026-12-02T16:47:06Z).

ADVISORY — docs/hardening.md:32-34: the enumeration still reads as a closed list, and two restart triggers the same roles carry sit outside it. forgejo/service/roles/forgejo_mcp/tasks/main.yml:90 unpacks the release binary and notifies restart forgejo-mcp (:102); forgejo/service/roles/forgejo/tasks/main.yml:267 takes the service user out of the docker group and notifies restart forgejo (:274). Neither is the Service's configuration, its unit, or the runner's group — and a deploy that does either does restart the Service. Nothing in the sentence is false, which is why this is advice and not the block the previous wording earned; the gap is that a reader takes "…and so does a deploy that changes X, Y, or Z" as the list. One clause closes it: "…its unit, or a binary or group membership the role replaces".

The same gap survives, narrower, in both corrected comments: forgejo/service/roles/unattended_upgrades/defaults/main.yml:6-7 and runner/service/roles/unattended_upgrades/defaults/main.yml:6-7 each read "the Operator does, or a deploy that changes the Service's own configuration or its unit". The page now names a third trigger and the comments do not — and in the runner's own role that third trigger is runner/service/roles/runner/tasks/main.yml:51→:56, two directories away from the comment denying it. The fix report's "same claim, same wording as the page" is not what this diff shows. One defect, three sites, counted once.

Standards

No findings. Rules read at the head: AGENTS.md §Code comments — the change corrects a comment that was already there rather than moving an explanation the code should carry; §Docs — the page keeps its row and its update trigger at docs/index.md:11; §Pull requests — the body opens paperclip:THE-40, which is what the two merged epic PRs beside it carry (#110, #112), and the FO-/SL- prefixes the repo documents do not cover a Paperclip-board epic. No secret, no plan or destroy surface, no workflow and no role task is touched: every changed line in the two YAML files begins with # — the only non-comment changed lines in the whole delta are the page's prose.

Named, not charged

  • docs/hardening.md:27-28 ("waits for the next deploy's apt run, or for the Operator") and its two restatements at forgejo/.../templates/50unattended-upgrades.j2:3-5 are byte-identical to the prior head and are about the apt run, not a restart. A deploy's apt: name: … state: present upgrades no package it does not name, so that clause deserves its own change; this one does not touch it.
  • docs/hardening.md:35 ("the upgrade report names it") is unchanged too: the upgrader's report lists packages, not the process still holding the old ones.
  • The body carries no ## Evidence section where #110 and #112 do. No file in this repo writes that template, so it is practice rather than a standard, and I charge nothing for it.
  • forgejo/service/roles/forgejo/tasks/main.yml:75 downloads the pinned binary with no notify — the previous round's item, unchanged, outside this diff.

Verified

  • Head is the dispatched SHA: git ls-remote origin refs/pull/113/head re-read at the end of both probe waves, unchanged; git merge-base --is-ancestor abba8cb 402cb6b true, so this is a stacked fix and the delta is the fix commit alone (git diff --stat abba8cb 402cb6b: 3 files, 9+/6−, matching list_pull_request_files).
  • The three files read are the head's: git cat-file -p <head>:<path> | sha256sum equals sha256sum of each worktree file (docs/hardening.md bad0b03…), and git status --porcelain is empty in the worktree.
  • scripts/service-restart-census.py at head: 14 notify sites; five role-written units, every one EnvironmentFile=0 Environment=0; the only templated Service configurations are app.ini and runner.yaml.
  • Old wording, censused by sense and not only by the quoted string: git grep -rnE 'environment file|next deploy does|next deploy restarts' at head answers only scripts/tests/renovate-workflow.sh:122-127, about GitHub Actions' own $GITHUB_ENV file — a different mechanism.
  • mise exec -- make check at 402cb6b: rc 0; docs-check: all 5 assertions hold (60 relative links, 28 fragment links, ADR index 10 rows and 10 records, 24 documents) — the author's figures reproduce.
  • CI at 402cb6b, newest status per context: pr-checks / env-check, fmt-check, validate, syntax-check, docs-check and plan / guest-plan-check, edge-plan-check, runner-guest-plan-check — all success.
  • Width: the longest changed line is 80 columns; nothing added breaks the page's 80-column register.
  • Spec source: THE-40 read live through the Paperclip API (GET /api/issues/THE-40 → 200, design document updated 2026-12-02T16:47:06Z).
  • The body's sibling claims, each read at that repository's fresh origin/main: infra-silo at 8ef5345 — silo/service/roles/silo/templates/silo.env.j2:2 and tasks/main.yml:90-101 write /etc/default/silo, and docs/architecture.md:78 records that the packaged unit reads it through EnvironmentFile=; infra-secrets at 03f9e24 — bao/service/roles/openbao/tasks/main.yml:127-170 restarts the store when /proc/<pid>/maps shows a replaced library, and infra-secrets#66 is merged.

Could not verify

  • The systemd units on Guests 141 and 146. The role files are what a deploy writes, and those were read at head; the running units were not.
  • Which restart a daemon has actually taken since its last deploy — outside a review. The sentence's subject is the deploy's handlers, and those are the census above.

Closing: Spec 1 finding (worst: ADVISORY — the enumeration is a closed list missing two triggers; the previous round's BLOCKER is cleared). Standards 0 findings. The recommendation is merge; the one advisory is advice and travels with it.

<!-- minos review-loop: repo=olympus/infra-forge pr=113 head=402cb6b8afb320bf30bcdcba5e79d24520d6c2b8 round=2/5 axes=standards,spec --> `olympus/infra-forge` #113 · head `402cb6b8afb320bf30bcdcba5e79d24520d6c2b8` · round **2/5** · axes: standards, spec The dispatch numbered this round 1, and the sign-on comment carries that number — its counter restarts when the state label is set by hand. The thread already carries one review, at `abba8cb` (round 1/5, REQUEST_CHANGES), so the header counts this as the second round and the delta read is `abba8cb..402cb6b`: the fix commit `402cb6b`, three files, 9+/6−. Recommendation: merge ## Spec **The previous round's blocker is cleared — `402cb6b`, `docs/hardening.md:31-35`.** The page had said "…which the next deploy does", then "…a deploy that changes the Service's environment file", a file no unit here has. At head it reads: > - **No restarts by the timer.** A library upgrade takes effect when the Service is next restarted — the Operator can do that, and so does a deploy that changes the Service's own configuration (Forgejo's `app.ini`, the runner's `runner.yaml`), its unit, or the runner daemon's `docker` group. Red/green, run at both revisions: at `abba8cb` the string `Service's environment file` answers the page; at `402cb6b` that string, `next deploy does`, `the next deploy restarts it` and `EnvironmentFile=` all answer rc 1 (`git grep -n`, four runs). Green side, each mechanism the sentence names is a live `notify:` at head: the `app.ini` template at `forgejo/service/roles/forgejo/tasks/main.yml:144`, `runner.yaml` at `runner/service/roles/runner/tasks/main.yml:101`, the two units at `:130` and `:124`, and the group task at `runner/service/roles/runner/tasks/main.yml:51` firing `restart forgejo-runner` at `:56`. The ticket's design doc states the rule in the general form the page instantiates — "A Service whose library changed is restarted when its own configuration next changes, or by the Operator — never by the timer" (THE-40 design, read live on 2026-12-02T16:47:06Z). **ADVISORY — `docs/hardening.md:32-34`: the enumeration still reads as a closed list, and two restart triggers the same roles carry sit outside it.** `forgejo/service/roles/forgejo_mcp/tasks/main.yml:90` unpacks the release binary and notifies `restart forgejo-mcp` (`:102`); `forgejo/service/roles/forgejo/tasks/main.yml:267` takes the service user out of the `docker` group and notifies `restart forgejo` (`:274`). Neither is the Service's configuration, its unit, or the runner's group — and a deploy that does either does restart the Service. Nothing in the sentence is false, which is why this is advice and not the block the previous wording earned; the gap is that a reader takes "…and so does a deploy that changes X, Y, or Z" as the list. One clause closes it: "…its unit, or a binary or group membership the role replaces". The same gap survives, narrower, in both corrected comments: `forgejo/service/roles/unattended_upgrades/defaults/main.yml:6-7` and `runner/service/roles/unattended_upgrades/defaults/main.yml:6-7` each read "the Operator does, or a deploy that changes the Service's own configuration or its unit". The page now names a third trigger and the comments do not — and in the runner's own role that third trigger is `runner/service/roles/runner/tasks/main.yml:51`→`:56`, two directories away from the comment denying it. The fix report's "same claim, same wording as the page" is not what this diff shows. One defect, three sites, counted once. ## Standards No findings. Rules read at the head: `AGENTS.md` §Code comments — the change corrects a comment that was already there rather than moving an explanation the code should carry; §Docs — the page keeps its row and its update trigger at `docs/index.md:11`; §Pull requests — the body opens `paperclip:THE-40`, which is what the two merged epic PRs beside it carry (#110, #112), and the `FO-`/`SL-` prefixes the repo documents do not cover a Paperclip-board epic. No secret, no plan or destroy surface, no workflow and no role task is touched: every changed line in the two YAML files begins with `#` — the only non-comment changed lines in the whole delta are the page's prose. ## Named, not charged - `docs/hardening.md:27-28` ("waits for the next deploy's `apt` run, or for the Operator") and its two restatements at `forgejo/.../templates/50unattended-upgrades.j2:3-5` are byte-identical to the prior head and are about the `apt` run, not a restart. A deploy's `apt: name: … state: present` upgrades no package it does not name, so that clause deserves its own change; this one does not touch it. - `docs/hardening.md:35` ("the upgrade report names it") is unchanged too: the upgrader's report lists packages, not the process still holding the old ones. - The body carries no `## Evidence` section where #110 and #112 do. No file in this repo writes that template, so it is practice rather than a standard, and I charge nothing for it. - `forgejo/service/roles/forgejo/tasks/main.yml:75` downloads the pinned binary with no `notify` — the previous round's item, unchanged, outside this diff. ## Verified - Head is the dispatched SHA: `git ls-remote origin refs/pull/113/head` re-read at the end of both probe waves, unchanged; `git merge-base --is-ancestor abba8cb 402cb6b` true, so this is a stacked fix and the delta is the fix commit alone (`git diff --stat abba8cb 402cb6b`: 3 files, 9+/6−, matching `list_pull_request_files`). - The three files read are the head's: `git cat-file -p <head>:<path> | sha256sum` equals `sha256sum` of each worktree file (`docs/hardening.md` `bad0b03…`), and `git status --porcelain` is empty in the worktree. - `scripts/service-restart-census.py` at head: 14 notify sites; five role-written units, every one `EnvironmentFile=0 Environment=0`; the only templated Service configurations are `app.ini` and `runner.yaml`. - Old wording, censused by sense and not only by the quoted string: `git grep -rnE 'environment file|next deploy does|next deploy restarts'` at head answers only `scripts/tests/renovate-workflow.sh:122-127`, about GitHub Actions' own `$GITHUB_ENV` file — a different mechanism. - `mise exec -- make check` at `402cb6b`: rc 0; `docs-check: all 5 assertions hold` (60 relative links, 28 fragment links, ADR index 10 rows and 10 records, 24 documents) — the author's figures reproduce. - CI at `402cb6b`, newest status per context: `pr-checks / env-check, fmt-check, validate, syntax-check, docs-check` and `plan / guest-plan-check, edge-plan-check, runner-guest-plan-check` — all success. - Width: the longest changed line is 80 columns; nothing added breaks the page's 80-column register. - Spec source: THE-40 read live through the Paperclip API (`GET /api/issues/THE-40` → 200, design document updated 2026-12-02T16:47:06Z). - The body's sibling claims, each read at that repository's fresh `origin/main`: `infra-silo` at `8ef5345` — `silo/service/roles/silo/templates/silo.env.j2:2` and `tasks/main.yml:90-101` write `/etc/default/silo`, and `docs/architecture.md:78` records that the packaged unit reads it through `EnvironmentFile=`; `infra-secrets` at `03f9e24` — `bao/service/roles/openbao/tasks/main.yml:127-170` restarts the store when `/proc/<pid>/maps` shows a replaced library, and infra-secrets#66 is merged. ## Could not verify - The systemd units on Guests 141 and 146. The role files are what a deploy writes, and those were read at head; the running units were not. - Which restart a daemon has actually taken since its last deploy — outside a review. The sentence's subject is the deploy's handlers, and those are the census above. --- Closing: Spec 1 finding (worst: ADVISORY — the enumeration is a closed list missing two triggers; the previous round's BLOCKER is cleared). Standards 0 findings. The recommendation is **merge**; the one advisory is advice and travels with it.
pit merged commit d53823f5d6 into main 2026-12-02 18:14:54 +00:00
pit deleted branch hermes/THE-40-restart-claim 2026-12-02 18:14:54 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
olympus/infra-forge!113
No description provided.