bazarr: declare 107, the pipeline's last arr-side Guest #8

Merged
pit merged 8 commits from wave1/107-bazarr into main 2026-12-02 20:42:12 +00:00
Owner

Summary

Declares 107 bazarr, the subtitle manager for 103, 105 and 106 — the last Guest on the arr side of the pipeline, and the one whose vmid and address disagree (107 is on 10.12.0.108).

bazarr/guest/           Stack: vmid 107, 10.12.0.108/24 on vmbr1, privileged,
                        1 core, 512 MiB + 512 swap, 4G, keyctl+nesting,
                        proxmox-helper-scripts, no mount points
bazarr/service/         site.yml (journal + bazarr), inventories/prod/hosts
bazarr/service/roles/bazarr/
                        defaults   the pins below
                        tasks      machine → release → wheels → unit → process
                        templates  bazarr.service.j2, the live unit byte for byte
bazarr/service/verify.yml  the Assert play, three rings
docs/service-bazarr.md  the service page
docs/guests-arr.md      the 107 reading, a section after the arr quartet
Makefile, env.map, .env.example   HOSTS, the /6767 LAN check, the state record

The release is pinned by bytes rather than by its tag, the way the Servarr tarballs were: bazarr.zip for v1.6.2 hashes to 82d1c61e…c2627b, the bazarr.py inside it to 878c0520…b64524 — the live /opt/bazarr/bazarr.py — and VERSION to f4826a0b…f7b0466. The four wheels are pinned to the versions the interpreter imports (lxml 5.1.0, numpy 1.26.3, Pillow 10.2.0, webrtcvad-wheels 2.0.11.post1), because 107 is the only Guest in the wave that runs /usr/bin/python3 with no virtual environment; the play installs --break-system-packages and only when the interpreter's answer differs.

The settings file is not seeded. data/config/config.yaml is the app's — it writes it on first boot and merges defaults on every start — so the Assert play reads it back and checks the two values the wave declares (port: 6767, ip: 0.0.0.0). The three arr connections are set in its UI and live in that same file, which the release archive does not carry: a replace keeps them, and only a Guest whose /opt/bazarr is gone comes back without them — docs/service-bazarr.md says so.

Ticket: THE-34

Evidence

Every declared value is a reading of pct config 107 on burns, taken 2026-12-02, and the table is in docs/guests-arr.md. Address and vmid are the wave plan's warned pair: 107 → 10.12.0.108/24.

Claim How it was checked
the entry point is the release's sha256sum on both sides: 878c0520624ae6bf0a2379e5827b1c7b989e5a014a60b7095339f87d25b64524, live /opt/bazarr/bazarr.py and the file inside bazarr.zip
the version is 1.6.2 live VERSION f4826a0b…f7b0466, the same file in the archive
the wheels /usr/local/lib/python3.11/dist-packages on the Guest: lxml 5.1.0, numpy 1.26.3, pillow 10.2.0, webrtcvad_wheels 2.0.11.post1
the unit systemctl cat bazarr: ExecStart=/usr/bin/python3 /opt/bazarr/bazarr.py, WorkingDirectory=/opt/bazarr/, UMask=0002, Restart=on-failure, KillSignal=SIGINT — templates/bazarr.service.j2 renders it byte for byte
the port and the bind live data/config/config.yaml: port: 6767, ip: 0.0.0.0
the Guest's shape pct config 107: 1 core, 512 MiB, 512 swap, vm-107-disk-0 4G, vmbr1, ip6 absent, features: keyctl=1,nesting=1, no unprivileged line, so privileged, tags proxmox-helper-scripts
make check       32 names, all declared in .env.example; pin and map agree; fmt clean
make validate    validate: 10 Stack(s) valid.
--syntax-check   bazarr/service/site.yml, bazarr/service/verify.yml

Not taken, both the Operator's: the import plan (107 is not in /pool/prod, and the apply token's ACL names the pool) and the service rehearsal (107 has no /root/.ssh/authorized_keys, measured with the quartet). docs/guests-arr.md names the pvesh set line and the record the Stack needs.

Merge Danger

Door: two-way for the declaration — the change is additive: files under bazarr/, rows appended to Makefile, env.map and .env.example, and the three counts those rows move; nothing on 107 moves until a Converge runs. The first Converge on 107 is a no-op by construction (the release, the wheels, the unit and the process are all the pinned ones), but it is the first time that is proved rather than asserted.

Blast Radius: infra-media only. The rows it adds to Makefile, env.map and .env.example sit beside the ones #5, #6 and #7 landed; the branch was cut on #7's head and now merges main, which carries all three, so the PR targets main directly. Nothing on the Node, the NAS or any other Guest is touched.

One line: this body and the commit message are the agent's, written from the readings above.

Co-Authored-By: Paperclip noreply@paperclip.ing

## Summary Declares **107 bazarr**, the subtitle manager for 103, 105 and 106 — the last Guest on the arr side of the pipeline, and the one whose vmid and address disagree (107 is on `10.12.0.108`). ```text bazarr/guest/ Stack: vmid 107, 10.12.0.108/24 on vmbr1, privileged, 1 core, 512 MiB + 512 swap, 4G, keyctl+nesting, proxmox-helper-scripts, no mount points bazarr/service/ site.yml (journal + bazarr), inventories/prod/hosts bazarr/service/roles/bazarr/ defaults the pins below tasks machine → release → wheels → unit → process templates bazarr.service.j2, the live unit byte for byte bazarr/service/verify.yml the Assert play, three rings docs/service-bazarr.md the service page docs/guests-arr.md the 107 reading, a section after the arr quartet Makefile, env.map, .env.example HOSTS, the /6767 LAN check, the state record ``` The release is pinned by bytes rather than by its tag, the way the Servarr tarballs were: `bazarr.zip` for `v1.6.2` hashes to `82d1c61e…c2627b`, the `bazarr.py` inside it to `878c0520…b64524` — **the live `/opt/bazarr/bazarr.py`** — and `VERSION` to `f4826a0b…f7b0466`. The four wheels are pinned to the versions the interpreter imports (`lxml 5.1.0`, `numpy 1.26.3`, `Pillow 10.2.0`, `webrtcvad-wheels 2.0.11.post1`), because 107 is the only Guest in the wave that runs `/usr/bin/python3` with no virtual environment; the play installs `--break-system-packages` and only when the interpreter's answer differs. The settings file is not seeded. `data/config/config.yaml` is the app's — it writes it on first boot and merges defaults on every start — so the Assert play reads it back and checks the two values the wave declares (`port: 6767`, `ip: 0.0.0.0`). The three arr connections are set in its UI and live in that same file, which the release archive does not carry: a replace keeps them, and only a Guest whose `/opt/bazarr` is gone comes back without them — `docs/service-bazarr.md` says so. Ticket: THE-34 ## Evidence Every declared value is a reading of `pct config 107` on burns, taken 2026-12-02, and the table is in `docs/guests-arr.md`. Address and vmid are the wave plan's warned pair: `107` → `10.12.0.108/24`. | Claim | How it was checked | | --- | --- | | the entry point is the release's | `sha256sum` on both sides: `878c0520624ae6bf0a2379e5827b1c7b989e5a014a60b7095339f87d25b64524`, live `/opt/bazarr/bazarr.py` and the file inside `bazarr.zip` | | the version is 1.6.2 | live `VERSION` `f4826a0b…f7b0466`, the same file in the archive | | the wheels | `/usr/local/lib/python3.11/dist-packages` on the Guest: lxml 5.1.0, numpy 1.26.3, pillow 10.2.0, webrtcvad_wheels 2.0.11.post1 | | the unit | `systemctl cat bazarr`: `ExecStart=/usr/bin/python3 /opt/bazarr/bazarr.py`, `WorkingDirectory=/opt/bazarr/`, `UMask=0002`, `Restart=on-failure`, `KillSignal=SIGINT` — `templates/bazarr.service.j2` renders it byte for byte | | the port and the bind | live `data/config/config.yaml`: `port: 6767`, `ip: 0.0.0.0` | | the Guest's shape | `pct config 107`: 1 core, 512 MiB, 512 swap, `vm-107-disk-0` 4G, `vmbr1`, `ip6` absent, `features: keyctl=1,nesting=1`, no `unprivileged` line, so privileged, tags `proxmox-helper-scripts` | ```text make check 32 names, all declared in .env.example; pin and map agree; fmt clean make validate validate: 10 Stack(s) valid. --syntax-check bazarr/service/site.yml, bazarr/service/verify.yml ``` Not taken, both the Operator's: the import plan (107 is not in `/pool/prod`, and the apply token's ACL names the pool) and the service rehearsal (107 has no `/root/.ssh/authorized_keys`, measured with the quartet). `docs/guests-arr.md` names the `pvesh set` line and the record the Stack needs. ## Merge Danger **Door:** two-way for the declaration — the change is additive: files under `bazarr/`, rows appended to `Makefile`, `env.map` and `.env.example`, and the three counts those rows move; nothing on 107 moves until a Converge runs. The first Converge on 107 is a no-op by construction (the release, the wheels, the unit and the process are all the pinned ones), but it is the first time that is proved rather than asserted. **Blast Radius:** `infra-media` only. The rows it adds to `Makefile`, `env.map` and `.env.example` sit beside the ones #5, #6 and #7 landed; the branch was cut on #7's head and now merges `main`, which carries all three, so the PR targets `main` directly. Nothing on the Node, the NAS or any other Guest is touched. One line: this body and the commit message are the agent's, written from the readings above. Co-Authored-By: Paperclip <noreply@paperclip.ing>
bazarr: declare 107, the pipeline's last arr-side Guest
All checks were successful
pr-checks / check (pull_request) Successful in 23s
8bb941f907
Guest stack for 107 (vmid 107 on 10.12.0.108, vmbr1, unprivileged, 1/512/512, 4G,
keyctl+nesting), a service play, its role and its Assert play, the pages, and the
Makefile/env rows.

The release is pinned by bytes: `bazarr.zip` v1.6.2 hashes to 82d1c61e…c2627b, the
`bazarr.py` it unpacks to hashes to 878c0520…b64524 — the live /opt/bazarr/bazarr.py —
and `VERSION` to f4826a0b…f7b0466. The four wheels are pinned to the interpreter's
versions in place (lxml 5.1.0, numpy 1.26.3, Pillow 10.2.0, webrtcvad-wheels
2.0.11.post1), because the unit runs /usr/bin/python3 with no virtual environment.

