qbittorrent: refresh the package lists before the pin (THE-122) #15

Merged
pit merged 1 commit from paperclip/THE-122-qbittorrent-apt into main 2026-12-03 16:31:49 +00:00
Owner

The deploy (task 83) passed navidrome, subwave, prowlarr, radarr, sonarr, lidarr, nzbget and slskd, then stopped at qbittorrent's package install:

Err:3 http://deb.debian.org/debian trixie/main amd64 libngtcp2-16 1.11.0-1 404 Not Found
Err:5 ... libcurl3t64-gnutls 8.14.1-2+deb13u2 404 Not Found
Err:8 ... libpcre2-16-0 10.46-1~deb13u1 404 Not Found
... three Qt6 libraries, same version, same 404

The pinned qbittorrent-nox 5.1.0-2 is 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 check is green. Merge; the merge starts the deploy again, and the walk continues at qbittorrent.

The deploy (task 83) passed navidrome, subwave, prowlarr, radarr, sonarr, lidarr, nzbget and slskd, then stopped at qbittorrent's package install: ``` Err:3 http://deb.debian.org/debian trixie/main amd64 libngtcp2-16 1.11.0-1 404 Not Found Err:5 ... libcurl3t64-gnutls 8.14.1-2+deb13u2 404 Not Found Err:8 ... libpcre2-16-0 10.46-1~deb13u1 404 Not Found ... three Qt6 libraries, same version, same 404 ``` The pinned `qbittorrent-nox 5.1.0-2` is 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 check` is green. Merge; the merge starts the deploy again, and the walk continues at qbittorrent.
qbittorrent: refresh the package lists before the pin (THE-122)
All checks were successful
pr-checks / check (pull_request) Successful in 39s
ef761208df
The deploy's qbittorrent step asked apt for the pinned package's dependencies
against the Guest's cached lists, and five of them now answer 404 on the mirror
(`libngtcp2-16`, `libcurl3t64-gnutls`, `libpcre2-16-0`, three Qt6 libraries).
The package itself is still on the mirror; the lists are what aged. The install
now refreshes the cache first.

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

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

**Review started** (round 1/5) on ef761208df55e9064510c6577bd3d3349b3e7add — reading the diff now.
bot-minos approved these changes 2026-12-03 16:29:53 +00:00
bot-minos left a comment

olympus/infra-media #15 · head ef761208df55e9064510c6577bd3d3349b3e7add · round 1/5 · verdict merge

Recommendation: 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's apt install of the pinned qbittorrent-nox 5.1.0-2 on 404s for dependency versions, so the install must refresh the package lists before it resolves the pin.

