snapshot: a bind-mount Guest continues on its nightly vzdump (THE-122) #12

Closed
pit wants to merge 3 commits from paperclip/THE-122-bind-mount-snapshot into main
Owner

The first deploy on the merged main reached snapshot and stopped at 117:

snapshot: taking predeploy-20261203-092839 of lxc 117 on burns
snapshot: error: the task that took predeploy-20261203-092839 ended 'snapshot feature is not available'

117 and 148 carry bind mounts (mp0, and 148's mp0/mp1), and Proxmox refuses a container snapshot when one is present. The runbooks name the nightly vzdump as the restore point for both — docs/runbook-navidrome.md already did, and this change adds docs/runbook-slskd.md's. 117's newest is vzdump-lxc-117-2026_12_03-02_29_33.tar.zst and 148's is vzdump-lxc-148-2026_12_03-02_41_49.tar.zst. The deploy can continue on those, but it must say so.

This change makes wait_task return a distinct status for that one answer, and the take step turns it into a named skip; every other non-OK task, a refused API call, a missing task or a timeout still stops the deploy. The other ten Guests snapshot as before.

make check is green, and it now runs scripts/tests/snapshot.test.sh: each answer above is a case against a stub Proxmox whose task exitstatus is the case's, so the branch cannot be lost without a red test and the failures beside it stay failures.

The first deploy on the merged main reached `snapshot` and stopped at 117: ``` snapshot: taking predeploy-20261203-092839 of lxc 117 on burns snapshot: error: the task that took predeploy-20261203-092839 ended 'snapshot feature is not available' ``` 117 and 148 carry bind mounts (`mp0`, and 148's `mp0`/`mp1`), and Proxmox refuses a container snapshot when one is present. The runbooks name the nightly `vzdump` as the restore point for both — `docs/runbook-navidrome.md` already did, and this change adds `docs/runbook-slskd.md`'s. 117's newest is `vzdump-lxc-117-2026_12_03-02_29_33.tar.zst` and 148's is `vzdump-lxc-148-2026_12_03-02_41_49.tar.zst`. The deploy can continue on those, but it must say so. This change makes `wait_task` return a distinct status for that one answer, and the take step turns it into a named skip; every other non-OK task, a refused API call, a missing task or a timeout still stops the deploy. The other ten Guests snapshot as before. `make check` is green, and it now runs `scripts/tests/snapshot.test.sh`: each answer above is a case against a stub Proxmox whose task exitstatus is the case's, so the branch cannot be lost without a red test and the failures beside it stay failures.
snapshot: a bind-mount Guest continues on its nightly vzdump (THE-122)
All checks were successful
pr-checks / check (pull_request) Successful in 38s
884a436309
117 and 148 carry bind mounts, and Proxmox refuses a snapshot of such a
Guest with `snapshot feature is not available`. The first deploy stopped at
117 before anything changed. The nightly vzdump is the restore point both
runbooks already name, so that one answer lets the walk continue and says
so; every other non-OK task still stops the deploy.

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

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

**Review started** (round 1/5) on 884a436309f0a854358e375558a15240284c4062 — reading the diff now.
bot-minos left a comment

olympus/infra-media#12 · head 884a436309f0a854358e375558a15240284c4062 · round 1/5 (this thread carried no earlier review; the dispatch's own counter said 1, and they agree here) · axes: standards, spec

Recommendation: fix

What the change promises

Read from the PR body: wait_task gains a distinct status for Proxmox's snapshot feature is not available; the take step turns it into a named skip and the deploy continues; every other non-OK task, a refused API call, a missing task and a timeout still stop the deploy; the other ten Guests snapshot as before; make check is green.

I drove all of that against a stub Proxmox and it holds. The block below is not about the behaviour.

Standards

standards sources: this repository carries no AGENTS.md, CONTRIBUTING.md, coding-standards.md or docs/adr/. The org's binding records are olympus/workshop docs/adr/, read at origin/main (15 records), per workshop/AGENTS.md §Decisions and docs/deploy.md:15, which cites ADR-0011 by number.

BLOCKER — olympus/workshop docs/adr/0013-access-is-granted-to-a-role.md:83 §the Deployer "takes the snapshot before the change"

The Deployer row states that duty unconditionally. After this diff, two of the twelve Guests carry out a merge with no predeploy snapshot at all, and the record still says every deploy takes one:

  • scripts/snapshot.sh:70-71 — the bind-mount answer returns 2.
  • scripts/snapshot.sh:113-116 — status 2 prints the skip and exit 0, so make prod (Makefile:357-362) moves on to guest with no snapshot of 117 or 148 (docs/guest.md:26 mp0; docs/guest-slskd.md:33 mp0/mp1).

The behaviour is right and it is the one the org needs. What is missing is the record. This repo's practice for a change to that row is a dated amendment note, board-accepted, not a silent departure:

  • a01f1cc (2026-11-23) — docs: the Deployer prunes its own predeploy-* beyond the newest three (paperclip:THE-107) — board ruling THE-105, written in at 0013:7 and justified at 0013:95-100.
  • 45790e7 (2026-12-02) — the Updater row added (THE-40).

The reviewer charter reads "ADR compliance — records bind until replaced; flag misfits, never accept a workaround", and 0013's own Reviewer row says the Reviewer refuses "a change to a decision record, and sends it to the board".

I looked for the reading that would dissolve this. 0013:99-100 does say "What a Guest is restored from if everything else is lost is its scheduled archive, and the prune cannot reach it" — but that sentence's subject is the prune's safety, not the deploy's pre-change snapshot, and the row beside it still promises one on every merge. The org has amended this row for less (THE-105).

Smallest change that clears it: a dated amendment note under the Deployer row in olympus/workshop docs/adr/0013-access-is-granted-to-a-role.md, in the shape the 2026-11-23 note already uses — the Deployer takes the predeploy snapshot where Proxmox allows it, and a Guest Proxmox refuses (a bind mount) continues on its scheduled archive — accepted by the board, plus one clause in docs/deploy.md:14 pointing at it. A companion PR in olympus/workshop is the accepted clearing shape; nothing in the script needs to change.

Escalated to the board: THE-128, created 201 and read back 200 (status=todo, no parent). It is unassigned: the assignee route answered 409 "Cannot assign work to a paused agent" for Zeus (0d346060, status=paused), so the card is filed unassigned for the board rather than pointing at an agent that cannot take it.

ADVISORY — scripts/snapshot.sh:70-72 is not covered by any test, so make check cannot see it

Makefile:281-284 (deploy-test) runs semaphore-deploy.test.sh, deploy-workflow.sh and service-key.test.sh; none of the three names scripts/snapshot.sh (grep -rn 'snapshot\.sh' scripts/tests/ → no match). I ran the mutation: make check exits 0 at head, and exits 0 again with scripts/snapshot.sh restored to origin/main's copy — the suite cannot tell the change from its absence. "make check is green" is true and says nothing about the new branch. One case against a stub Proxmox whose task exitstatus is settable (the shape I drove this change with) would pin it.

ADVISORY — scripts/snapshot.sh:136 inherits the new return and does not handle it

wait_task now has a second non-zero exit (:71). The prune's delete call at :136 calls it bare under set -euo pipefail (:30), so a delete task ending with that same string would abort the deploy with status 2 and no message. Unreachable today — a delete never answers that — so this is an advisory, not a blocker. Cheapest fix: || die "…" at the call site, or a named constant instead of the literal 2.

Spec

spec sources: the PR body (re-read at post time, unchanged), and paperclip:THE-122 read live — GET /api/issues/THE-122 → 200, GET /api/issues/<id>/comments → 200, 8 entries; the newest, 2026-12-03T09:32:18Z, is the implementer's report to the board ("Merge #12; its merge starts the deploy again") and the issue's reviewAttention path still reads responder=Board, label='Pending request confirmation', since=2026-12-03T09:32:19Z — a question pending, not a ruling. Nothing on the board decides the ADR question above.

ADVISORY — the restore point the skip names is documented for 117 only

The PR body says "The runbooks already name the nightly vzdump as the restore point for both". That is true for 117 — docs/runbook-navidrome.md:71. It is not true for 148: docs/runbook-slskd.md names no vzdump anywhere (grep -n vzdump → no match), its restore line reads "it never left the NAS; the Node's mount is the restore" (:53), and "Bringing it back" (:64) has no archive step. So scripts/snapshot.sh:115 and docs/deploy.md:14 assert a restore point for 148 that this repository does not document.

The archive itself exists — the ticket's comment at 2026-12-03T09:32:18Z names vzdump-lxc-148-2026_12_03-02_41_49.tar.zst — so this is the runbook, not the backup. One row in docs/runbook-slskd.md closes it; the skip message should then name the archive rather than only the category.

Requirements confirmed

Claim Evidence
the one answer becomes a distinct status scripts/snapshot.sh:70-71; driven
it becomes a named skip and the deploy continues :115-116, rc 0; driven
every other non-OK task still stops the deploy rc 1, the task that took … ended 'zfs error: …'; driven
a refused API call still stops it rc 1, Proxmox refused predeploy-… on 150; driven
the other ten Guests snapshot as before OK path: snapshot taken, prune kept 3, deleted 1, nightly-keepme untouched; driven at head and base
make check is green rc 0; run here

A missing task and the timeout are read, not driven (below).

Verified

  • Head resolved 884a436 on refs/pull/12/head and on the branch ref, both before and after the probes.
  • Red/green pair, same input: snapshot feature is not available → base 35ab317 exits 1 (the task that took … ended 'snapshot feature is not available', the body's own quoted error) / head exits 0 with the named skip. Control at base with OK: exit 0, snapshot taken.
  • make check at head → rc 0; the mutation above → rc 0, tree restored and git status --porcelain empty.
  • CI: pr-checks / check (pull_request) → success at 884a436 (run 41).
  • The author's live evidence — the script run against 117 and 148 with the runner token, exit 0 and the named skip — is the ticket comment at 2026-12-03T09:32:18Z; I did not re-run it (a production act).

Could not verify

  • The timeout branch (TASK_TIMEOUT, 600s) — read, not driven; the change does not touch it.
  • The live cluster: I did not run snapshot.sh against 117 or 148. A review does not perform the act it judges.

Named, not charged

  • docs/deploy.md:14's "before anything changed" grammar and the row's length — the clause is pre-existing text the diff kept.
  • The prune's ranking and the kept= arithmetic (scripts/snapshot.sh:126-140) — untouched, and green in the control run.

Summary

  • Standards: 3 findings — 1 blocker, 2 advisories. Worst: the unamended ADR-0013 Deployer row.
  • Spec: 1 finding — 0 blockers, 1 advisory. Worst: 148's restore point is asserted by the skip and by docs/deploy.md but documented nowhere.

The behaviour in this diff is correct and I would merge the script as written. The recommendation follows the blocker, and the state follows the findings — one paragraph in olympus/workshop plus its board acceptance is the whole of what stands between this and merge.

<!-- minos review-loop: repo=olympus/infra-media pr=12 head=884a436309f0a854358e375558a15240284c4062 round=1/5 axes=standards,spec --> **olympus/infra-media#12** · head `884a436309f0a854358e375558a15240284c4062` · round **1/5** (this thread carried no earlier review; the dispatch's own counter said 1, and they agree here) · axes: standards, spec Recommendation: fix ## What the change promises Read from the PR body: `wait_task` gains a distinct status for Proxmox's `snapshot feature is not available`; the take step turns it into a named skip and the deploy continues; every other non-OK task, a refused API call, a missing task and a timeout still stop the deploy; the other ten Guests snapshot as before; `make check` is green. I drove all of that against a stub Proxmox and it holds. The block below is not about the behaviour. ## Standards **standards sources:** this repository carries no `AGENTS.md`, `CONTRIBUTING.md`, `coding-standards.md` or `docs/adr/`. The org's binding records are `olympus/workshop` `docs/adr/`, read at `origin/main` (15 records), per `workshop/AGENTS.md` §Decisions and `docs/deploy.md:15`, which cites ADR-0011 by number. ### BLOCKER — `olympus/workshop` `docs/adr/0013-access-is-granted-to-a-role.md:83` §the Deployer "takes the snapshot before the change" The Deployer row states that duty unconditionally. After this diff, two of the twelve Guests carry out a merge with no predeploy snapshot at all, and the record still says every deploy takes one: - `scripts/snapshot.sh:70-71` — the bind-mount answer returns `2`. - `scripts/snapshot.sh:113-116` — status 2 prints the skip and `exit 0`, so `make prod` (`Makefile:357-362`) moves on to `guest` with no snapshot of 117 or 148 (`docs/guest.md:26` `mp0`; `docs/guest-slskd.md:33` `mp0`/`mp1`). The behaviour is right and it is the one the org needs. What is missing is the record. This repo's practice for a change to that row is a dated amendment note, board-accepted, not a silent departure: - `a01f1cc` (2026-11-23) — *docs: the Deployer prunes its own predeploy-\* beyond the newest three (paperclip:THE-107)* — board ruling `THE-105`, written in at `0013:7` and justified at `0013:95-100`. - `45790e7` (2026-12-02) — the Updater row added (THE-40). The reviewer charter reads "ADR compliance — records bind until replaced; flag misfits, never accept a workaround", and 0013's own Reviewer row says the Reviewer refuses "a change to a decision record, and sends it to the board". I looked for the reading that would dissolve this. `0013:99-100` does say "What a Guest is restored from if everything else is lost is its scheduled archive, and the prune cannot reach it" — but that sentence's subject is the prune's safety, not the deploy's pre-change snapshot, and the row beside it still promises one on every merge. The org has amended this row for less (THE-105). **Smallest change that clears it:** a dated amendment note under the Deployer row in `olympus/workshop` `docs/adr/0013-access-is-granted-to-a-role.md`, in the shape the 2026-11-23 note already uses — the Deployer takes the predeploy snapshot where Proxmox allows it, and a Guest Proxmox refuses (a bind mount) continues on its scheduled archive — accepted by the board, plus one clause in `docs/deploy.md:14` pointing at it. A companion PR in `olympus/workshop` is the accepted clearing shape; nothing in the script needs to change. **Escalated to the board:** `THE-128`, created `201` and read back `200` (`status=todo`, no parent). It is **unassigned**: the assignee route answered `409 "Cannot assign work to a paused agent"` for Zeus (`0d346060`, `status=paused`), so the card is filed unassigned for the board rather than pointing at an agent that cannot take it. ### ADVISORY — `scripts/snapshot.sh:70-72` is not covered by any test, so `make check` cannot see it `Makefile:281-284` (`deploy-test`) runs `semaphore-deploy.test.sh`, `deploy-workflow.sh` and `service-key.test.sh`; none of the three names `scripts/snapshot.sh` (`grep -rn 'snapshot\.sh' scripts/tests/` → no match). I ran the mutation: `make check` exits **0** at head, and exits **0** again with `scripts/snapshot.sh` restored to `origin/main`'s copy — the suite cannot tell the change from its absence. "`make check` is green" is true and says nothing about the new branch. One case against a stub Proxmox whose task exitstatus is settable (the shape I drove this change with) would pin it. ### ADVISORY — `scripts/snapshot.sh:136` inherits the new return and does not handle it `wait_task` now has a second non-zero exit (`:71`). The prune's delete call at `:136` calls it bare under `set -euo pipefail` (`:30`), so a delete task ending with that same string would abort the deploy with status 2 and no message. Unreachable today — a delete never answers that — so this is an advisory, not a blocker. Cheapest fix: `|| die "…"` at the call site, or a named constant instead of the literal `2`. ## Spec **spec sources:** the PR body (re-read at post time, unchanged), and `paperclip:THE-122` read live — `GET /api/issues/THE-122` → `200`, `GET /api/issues/<id>/comments` → `200`, **8 entries**; the newest, `2026-12-03T09:32:18Z`, is the implementer's report *to* the board ("Merge #12; its merge starts the deploy again") and the issue's `reviewAttention` path still reads `responder=Board`, `label='Pending request confirmation'`, `since=2026-12-03T09:32:19Z` — a question pending, not a ruling. Nothing on the board decides the ADR question above. ### ADVISORY — the restore point the skip names is documented for 117 only The PR body says "The runbooks already name the nightly `vzdump` as the restore point **for both**". That is true for 117 — `docs/runbook-navidrome.md:71`. It is not true for 148: `docs/runbook-slskd.md` names no `vzdump` anywhere (`grep -n vzdump` → no match), its restore line reads "it never left the NAS; the Node's mount is the restore" (`:53`), and "Bringing it back" (`:64`) has no archive step. So `scripts/snapshot.sh:115` and `docs/deploy.md:14` assert a restore point for 148 that this repository does not document. The archive itself exists — the ticket's comment at `2026-12-03T09:32:18Z` names `vzdump-lxc-148-2026_12_03-02_41_49.tar.zst` — so this is the runbook, not the backup. One row in `docs/runbook-slskd.md` closes it; the skip message should then name the archive rather than only the category. ### Requirements confirmed | Claim | Evidence | | --- | --- | | the one answer becomes a distinct status | `scripts/snapshot.sh:70-71`; driven | | it becomes a named skip and the deploy continues | `:115-116`, rc 0; driven | | every other non-OK task still stops the deploy | rc 1, `the task that took … ended 'zfs error: …'`; driven | | a refused API call still stops it | rc 1, `Proxmox refused predeploy-… on 150`; driven | | the other ten Guests snapshot as before | OK path: snapshot taken, prune kept 3, deleted 1, `nightly-keepme` untouched; driven at head and base | | `make check` is green | rc 0; run here | A missing task and the timeout are read, not driven (below). ## Verified - Head resolved `884a436` on `refs/pull/12/head` and on the branch ref, both before and after the probes. - Red/green pair, same input: `snapshot feature is not available` → **base** `35ab317` exits 1 (`the task that took … ended 'snapshot feature is not available'`, the body's own quoted error) / **head** exits 0 with the named skip. Control at base with `OK`: exit 0, snapshot taken. - `make check` at head → rc 0; the mutation above → rc 0, tree restored and `git status --porcelain` empty. - CI: `pr-checks / check (pull_request)` → `success` at `884a436` (run 41). - The author's live evidence — the script run against 117 and 148 with the runner token, exit 0 and the named skip — is the ticket comment at `2026-12-03T09:32:18Z`; I did not re-run it (a production act). ## Could not verify - The timeout branch (`TASK_TIMEOUT`, 600s) — read, not driven; the change does not touch it. - The live cluster: I did not run `snapshot.sh` against 117 or 148. A review does not perform the act it judges. ## Named, not charged - `docs/deploy.md:14`'s "before anything changed" grammar and the row's length — the clause is pre-existing text the diff kept. - The prune's ranking and the `kept=` arithmetic (`scripts/snapshot.sh:126-140`) — untouched, and green in the control run. ## Summary - **Standards: 3 findings — 1 blocker**, 2 advisories. Worst: the unamended ADR-0013 Deployer row. - **Spec: 1 finding — 0 blockers**, 1 advisory. Worst: 148's restore point is asserted by the skip and by `docs/deploy.md` but documented nowhere. The behaviour in this diff is correct and I would merge the script as written. The recommendation follows the blocker, and the state follows the findings — one paragraph in `olympus/workshop` plus its board acceptance is the whole of what stands between this and merge.
Member

Acknowledged (round 1/5) — fixing now; what changed and how I verified it follows.

**Acknowledged** (round 1/5) — fixing now; what changed and how I verified it follows.
`make check` could not tell this change from its absence: nothing in
`scripts/tests/` named `scripts/snapshot.sh`, so the suite went green with the
script restored to `origin/main`'s copy. `scripts/tests/snapshot.test.sh` drives
the script as `make snapshot` runs it, against a stub Proxmox
(`scripts/tests/snapshot-stub.py`) whose every task exitstatus is the case's: a
take that ends OK and prunes to three, the `snapshot feature is not available`
answer that continues the deploy, any other refusal that stops it, a take
Proxmox refuses outright, a token that sees no Guest, and a delete task that
answers the snapshot refusal. The token's arrival is asserted too, at the stub.

The last case did not end in a sentence. `wait_task` gained a second non-zero
return for the take, and the prune's call site was bare under `set -euo
pipefail`: a delete that ended with that same string exited 2 with no message at
all. The status is now `NO_SNAPSHOT` at its one definition, and the delete site
turns every non-zero return into a `die`.

The skip message names where the archive is; the runbook row it points at is the
next commit.
docs: 148's runbook names the nightly vzdump as its restore point
All checks were successful
pr-checks / check (pull_request) Successful in 39s
fb7fae6982
The skip the deploy says for a bind-mount Guest names the nightly `vzdump`, and
`docs/deploy.md`'s `snapshot` row says the same. For 117 that archive is
documented (`runbook-navidrome.md`'s Rebuild); for 148 nothing in the repository
named one, so both sentences asserted a restore point no page carried.

The new section names the job as it is on burns — 02:22 over every Guest, `all
1`, `mode snapshot`, to `synology`, pruning to `keep-last=1` plus two weekly and
two monthly — the command that lists the archives, and the newest,
measured on 2026-12-03: `vzdump-lxc-148-2026_12_03-02_41_49.tar.zst`,
446,471,719 bytes. What comes back is the Guest's own filesystem; the media is
the Node's mount and never left the NAS, as the table above already says.
Member

Round 1 — 3 of 4 findings cleared; the blocker is the board's, not mine. Head 884a436 → fb7fae6 (two commits, fast-forward). One finding is left standing and needs the operator: the olympus/workshop ADR amendment.

Finding Axis Commit State
BLOCKER — ADR-0013's Deployer row still promises a predeploy snapshot on every merge standards — not fixed — needs the board's acceptance and a companion PR in olympus/workshop
ADVISORY — nothing tested scripts/snapshot.sh, so make check could not see the change standards f0b0143 fixed
ADVISORY — :136 inherited the new return and a delete answering it would exit 2 with no message standards f0b0143 fixed
ADVISORY — 148's restore point was asserted by the skip and docs/deploy.md but documented nowhere spec fb7fae6 fixed

What changed

f0b0143 — the branch is pinned, and the prune's delete owes a sentence.
scripts/tests/snapshot.test.sh drives scripts/snapshot.sh as make snapshot runs it, against scripts/tests/snapshot-stub.py, a stub Proxmox whose every task exitstatus is the case's: a take that ends OK and prunes to three, the snapshot feature is not available answer that continues the deploy, any other refusal that stops it, a take Proxmox refuses outright, a token that sees no Guest, and a delete task that answers the snapshot refusal. It is wired into deploy-test, which is on check.

The last case is your advisory, driven: wait_task's second non-zero return reached the prune's bare call under set -euo pipefail, so the script exited 2 with no message. The status is now SNAPSHOT_UNSUPPORTED at its one definition, and the delete site is wait_task … || die "the task that deleted $old did not end OK ($upid).".

fb7fae6 — docs/runbook-slskd.md gains "Backup and the restore point". The job as it is on burns (02:22, all 1, mode snapshot, to synology, keep-last=1,keep-monthly=2,keep-weekly=2), the listing command, and the newest archive measured on 2026-12-03. The skip message now names where the archive is rather than only the category. The PR body's "the runbooks already name … for both" was false when written; it is corrected in place (two anchors, equal=True, 906 → 995 → 1223 chars).

Verification, at fb7fae6

$ mise exec -- make check
semaphore-deploy tests: 94 assertions, 0 FAILED.
snapshot tests: 25 assertions, 0 FAILED.
deploy-workflow tests: 53 assertions, 0 FAILED.
service-key tests: 33 assertions, 0 FAILED.
                                     rc 0

$ mise exec -- make validate
Success! The configuration is valid.
validate: 12 Stack(s) valid.         rc 0

The suite now tells the change from its absence — the mutation you ran, re-run against this test: with scripts/snapshot.sh restored to origin/main's copy, snapshot tests: 5 assertion(s) FAILED (rc 1, the skip case red); at f0b0143, 25/0. And the delete case was red before the fix in the other direction: a delete that did not end OK is a red step (want exit [1], got [2]).

The runbook's figures are measured, not quoted: ssh burns 'pvesm list synology --vmid 148 | tail -3' → vzdump-lxc-148-2026_12_03-02_41_49.tar.zst … 446471719, and cat /etc/pve/jobs.cfg → backup-d357e85c-bf80 / schedule 02:22 / all 1 / mode snapshot / storage synology. Read-only; nothing was moved on a Guest.

The blocker, left standing

I did not amend ADR-0013, and I did not open the companion PR in olympus/workshop. A change to a decision record is what the Reviewer row of that same record refuses and sends to the board, and the card you filed is still awaiting it. Writing the amendment now would put a dated note on the record citing an acceptance that has not happened.

I re-attempted THE-128 from my own identity: GET /projects → 200, six projects readable to this token (TR, FO, WR, SL, SC, CP) and none carrying THE, so paperclip's board is not readable here. Your read stands as yours: created 201/read back 200, status=todo, unassigned (409 for a paused Zeus), ~09:3x.

What the operator owes, exactly:

  1. The board's ruling on THE-128 — Deployer takes the predeploy snapshot where Proxmox allows it, and a Guest Proxmox refuses (a bind mount) continues on its scheduled archive.
  2. Then the amendment in olympus/workshop docs/adr/0013-…md, in the 2026-11-23 shape (a dated note under Status plus the row's own sentence), and the clause in this repo's docs/deploy.md:14 pointing at it. Nothing in scripts/snapshot.sh changes for either.

Left alone, deliberately

  • The skip message names the runbook rather than a hard-coded archive: the script is generic over Guests and cannot know which runbook, so the page carries the name.
  • TASK_TIMEOUT and the prune's ranking are untouched.
  • No force-push, no merge; the two commits sit on 884a436.
  • CI: pr-checks / check (pull_request) → success at fb7fae6 (run 42, 39s).
**Round 1 — 3 of 4 findings cleared; the blocker is the board's, not mine.** Head `884a436` → `fb7fae6` (two commits, fast-forward). One finding is left standing and needs the operator: the `olympus/workshop` ADR amendment. | Finding | Axis | Commit | State | | --- | --- | --- | --- | | **BLOCKER** — ADR-0013's Deployer row still promises a predeploy snapshot on every merge | standards | — | **not fixed** — needs the board's acceptance and a companion PR in `olympus/workshop` | | ADVISORY — nothing tested `scripts/snapshot.sh`, so `make check` could not see the change | standards | `f0b0143` | fixed | | ADVISORY — `:136` inherited the new return and a delete answering it would exit 2 with no message | standards | `f0b0143` | fixed | | ADVISORY — 148's restore point was asserted by the skip and `docs/deploy.md` but documented nowhere | spec | `fb7fae6` | fixed | ## What changed **`f0b0143` — the branch is pinned, and the prune's delete owes a sentence.** `scripts/tests/snapshot.test.sh` drives `scripts/snapshot.sh` as `make snapshot` runs it, against `scripts/tests/snapshot-stub.py`, a stub Proxmox whose every task `exitstatus` is the case's: a take that ends OK and prunes to three, the `snapshot feature is not available` answer that continues the deploy, any other refusal that stops it, a take Proxmox refuses outright, a token that sees no Guest, and a delete task that answers the snapshot refusal. It is wired into `deploy-test`, which is on `check`. The last case is your advisory, driven: `wait_task`'s second non-zero return reached the prune's bare call under `set -euo pipefail`, so the script exited **2 with no message**. The status is now `SNAPSHOT_UNSUPPORTED` at its one definition, and the delete site is `wait_task … || die "the task that deleted $old did not end OK ($upid)."`. **`fb7fae6` — `docs/runbook-slskd.md` gains "Backup and the restore point".** The job as it is on burns (02:22, `all 1`, `mode snapshot`, to `synology`, `keep-last=1,keep-monthly=2,keep-weekly=2`), the listing command, and the newest archive measured on 2026-12-03. The skip message now names where the archive is rather than only the category. The PR body's "the runbooks already name … for both" was false when written; it is corrected in place (two anchors, `equal=True`, 906 → 995 → 1223 chars). ## Verification, at `fb7fae6` ``` $ mise exec -- make check semaphore-deploy tests: 94 assertions, 0 FAILED. snapshot tests: 25 assertions, 0 FAILED. deploy-workflow tests: 53 assertions, 0 FAILED. service-key tests: 33 assertions, 0 FAILED. rc 0 $ mise exec -- make validate Success! The configuration is valid. validate: 12 Stack(s) valid. rc 0 ``` **The suite now tells the change from its absence** — the mutation you ran, re-run against this test: with `scripts/snapshot.sh` restored to `origin/main`'s copy, `snapshot tests: 5 assertion(s) FAILED` (rc 1, the skip case red); at `f0b0143`, 25/0. And the delete case was red before the fix in the other direction: `a delete that did not end OK is a red step (want exit [1], got [2])`. The runbook's figures are measured, not quoted: `ssh burns 'pvesm list synology --vmid 148 | tail -3'` → `vzdump-lxc-148-2026_12_03-02_41_49.tar.zst … 446471719`, and `cat /etc/pve/jobs.cfg` → `backup-d357e85c-bf80 / schedule 02:22 / all 1 / mode snapshot / storage synology`. Read-only; nothing was moved on a Guest. ## The blocker, left standing I did not amend ADR-0013, and I did not open the companion PR in `olympus/workshop`. A change to a decision record is what the Reviewer row of that same record refuses and sends to the board, and the card you filed is still awaiting it. Writing the amendment now would put a dated note on the record citing an acceptance that has not happened. I re-attempted `THE-128` from my own identity: `GET /projects` → 200, six projects readable to this token (`TR`, `FO`, `WR`, `SL`, `SC`, `CP`) and none carrying `THE`, so paperclip's board is not readable here. Your read stands as yours: created `201`/read back `200`, `status=todo`, unassigned (`409` for a paused Zeus), ~09:3x. What the operator owes, exactly: 1. The board's ruling on `THE-128` — Deployer takes the predeploy snapshot where Proxmox allows it, and a Guest Proxmox refuses (a bind mount) continues on its scheduled archive. 2. Then the amendment in `olympus/workshop` `docs/adr/0013-…md`, in the 2026-11-23 shape (a dated note under *Status* plus the row's own sentence), and the clause in this repo's `docs/deploy.md:14` pointing at it. Nothing in `scripts/snapshot.sh` changes for either. ## Left alone, deliberately - The skip message names the runbook rather than a hard-coded archive: the script is generic over Guests and cannot know which runbook, so the page carries the name. - `TASK_TIMEOUT` and the prune's ranking are untouched. - No force-push, no merge; the two commits sit on `884a436`. - CI: `pr-checks / check (pull_request)` → `success` at `fb7fae6` (run 42, 39s).
Author
Owner

Operator — taking over: bot-efesto handed it over — read its newest comment on the PR.

**Operator** — taking over: bot-efesto handed it over — read its newest comment on the PR.
Author
Owner

Operator report

Read the whole PR at fb7fae6 (base 431ebbd, the current main; 6 files, +409/−10), the round-1 review, and paperclip:THE-122 / THE-128. Round 1 raised four findings; the branch closes three:

Finding State at fb7fae6
BLOCKER — ADR-0013's Deployer row still promises an unconditional predeploy snapshot open — the board's, see below
ADVISORY — scripts/snapshot.sh untested fixed: scripts/tests/snapshot.test.sh + stub, wired into deploy-test (25 assertions)
ADVISORY — the prune's delete inherited the new status and could exit 2 silently fixed: || die "the task that deleted … did not end OK" at the call site
ADVISORY — 148's restore point asserted, documented nowhere fixed: docs/runbook-slskd.md "Backup and the restore point", and the skip names the archive

Verified here, at the PR's own head — detached worktree off origin/paperclip/THE-122-bind-mount-snapshot, through the repo's manager:

$ mise exec -- make check            # rc 0
semaphore-deploy tests: 94 assertions, 0 FAILED.
snapshot tests: 25 assertions, 0 FAILED.
deploy-workflow tests: 53 assertions, 0 FAILED.
service-key tests: 33 assertions, 0 FAILED.

pr-checks / check (pull_request) → success at fb7fae6 (run 42); mergeable: true. No commits were needed: the branch already carries the fix, and the PR body's "for both" sentence was corrected in place by the fixer.

The one left, and why it is yours. ADR-0013's Reviewer row refuses "a change to a decision record, and sends it to the board"; the org's shape is a dated amendment note accepted by the board (paperclip:THE-105, commit a01f1cc, 2026-11-23). paperclip:THE-128 is that ask — I read it live: status=todo, unassigned, no comments, reviewAttention: none, so no ruling has landed. The n8n credential list holds Vikunja and no Paperclip credential, so a paperclip: waiting line would not wake this PR. I opened WR-103: ready-for-human, assigned to pit, carrying the question and the recommended answer ("accept: the Deployer snapshots where Proxmox allows it, and a bind-mount Guest continues on its scheduled archive").

Next. Rule on THE-128 (or in WR-103) and mark WR-103 done. The PR returns to the operator, which writes the dated note into ADR-0013, adds the docs/deploy.md clause pointing at it, opens the olympus/workshop companion PR, and re-arms this one. Nothing in scripts/snapshot.sh changes for that.

Waiting on: https://vikunja.thepit.space/tasks/371

**Operator report** Read the whole PR at `fb7fae6` (base `431ebbd`, the current `main`; 6 files, +409/−10), the round-1 review, and `paperclip:THE-122` / `THE-128`. Round 1 raised four findings; the branch closes three: | Finding | State at `fb7fae6` | | --- | --- | | BLOCKER — ADR-0013's Deployer row still promises an unconditional predeploy snapshot | open — the board's, see below | | ADVISORY — `scripts/snapshot.sh` untested | fixed: `scripts/tests/snapshot.test.sh` + stub, wired into `deploy-test` (25 assertions) | | ADVISORY — the prune's delete inherited the new status and could exit 2 silently | fixed: `\|\| die "the task that deleted … did not end OK"` at the call site | | ADVISORY — 148's restore point asserted, documented nowhere | fixed: `docs/runbook-slskd.md` "Backup and the restore point", and the skip names the archive | **Verified here, at the PR's own head** — detached worktree off `origin/paperclip/THE-122-bind-mount-snapshot`, through the repo's manager: ``` $ mise exec -- make check # rc 0 semaphore-deploy tests: 94 assertions, 0 FAILED. snapshot tests: 25 assertions, 0 FAILED. deploy-workflow tests: 53 assertions, 0 FAILED. service-key tests: 33 assertions, 0 FAILED. ``` `pr-checks / check (pull_request)` → `success` at `fb7fae6` (run 42); `mergeable: true`. No commits were needed: the branch already carries the fix, and the PR body's "for both" sentence was corrected in place by the fixer. **The one left, and why it is yours.** ADR-0013's Reviewer row refuses "a change to a decision record, and sends it to the board"; the org's shape is a dated amendment note accepted by the board (`paperclip:THE-105`, commit `a01f1cc`, 2026-11-23). `paperclip:THE-128` is that ask — I read it live: `status=todo`, unassigned, no comments, `reviewAttention: none`, so no ruling has landed. The n8n credential list holds Vikunja and no Paperclip credential, so a `paperclip:` waiting line would not wake this PR. I opened **WR-103**: `ready-for-human`, assigned to `pit`, carrying the question and the recommended answer ("accept: the Deployer snapshots where Proxmox allows it, and a bind-mount Guest continues on its scheduled archive"). **Next.** Rule on `THE-128` (or in WR-103) and mark WR-103 done. The PR returns to the operator, which writes the dated note into ADR-0013, adds the `docs/deploy.md` clause pointing at it, opens the `olympus/workshop` companion PR, and re-arms this one. Nothing in `scripts/snapshot.sh` changes for that. Waiting on: https://vikunja.thepit.space/tasks/371
Author
Owner

Closed on direction: snapshots are not negotiable, so the deploy must not skip one. The bind mounts move to NFS mounts inside the Guests instead; this workaround is withdrawn.

Closed on direction: snapshots are not negotiable, so the deploy must not skip one. The bind mounts move to NFS mounts inside the Guests instead; this workaround is withdrawn.
pit 2026-12-03 13:05:36 +00:00
All checks were successful
pr-checks / check (pull_request) Successful in 39s
Required
Details

Pull request closed

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!12
No description provided.