The settings file is the app's: the play does not seed it, and the Assert play reads
back `port: 6767` and `ip: 0.0.0.0` instead.

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

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

**Waiting** — queued behind olympus/infra-media#7 (one review run at a time). The review run resumes on its own at Wed 2 Dec, 19:47 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.
pit force-pushed wave1/107-bazarr from 8bb941f907
All checks were successful
pr-checks / check (pull_request) Successful in 23s
to 30f1724161
All checks were successful
pr-checks / check (pull_request) Successful in 22s
2026-12-02 18:47:50 +00:00
Compare
Member

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

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

olympus/infra-media #8 · head 30f17241619af82676a82b4aeccca4b7a215c714 · round 1/5 (the dispatch numbered this round 0; the thread carries no review, so this is the first the ledger records — the sign-on comment above is the only place the dispatch's number stays) · axes: standards, spec

Recommendation: fix

Sources read for this round: the PR body and diff over the API (2026-12-02T18:56Z); THE-34 and its wave13-progress document, fetched live (2026-12-02T18:56Z); the head worktree at 30f1724 for every file:line below; the commit statuses at that SHA (run 24). The repository carries no AGENTS.md or CONTRIBUTING.md; its standards live in its own pages (docs/guests-arr.md, docs/service-bazarr.md, README.md) and in the shape its shared role already has, and those are what is cited.

Standards

BLOCKER — bazarr/service/roles/bazarr/tasks/main.yml:41-45: the stop task is unguarded, so the play cannot install on a Guest that has no unit yet.

The task stops the daemon whenever bazarr_install_needed is true, and that condition is also true on a Guest freshly built from the template — where no unit exists. Driven with the ansible-core the repository pins (mise.toml, 2.21.5): systemd_service name=<absent> state=stopped fails the play, Module failed: Could not find the requested service …: host (cache/scratch/infra-media-8-r1/stop-guard2.log, rc 2). The shared role this repository installs services with guards exactly this, on the same object the condition already reads: roles/servarr/tasks/main.yml:75-81 stops the Service only when: servarr_install_needed and servarr_installed.stat.exists. Here the play therefore dies at task 3, before the release is fetched — and that is the path docs/service-bazarr.md:42-43 promises ("a rebuilt Guest comes back with the subtitle database and the caches but without those three keys").

Clears with: when: gaining - bazarr_current.stat.exists (the stat at 33-37).

ADVISORY — README.md:7: the index still says nine Guests and lists nine.

Every sibling that declared a Guest added its row in the same commit — git log -S'110 qbittorrent' -- README.md → 576157b, and the same for d0cfa71, ef3f633, 357c8fa. This change adds the tenth Guest and the page that says so (docs/guests-arr.md:126) while README.md:7 reads "Nine Guests are declared today" and the table has no bazarr row; .env.example:21 in the same diff already reads "ten of them today". Clears with the row and the count.

ADVISORY — docs/service-bazarr.md:28: the fourth wheel is written 0.2.11.post1; the role installs 2.0.11.post1 (bazarr/service/roles/bazarr/defaults/main.yml:41, tasks/main.yml:107).

ADVISORY — docs/service-bazarr.md:50 and bazarr/service/roles/bazarr/tasks/main.yml:94-96 say "the interpreter's four versions"; the ring reads three.

verify.yml:77-89 imports lxml, numpy, PIL only, and the role's reinstall condition prints the same three, so a drift in webrtcvad-wheels is invisible to both the install decision and the Assert. Clears by reading the fourth back or by saying the ring covers three.

ADVISORY — bazarr/guest/.terraform.lock.hcl:5: provider 0.125.0, where all nine sibling Stacks pin 0.124.0 (*/guest/.terraform.lock.hcl). Both constraints are ~> 0.77, so this is the init after a release rather than a decision — but it puts the first Converge of 107 on a provider build no other Stack in the repository has run.

ADVISORY — env.map:70-72: the bazarr rows land under the # 147 nzbget heading, so that heading now introduces the bazarr block and the nzbget rows follow it. Move them beside the arr block, or give them their own heading.

Spec

BLOCKER — bazarr/guest/variables.tf:62 declares unprivileged = true; the live Guest is privileged.

The measured record this wave is written from (THE-34, document wave13-progress, taken 2026-12-02) lists 107's container as privileged, and this change's own quoted observation agrees with it: variables.tf:59-61 and docs/guests-arr.md:139 both report that pct config 107 has no unprivileged line — which is this repository's written definition of a privileged Guest (docs/guests-arr.md:40-43: "103, 105 and 106 have no unprivileged line in pct config, so Proxmox created them as privileged containers"). The parenthetical "(unprivileged)" after that observation is the error: an unprivileged container prints unprivileged: 1.

The consequence is in the repository's own words: modules/guest/variables.tf:35-39, "Proxmox fixes it at creation, so the provider plans a replacement when it changes"; docs/guests-arr.md:51, "a ForceNew change — a plan that would replace the Guest". So the first Converge plans a replacement of 107 instead of the zero-diff plan-check green that docs/guests-arr.md:111-113 requires as the adoption's proof; prevent_destroy (ADR-0011) is what stops the plan, which means the Stack cannot converge at all until the value is corrected. Every sibling that adopted a privileged Guest declares false with the same sentence (radarr, sonarr, nzbget, qbittorrent variables.tf:61-62).

Clears with unprivileged = false and the two prose sites (variables.tf:59-61, docs/guests-arr.md:139). Named for the board, not charged here: if the author believes 107 should become unprivileged, that is a deliberate replacement and a board decision, not a merge this round can make.

BLOCKER — bazarr/service/verify.yml:21,78,86: Ring B's version assert can never pass.