Standard source. No AGENTS.md, CONTRIBUTING.md or coding-standards.md in 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/workshop docs/adr/ read at main (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

  • ADVISORY — qbittorrent/service/roles/qbittorrent/tasks/main.yml:73 records "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: write six, 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

  • ADVISORY — nzbget/service/roles/nzbget/tasks/main.yml:70-73: the class this change clears survives at the one apt install it does not touch. apt with deb: 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.
  • The hunk itself is the repo's own shape: jellyfin/.../main.yml:94-100 is a pinned install carrying update_cache: true with no cache_valid_time, and omitting cache_valid_time is right here — a 3600-second window would skip exactly the refresh 110 needs.

Verified

Claim How Result
"make check is green" mise exec -- make check at the head worktree rc 0: semaphore-deploy 94, deploy-workflow 53, service-key 33 assertions, 0 FAILED; fmt-check silent
the task is in the deployed play ansible-playbook --syntax-check and --list-tasks on qbittorrent/service/site.yml (role resolves via ansible.cfg roles_path = ../../roles:./roles) clean; "install the pinned package from Debian" is listed in play #1
the refresh happens before the pin resolves pinned ansible-core 2.21.5, ansible/modules/apt.py:1444-1487 update_cache: true with cache_valid_time 0 calls cache.update() before the install in the same module run; in check mode it reports changed and skips the update (:1460)
the pin is still on the mirror and the deps moved live deb.debian.org/dists/trixie/main/binary-amd64/Packages.gz, fetched 2026-12-03 qbittorrent-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 not
CI at the reviewed head get_commit_statuses ef76120… / run 50 pr-checks / check (pull_request) = success, 39s

Could not verify

  • The 404 transcript and its count. The Forgejo job log for run 49 carries the Semaphore polling only; the Ansible output lives in the Semaphore task (the body says task 83, run 49's log says task 82), and this session holds no Semaphore or store credential to read it. The mirror read above decides the mechanism; the transcript stays the author's quote, and the count is charged only against the body's own enumeration.
  • The deploy itself, by design: it runs on merge, and nothing here may drive 110.

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.
  • The rehearsal cannot refresh: under --check the module skips cache.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:16 makes the rehearsal the gate). True of every pinned install in the repository and unchanged by this diff.
  • Charter scope: no OpenTofu file in the diff (no plan or judge consequence), no ADR edited, no secret in the diff or body, no destroy or replace, no tier-1 service — nothing to escalate.

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.

<!-- minos review-loop: repo=olympus/infra-media pr=15 head=ef761208df55e9064510c6577bd3d3349b3e7add round=1/5 axes=standards,spec verdict=merge --> **olympus/infra-media #15** · head `ef761208df55e9064510c6577bd3d3349b3e7add` · round **1/5** · verdict **merge** Recommendation: 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's `apt` install of the pinned `qbittorrent-nox 5.1.0-2` on 404s for dependency versions, so the install must refresh the package lists before it resolves the pin. **Standard source.** No `AGENTS.md`, `CONTRIBUTING.md` or `coding-standards.md` in 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/workshop` `docs/adr/` read at `main` (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 - **ADVISORY** — `qbittorrent/service/roles/qbittorrent/tasks/main.yml:73` records "*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: write `six`, 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 - **ADVISORY** — `nzbget/service/roles/nzbget/tasks/main.yml:70-73`: the class this change clears survives at the one apt install it does not touch. `apt` with `deb:` 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. - The hunk itself is the repo's own shape: `jellyfin/.../main.yml:94-100` is a pinned install carrying `update_cache: true` with no `cache_valid_time`, and omitting `cache_valid_time` is right here — a 3600-second window would skip exactly the refresh 110 needs. ## Verified | Claim | How | Result | | --- | --- | --- | | "`make check` is green" | `mise exec -- make check` at the head worktree | rc 0: semaphore-deploy 94, deploy-workflow 53, service-key 33 assertions, 0 FAILED; `fmt-check` silent | | the task is in the deployed play | `ansible-playbook --syntax-check` and `--list-tasks` on `qbittorrent/service/site.yml` (role resolves via `ansible.cfg` `roles_path = ../../roles:./roles`) | clean; "*install the pinned package from Debian*" is listed in play #1 | | the refresh happens before the pin resolves | pinned ansible-core 2.21.5, `ansible/modules/apt.py:1444-1487` | `update_cache: true` with `cache_valid_time` 0 calls `cache.update()` before the install in the same module run; in check mode it reports changed and skips the update (`:1460`) | | the pin is still on the mirror and the deps moved | live `deb.debian.org/dists/trixie/main/binary-amd64/Packages.gz`, fetched 2026-12-03 | `qbittorrent-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 not | | CI at the reviewed head | `get_commit_statuses ef76120…` / run 50 | `pr-checks / check (pull_request)` = success, 39s | ## Could not verify - The 404 transcript and its count. The Forgejo job log for run 49 carries the Semaphore polling only; the Ansible output lives in the Semaphore task (the body says task 83, run 49's log says task 82), and this session holds no Semaphore or store credential to read it. The mirror read above decides the mechanism; the transcript stays the author's quote, and the count is charged only against the body's own enumeration. - The deploy itself, by design: it runs on merge, and nothing here may drive 110. ## 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. - The rehearsal cannot refresh: under `--check` the module skips `cache.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:16` makes the rehearsal the gate). True of every pinned install in the repository and unchanged by this diff. - Charter scope: no OpenTofu file in the diff (no plan or judge consequence), no ADR edited, no secret in the diff or body, no destroy or replace, no tier-1 service — nothing to escalate. **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**.
pit merged commit 5b0ab35a57 into main 2026-12-03 16:31:49 +00:00
pit deleted branch paperclip/THE-122-qbittorrent-apt 2026-12-03 16:31:49 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 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!15
No description provided.