qbittorrent: 110, the torrent client, and the package that replaces its static build #7
No reviewers
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
review
merge-ready
review
needs-fix
review
needs-human
review
needs-operator
review
needs-review
review
waiting
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/infra-media!7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "wave1/110-qbittorrent"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
110 qbittorrent — the torrent client, and the first Guest whose declaration deliberately replaces the binary it runs. Stacks on #6 (→ #5 → #3): all touch
HOSTS,env.mapand.env.example. Merge order 3 → 5 → 6 → this.The artifact answer, applied. The board asked for a GitHub release if one fits and Debian's package otherwise. The releases carry source, an AppImage of the GUI client and Windows installers — no
.deb, and no 5.1.4 release at all — so the package it is:qbittorrent-nox5.1.0-2, whose/usr/bin/qbittorrent-noxhashes to81f62892…7d310318d.So the first Converge is a change, and it says so. It installs the package, points the unit's
ExecStartat/usr/bin/qbittorrent-nox, removes/opt/qbittorrent(the helper script's static 5.1.4, sha256dd9beae1…b331a1) once the unit no longer names it, and restarts the client. The version steps back one minor release and the build is Debian's; the database, the settings and the queues on the NAS stay where they are. This is the one place in the wave where a merge moves a live application, and both the play anddocs/service-qbittorrent.mdname it.The WebUI account is the store's, as 148's are. qBittorrent keeps the password as
@ByteArray(<salt>:<key>)— PBKDF2-HMAC-SHA512, 100 000 rounds, 16-byte salt — so the play derives it once, at seed time, and never writes the password itself; a seed whose two values are not both filled is refused before the role writes anything.The Guest is
pct config 110, and its address is the wave plan's warning:10.12.0.107/24onvmbr0, not.110. 2 cores, 2048 MiB, 512 swap, 30G,ip6=auto, privileged,nesting=1, tagscommunity-script/torrent. The helper script'slxc.cgroup2.devices.allow: a, the188:*/189:*rules and the/dev/net/tunbind stay unmodelled — the same position the arr slice takes on 103/105/106.Evidence
Merge Danger
Door: two-way, with a visible step on the way. Merge lands declarations and docs; nothing runs until a deploy, and the deploy's first act on 110 changes the client's binary and restarts it (torrents resume from the state on disk). Reverting restores the declarations, not the static binary — that would be a hand act.
Blast Radius: medium for 110, low for the repository.
HOSTSgains a ninth host, somake prodwill walk it once the deployer exists; it needs its state record, its pool line, the runner's key and the two WebUI credential values first. Every other Stack is untouched: the guest defaults are this root's own, andmodules/guestis unchanged in this PR.— Hermes (agent-written)
Waiting — queued behind olympus/infra-media#6 (one review run at a time). The review run resumes on its own at Wed 2 Dec, 19:36 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.
adf91355f8a8d9a328b5a8d9a328b5fe4de08dd4Review started (round 0/5) on
fe4de08dd4— reading the diff now.fe4de08dd4576157b72eolympus/infra-media#7 · reviewed head
576157b· round 1/5 (the dispatch'sround 0was the sign-on's counter)Recommendation: fix
Head. The dispatch named
fe4de08; the branch was rebased onto the moving base while this round ran and now resolves to576157b72e80e1ca5c040bcf27fbedd88095010f. The two trees are byte-identical (git rev-parse fe4de08^{tree}=576157b^{tree}=7f55c0d2…), so everything below was reproduced against the tree this review is pinned to.Spec. No linked issue; the PR body is the spec (its artifact answer cites the board's decision). Standards sources:
README.md§Conventions,docs/deploy.md,docs/reference/state.md,env.map/.env.example, the sibling roles, andolympus/workshopdocs/adr/atmain(0011, 0012 read).Spec
BLOCKER — the service cannot be applied through the repository's own deploy path.
qbittorrent/service/roles/qbittorrent/tasks/main.yml:68asserts'10.12.0.6:/volume1/ws' in qbittorrent_mount.stdout, andqbittorrent_mountis registered by thecommandat:62.make servicerunsansible-playbook --check --diff site.ymlfirst and the repo makes that rehearsal the gate (docs/deploy.md:69). In check mode Ansible skipscommandtasks and the registered result carriesstdout: ""— driven:skipped: true, rc: 0, stdout: "". The assertion is therefore false on every rehearsal, on any host, whatever the mount says. I ran the shipped role under--check(ANSIBLE_ROLES_PATH=…/qbittorrent/service/roles ansible-playbook -i localhost, -c local --check) and it dies exactly there:So
make service-check HOST=qbittorrentandmake service HOST=qbittorrent— the documented Operator path — never reach the play, andmake prodstops on it. The first Converge this PR is built around cannot start.Clearing: guard the assert with
when: not ansible_check_mode(the shapesubwave/service/roles/subwave/tasks/main.yml:95already uses), orwhen: not (qbittorrent_mount.skipped | default(false)). The same assert innzbget/service/roles/nzbget/tasks/main.yml:33-41is red under--checktoo (driven), so the repository-wide sweep is not this PR's — but this role must not land red.Standards
ADVISORY — the static build goes before the unit stops pointing at it.
…/tasks/main.yml:54deletes/opt/qbittorrent; the unit that movesExecStartis written at:147. A refusal in between — the NAS assert at:68, the config assert at:135— leaves the client running from the package but the unit still naming the deleted binary: it survives until its next restart and then does not come back, and the build it replaced is, by this PR's own account, unreproducible. It also contradictsdocs/deploy.md:69's "nothing applied" on a refused precondition. Clearing: move the removal after the unit task.ADVISORY — the WebUI row omits
runner, and nothing refuses an empty credential.env.map:90mapssecret/services/qbittorrent/webuitopit,hermes; the sibling service credentials all includerunner(env.map:80-83). On the deploy pathlookup('env', …)answers''(measured), so a rebuilt Guest seeded bymake prodwritesWebUI\Username=and a PBKDF2 of the empty string. The sibling role refuses that class of seed by name (slskd/service/roles/slskd/tasks/main.yml:67-80); this role seeds without the guard (tasks/main.yml:115). Clearing: addrunnerto the row, or copy the sibling'slength > 0assert ahead of the seed.ADVISORY —
README.md:39-40now says the opposite of this change. "each first plan is an import in place and the first Converge is designed to be a no-op" is false for 110 by this PR's own design; the change edits the page (:7,:20) and leaves the sentence standing. Clearing: one clause scoping it to the hosts whose converge is a no-op.ADVISORY — a password containing
'breaks the seed.tasks/main.yml:103-109interpolates the store's password into a single-quoted Python literal and passes it as argv. Driven:pa'ss word→SyntaxError: unterminated string literal;plain-Secret1andp@ss$wordare fine. The plaintext also sits in the Guest's process table for the life of the command (no_loghides the log, not argv). Clearing: pass it onstdin:to a fixedpython3 -cthat readssys.stdin.Verified
576157b; its tree equalsfe4de08's (7f55c0d2…).make check— pass, 30 names, formatting clean.make validate— 9 Stacks valid;tofu initleft the new lock file untouched (tree clean after).ansible-playbook --syntax-checkforsite.ymlandverify.yml— both clean.qbittorrent-nox_5.1.0-2_amd64.debfetched: sha256a1e9436e…5bc10af02a; its/usr/bin/qbittorrent-noxhashes to81f62892a20b268331a10356178b28f8b338f0fb6aaa647e944f8207d310318d— exactlyverify.yml's pin.http://10.12.0.107:8090/from this host →200.576157b:pr-checks / checksuccess.Could not verify
pct config 110's fields (.107, privileged,nesting, tags, MAC, description): no SSH to the Guest (every local key refused) and no PVE credential in this profile.qBittorrent.confand the mount's source string: same./pool/prod": same.Named, not charged
/opt/qbittorrentas a deploy act: ADR-0011's check is the plan judge, the repository's own practice removes an install tree inside a service converge (roles/servarr/tasks/main.yml:84-88), and the board chose the artifact. Named, not charged.{{ }}-inside-a-string conditional shape: repo-wide (nzbget/…/tasks/main.yml:37), deprecation-warned for ansible-core 2.23. Not this change's.verify.yml:71-82: a failedslurpleavescontentundefined, so the assert raises instead of printingfail_msg. Failure-path nit only.Summary: Spec — 1 finding, worst BLOCKER (the rehearsal assert). Standards — 4 findings, worst ADVISORY (the delete-before-repoint window). The recommendation is
fixon the blocker; the advisory count (4) also trips the volume rule on its own.Acknowledged (round 0/5) — fixing now; what changed and how I verified it follows.
Five findings from the round, four of them in the play's own ordering. The NAS assertion read a `command`'s register, and a rehearsal skips `command`, so its stdout was empty on every plan: `make service` — which rehearses first — could never reach the play on any host, whatever the mount said. It is guarded with `not ansible_check_mode`, the shape `subwave` already uses, so the question stays with the apply that can answer it. The static build went before the unit stopped naming it, so a refusal in between left the unit pointing at a deleted binary. It now goes after the unit and its drop-in, and `docs/service-qbittorrent.md` says so in the same order. A seed from an empty credential wrote a WebUI nobody could log in to, because `lookup('env')` answers '' rather than failing. The refusal is added at the point the value would be written, and only where a seed is about to happen — an adopted Guest keeps the file it has and needs no credential. The `env.map` row keeps its two actors: `automation-runner.hcl` carries no `services/qbittorrent/webui` path, so naming `runner` there would refuse that actor's whole fetch. The password crossed into the derivation as an interpolated Python literal, so one containing a quote ended it (`SyntaxError: unterminated string literal`) and the plaintext sat in the Guest's process table as argv. It now arrives on stdin, base64-encoded — `command` appends a newline to `stdin`, and encoding is what lets the interpreter drop that newline without touching a password that ends in one. `README.md`'s "each first Converge is a no-op" is scoped to the hosts it is true of; 110 is the exception this PR is built around.Round 0 → fixed on
987f34a(one commit, onwave1/110-qbittorrent). Five findings, five changes; the PR body was corrected in place for two sentences that the diff made false.The blocker
BLOCKER — the NAS assert was false on every rehearsal.
tasks/main.yml:68now carrieswhen: not ansible_check_mode, the shapesubwave/service/roles/subwave/tasks/main.yml:95already uses, with a comment saying why: a rehearsal skipscommand, soqbittorrent_mounthas no stdout there and the question belongs to the apply.Driven on this host against the role as shipped (
ANSIBLE_ROLES_PATH=<tree>/qbittorrent/service/roles ansible-playbook -i localhost, -c local --check <probe>):With no
.envon this host the new run then stops at the credential refusal below (ok=7 changed=4 failed=1 skipped=3), not at the mount; it is a rehearsal, so nothing was written.The advisories
tasks/main.yml:195runner, no refusal on an empty credentialwhen: not qbittorrent_config_file.stat.existstasks/main.yml:104README.md:39-40says the opposite of this changeREADME.md:39'in the password breaks the seedpython3onstdin, base64-encoded; no interpolation, nothing in argvtasks/main.yml:120Why
runnerwas not added toenv.map:90.olympus/infra-secretsat4a45309,bao/policies/automation-runner.hclcarries noservices/qbittorrent/webuipath (zero matches), and the fetch is all-or-nothing — namingrunnerthere would refuse the runner's whole environment, not grant the row. I took the finding's other clearing. The grant is an Operator item ininfra-secrets; the assert is what keeps this repository safe until it lands.Why the derivation crosses base64, not plain stdin.
command'srun_commandappends a newline tostdin(it has abinary_dataflag the command module does not expose), so reading stdin directly would hashpassword\n. Encoding lets the interpreter drop exactly that newline without touching a password that ends in one.Driven from the role's own task (a probe built from the shipped YAML, so it cannot drift):
The same probe asserts the task's
argvcarries no{{ }}and no password.Verify
CI at
987f34a:pr-checks / checksuccess (run #998, 21 s).Body
docs/service-qbittorrent.mdand the numbered list now give the order the play actually runs (package → unit/drop-in →/opt/qbittorrentgone → service), the WebUI paragraph names the refusal, and the PR body's "installs, removes, points" sentence and its WebUI sentence were patched in place to match.Left alone, and why
nzbgetassert that is also red under--check— named in the review as not this PR's.verify.yml:71-82's failure-pathslurpnit — named, not charged.Nothing here needs a decision from you; the branch is ready for the next round.
Waiting — queued behind olympus/infra-media#8 (one review run at a time). The review run resumes on its own at Wed 2 Dec, 19:57 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.
Review started (round 0/5) on
987f34a49f— reading the diff now.olympus/infra-media#7 · reviewed head
987f34a· round 2/5 — the thread's review count plus one; the dispatch'sround 0is its sign-on counter.Recommendation: merge
Delta.
git diff 576157b 987f34a— 3 files, 62 insertions, 26 deletions:README.md,docs/service-qbittorrent.md,qbittorrent/service/roles/qbittorrent/tasks/main.yml. The head worktree'stasks/main.ymlhashes to6c59666…and equalsgit show 987f34a:…byte for byte, so every line below was read at the reviewed revision.Prior findings, re-driven
987f34a--checktasks/main.yml:72now carrieswhen: not ansible_check_mode. Red/green on the shipped role,--check, one host: at576157bthe play dies at that task (fatal … /mnt/evilwitness/qbittorrent/downloads is not mounted from 10.12.0.6:/volume1/ws (findmnt said: nothing),ok=6 changed=3 failed=1); at987f34athe same task reportsskippingand the play walks on through the unit, the drop-in and the removal to the last task (ok=12 changed=5, the single failure being this host having noqbittorrent-noxunit). The rehearsal gate is open.tasks/main.yml:195, after the unit (:169) and its drop-in (:178), before the service is started (:200); the page's numbered list follows the same order (docs/service-qbittorrent.md:42-44).runner, nothing refuses an empty credentialtasks/main.yml:104-113asserts both values are non-empty, scoped tonot qbittorrent_config_file.stat.exists. Driven with an empty environment: the play refuses at:104withQBITTORRENT_WEBUI_USERNAME or QBITTORRENT_WEBUI_PASSWORD is empty in the environment.README.mdsays the opposite of this changeREADME.md:39-42now scopes the no-op sentence and names110 qbittorrent.'in the password breaks the seedargv+ base64 onstdin(:120-135). The task extracted from the shipped YAML and driven:pa'ss $word "quoted"(20 bytes) andline-one\n(8 bytes, the trailing newline intact) both reproduce the exact PBKDF2 key from the salt the task printed;argvcarries no password and no{{ }}.Standards
ADVISORY — the refusal says nothing was written, and three earlier tasks have written.
qbittorrent/service/roles/qbittorrent/tasks/main.yml:112ends thefail_msgwith "Nothing was written.", anddocs/service-qbittorrent.md:38repeats it as "an empty one is refused before anything is written". By the time the assert at:104runs,:21-33has created the group and the account,:44-48has installedqbittorrent-nox, and:79-88has made both directories — all of them before the refusal, all of them in the log. The driven refusal's recap showschanged=3before it fires. Nothing here is harmful or irrecoverable; the message and the page are just wrong about the machine's state, and a failure message about a live Guest is the place to be exact. Clearing: move thestatat:90-93with the assert above the account task, or say what the run has already written (the account, the package, the two empty directories).Spec
No findings. The body's claims hold at the head: the package pin (
verify.yml:12) is81f62892…7d310318d, reproduced from the Debian pool;HOSTSgains a ninth host and.env.examplethe four names; the nine-row README table and the six-step page match the play's order; the first Converge still changes the binary and says so in both the page and the body.Verified
987f34a49f06d99beee63ba98db7d82674a898c5viarefs/pull/7/head, unchanged before and after the run.make check→ok env.map: 30 names, all declared in .env.example, formatting clean, rc 0.make validate→Success! The configuration is valid./validate: 9 Stack(s) valid., rc 0; tree left clean.ansible-playbook --syntax-checkonsite.ymlandverify.yml→ both clean.qbittorrent-nox_5.1.0-2_amd64.debre-fetched this round: sha256a1e9436e…5bc10af02a, and its/usr/bin/qbittorrent-noxhashes to81f62892a20b268331a10356178b28f8b338f0fb6aaa647e944f8207d310318d— the pinverify.ymlasserts.http://10.12.0.107:8090/from this host →200.987f34a:pr-checks / checksuccess in 21 s (run 27).verify.yml:25-32— that itsfail_msgwould raise on the very case it reports, becauseansible_facts.services['qbittorrent-nox.service'].stateis dereferenced beforedefault('absent')— was driven with the key absent and renders(state: absent). Refuted; not charged.Could not verify
pct config 110and the liveqBittorrent.conf(address, privileged flag, nesting, tags, MAC, mount source string), and "110 is not in/pool/prod": no PVE credential and no SSH into the Guest from this profile.Named, not charged
/opt/qbittorrentinside the Converge: ADR-0011's judge is the plan, the repository's own practice removes an install tree inside a service converge (roles/servarr/tasks/main.yml), and the board chose the artifact. Re-stated, not charged, as in round 1.verify.yml:71-82: a failedslurpleavescontentundefined, so the assert raises instead of printingfail_msg. Failure-path nit, named in round 1 and unchanged here.{{ }}-inside-a-string conditional shape attasks/main.yml:63: repo-wide (nzbget/…/tasks/main.yml), deprecation-warned for ansible-core 2.23. Not this change's.Summary: Standards — 1 finding, worst ADVISORY. Spec — 0 findings. No blocker stands, and one advisory is below the volume trip, so the recommendation is merge.
Acknowledged (round 0/5) — fixing now; what changed and how I verified it follows.
New commits pushed, approval review dismissed automatically according to repository settings
Round 0 → fixed on
17fa021— one commit, a fast-forward onwave1/110-qbittorrent.The three numbers first
round 0 of 5— its sign-on counterround 2/5, stateAPPROVED, Recommendation: mergeThe dispatch's "blocking findings" is generated from the
review/needs-fixlabel event and reads the same for a five-blocker round and a one-advisory one, so the review's own tally is what sizes the round. Nothing was blocking; the advisory carried a clearing change, so it is landed here, and the label moves toreview/needs-reviewat the new head.The finding, and the commit that answers it
ADVISORY — the refusal says nothing was written, and three earlier tasks have written.
tasks/main.yml'sfail_msgendedNothing was written., anddocs/service-qbittorrent.md:38repeated it as "an empty one is refused before anything is written". By the time the assert ran, the group and the account existed, the package was installed and both directories had been made.17fa021— the clearing the finding named first. Thestatand the assert move to the top of the play, after the architecture check and before the account (tasks/main.yml:15-36, a new section 0. the credential a seed needs), so the message describes the machine rather than the old placement. The register travels with them: the derive and the seed still readqbittorrent_config_file, and the seed is still the only task that writes a configuration. The role's header names the credential in the order a Converge reads, and the page's numbered list carries the new order (docs/service-qbittorrent.md:31-45).Driven, in both directions
Shipped role, check mode, one host, no credential in the environment:
With
QBITTORRENT_WEBUI_USERNAMEandQBITTORRENT_WEBUI_PASSWORDfilled, the same play passes the guard (ok), skips the derive (a rehearsal skipscommand) and runs the seed task, so the move leaves the path it guards intact.Verify
CI at
17fa021:pr-checks / checksuccess (run 32, 21 s).The PR body needed no edit: its sentence — "a seed whose two values are not both filled is refused before anything is written" — is what the play now does.
Left alone, and named
verify.yml's failed-slurpnit (:71-82):contentis undefined when the slurp fails, so the assert raises instead of printingfail_msg. Named in both earlier rounds, unchanged, not charged.slurp. Driven above: with the credentials filled and no configuration on the host, check mode simulates the seed and the next task diesFile not found: …/qBittorrent.conf. The rehearsal stays green on 110 as it stands, where the configuration exists — so this is not the rehearsal the round was about — but a Guest rebuilt from the template would meet it. Not charged, not fixed here: it is a change to the configuration assert's own guard, and it belongs in its own round rather than inside an advisory's commit.slskd/service/roles/slskd/tasks/main.yml:67-80carries the same sentence and the same defect: its assert sits after the fetch and the unpack, so on a Guest that needs the release it too refuses after writing. Outside this PR's blast radius — named here so it is not read as fixed.Review started (round 1/5) on
17fa021f52— reading the diff now.olympus/infra-media#7 · reviewed head
17fa021· round 3/5 — the thread's review count plus one; the dispatch'sround 1/5is its sign-on counter, which restarts whenever areview/*label is moved by hand. Head17fa021f521aa4c679317d584bc85c6941d43f23, stateAPPROVED.Recommendation: merge
Spec. No linked issue; the PR body is the spec, as in rounds 1 and 2. Standards sources:
README.md§Conventions,docs/deploy.md, the sibling service roles,env.map/.env.example, andolympus/workshopdocs/adr/atmain(0011, 0012 — neither is touched by this delta, and neither governs a documentation sentence).Delta.
git merge-base --is-ancestor 987f34a 17fa021→ true: a stacked fix,git diff 987f34a 17fa021is the round's change — 2 files, 36 insertions, 31 deletions,qbittorrent/service/roles/qbittorrent/tasks/main.ymlanddocs/service-qbittorrent.md. Both worktree files hash equal togit show 17fa021:<path>, so every line below was read at the reviewed revision.Prior findings, re-driven
17fa021statand the assert moved totasks/main.yml:22-36, above the group (:44), the package (:67) and the directories (:102). Red/green on the shipped role,--check, one host, no credential: at987f34athe refusal fires afterchanged=3(ok=5 changed=3 failed=1); at17fa021it is the play's third task and the recap readsok=3 changed=0 failed=1. The role writes nothing before it refuses.The moved guard's three branches, driven on the shipped role: fresh Guest with no credential → fatal at
:27, nothing changed; fresh Guest with a credential → the assert passes and the play walks on to the seed; adopted Guest (configuration present) with no credential → the assert reportsskipping, so an adopted Guest still asks for nothing.Standards
ADVISORY — "before anything is written" is true of the role and false of the play.
docs/service-qbittorrent.md:34-35now says the credential is checked "before the play writes anything at all, so a run that cannot seed leaves the machine as it found it",tasks/main.yml:35still closes the refusal with "Nothing was written.", and the PR body carries the same claim ("refused before anything is written"). The service play isroles: [journal, qbittorrent](qbittorrent/service/site.yml:5-7), and the journal role writes first:roles/journal/tasks/main.yml:12-15creates/etc/systemd/journald.conf.d,:22-24copiespersistent.confinto it. Driven on the play's own role order,--check, one host, fresh Guest, no credential: both journal tasks reportchanged, then the refusal fires —ok=5 changed=2 failed=1. The same play at987f34areachedchanged=5before the refusal, so this fix removed three of the five writes; the journal's two are a shared role the change does not touch, but the sentence is the change's. Nothing here is harmful — the drop-in is idempotent and unrelated to the seed, and the client's state genuinely stays untouched — but a refusal message about a live Guest is the place to be exact.Clearing: one clause — "before the play writes anything at all" → "before the role writes anything at all" (or "before the account, the package and the directories are written"), and the same word in the
fail_msgand the body.tasks/main.yml:18-21's comment is scoped to the role and reads true there; it can stand.Spec
No findings. The body's claims hold at the head, re-driven this round: the Debian pool
qbittorrent-nox_5.1.0-2_amd64.debhashesa1e9436e…c10af02a, and its/usr/bin/qbittorrent-noxto81f62892a20b268331a10356178b28f8b338f0fb6aaa647e944f8207d310318d—verify.yml:12's pin exactly;http://10.12.0.107:8090/answers200; the first Converge still changes the binary and says so in both the page and the body; the seven-step list follows the play's order (:22credential →:44account →:67package →:82NAS →:102-152configuration →:172unit →:198removal →:203start).Verified
refs/pull/7/headresolves to17fa021f521aa4c679317d584bc85c6941d43f23, before the probes and again after them.merge-base --is-ancestor 987f34a 17fa021→ true; the delta is the 2-file diff above, andgit diff --statoververify.ymlis empty.make check→ok env.sh pins infra-secrets@dc5a0e58…,ok env.map: 30 names, all declared in .env.example, rc 0.make validate→validate: 9 Stack(s) valid., rc 0; the tree is left clean.ansible-playbook --syntax-checkonsite.ymlandverify.yml→playbook: site.yml/playbook: verify.yml, both clean.17fa021:pr-checks / check (pull_request)success in 21 s (actions run 32, workflow run #1003).Could not verify
pct config 110and the liveqBittorrent.conf(address, privileged flag, nesting, tags, MAC, mount source string), and "110 is not in/pool/prod": no PVE credential and no SSH into the Guest from this profile.Named, not charged
verify.yml:71-82: a failedslurpleavescontentundefined, so the assert raises instead of printing itsfail_msg. Unchanged by this delta, and driven at both heads — a fresh Guest with the credential set fails atread the configuration the Service ownsat987f34a(ok=11 changed=6 failed=1) and at17fa021(same recap). Pre-existing; not this round's.slskd/service/roles/slskd/tasks/main.yml:67: the same sentence, and its assert does sit after its fetch, stop and unpack (:30-54) — read at head; a sibling role this PR does not touch./opt/qbittorrentinside the Converge: as in rounds 1 and 2, ADR-0011's judge is the plan, the repository's own practice removes an install tree inside a service converge, and the board chose the artifact.Summary: Standards — 1 finding, worst ADVISORY (the refusal's scope word). Spec — 0 findings. No blocker stands, the one advisory retires the prior round's and is below the volume trip, so the recommendation is merge, and the state and the label follow it.
Fix merge conflicts
Acknowledged (round 0/5) — fixing now; what changed and how I verified it follows.
New commits pushed, approval review dismissed automatically according to repository settings
Round 0 → one merge and one commit on
wave1/110-qbittorrent—b66c9b0and73fc945, a fast-forward on the branch.Why this round ran, and what it owed
round 0 of 5— its sign-on counterround 3/5, stateAPPROVED, Recommendation: mergepit, 19:58 — "Fix merge conflicts", and the label moves back toreview/needs-fixat 19:58:21The dispatch text ("blocking findings") is generated from the label event and reads the same for a five-blocker round and a one-advisory one. Two things were owed here:
mainmoved under the branch, and one advisory still carried a clearing change.b66c9b0— the merge, after #6 landedWhile this branch waited,
#6(148 slskd) merged ase4b1c1b. This branch was cut on the pre-merge base, so it carried its own copy of the slskd work;git merge-tree --write-tree origin/main 17fa021exited 1 naming eight files.slskd/service/roles/slskd/tasks/main.yml,slskd/service/roles/soularr/tasks/main.yml,slskd/service/verify.ymlmain's bytes, wholemaincarries the reviewed one, and nothing in 110 changes it.git diff origin/main -- slskd/is now emptyenv.mapmain's four slskd/soularr rows withoutrunner, then 110's record and WebUI rowsMakefile,README.md,.env.examplemain's other hunksHOSTSentry,VERIFY_URL, ninth table row and four namesdocs/deploy.mdmain's text, plus 110: in theHOSTSwalk, item 1's "nine hosts" and itsqbittorrentservices, and a fifth path on item 9HOSTSnow walks 110, so its WebUI row belongs in that same operator itemMerged tree, measured:
git diff --stat origin/main= 25 files, +733/−8 — theqbittorrent/tree and the five shared files, nothing else.git merge-tree --write-tree origin/main HEADexits 0, and the PR readsmergeable: truewithmerge_baseate4b1c1b.73fc945— the advisory: the refusal is the role's, not the play'sThe review's point was exact: the service play is
roles: [journal, qbittorrent], and the journal role creates/etc/systemd/journald.conf.dand copiespersistent.confbefore the credential assert can fire — so "nothing was written" was true of the role and false of the play.Four sites, one wording:
tasks/main.yml's section comment ("asked first in this role … a role that cannot seed has written nothing of its own"), the task name ("checked before the role writes anything"), thefail_msg("This role has written nothing"), anddocs/service-qbittorrent.mditem 1 ("before this role writes anything at all, so a run that cannot seed leaves the client's own state as it found it"), which now names the journal drop-in that precedes it. The PR body's copy of the sentence was corrected in place, in onePATCHwith its read-back:equal=True chars=3821 old_left=0.Driven, in check mode, on the play's own role order, one host, no credential — the measurement is the reason for the wording, not the other way round:
Verify
pr-checks / check (pull_request)at73fc945: success in 25 s — the same two commands this run drove locally.Left alone, and named
slskdandsoularrtasks still say "checked before anything is written" (slskd/service/roles/slskd/tasks/main.yml:17,…/soularr/tasks/main.yml:6). Same shape, different role, and outside this PR — named in the last two rounds as a sibling's, not fixed here.verify.yml's failed-slurpnit (:71-82): unchanged, named, not charged.pit,hermes, notrunner. That is the second clearing of round 1 and still the right one:automation-runner.hclcarries noservices/qbittorrent/webuipath, and a row naming an actor the store refuses refuses that actor's whole fetch.docs/deploy.mditem 9 now carries the grant beside the four slskd ones.qbittorrent/was touched except the two wording sites above.No decision is needed from you; the branch is ready for the next round.
Review started (round 1/5) on
73fc945544— reading the diff now.olympus/infra-media#7 · reviewed head
73fc945· round 4/5 — the thread's review count plus one; the dispatch'sround 1/5is its sign-on counter, which restarts whenever areview/*label is moved by hand.Recommendation: merge
Spec. No linked issue; the PR body is the spec, as in rounds 1–3, and its artifact answer cites the board's decision. Standards. The tree carries no
AGENTS.md/CONTRIBUTING.mdand noREADME§Conventions — the rules this review applies are the README's anddocs/deploy.md's prose, the sibling roles,env.map/.env.example, andolympus/workshopdocs/adr/atorigin/main(0011 and 0012 read this round; neither is touched by the delta).Delta.
git merge-base --is-ancestor 17fa021 73fc945→ true: a stacked round.git diff 17fa021 73fc945is 7 files, +75/−36, in two parts. The mergeb66c9b0bringsmain'se4b1c1b(148 slskd, one commit) and resolves five files; the fix73fc945is 2 files, +8/−7. The base's commit is not charged: the head'sslskd/tree is byte-identical tomain's (git diff --stat e4b1c1b HEAD -- slskd/empty), so those three files aremain's to answer for.Prior findings, re-driven
73fc945tasks/main.yml:19(comment),:27(task name),:35(This role has written nothing.),docs/service-qbittorrent.md:34-36(now names thejournaldrop-in); the PR body was patched to the same word. Census at head:before anything is writtensurvives only inslskd/…/tasks/main.yml:17andslskd/…/soularr/tasks/main.yml:6, outside this PR. Driven, check mode, this host: the play's own role order with no credential reportsok=5 changed=2 failed=1, the two changes bothjournal's, then the refusal; the role alone reportsok=3 changed=0 failed=1, so nothing of the role's is written before it fires.Rounds 1 and 2's clearings are still in the tree and unchanged by this delta:
tasks/main.yml:95(when: not ansible_check_mode), the removal at:198after the unit at:172,README.md:39-42(the no-op sentence scoped to 110), and the seed at:118-152(base64 onstdin, no password inargv).Spec
No findings. The body's claims hold at the head:
HOSTSgainsqbittorrent(Makefile:35) with its/8090check (:76-77),env.mapgains the guest record and the WebUI account (30 names, all declared),.env.examplethe four names, README the ninth row and the no-op exception, and the package pin is reproduced below. The first Converge still installs the package, movesExecStart, removes/opt/qbittorrentonly after the unit names the package, and says so in both the page and the body.Standards
No findings. The merge resolution is a union, checked line by line: every line the branch added to the five shared files is present at the head verbatim, except the four
runnergrants on the slskd service rows —main's reviewed copy, taken whole, andenv.map:80-88carries the comment saying why. Nothingmaincarries is missing: the eight linesgit diff e4b1c1b HEADremoves are exactly the counts this change rewrites (HOSTS,Eight Guests, the no-op sentence, the walk list, item 1, item 9).Verified
refs/pull/7/headresolves to73fc94554458cf1553b1039bc76f181915251b94, before the probes and again after them.merge-base --is-ancestor 17fa021 73fc945→ true; the two commits above and their--stats.git diff --stat e4b1c1b HEAD -- slskd/→ empty;git diff --name-status e4b1c1b HEAD→ only theqbittorrent/tree and the five shared files.git merge-tree --write-tree --name-only origin/main HEAD→ rc 0, treef498a88— the head's own;main's tip is stille4b1c1b.make check→ok env.map: 30 names, all declared in .env.example, rc 0.make validate→validate: 9 Stack(s) valid., rc 0; the tree is left clean.ansible-playbook --syntax-checkonsite.ymlandverify.yml→ both clean.ok=5 changed=2 failed=1on the play's role order with no credential (both changesjournal's),ok=3 changed=0 failed=1on the role alone.qbittorrent-nox_5.1.0-2_amd64.debsha256a1e9436e…5bc10af02a; its/usr/bin/qbittorrent-noxhashes to81f62892a20b268331a10356178b28f8b338f0fb6aaa647e944f8207d310318d—verify.yml:12's pin exactly.73fc945:pr-checks / check (pull_request)success in 25 s (run 33)..env.examplegains are empty placeholders.Could not verify
pct config 110and the liveqBittorrent.conf(address, privileged flag, nesting, tags, MAC, mount source string), and "110 is not in/pool/prod": no PVE credential and no SSH into the Guest from this profile.Named, not charged
/opt/qbittorrentinside the Converge: as in rounds 1–3, ADR-0011's check is the plan judge, the repository's own practice removes an install tree inside a service converge (roles/servarr/tasks/main.yml), and the board chose the artifact. Unchanged by this delta.verify.yml:71-82: a failedslurpleavescontentundefined, so the assert raises instead of printingfail_msg. Named since round 1, unchanged here..env.example:21already read "nine of them today" onmainwith eight hosts; adding 110 makes the line true. A pre-existing line the delta does not touch.docs/service-qbittorrent.md:35-36's "writes its drop-in ahead of it, on any run" reads as the journal role's ordering (true on every run); itscopyis idempotent, so a repeat run writes nothing. Considered and not charged — the sentence is about order, and no behaviour turns on it.Summary: Standards — 0 findings. Spec — 0 findings. No blocker stands and no advisory is carried, so the recommendation is merge, and the state and the label follow it.