qbittorrent: refresh the package lists before the pin (THE-122) #15
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/infra-media!15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "paperclip/THE-122-qbittorrent-apt"
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?
The deploy (task 83) passed navidrome, subwave, prowlarr, radarr, sonarr, lidarr, nzbget and slskd, then stopped at qbittorrent's package install:
The pinned
qbittorrent-nox 5.1.0-2is still on the mirror (Get:17 ... [6967 kB]); the Guest's cached package lists name dependency versions the mirror has moved on from. The install now refreshes the cache first (update_cache: true), which is also what a rebuilt Guest needs.make checkis green. Merge; the merge starts the deploy again, and the walk continues at qbittorrent.Review started (round 1/5) on
ef761208df— reading the diff now.olympus/infra-media #15 · head
ef761208df55e9064510c6577bd3d3349b3e7add· round 1/5 · verdict mergeRecommendation: merge
Spec source.
paperclip:THE-122, read live at 2026-12-03 (GET /api/issues/THE-122→ 200; its documents route → 200, empty), plus the PR body's own deploy transcript — the ticket is the wave's W1.4 card, and the body carries this change's contract: the deploy stopped at 110'saptinstall of the pinnedqbittorrent-nox 5.1.0-2on 404s for dependency versions, so the install must refresh the package lists before it resolves the pin.Standard source. No
AGENTS.md,CONTRIBUTING.mdorcoding-standards.mdin the repo (git ls-files→ 0 matches), so this axis is the repository's own apt-install shape in the sibling roles, plus the org records:olympus/workshopdocs/adr/read atmain(15 records, fetched 2026-12-03). No ADR governs package resolution; ADR-0009 (deploy-on-merge) is the path this change rides, and ADR-0011 is untouched — the diff carries no OpenTofu file.Spec
qbittorrent/service/roles/qbittorrent/tasks/main.yml:73records "measured: five 404s on the first deploy", while the PR body's own transcript names six distinct packages 404'ing:libngtcp2-16 1.11.0-1,libcurl3t64-gnutls 8.14.1-2+deb13u2,libpcre2-16-0 10.46-1~deb13u1, and "three Qt6 libraries, same version, same 404". Fix: writesix, or drop the count.No requirement is missing and nothing is scope creep: the one-line refresh is exactly what the body claims, and the pin it resolves (
5.1.0-2) is unchanged.Standards
nzbget/service/roles/nzbget/tasks/main.yml:70-73: the class this change clears survives at the one apt install it does not touch.aptwithdeb:resolves the local package's dependencies from the same cached lists; navidrome refreshes before precisely that shape (navidrome/service/roles/navidrome/tasks/main.yml:77-81), and the three Debian-list installs pair the refresh with the install (jellyfin/.../main.yml:94-100,bazarr/.../main.yml:98-103,subwave/.../main.yml:70-73). A rebuilt 147 whose lists predate its dependency versions meets the same 404. Pre-existing and outside this diff — advice, not a charge against the change.jellyfin/.../main.yml:94-100is a pinned install carryingupdate_cache: truewith nocache_valid_time, and omittingcache_valid_timeis right here — a 3600-second window would skip exactly the refresh 110 needs.Verified
make checkis green"mise exec -- make checkat the head worktreefmt-checksilentansible-playbook --syntax-checkand--list-tasksonqbittorrent/service/site.yml(role resolves viaansible.cfgroles_path = ../../roles:./roles)ansible/modules/apt.py:1444-1487update_cache: truewithcache_valid_time0 callscache.update()before the install in the same module run; in check mode it reports changed and skips the update (:1460)deb.debian.org/dists/trixie/main/binary-amd64/Packages.gz, fetched 2026-12-03qbittorrent-nox 5.1.0-2;libngtcp2-16 1.11.0-1+deb13u1,libcurl3t64-gnutls 8.14.1-2+deb13u7,libpcre2-16-0 10.46-1~deb13u3— the versions the cached lists name are superseded, the pin is notget_commit_statuses ef76120…/ run 50pr-checks / check (pull_request)= success, 39sCould not verify
Named, not charged
docs/service-qbittorrent.md"What a Converge does" item 3 ("the package at its pin") does not mention the refresh — a summary, no contradiction, no page change owed.--checkthe module skipscache.update()(apt.py:1460), so the rehearsal resolves the pin against the Guest's cached lists, and on a rebuilt Guest whose lists predate the pin it reds before the real run refreshes (docs/deploy.md:16makes the rehearsal the gate). True of every pinned install in the repository and unchanged by this diff.Counts: Standards 1 advisory · Spec 1 advisory · 0 blockers. Worst in Standards: the nzbget install left on the stale-list path. Worst in Spec: the comment's undercounted 404s. Two advisories is below the three that would ask for a polishing round, so the recommendation is merge.