bazarr: the version file carries the archive's v prefix (THE-122) #16
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!16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "paperclip/THE-122-bazarr-version"
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 84) passed qbittorrent — the cache refresh fixed the install — and stopped at bazarr's Assert:
The entry point's checksum matches (
878c0520…), and the file is/opt/bazarr/VERSION; it holdsv1.6.2, the archive's own prefix, while the pin is1.6.2. The comparison strips the leadingv, so the pin is still checked against the archive's file.make checkis green. Merge; the merge starts the deploy again, and the walk continues at bazarr, then seerr and jellyfin.vprefix (THE-122)Review started (round 1/5) on
9201ccd1ca— reading the diff now.olympus/infra-media #16 — head
9201ccd1ca272aedab4046d9a313af60637339a4, round 1/5 (the dispatch numbered this round 1/5; the thread carries no earlier review), axes: standards, spec.Recommendation: merge
Spec
Spec source. No issue is linked in the description; the branch and title cite
THE-122, the wave ticket ("a merge toinfra-mediamainstarts the Semaphore task, runsmake prod NONINTERACTIVE=1, and the twelve-Host walk ends green throughverify"). That ticket is broader than this change, so the PR description is the spec: the deploy reached bazarr's Assert because/opt/bazarr/VERSIONholdsv1.6.2while the pin is1.6.2, and the comparison should strip the archive's prefix.The claim reproduces. The repository's own byte pin for that file,
bazarr/service/roles/bazarr/defaults/main.yml:14(bazarr_version_sha256: f4826a0b…0466), equalssha256("v1.6.2\n")— so the file's bytes are exactly whatverify.yml:70-71describes, and the deploy log'sAssertion failedonbazarr/service/verify.yml:76at the base revision is what the expression produces.Driven through the real filter chain (
slurp→b64decode→trim→regex_replace), the pair is red/green:| input | base expression (
trim) | head expression (trim | regex_replace('^v','')) || --- | --- | --- |
|
v1.6.2\n(the archive's file) | false — the deploy's failure | true ||
1.6.2\n| false | true — a bare file still passes |No spec requirement is missing and nothing is added beyond it: the diff's only effective change is that one expression plus its explanatory comment.
Could not verify. The walk's continuation — bazarr's remaining rings (unit,
config.yaml, loopback200), then seerr and jellyfin — needs the Guests. Forgejo run #51's log carries only the Semaphore task's status (task 84 ended 'error'; the deploy did not finish); the play's own output lives in Semaphore task 84, which this session did not read. That continuation is the merge's deploy to show (ADR-0009), not a claim this review can call verified.Standards
standards: no repo conventions found— the repository has noAGENTS.md,CONTRIBUTING.mdorcoding-standards.md, andREADME.mdis a single heading. Judged by general good practice, plus the shape the repository documents about itself (docs/service-bazarr.md:52-58,mise.toml:14-17,Makefile:270) and the org records inolympus/workshopdocs/adr/atmain(0002, 0009, 0011 read; none breached). The comment added atbazarr/service/verify.yml:70-71states why the comparison strips a prefix, which is this repository's convention for every non-obvious line.qbittorrent/service/roles/qbittorrent/tasks/main.yml:74: the branch carries commitef76120, whose patch-id (328d984f…) is byte-identical tomain's tip5b0ab35(PR #15, already merged). The PR's displayed diff therefore shows two files while what lands is one:git diff 5b0ab35 9201ccd --statanswersbazarr/service/verify.ymlonly, andgit merge-tree --write-tree 5b0ab35 9201ccdis clean (rc 0). Nothing breaks either way; updating the branch on5b0ab35(merge or rebase) keeps the timeline showing the one change under review, and the next reader from re-auditing aupdate_cache: truethatmainalready has.Named, not charged
bazarr/service/roles/bazarr/defaults/main.yml:5,14—bazarr_version_sha256pins theVERSIONfile's bytes and no task inbazarr/service/roles/bazarr/tasks/main.ymlreads it. Pre-existing and outside this diff.Verified
refs/pull/16/head=9201ccd1ca272aedab4046d9a313af60637339a4, re-read at post time.mise exec -- make checkat head: rc 0 (env-check; deploy-test's three suites,service-key33 assertions; fmt-check).pr-checksrun #52 onpull_requestat9201ccd— success (39 s).ansible-playbook --syntax-checkonbazarr/service/verify.ymlfrombazarr/service/: rc 0.sha256("v1.6.2\n")=f4826a0b…0466..forgejo/workflows/untouched (no CI-gate change); no secret in the diff; bazarr is not a tier-1 target; no destroy/replace and no ADR change — no escalation class met, no hold.make checkdoes not read a play —mise.toml:15-16says so — so its green is not evidence about this change; the evidence is the probe above and the deploy that follows the merge. The PR says as much itself.Summary