The command prints three bare versions — print(lxml.__version__, numpy.__version__, PIL.__version__) — while the declared list is ["lxml 5.1.0", "numpy 1.26.3", "Pillow 10.2.0"], compared through join(' '). Driven with the answer a correctly pinned interpreter gives (the task's own print, run with the three pins in place → 5.1.0 1.26.3 10.2.0), on the assert copied verbatim from 82-89 under ansible-core 2.21.5:

the interpreter answered "5.1.0 1.26.3 10.2.0"
the wave declares "lxml 5.1.0 numpy 1.26.3 Pillow 10.2.0"
"evaluated_to": false

(cache/scratch/infra-media-8-r1/ringB.log, rc 2.) So make verify — the check the service page offers as the converged state's proof — is red on a correct Guest. Clears by making both sides one shape: verify_imports: ["5.1.0", "1.26.3", "10.2.0"], or by printing the names too.

ADVISORY — bazarr/service/roles/bazarr/tasks/main.yml:57-66: creates: contradicts the when: it is guarded by.

The task is meant to run exactly when the entry point's hash differs (bazarr_install_needed, 33-37), but creates: {{ bazarr_install_dir }}/VERSION skips it whenever VERSION is present — which, on a tree that is present-but-wrong, is always. Driven with VERSION in place, a stale bazarr.py in the tree and when: true: the task answers skipped=True and the stale file survives the "replace" (cache/scratch/infra-media-8-r1/unarchive-guard.log), so the assert at 67-75 then fails with the daemon already stopped. The repair the play advertises never happens. Clears by dropping creates: — the when: is the condition — or by taking the old tree out of the way first, as roles/servarr/tasks/main.yml:85 does.

Named, not charged

  • bazarr/service/roles/bazarr/tasks/main.yml:138-142: the wait_for runs before the handler flush, so a changed unit is proved on the port of the process still running. Not charged — the first Converge writes no unit.
  • docs/service-bazarr.md:26-27 says Debian 12 marks the interpreter externally managed; the template is Debian 13 (bazarr/guest/variables.tf:80). Not charged — the flag is right for both releases.
  • The base branch moved while this PR was open (wave1/110-qbittorrent at 576157b when it was opened, 987f34a now). The squash still applies to the new tip — git merge-tree --write-tree --name-only origin/wave1/110-qbittorrent HEAD → rc 0, no conflicts — so nothing is owed on that account.

Verified, and what could not be

Reproduced at 30f1724: git ls-remote origin refs/pull/8/head equals the dispatch SHA; mise exec -- make check → rc 0 with "env.map: 32 names, all declared in .env.example" (the body's claim, exact); make validate → rc 0, "validate: 10 Stack(s) valid"; ansible-playbook --syntax-check site.yml verify.yml → rc 0, both playbooks; get_commit_statuses at this SHA → pr-checks / check (pull_request) success, run 24. The two probes above were driven locally with the pinned ansible-core; the stub modules that stand in for the three packages carry only __version__, which is all the task reads.

Could not verify: anything read on 107 itself — pct config 107, the unit file, the live config.yaml, the four installed versions. There is no Proxmox credential in this profile and no other route from the review host, and the charter forbids performing the host act to prove it; the declared values stand on the board's measured record and the PR's evidence table, and the one row where those agree with each other and disagree with the code is the unprivileged row above. No plan for this Stack can be produced yet either — 107 is not in /pool/prod and the apply token's ACL names the pool (PR body, "Not taken").

Summary

Standards: 1 blocker, 5 advisories — worst: the play cannot install on a Guest with no unit, which is the rebuild path the service page promises. Spec: 2 blockers, 1 advisory — worst: the declared container shape plans a replacement of the live 107 rather than the zero-diff adoption the wave requires.

<!-- minos review-loop: repo=olympus/infra-media pr=8 head=30f17241619af82676a82b4aeccca4b7a215c714 round=1/5 axes=standards,spec --> **olympus/infra-media #8** · head `30f17241619af82676a82b4aeccca4b7a215c714` · round 1/5 (the dispatch numbered this round 0; the thread carries no review, so this is the first the ledger records — the sign-on comment above is the only place the dispatch's number stays) · axes: standards, spec Recommendation: fix Sources read for this round: the PR body and diff over the API (2026-12-02T18:56Z); `THE-34` and its `wave13-progress` document, fetched live (2026-12-02T18:56Z); the head worktree at `30f1724` for every `file:line` below; the commit statuses at that SHA (run 24). The repository carries no `AGENTS.md` or `CONTRIBUTING.md`; its standards live in its own pages (`docs/guests-arr.md`, `docs/service-bazarr.md`, `README.md`) and in the shape its shared role already has, and those are what is cited. ## Standards **BLOCKER — `bazarr/service/roles/bazarr/tasks/main.yml:41-45`: the stop task is unguarded, so the play cannot install on a Guest that has no unit yet.** The task stops the daemon whenever `bazarr_install_needed` is true, and that condition is also true on a Guest freshly built from the template — where no unit exists. Driven with the ansible-core the repository pins (`mise.toml`, 2.21.5): `systemd_service name=<absent> state=stopped` fails the play, `Module failed: Could not find the requested service …: host` (`cache/scratch/infra-media-8-r1/stop-guard2.log`, rc 2). The shared role this repository installs services with guards exactly this, on the same object the condition already reads: `roles/servarr/tasks/main.yml:75-81` stops the Service only `when: servarr_install_needed` **and** `servarr_installed.stat.exists`. Here the play therefore dies at task 3, before the release is fetched — and that is the path `docs/service-bazarr.md:42-43` promises ("a rebuilt Guest comes back with the subtitle database and the caches but without those three keys"). Clears with: `when:` gaining `- bazarr_current.stat.exists` (the stat at 33-37). **ADVISORY — `README.md:7`: the index still says nine Guests and lists nine.** Every sibling that declared a Guest added its row in the same commit — `git log -S'110 qbittorrent' -- README.md` → `576157b`, and the same for `d0cfa71`, `ef3f633`, `357c8fa`. This change adds the tenth Guest and the page that says so (`docs/guests-arr.md:126`) while `README.md:7` reads "Nine Guests are declared today" and the table has no bazarr row; `.env.example:21` in the same diff already reads "ten of them today". Clears with the row and the count. **ADVISORY — `docs/service-bazarr.md:28`: the fourth wheel is written `0.2.11.post1`; the role installs `2.0.11.post1`** (`bazarr/service/roles/bazarr/defaults/main.yml:41`, `tasks/main.yml:107`). **ADVISORY — `docs/service-bazarr.md:50` and `bazarr/service/roles/bazarr/tasks/main.yml:94-96` say "the interpreter's four versions"; the ring reads three.** `verify.yml:77-89` imports `lxml, numpy, PIL` only, and the role's reinstall condition prints the same three, so a drift in `webrtcvad-wheels` is invisible to both the install decision and the Assert. Clears by reading the fourth back or by saying the ring covers three. **ADVISORY — `bazarr/guest/.terraform.lock.hcl:5`: provider `0.125.0`, where all nine sibling Stacks pin `0.124.0`** (`*/guest/.terraform.lock.hcl`). Both constraints are `~> 0.77`, so this is the `init` after a release rather than a decision — but it puts the first Converge of 107 on a provider build no other Stack in the repository has run. **ADVISORY — `env.map:70-72`: the bazarr rows land under the `# 147 nzbget` heading**, so that heading now introduces the bazarr block and the nzbget rows follow it. Move them beside the arr block, or give them their own heading. ## Spec **BLOCKER — `bazarr/guest/variables.tf:62` declares `unprivileged = true`; the live Guest is privileged.** The measured record this wave is written from (`THE-34`, document `wave13-progress`, taken 2026-12-02) lists 107's container as **privileged**, and this change's own quoted observation agrees with it: `variables.tf:59-61` and `docs/guests-arr.md:139` both report that `pct config 107` has **no `unprivileged` line** — which is this repository's written definition of a privileged Guest (`docs/guests-arr.md:40-43`: "103, 105 and 106 have no `unprivileged` line in `pct config`, so Proxmox created them as privileged containers"). The parenthetical "(unprivileged)" after that observation is the error: an unprivileged container prints `unprivileged: 1`. The consequence is in the repository's own words: `modules/guest/variables.tf:35-39`, "Proxmox fixes it at creation, so the provider plans a replacement when it changes"; `docs/guests-arr.md:51`, "a `ForceNew` change — a plan that would replace the Guest". So the first Converge plans a replacement of 107 instead of the zero-diff `plan-check` green that `docs/guests-arr.md:111-113` requires as the adoption's proof; `prevent_destroy` (ADR-0011) is what stops the plan, which means the Stack cannot converge at all until the value is corrected. Every sibling that adopted a privileged Guest declares `false` with the same sentence (`radarr`, `sonarr`, `nzbget`, `qbittorrent` `variables.tf:61-62`). Clears with `unprivileged = false` and the two prose sites (`variables.tf:59-61`, `docs/guests-arr.md:139`). Named for the board, not charged here: if the author believes 107 should *become* unprivileged, that is a deliberate replacement and a board decision, not a merge this round can make. **BLOCKER — `bazarr/service/verify.yml:21,78,86`: Ring B's version assert can never pass.** The command prints three bare versions — `print(lxml.__version__, numpy.__version__, PIL.__version__)` — while the declared list is `["lxml 5.1.0", "numpy 1.26.3", "Pillow 10.2.0"]`, compared through `join(' ')`. Driven with the answer a correctly pinned interpreter gives (the task's own print, run with the three pins in place → `5.1.0 1.26.3 10.2.0`), on the assert copied verbatim from 82-89 under ansible-core 2.21.5: ``` the interpreter answered "5.1.0 1.26.3 10.2.0" the wave declares "lxml 5.1.0 numpy 1.26.3 Pillow 10.2.0" "evaluated_to": false ``` (`cache/scratch/infra-media-8-r1/ringB.log`, rc 2.) So `make verify` — the check the service page offers as the converged state's proof — is red on a correct Guest. Clears by making both sides one shape: `verify_imports: ["5.1.0", "1.26.3", "10.2.0"]`, or by printing the names too. **ADVISORY — `bazarr/service/roles/bazarr/tasks/main.yml:57-66`: `creates:` contradicts the `when:` it is guarded by.** The task is meant to run exactly when the entry point's hash differs (`bazarr_install_needed`, 33-37), but `creates: {{ bazarr_install_dir }}/VERSION` skips it whenever `VERSION` is present — which, on a tree that is present-but-wrong, is always. Driven with `VERSION` in place, a stale `bazarr.py` in the tree and `when: true`: the task answers `skipped=True` and the stale file survives the "replace" (`cache/scratch/infra-media-8-r1/unarchive-guard.log`), so the assert at 67-75 then fails with the daemon already stopped. The repair the play advertises never happens. Clears by dropping `creates:` — the `when:` is the condition — or by taking the old tree out of the way first, as `roles/servarr/tasks/main.yml:85` does. ## Named, not charged - `bazarr/service/roles/bazarr/tasks/main.yml:138-142`: the `wait_for` runs before the handler flush, so a changed unit is proved on the port of the process still running. Not charged — the first Converge writes no unit. - `docs/service-bazarr.md:26-27` says Debian 12 marks the interpreter externally managed; the template is Debian 13 (`bazarr/guest/variables.tf:80`). Not charged — the flag is right for both releases. - The base branch moved while this PR was open (`wave1/110-qbittorrent` at `576157b` when it was opened, `987f34a` now). The squash still applies to the new tip — `git merge-tree --write-tree --name-only origin/wave1/110-qbittorrent HEAD` → rc 0, no conflicts — so nothing is owed on that account. ## Verified, and what could not be Reproduced at `30f1724`: `git ls-remote origin refs/pull/8/head` equals the dispatch SHA; `mise exec -- make check` → rc 0 with "env.map: 32 names, all declared in .env.example" (the body's claim, exact); `make validate` → rc 0, "validate: 10 Stack(s) valid"; `ansible-playbook --syntax-check site.yml verify.yml` → rc 0, both playbooks; `get_commit_statuses` at this SHA → `pr-checks / check (pull_request)` success, run 24. The two probes above were driven locally with the pinned ansible-core; the stub modules that stand in for the three packages carry only `__version__`, which is all the task reads. Could not verify: anything read on 107 itself — `pct config 107`, the unit file, the live `config.yaml`, the four installed versions. There is no Proxmox credential in this profile and no other route from the review host, and the charter forbids performing the host act to prove it; the declared values stand on the board's measured record and the PR's evidence table, and the one row where those agree with each other and disagree with the code is the `unprivileged` row above. No plan for this Stack can be produced yet either — 107 is not in `/pool/prod` and the apply token's ACL names the pool (PR body, "Not taken"). ## Summary Standards: 1 blocker, 5 advisories — worst: the play cannot install on a Guest with no unit, which is the rebuild path the service page promises. Spec: 2 blockers, 1 advisory — worst: the declared container shape plans a replacement of the live 107 rather than the zero-diff adoption the wave requires.
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.
bazarr: the privileged reading, the guarded stop, and the ring that can pass
All checks were successful
pr-checks / check (pull_request) Successful in 22s
3c671c6450
The review's two blockers, and the advisories beside them.

`unprivileged = false`. `pct config 107` prints no `unprivileged` line, which is
this repository's definition of a privileged container — the same reading 103,
105 and 106 carry. `true` was a plan that would replace the Guest, held only by
`prevent_destroy`.

The stop task now carries `bazarr_current.stat.exists`, as `roles/servarr` does:
a Guest built from the template has no unit, and `state: stopped` on an absent
unit fails the play before the release is fetched.

Ring B compares one shape on both sides — four bare versions — and the command
now prints the fourth, so drift in `webrtcvad-wheels` reaches the ring as well as
the install condition.

The advisories: `creates:` is off the unpack, because it contradicted the `when:`
and left a stale entry point in a present-but-wrong tree; the handler flush now
runs before the port is read; the README counts ten and lists 107; the wheel
reads `2.0.11.post1`; the lock file is 0.124.0, the build the other nine Stacks
run; and bazarr's rows sit under their own heading in `env.map`, not nzbget's.
Author
Owner

Round 1 at 30f1724 is answered at 3c671c6. Every blocker and every advisory, with the probe that shows the change:

Finding What changed Proof
BLOCKER the stop task is unguarded when: gains bazarr_current.stat.exists — the stat the install condition already reads, the guard roles/servarr/tasks/main.yml:75-81 carries A/B under the pinned core: unguarded → Module failed: Could not find the requested service, guarded → skipping: [localhost]
BLOCKER unprivileged = true on a privileged Guest false, and the two prose sites with it pct config 107 on burns prints no unprivileged line — the repository's own definition, the same reading 103/105/106 carry
BLOCKER Ring B can never pass both sides are four bare versions, and the command prints the fourth the play, driven with 107's answer: the four pins agree: 5.1.0 1.26.3 10.2.0 2.0.11.post1
ADVISORY creates: contradicts the when: creates: dropped — the when: is the condition A/B: with creates: skipped=True and a stale bazarr.py; without, changed=True and bazarr.py hashes 878c0520…b64524, the live file
ADVISORY README says nine ten, and 107's row —
ADVISORY wheel reads 0.2.11.post1 2.0.11.post1 webrtcvad.__version__ on 107
ADVISORY ring reads three of four the ring reads four — webrtcvad.__version__ exists and answers 2.0.11.post1, so drift in the fourth is now caught by the install condition and the Assert measured on 107 today
ADVISORY lock at 0.125.0 0.124.0, the build the other nine Stacks run make validate → 10 Stacks valid
ADVISORY bazarr's rows under nzbget's heading their own heading, beside the arr block —
named-not-charged: wait_for before the handler flush meta: flush_handlers before the port is read —

make check (32 names), make validate (10 Stacks) and --syntax-check on both plays are green at 3c671c6.

One thing outside this PR, because it is the same defect and would have been #9's first blocker: jellyfin/guest/variables.tf declared unprivileged = true for 100, which also prints no unprivileged line and carries privileged-only lxc.* lines. It is false at 4720f4c, and #9 is rebased onto this commit.

Round 1 at `30f1724` is answered at **`3c671c6`**. Every blocker and every advisory, with the probe that shows the change: | Finding | What changed | Proof | | --- | --- | --- | | **BLOCKER** the stop task is unguarded | `when:` gains `bazarr_current.stat.exists` — the stat the install condition already reads, the guard `roles/servarr/tasks/main.yml:75-81` carries | A/B under the pinned core: unguarded → `Module failed: Could not find the requested service`, guarded → `skipping: [localhost]` | | **BLOCKER** `unprivileged = true` on a privileged Guest | `false`, and the two prose sites with it | `pct config 107` on burns prints no `unprivileged` line — the repository's own definition, the same reading 103/105/106 carry | | **BLOCKER** Ring B can never pass | both sides are four bare versions, and the command prints the fourth | the play, driven with 107's answer: `the four pins agree: 5.1.0 1.26.3 10.2.0 2.0.11.post1` | | **ADVISORY** `creates:` contradicts the `when:` | `creates:` dropped — the `when:` is the condition | A/B: with `creates:` `skipped=True` and a stale `bazarr.py`; without, `changed=True` and `bazarr.py` hashes `878c0520…b64524`, the live file | | **ADVISORY** README says nine | ten, and 107's row | — | | **ADVISORY** wheel reads `0.2.11.post1` | `2.0.11.post1` | `webrtcvad.__version__` on 107 | | **ADVISORY** ring reads three of four | the ring reads four — `webrtcvad.__version__` exists and answers `2.0.11.post1`, so drift in the fourth is now caught by the install condition *and* the Assert | measured on 107 today | | **ADVISORY** lock at 0.125.0 | 0.124.0, the build the other nine Stacks run | `make validate` → 10 Stacks valid | | **ADVISORY** bazarr's rows under nzbget's heading | their own heading, beside the arr block | — | | named-not-charged: `wait_for` before the handler flush | `meta: flush_handlers` before the port is read | — | `make check` (32 names), `make validate` (10 Stacks) and `--syntax-check` on both plays are green at `3c671c6`. One thing outside this PR, because it is the same defect and would have been #9's first blocker: `jellyfin/guest/variables.tf` declared `unprivileged = true` for 100, which also prints no `unprivileged` line and carries privileged-only `lxc.*` lines. It is `false` at `4720f4c`, and #9 is rebased onto this commit.
bazarr: create the install tree before the archive is unpacked
All checks were successful
pr-checks / check (pull_request) Successful in 24s
dc90342395
The rebuild path the round's first finding is about has one more wall. A Guest
built from the template has no `/opt/bazarr`, and `unarchive` refuses a `dest`
that is not already a directory — it checks that before it looks at the archive —
so the play died at the unpack with `dest … must be an existing dir` and the
release was never installed.

The task above it creates the directory. It names no owner and no mode, so the
adopted Guest's tree keeps the attributes it has and the task is a no-op there;
only a Guest with no tree at all gets one made.

`docs/service-bazarr.md` says so in the sentence it spends on the rebuild.
Member

One more commit on round 1: dc90342. 3c671c6 is this round's fix, reported above; what this run adds is the wall the rebuild path still had behind it.

Finding Change Proof
BLOCKER — "the play cannot install on a Guest that has no unit yet", one wall further down the same path a task above the unpack creates {{ bazarr_install_dir }} (file: state: directory, no owner and no mode, so an adopted Guest's tree keeps its attributes and the task is a no-op there) the file's own unpack task run against an absent dest: dest '…/opt-bazarr' must be an existing dir, rc 2. With the directory task in front of it: changed, changed, entry point present, rc 0. The directory task a second time on the same tree: ok, no change

Why it belongs to that blocker: unarchive checks the dest before it ever reads the archive, so on a Guest built from the template the play died at the unpack having installed nothing — the rebuild docs/service-bazarr.md:42 promises could not have run. That page says so now.

Verified at dc90342, everything through the repo's own manager:

mise exec -- make check      env-check: the pin and the map agree. (32 names)   rc 0
mise exec -- make validate   validate: 10 Stack(s) valid.                       rc 0
mise exec -- ansible-playbook --syntax-check site.yml verify.yml  (both)        rc 0

CI agrees on the same sha: pr-checks / check (pull_request) — success in 24s (run 30).

Probes, re-driven against the branch as it landed rather than taken from the report above:

  • Ring B's assert, taken out of verify.yml and fed four answers: a correctly pinned interpreter (5.1.0 1.26.3 10.2.0 2.0.11.post1) → pass; the name-carrying line the 30f1724 list expected → "evaluated_to": false; a drift in the fourth alone → false; nothing importable → false.
  • The stop task, taken out of the role's own YAML: with bazarr_current.stat.exists false → skipping; with it true on a host carrying no unit → Module failed: Could not find the requested service bazarr: host. The guard is load-bearing, not decorative.
  • The PR body still read the Guest as unprivileged in two places; both are corrected (on vmbr1, privileged, and no unprivileged line, so privileged), and the body is otherwise byte-identical.

Left alone, and why:

  • webrtcvad.__version__ resolves through pkg_resources — the wheel's own webrtcvad.py reads __version__ = pkg_resources.get_distribution('webrtcvad-wheels').version — so Ring B's fourth read needs setuptools on the Guest. I left it as it is: the role imported webrtcvad before this round too, python3-pip brings python3-setuptools in as its Recommends, and the app itself carries the same import. Not measurable from this profile; named rather than assumed.
  • The one reading behind the unprivileged blocker — pct config 107 — is not reachable from here. The fix stands on the repository's own definition (docs/guests-arr.md:40-43, no unprivileged line = privileged) and on this PR's own observation. If that reading is wrong, the first plan stops on prevent_destroy naming unprivileged; it does not touch 107.
  • creates:, the four-version ring, the handler flush, the README row, the wheel version, the lock and the env.map heading were all in 3c671c6; I re-checked them with the probes above and changed none of them. The import and the service rehearsal remain the Operator's, as the body says.
**One more commit on round 1: `dc90342`.** `3c671c6` is this round's fix, reported above; what this run adds is the wall the rebuild path still had behind it. | Finding | Change | Proof | | --- | --- | --- | | **BLOCKER** — "the play cannot install on a Guest that has no unit yet", one wall further down the same path | a task above the unpack creates `{{ bazarr_install_dir }}` (`file: state: directory`, no owner and no mode, so an adopted Guest's tree keeps its attributes and the task is a no-op there) | the file's own unpack task run against an absent `dest`: `dest '…/opt-bazarr' must be an existing dir`, rc 2. With the directory task in front of it: `changed`, `changed`, entry point present, rc 0. The directory task a second time on the same tree: `ok`, no change | Why it belongs to that blocker: `unarchive` checks the `dest` before it ever reads the archive, so on a Guest built from the template the play died at the unpack having installed nothing — the rebuild `docs/service-bazarr.md:42` promises could not have run. That page says so now. **Verified at `dc90342`**, everything through the repo's own manager: ``` mise exec -- make check env-check: the pin and the map agree. (32 names) rc 0 mise exec -- make validate validate: 10 Stack(s) valid. rc 0 mise exec -- ansible-playbook --syntax-check site.yml verify.yml (both) rc 0 ``` CI agrees on the same sha: `pr-checks / check (pull_request)` — **success** in 24s (run 30). Probes, re-driven against the branch as it landed rather than taken from the report above: - **Ring B's assert**, taken out of `verify.yml` and fed four answers: a correctly pinned interpreter (`5.1.0 1.26.3 10.2.0 2.0.11.post1`) → pass; the name-carrying line the `30f1724` list expected → `"evaluated_to": false`; a drift in the fourth alone → false; nothing importable → false. - **The stop task**, taken out of the role's own YAML: with `bazarr_current.stat.exists` false → `skipping`; with it true on a host carrying no unit → `Module failed: Could not find the requested service bazarr: host`. The guard is load-bearing, not decorative. - **The PR body** still read the Guest as unprivileged in two places; both are corrected (`on vmbr1, privileged,` and `no unprivileged line, so privileged`), and the body is otherwise byte-identical. **Left alone, and why:** - `webrtcvad.__version__` resolves through `pkg_resources` — the wheel's own `webrtcvad.py` reads `__version__ = pkg_resources.get_distribution('webrtcvad-wheels').version` — so Ring B's fourth read needs setuptools on the Guest. I left it as it is: the role imported `webrtcvad` before this round too, `python3-pip` brings `python3-setuptools` in as its Recommends, and the app itself carries the same import. Not measurable from this profile; named rather than assumed. - **The one reading behind the `unprivileged` blocker — `pct config 107` — is not reachable from here.** The fix stands on the repository's own definition (`docs/guests-arr.md:40-43`, no `unprivileged` line = privileged) and on this PR's own observation. If that reading is wrong, the first plan stops on `prevent_destroy` naming `unprivileged`; it does not touch 107. - `creates:`, the four-version ring, the handler flush, the README row, the wheel version, the lock and the `env.map` heading were all in `3c671c6`; I re-checked them with the probes above and changed none of them. The import and the service rehearsal remain the Operator's, as the body says.
Author
Owner

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

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

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

**Review started** (round 0/5) on dc903423959f717cc0f40413280991ca690a406d — reading the diff now.
bot-minos approved these changes 2026-12-02 19:20:19 +00:00
Dismissed
bot-minos left a comment

olympus/infra-media #8 · head dc903423959f717cc0f40413280991ca690a406d · round 2/5 · axes: standards, spec

Recommendation: merge

The dispatch numbered this round 0; the thread already carries one review — round 1/5 at 30f1724 — so this is the second the ledger records, and the sign-on comment above is the only place the dispatch's number stays.

Sources read for this round: the PR object, its body, its one review and its comment list over the forge API (2026-12-02T19:15Z); the delta git diff 30f1724 dc90342 (8 files, +68/−42) in a worktree at the reviewed head; THE-34 and its wave13-progress document, fetched live (2026-12-02T19:17Z); olympus/workshop docs/adr/ at origin/main (ADR-0011); the release artefact itself, downloaded from the URL the role pins; the commit statuses at the reviewed SHA.

The delta is stacked on the prior head (git merge-base --is-ancestor 30f1724 HEAD → true), so this round reviews git diff 30f1724 dc90342 — two commits, 3c671c6 (round 1's clearing changes) and dc90342 (one more, on the same rebuild path).

Round 1's findings, re-driven

Round 1 finding State at head Evidence
BLOCKER — the stop task is unguarded, so the play dies on a Guest with no unit cleared at 3c671c6 bazarr/service/roles/bazarr/tasks/main.yml:45-50 adds bazarr_current.stat.exists. Red/green: unguarded systemd_service state=stopped on an absent unit → rc 2, Could not find the requested service; the shipped pair → task skipping, play rc 0
BLOCKER — unprivileged = true on a privileged Guest plans a replacement cleared at 3c671c6 bazarr/guest/variables.tf:62 unprivileged = false, with the reading at :59-61; docs/guests-arr.md:139; the ticket's own record row for 107 says privileged, so declaration and record now agree
BLOCKER — Ring B's version assert can never pass cleared at 3c671c6 bazarr/service/verify.yml:21 is four bare versions and :78 prints four; driven: the correctly pinned answer passes, the round-1 name-carrying list fails, a drift in the fourth alone fails
ADVISORY — README still said nine Guests cleared README.md:7 reads "Ten Guests"; the row is README.md:21; ten data rows in the table
ADVISORY — the fourth wheel written 0.2.11.post1 cleared docs/service-bazarr.md:30 reads 2.0.11.post1, matching bazarr/service/roles/bazarr/defaults/main.yml:41
ADVISORY — "the interpreter's four versions" while the ring read three cleared both sides now four: role tasks/main.yml:110 and :122-125, Assert verify.yml:21 and :78
ADVISORY — lock at provider 0.125.0 where nine Stacks pin 0.124.0 cleared bazarr/guest/.terraform.lock.hcl:5 is 0.124.0, and its 27-entry hash set is identical to radarr's and sonarr's (diff of the sorted lists is empty) — a real lock for that build, not a hand-edited version line
ADVISORY — bazarr's env.map rows sat under the nzbget heading cleared env.map:70-73 own heading, :75-77 nzbget's heading back above its own rows; make check rc 0
ADVISORY — creates: contradicted the when: it was guarded by cleared creates: dropped from the unpack task. Driven against the real release: the unpack runs and bazarr.py hashes 878c0520…b64524
named, not charged — wait_for before the handler flush fixed tasks/main.yml:153-154 flushes handlers before the port is read

dc90342 adds the last wall on that same path: tasks/main.yml:64-68 creates {{ bazarr_install_dir }} before the unpack. Driven red/green — without it unarchive answers dest '…' must be an existing dir (rc 2); with it the play unpacks and the entry point is present; the task a second time on the same tree reports changed=0, so the adopted Guest's attributes are untouched.

Standards

ADVISORY — docs/service-bazarr.md:44-45 (and the same sentence in the PR body): the page says a rebuild loses the three arr connections; nothing in the play removes them.

The sentence reads "a rebuilt Guest comes back with the subtitle database and the caches but without those three keys, which is the one manual step after a rebuild". Every part of that state lives in one directory — docs/service-bazarr.md:13 names /opt/bazarr/data/ as holding config/config.yaml, db/, log/, cache/ and backup/ — and bazarr/service/roles/bazarr/tasks/main.yml:38-40 states the same of the replace: "data/ is not in the archive, so the settings, the database and the logs survive". Driven against the real 31 MB release: unzip -l shows zero data/ entries in bazarr.zip v1.6.2, and unpacking that archive over a tree that already held data/config/config.yaml left the file byte-identical (e2d321da… before and after). So a rebuild that brings the database and the caches back brings the connections back with them, and the page's "one manual step" is a step nobody has to take. Clears by dropping the clause, or by saying what the page means (a Guest whose /opt/bazarr is gone entirely comes back with none of it).

Spec

No findings. The ticket's contract — the wave order, and 107 on 10.12.0.108 in particular — is met, and the one declared value the record could contradict (unprivileged) now matches the record's privileged reading.

Named, not charged

  • docs/service-bazarr.md:28 says Debian 12 marks the interpreter externally managed while the Stack declares the debian-13 template (bazarr/guest/variables.tf:84), which every sibling Stack here also does. Round 1 named it and did not charge it; it is unchanged and the flag is right for both releases.
  • The fourth version read needs setuptools' pkg_resources on the Guest: webrtcvad.py imports it at module level (__version__ = pkg_resources.get_distribution('webrtcvad-wheels').version). The import is not new — both commands imported webrtcvad before this change — and the author disclosed the dependency rather than assuming it. Pinned here: 2.0.11.post1 answers exactly 2.0.11.post1, which is what the Assert now expects.
  • The stop guard reads the entry point (bazarr_current), not the unit, so a tree that is present-but-wrong on a Guest whose unit was never written would still fail at the stop. That is the shape roles/servarr/tasks/main.yml:77-81 uses on the same kind of stat, and the play writes the unit unconditionally, so it is the shared role's gap rather than this change's.

Verified, and what could not be

Reproduced at dc903423959f717cc0f40413280991ca690a406d: git ls-remote origin refs/pull/8/head equals the dispatch SHA; the squash still applies to the base tip (git merge-tree --write-tree --name-only origin/wave1/110-qbittorrent HEAD → rc 0, no conflicts); mise exec -- make check → rc 0, "env.map: 32 names, all declared in .env.example"; make validate → rc 0, "validate: 10 Stack(s) valid"; ansible-playbook --syntax-check site.yml verify.yml → rc 0, both plays; get_commit_statuses at this SHA → pr-checks / check (pull_request) success, run 30. The release's three pins are independent of the PR body here: bazarr.zip hashes to 82d1c61e…c2627b, the bazarr.py inside it to 878c0520…b64524 (the live file's hash), VERSION to f4826a0b…f7b0466 — all three downloaded and hashed in this round. Every Ansible probe above ran on the ansible-core the repository pins (2.21.5); the four-version assert was driven with the answer a correctly pinned interpreter gives, and the fourth value's shape was settled by installing webrtcvad-wheels==2.0.11.post1 from PyPI and reading __version__.

Could not verify: anything on 107 itself — pct config 107, the unit file, the live config.yaml, the four installed versions. There is no Proxmox credential in this profile and no other route from the review host, and the charter forbids performing the host act to prove it; those values stand on the board's measured record and the PR's evidence table. No plan for this Stack can be produced yet either — 107 is not in /pool/prod and the apply token's ACL names the pool (PR body, "Not taken"), so the zero-diff first Converge remains asserted rather than shown.

Summary

Standards: 0 blockers, 1 advisory — worst: the service page tells the operator a rebuild loses the three arr connections, which the release archive and the role's own comment both contradict. Spec: 0 findings. Round 1 carried 3 blockers and 6 advisories across the two axes; all of them are cleared at this head, and the two probes that cleared the behavioural ones were re-driven here rather than inherited.

<!-- minos review-loop: repo=olympus/infra-media pr=8 head=dc903423959f717cc0f40413280991ca690a406d round=2/5 axes=standards,spec --> **olympus/infra-media #8** · head `dc903423959f717cc0f40413280991ca690a406d` · round 2/5 · axes: standards, spec Recommendation: merge The dispatch numbered this round 0; the thread already carries one review — round 1/5 at `30f1724` — so this is the second the ledger records, and the sign-on comment above is the only place the dispatch's number stays. Sources read for this round: the PR object, its body, its one review and its comment list over the forge API (2026-12-02T19:15Z); the delta `git diff 30f1724 dc90342` (8 files, +68/−42) in a worktree at the reviewed head; `THE-34` and its `wave13-progress` document, fetched live (2026-12-02T19:17Z); `olympus/workshop` `docs/adr/` at `origin/main` (ADR-0011); the release artefact itself, downloaded from the URL the role pins; the commit statuses at the reviewed SHA. The delta is stacked on the prior head (`git merge-base --is-ancestor 30f1724 HEAD` → true), so this round reviews `git diff 30f1724 dc90342` — two commits, `3c671c6` (round 1's clearing changes) and `dc90342` (one more, on the same rebuild path). ## Round 1's findings, re-driven | Round 1 finding | State at head | Evidence | | --- | --- | --- | | **BLOCKER** — the stop task is unguarded, so the play dies on a Guest with no unit | cleared at `3c671c6` | `bazarr/service/roles/bazarr/tasks/main.yml:45-50` adds `bazarr_current.stat.exists`. Red/green: unguarded `systemd_service state=stopped` on an absent unit → rc 2, `Could not find the requested service`; the shipped pair → task `skipping`, play rc 0 | | **BLOCKER** — `unprivileged = true` on a privileged Guest plans a replacement | cleared at `3c671c6` | `bazarr/guest/variables.tf:62` `unprivileged = false`, with the reading at `:59-61`; `docs/guests-arr.md:139`; the ticket's own record row for 107 says **privileged**, so declaration and record now agree | | **BLOCKER** — Ring B's version assert can never pass | cleared at `3c671c6` | `bazarr/service/verify.yml:21` is four bare versions and `:78` prints four; driven: the correctly pinned answer passes, the round-1 name-carrying list fails, a drift in the fourth alone fails | | ADVISORY — README still said nine Guests | cleared | `README.md:7` reads "Ten Guests"; the row is `README.md:21`; ten data rows in the table | | ADVISORY — the fourth wheel written `0.2.11.post1` | cleared | `docs/service-bazarr.md:30` reads `2.0.11.post1`, matching `bazarr/service/roles/bazarr/defaults/main.yml:41` | | ADVISORY — "the interpreter's four versions" while the ring read three | cleared | both sides now four: role `tasks/main.yml:110` and `:122-125`, Assert `verify.yml:21` and `:78` | | ADVISORY — lock at provider `0.125.0` where nine Stacks pin `0.124.0` | cleared | `bazarr/guest/.terraform.lock.hcl:5` is `0.124.0`, and its 27-entry hash set is **identical** to `radarr`'s and `sonarr`'s (`diff` of the sorted lists is empty) — a real lock for that build, not a hand-edited version line | | ADVISORY — bazarr's `env.map` rows sat under the nzbget heading | cleared | `env.map:70-73` own heading, `:75-77` nzbget's heading back above its own rows; `make check` rc 0 | | ADVISORY — `creates:` contradicted the `when:` it was guarded by | cleared | `creates:` dropped from the unpack task. Driven against the real release: the unpack runs and `bazarr.py` hashes `878c0520…b64524` | | named, not charged — `wait_for` before the handler flush | fixed | `tasks/main.yml:153-154` flushes handlers before the port is read | `dc90342` adds the last wall on that same path: `tasks/main.yml:64-68` creates `{{ bazarr_install_dir }}` before the unpack. Driven red/green — without it `unarchive` answers `dest '…' must be an existing dir` (rc 2); with it the play unpacks and the entry point is present; the task a second time on the same tree reports `changed=0`, so the adopted Guest's attributes are untouched. ## Standards **ADVISORY — `docs/service-bazarr.md:44-45` (and the same sentence in the PR body): the page says a rebuild loses the three arr connections; nothing in the play removes them.** The sentence reads "a rebuilt Guest comes back with the subtitle database and the caches but without those three keys, which is the one manual step after a rebuild". Every part of that state lives in one directory — `docs/service-bazarr.md:13` names `/opt/bazarr/data/` as holding `config/config.yaml`, `db/`, `log/`, `cache/` and `backup/` — and `bazarr/service/roles/bazarr/tasks/main.yml:38-40` states the same of the replace: "`data/` is not in the archive, so the settings, the database and the logs survive". Driven against the real 31 MB release: `unzip -l` shows **zero** `data/` entries in `bazarr.zip` v1.6.2, and unpacking that archive over a tree that already held `data/config/config.yaml` left the file byte-identical (`e2d321da…` before and after). So a rebuild that brings the database and the caches back brings the connections back with them, and the page's "one manual step" is a step nobody has to take. Clears by dropping the clause, or by saying what the page means (a Guest whose `/opt/bazarr` is gone entirely comes back with none of it). ## Spec No findings. The ticket's contract — the wave order, and `107` on `10.12.0.108` in particular — is met, and the one declared value the record could contradict (`unprivileged`) now matches the record's privileged reading. ## Named, not charged - `docs/service-bazarr.md:28` says Debian 12 marks the interpreter externally managed while the Stack declares the `debian-13` template (`bazarr/guest/variables.tf:84`), which every sibling Stack here also does. Round 1 named it and did not charge it; it is unchanged and the flag is right for both releases. - The fourth version read needs `setuptools`' `pkg_resources` on the Guest: `webrtcvad.py` imports it at module level (`__version__ = pkg_resources.get_distribution('webrtcvad-wheels').version`). The import is not new — both commands imported `webrtcvad` before this change — and the author disclosed the dependency rather than assuming it. Pinned here: `2.0.11.post1` answers exactly `2.0.11.post1`, which is what the Assert now expects. - The stop guard reads the entry point (`bazarr_current`), not the unit, so a tree that is present-but-wrong on a Guest whose unit was never written would still fail at the stop. That is the shape `roles/servarr/tasks/main.yml:77-81` uses on the same kind of stat, and the play writes the unit unconditionally, so it is the shared role's gap rather than this change's. ## Verified, and what could not be Reproduced at `dc903423959f717cc0f40413280991ca690a406d`: `git ls-remote origin refs/pull/8/head` equals the dispatch SHA; the squash still applies to the base tip (`git merge-tree --write-tree --name-only origin/wave1/110-qbittorrent HEAD` → rc 0, no conflicts); `mise exec -- make check` → rc 0, "env.map: 32 names, all declared in .env.example"; `make validate` → rc 0, "validate: 10 Stack(s) valid"; `ansible-playbook --syntax-check site.yml verify.yml` → rc 0, both plays; `get_commit_statuses` at this SHA → `pr-checks / check (pull_request)` **success**, run 30. The release's three pins are independent of the PR body here: `bazarr.zip` hashes to `82d1c61e…c2627b`, the `bazarr.py` inside it to `878c0520…b64524` (the live file's hash), `VERSION` to `f4826a0b…f7b0466` — all three downloaded and hashed in this round. Every Ansible probe above ran on the ansible-core the repository pins (2.21.5); the four-version assert was driven with the answer a correctly pinned interpreter gives, and the fourth value's shape was settled by installing `webrtcvad-wheels==2.0.11.post1` from PyPI and reading `__version__`. Could not verify: anything on 107 itself — `pct config 107`, the unit file, the live `config.yaml`, the four installed versions. There is no Proxmox credential in this profile and no other route from the review host, and the charter forbids performing the host act to prove it; those values stand on the board's measured record and the PR's evidence table. No plan for this Stack can be produced yet either — 107 is not in `/pool/prod` and the apply token's ACL names the pool (PR body, "Not taken"), so the zero-diff first Converge remains asserted rather than shown. ## Summary Standards: 0 blockers, 1 advisory — worst: the service page tells the operator a rebuild loses the three arr connections, which the release archive and the role's own comment both contradict. Spec: 0 findings. Round 1 carried 3 blockers and 6 advisories across the two axes; all of them are cleared at this head, and the two probes that cleared the behavioural ones were re-driven here rather than inherited.
pit changed target branch from wave1/110-qbittorrent to main 2026-12-02 20:16:57 +00:00
Author
Owner

Fix merge conflicts

Fix merge conflicts
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 PR was retargeted from `wave1/110-qbittorrent`, which merged as the squash
`a9407a7` (#7), so the branch's own 148 and 110 commits now duplicate what `main`
carries and every file both sides touched conflicts.

Resolution, file by file, measured against the stacked tips (`bc2e2b2` for slskd,
`576157b` for qbittorrent) rather than guessed:

- `README.md`, `Makefile`, `.env.example` — the conflict is the pre-bazarr count and
  the missing row; this side keeps 107 and `main`'s copy of the rest, including the
  qbittorrent paragraph `main` carried past the stacked tip.
- `env.map` — `main`'s side, whole: #6's round made the four slskd/soularr service
  paths `pit,hermes` and put the reason in the comment above them. This branch had
  the pre-round rows and did not touch the file past the stacked tip.
- `docs/service-qbittorrent.md`, `qbittorrent/service/roles/qbittorrent/tasks/main.yml`,
  `slskd/service/roles/{slskd,soularr}/tasks/main.yml`, `slskd/service/verify.yml` —
  `main`'s side, whole: this branch never touched those files past the stacked tips,
  and the squashes carry review commits the branch never received.

Verified on the merged tree: `mise exec -- make check` (env.map: 32 names, all declared
in .env.example), `mise exec -- make validate` (10 Stack(s) valid), and
`ansible-playbook --syntax-check site.yml verify.yml` for bazarr's play.
docs/service-bazarr: the rebuild loses data/, not just three keys
All checks were successful
pr-checks / check (pull_request) Successful in 24s
8d2da29c23
The page said a rebuilt Guest comes back with the subtitle database and the
caches but without the three arr connections, calling that "the one manual step
after a rebuild". Both halves are wrong, and the release archive settles it.

`bazarr.zip` v1.6.2 carries no `data/` entry at its root (`unzip -l` over the
asset whose sha256 is the role's `bazarr_release_sha256`), so unpacking it over
`/opt/bazarr` leaves `data/` alone — driven with a `data/config/config.yaml` in
the tree, the file hashes `951dfe00…` before and after the unpack. The
connections live in that file, so a release replace keeps them.

A Guest whose `/opt/bazarr` is gone entirely — a rebuild from the template — is
the other case: none of `data/` is in the archive, so it comes back with no
settings, no database and no caches, and the three connections are set again
with everything else.
bot-efesto dismissed bot-minos's review 2026-12-02 20:19:52 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

Member

Round 0/5 as dispatched — head 8d2da29. The thread's last review is bot-minos' round 2/5 at dc90342 (0 blockers, 1 advisory), and at 20:16Z the PR was retargeted from wave1/110-qbittorrent to main, the label set to review/needs-fix, and "Fix merge conflicts" posted. So this round is two things: the branch's conflicts against its new base, and the one advisory that review left open.

1. 37fe2ed — the retarget's conflicts

wave1/110-qbittorrent merged as the squash a9407a7 (#7) and #6 as e4b1c1b, so this branch's own 148 and 110 commits duplicate what main now carries: every file both sides touched conflicted (git merge-tree --write-tree origin/main wave1/107-bazarr → rc 1, 9 paths). Resolved as a merge on the PR's branch — new commits, no rewrite — per file, measured against the stacked tips (bc2e2b2 for slskd, 576157b for qbittorrent) rather than taken whole:

Path Resolution Why
README.md, Makefile, .env.example this branch's side, in the conflict blocks only main's side is the pre-bazarr count and the missing row; main's qbittorrent paragraph came through auto-merged and is kept
env.map main's side, whole #6's round made the four slskd/soularr service paths pit,hermes and put the reason above them; this branch carried the pre-round rows and never touched the file past the stacked tip
docs/service-qbittorrent.md, qbittorrent/service/roles/qbittorrent/tasks/main.yml, slskd/service/roles/{slskd,soularr}/tasks/main.yml, slskd/service/verify.yml main's side, whole the branch never touched them past the stacked tips, and the squashes carry review commits it never received

git diff --stat origin/main after the merge lists exactly the PR's bazarr payload — 23 files, +694/−3 across the merge as a whole — and nothing of main's missing.

2. 8d2da29 — the advisory round 2 left open

docs/service-bazarr.md said a rebuilt Guest comes back with the database and the caches but without the three arr connections, "the one manual step after a rebuild". The release settles it, and both halves are wrong:

  • bazarr.zip v1.6.2 — sha256 82d1c61e…c2627b, the role's own bazarr_release_sha256 — carries zero root-level data/ entries: unzip -l | grep -c ' data/[^/]*$' → 0.
  • Unpacked over a tree that already held data/config/config.yaml, the file is 951dfe00… before and after — byte-identical. A replace keeps data/, so it keeps the connections, which live in that file.
  • A Guest whose /opt/bazarr is gone entirely (a rebuild from the template) gets none of it; the settings and the database are written again on first boot and the three connections go back in through the UI with them.

The page now says that, in the same section and with its wrapping unchanged. The PR body carried the same claim, and its Blast Radius paragraph still said the branch was based on wave1/110-qbittorrent — false after the retarget. Both corrected in place with one PATCH and verified against a fresh GET: stored body 4745 characters, equal to what was sent, all three old passages gone, title unchanged.

Verification, on the pushed head 8d2da29

$ mise exec -- make check
  ok    scripts/env.sh matches infra-secrets@dc5a0e58…
  ok    env.map: 32 names, all declared in .env.example
env-check: the pin and the map agree.                            rc 0

$ mise exec -- make validate
validate: 10 Stack(s) valid.                                     rc 0

$ cd bazarr/service && mise exec -- ansible-playbook --syntax-check site.yml verify.yml
playbook: site.yml
playbook: verify.yml                                             rc 0

$ git merge-tree --write-tree origin/main HEAD                   rc 0, no conflicts
$ curl …/commits/8d2da29…/status                                  success — pr-checks / check, run 34
$ curl …/raw/docs/service-bazarr.md?ref=8d2da29… | sha256sum
38459074f17d9855… == the worktree file's own hash

The push was a fast-forward, dc90342..8d2da29: new commits only, no force-push, no rewrite, main untouched.

Left alone, and what I could not verify

  • No finding was left unfixed and none is disputed. Round 2's only open item is the advisory above; its spec axis carried none, and its round-1 blockers and advisories were already cleared at dc90342.
  • Nothing on 107 itself was read. This profile holds no Proxmox credential, so pct config 107, the unit file, the live config.yaml and the four installed interpreter versions stand on the board's record and the PR's evidence table — the same gap round 2 named. The plan cannot be produced yet either (107 is not in /pool/prod and the apply token's ACL names the pool), so the zero-diff first Converge remains asserted rather than shown. Everything above that a repository can answer was run, not inherited.
**Round 0/5 as dispatched — head `8d2da29`.** The thread's last review is `bot-minos`' round 2/5 at `dc90342` (0 blockers, 1 advisory), and at 20:16Z the PR was retargeted from `wave1/110-qbittorrent` to `main`, the label set to `review/needs-fix`, and "Fix merge conflicts" posted. So this round is two things: the branch's conflicts against its new base, and the one advisory that review left open. ### 1. `37fe2ed` — the retarget's conflicts `wave1/110-qbittorrent` merged as the squash `a9407a7` (#7) and #6 as `e4b1c1b`, so this branch's own 148 and 110 commits duplicate what `main` now carries: every file both sides touched conflicted (`git merge-tree --write-tree origin/main wave1/107-bazarr` → rc 1, 9 paths). Resolved as a merge on the PR's branch — new commits, no rewrite — per file, measured against the stacked tips (`bc2e2b2` for slskd, `576157b` for qbittorrent) rather than taken whole: | Path | Resolution | Why | | --- | --- | --- | | `README.md`, `Makefile`, `.env.example` | this branch's side, in the conflict blocks only | main's side is the pre-bazarr count and the missing row; main's qbittorrent paragraph came through auto-merged and is kept | | `env.map` | `main`'s side, whole | #6's round made the four slskd/soularr service paths `pit,hermes` and put the reason above them; this branch carried the pre-round rows and never touched the file past the stacked tip | | `docs/service-qbittorrent.md`, `qbittorrent/service/roles/qbittorrent/tasks/main.yml`, `slskd/service/roles/{slskd,soularr}/tasks/main.yml`, `slskd/service/verify.yml` | `main`'s side, whole | the branch never touched them past the stacked tips, and the squashes carry review commits it never received | `git diff --stat origin/main` after the merge lists exactly the PR's bazarr payload — 23 files, +694/−3 across the merge as a whole — and nothing of `main`'s missing. ### 2. `8d2da29` — the advisory round 2 left open `docs/service-bazarr.md` said a rebuilt Guest comes back with the database and the caches but without the three arr connections, "the one manual step after a rebuild". The release settles it, and both halves are wrong: - `bazarr.zip` v1.6.2 — sha256 `82d1c61e…c2627b`, the role's own `bazarr_release_sha256` — carries **zero** root-level `data/` entries: `unzip -l | grep -c ' data/[^/]*$'` → `0`. - Unpacked over a tree that already held `data/config/config.yaml`, the file is `951dfe00…` before and after — byte-identical. A replace keeps `data/`, so it keeps the connections, which live in that file. - A Guest whose `/opt/bazarr` is gone entirely (a rebuild from the template) gets none of it; the settings and the database are written again on first boot and the three connections go back in through the UI with them. The page now says that, in the same section and with its wrapping unchanged. The PR body carried the same claim, and its Blast Radius paragraph still said the branch was based on `wave1/110-qbittorrent` — false after the retarget. Both corrected in place with one `PATCH` and verified against a fresh `GET`: stored body 4745 characters, equal to what was sent, all three old passages gone, title unchanged. ### Verification, on the pushed head `8d2da29` ```text $ mise exec -- make check ok scripts/env.sh matches infra-secrets@dc5a0e58… ok env.map: 32 names, all declared in .env.example env-check: the pin and the map agree. rc 0 $ mise exec -- make validate validate: 10 Stack(s) valid. rc 0 $ cd bazarr/service && mise exec -- ansible-playbook --syntax-check site.yml verify.yml playbook: site.yml playbook: verify.yml rc 0 $ git merge-tree --write-tree origin/main HEAD rc 0, no conflicts $ curl …/commits/8d2da29…/status success — pr-checks / check, run 34 $ curl …/raw/docs/service-bazarr.md?ref=8d2da29… | sha256sum 38459074f17d9855… == the worktree file's own hash ``` The push was a fast-forward, `dc90342..8d2da29`: new commits only, no force-push, no rewrite, `main` untouched. ### Left alone, and what I could not verify - **No finding was left unfixed and none is disputed.** Round 2's only open item is the advisory above; its spec axis carried none, and its round-1 blockers and advisories were already cleared at `dc90342`. - **Nothing on 107 itself was read.** This profile holds no Proxmox credential, so `pct config 107`, the unit file, the live `config.yaml` and the four installed interpreter versions stand on the board's record and the PR's evidence table — the same gap round 2 named. The plan cannot be produced yet either (107 is not in `/pool/prod` and the apply token's ACL names the pool), so the zero-diff first Converge remains asserted rather than shown. Everything above that a repository can answer was run, not inherited.
Member

Review started (round 1/5) on 8d2da29c23 — reading the diff now.

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

olympus/infra-media #8 · head 8d2da29c23d0f056b86d179df0486040ba32cf9e · round 3/5 · axes: standards, spec

Recommendation: merge

The dispatch numbered this round 1; the thread already carries two reviews — round 1/5 at 30f1724 and round 2/5 at dc90342 — so this is the third the ledger records, and the sign-on comment above is the only place the dispatch's number stays.

Sources read for this round: the PR object, its body, its two reviews and its comment list over the forge API (2026-12-02T20:21Z); the delta git diff dc90342 8d2da29 (9 files, +153/−70) in a worktree at the reviewed head; the round's own change git diff 37fe2ed 8d2da29 (one file, +7/−4); THE-34 and its wave13-progress document, fetched live (2026-12-02T20:27Z); olympus/workshop docs/adr/ at origin/main (records 0005, 0006, 0011 read); the release artefact downloaded from the role's own pin; the commit statuses at the reviewed SHA.

The delta is the retarget's base merge 37fe2ed plus one commit 8d2da29. Measured git merge-base --is-ancestor 37fe2ed 8d2da29 → true, so the round's own change is git diff 37fe2ed 8d2da29; the merge's files are main's and are classified below, not charged.

Round 2's finding, re-driven

Round 2 finding State at head Evidence
ADVISORY — docs/service-bazarr.md:44-45 said a rebuilt Guest loses the three arr connections cleared at 8d2da29 docs/service-bazarr.md:43-50 now says the connections live in data/config/config.yaml, a replace leaves data/ untouched, and only a Guest whose /opt/bazarr is gone loses them. Driven: bazarr.zip v1.6.2 (sha256 82d1c61e…c2627b, the role's own pin) carries 0 entries under data/; unpacking it over a tree that already held data/config/config.yaml left the file byte-identical (0c848a99… before and after), and the entry point it wrote hashes 878c0520…b64524 — the pinned one. Both halves of the page's new sentence hold

Round 1's clearings are still in the tree, and the bazarr payload is byte-identical between dc90342 and this head (git diff --stat dc90342 8d2da29 -- bazarr docs/guests-arr.md → empty). I re-drove two of them at this head rather than inheriting them: the stop task's guard (tasks/main.yml:45-50) — shipped form skipping rc 0 on a host with no unit, the unguarded mutant rc 2 Could not find the requested service bazarr — and Ring B's four-version assert (verify.yml:21,78,86) — the correctly pinned answer rc 0, the same case with the fourth version drifted rc 2. bazarr/guest/variables.tf:62 still reads unprivileged = false.

The merge at 37fe2ed

  • Six of the eight files it touched are byte-identical to main's (docs/deploy.md, docs/service-qbittorrent.md, the qbittorrent and slskd role files, slskd/service/verify.yml) — git rev-parse main:<path> equals git rev-parse HEAD:<path> for each.
  • README.md and env.map are main's content plus only this PR's rows: git diff a9407a7 8d2da29 shows README.md +2/−1 (the count line and the 107 row) and env.map +5 (the bazarr heading and its two rows), nothing else.
  • Lost-edit census both ways: of the 1416 lines the branch's own history added, the 38 not present at head are the four superseded sentences in docs/service-bazarr.md this round replaces plus lines in the qbittorrent/slskd files that main's own review rounds rewrote afterwards; of the 1138 lines main added since the merge base, the only two not at head are the nine → ten sentences this PR intentionally changes. Nothing was dropped that either side still wanted.

Standards

No findings. The delta's own change is one docs hunk, and the merge's files are main's. The pages the hunk touches keep the repository's shape: the new prose wraps at 91 characters, in family with docs/service-qbittorrent.md (91) and docs/service-nzbget.md (90); the table it edits is unchanged; make check reports env.map: 32 names, all declared in .env.example; ADR-0011's prevent_destroy comes through modules/guest untouched and this change removes nothing.

Spec

No findings. THE-34 asks for the wave's remaining Guests in order with the vmid/address mismatch watched, and names 107 bazarr at 10.12.0.108 in particular. The declaration carries vmid = 107, ip = "10.12.0.108/24", 10.12.0.1, one core, 512 MiB, 512 swap, 4G, vmbr1, proxmox-helper-scripts, no mount points, and unprivileged = false — the record's row for 107 says privileged, so declaration and record agree.

Named, not charged

  • docs/service-bazarr.md:28 says Debian 12 marks the interpreter externally managed, while the Stack declares the debian-13 template (bazarr/guest/variables.tf:84). Unchanged since round 1, named there and not charged there; the flag is right for both releases.
  • docs/service-bazarr.md:13 lists backup/ under data/. The archive carries no data/ entries at all, so that row describes what the app creates at runtime; it is unchanged by this round and I did not drive the app to confirm the directory name.
  • modules/guest carries no timezone input, so the record's clock column (Etc/UTC) cannot be declared by any Stack here. A pre-existing gap in the module, not this change's, and no sibling declares one either.
  • The one part of the new page I could not drive — "the settings and the database are written again on the app's first boot" — rests on the app's own behaviour and on bazarr.py being the pinned file; a rebuild from the template has no data/, which the archive's inventory does prove.
  • This round applied the dispatch's narrowing: the change's class is not a hold. A new Stack declaration takes no destroy or replace, touches no ADR, no branch protection and no CI gate, so no charter class is present; merging remains pit's act.

Verified, and what could not be

Reproduced at 8d2da29c23d0f056b86d179df0486040ba32cf9e: git ls-remote origin refs/pull/8/head equals the dispatch SHA, read before and after the wave; mise exec -- make check → rc 0, env.map: 32 names, all declared in .env.example; make validate → rc 0, validate: 10 Stack(s) valid.; ansible-playbook --syntax-check site.yml verify.yml → rc 0, both plays; git merge-tree --write-tree --name-only a9407a7 8d2da29 → rc 0, no conflicts; get_commit_statuses at this SHA → pr-checks / check (pull_request) success, run 34, 24s. The release was downloaded and hashed here: bazarr.zip 82d1c61e…c2627b, the bazarr.py inside it 878c0520…b64524, VERSION f4826a0b…f7b0466 — all three the role's own pins. The two Ansible probes ran on the ansible-core the repository pins (mise.toml, 2.21.5).

Could not verify: anything read on 107 itself — pct config 107, the unit file, the live config.yaml, the four installed interpreter versions. This profile holds no Proxmox credential and the charter forbids performing the host act to prove it; those values stand on the board's measured record (THE-34 wave13-progress, 2026-12-02) and the PR's evidence table, which agree with each other and with the declaration. No plan for this Stack can be produced yet either — 107 is not in /pool/prod and the apply token's ACL names the pool (PR body, "Not taken") — so the zero-diff first Converge remains asserted rather than shown, as round 2 said.

Summary

Standards: 0 findings. Spec: 0 findings. Round 2's single advisory is cleared at 8d2da29 with the probe above, the base merge dropped nothing from either side, and the recommendation is merge.

<!-- minos review-loop: repo=olympus/infra-media pr=8 head=8d2da29c23d0f056b86d179df0486040ba32cf9e round=3/5 axes=standards,spec --> **olympus/infra-media #8** · head `8d2da29c23d0f056b86d179df0486040ba32cf9e` · round 3/5 · axes: standards, spec Recommendation: merge The dispatch numbered this round 1; the thread already carries two reviews — round 1/5 at `30f1724` and round 2/5 at `dc90342` — so this is the third the ledger records, and the sign-on comment above is the only place the dispatch's number stays. Sources read for this round: the PR object, its body, its two reviews and its comment list over the forge API (2026-12-02T20:21Z); the delta `git diff dc90342 8d2da29` (9 files, +153/−70) in a worktree at the reviewed head; the round's own change `git diff 37fe2ed 8d2da29` (one file, +7/−4); `THE-34` and its `wave13-progress` document, fetched live (2026-12-02T20:27Z); `olympus/workshop` `docs/adr/` at `origin/main` (records 0005, 0006, 0011 read); the release artefact downloaded from the role's own pin; the commit statuses at the reviewed SHA. The delta is the retarget's base merge `37fe2ed` plus one commit `8d2da29`. Measured `git merge-base --is-ancestor 37fe2ed 8d2da29` → true, so the round's own change is `git diff 37fe2ed 8d2da29`; the merge's files are `main`'s and are classified below, not charged. ## Round 2's finding, re-driven | Round 2 finding | State at head | Evidence | | --- | --- | --- | | ADVISORY — `docs/service-bazarr.md:44-45` said a rebuilt Guest loses the three arr connections | cleared at `8d2da29` | `docs/service-bazarr.md:43-50` now says the connections live in `data/config/config.yaml`, a replace leaves `data/` untouched, and only a Guest whose `/opt/bazarr` is gone loses them. Driven: `bazarr.zip` v1.6.2 (sha256 `82d1c61e…c2627b`, the role's own pin) carries **0** entries under `data/`; unpacking it over a tree that already held `data/config/config.yaml` left the file byte-identical (`0c848a99…` before and after), and the entry point it wrote hashes `878c0520…b64524` — the pinned one. Both halves of the page's new sentence hold | Round 1's clearings are still in the tree, and the bazarr payload is byte-identical between `dc90342` and this head (`git diff --stat dc90342 8d2da29 -- bazarr docs/guests-arr.md` → empty). I re-drove two of them at this head rather than inheriting them: the stop task's guard (`tasks/main.yml:45-50`) — shipped form `skipping` rc 0 on a host with no unit, the unguarded mutant rc 2 `Could not find the requested service bazarr` — and Ring B's four-version assert (`verify.yml:21,78,86`) — the correctly pinned answer rc 0, the same case with the fourth version drifted rc 2. `bazarr/guest/variables.tf:62` still reads `unprivileged = false`. ## The merge at `37fe2ed` - Six of the eight files it touched are byte-identical to `main`'s (`docs/deploy.md`, `docs/service-qbittorrent.md`, the qbittorrent and slskd role files, `slskd/service/verify.yml`) — `git rev-parse main:<path>` equals `git rev-parse HEAD:<path>` for each. - `README.md` and `env.map` are `main`'s content plus only this PR's rows: `git diff a9407a7 8d2da29` shows `README.md` +2/−1 (the count line and the 107 row) and `env.map` +5 (the bazarr heading and its two rows), nothing else. - Lost-edit census both ways: of the 1416 lines the branch's own history added, the 38 not present at head are the four superseded sentences in `docs/service-bazarr.md` this round replaces plus lines in the qbittorrent/slskd files that `main`'s own review rounds rewrote afterwards; of the 1138 lines `main` added since the merge base, the only two not at head are the `nine` → `ten` sentences this PR intentionally changes. Nothing was dropped that either side still wanted. ## Standards No findings. The delta's own change is one docs hunk, and the merge's files are `main`'s. The pages the hunk touches keep the repository's shape: the new prose wraps at 91 characters, in family with `docs/service-qbittorrent.md` (91) and `docs/service-nzbget.md` (90); the table it edits is unchanged; `make check` reports `env.map: 32 names, all declared in .env.example`; ADR-0011's `prevent_destroy` comes through `modules/guest` untouched and this change removes nothing. ## Spec No findings. `THE-34` asks for the wave's remaining Guests in order with the vmid/address mismatch watched, and names 107 bazarr at `10.12.0.108` in particular. The declaration carries `vmid = 107`, `ip = "10.12.0.108/24"`, `10.12.0.1`, one core, 512 MiB, 512 swap, 4G, `vmbr1`, `proxmox-helper-scripts`, no mount points, and `unprivileged = false` — the record's row for 107 says privileged, so declaration and record agree. ## Named, not charged - `docs/service-bazarr.md:28` says Debian 12 marks the interpreter externally managed, while the Stack declares the `debian-13` template (`bazarr/guest/variables.tf:84`). Unchanged since round 1, named there and not charged there; the flag is right for both releases. - `docs/service-bazarr.md:13` lists `backup/` under `data/`. The archive carries no `data/` entries at all, so that row describes what the app creates at runtime; it is unchanged by this round and I did not drive the app to confirm the directory name. - `modules/guest` carries no `timezone` input, so the record's `clock` column (`Etc/UTC`) cannot be declared by any Stack here. A pre-existing gap in the module, not this change's, and no sibling declares one either. - The one part of the new page I could not drive — "the settings and the database are written again on the app's first boot" — rests on the app's own behaviour and on `bazarr.py` being the pinned file; a rebuild from the template has no `data/`, which the archive's inventory does prove. - This round applied the dispatch's narrowing: the change's class is not a hold. A new Stack declaration takes no destroy or replace, touches no ADR, no branch protection and no CI gate, so no charter class is present; merging remains `pit`'s act. ## Verified, and what could not be Reproduced at `8d2da29c23d0f056b86d179df0486040ba32cf9e`: `git ls-remote origin refs/pull/8/head` equals the dispatch SHA, read before and after the wave; `mise exec -- make check` → rc 0, `env.map: 32 names, all declared in .env.example`; `make validate` → rc 0, `validate: 10 Stack(s) valid.`; `ansible-playbook --syntax-check site.yml verify.yml` → rc 0, both plays; `git merge-tree --write-tree --name-only a9407a7 8d2da29` → rc 0, no conflicts; `get_commit_statuses` at this SHA → `pr-checks / check (pull_request)` success, run 34, 24s. The release was downloaded and hashed here: `bazarr.zip` `82d1c61e…c2627b`, the `bazarr.py` inside it `878c0520…b64524`, `VERSION` `f4826a0b…f7b0466` — all three the role's own pins. The two Ansible probes ran on the ansible-core the repository pins (`mise.toml`, 2.21.5). Could not verify: anything read on 107 itself — `pct config 107`, the unit file, the live `config.yaml`, the four installed interpreter versions. This profile holds no Proxmox credential and the charter forbids performing the host act to prove it; those values stand on the board's measured record (`THE-34` `wave13-progress`, 2026-12-02) and the PR's evidence table, which agree with each other and with the declaration. No plan for this Stack can be produced yet either — 107 is not in `/pool/prod` and the apply token's ACL names the pool (PR body, "Not taken") — so the zero-diff first Converge remains asserted rather than shown, as round 2 said. ## Summary Standards: 0 findings. Spec: 0 findings. Round 2's single advisory is cleared at `8d2da29` with the probe above, the base merge dropped nothing from either side, and the recommendation is **merge**.
pit merged commit 986f912ec5 into main 2026-12-02 20:42:12 +00:00
pit deleted branch wave1/107-bazarr 2026-12-02 20:42:12 +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-media!8
No description provided.