fix(proxmox): leave templates out of backup coverage (#78) #83

Merged
jfro merged 1 commit from fix/78-exclude-templates into main 2026-11-28 16:24:07 +00:00
Owner

What changed

PR #83 leaves Proxmox templates out of the "not covered by any backup job" warning unless the new "Check templates' backups" source setting is on; the new test fails on main and passes here, mix precommit passes (1250 tests), CI is green, and the setting shows on the Proxmox source form at 390px and desktop.

Fixes #78

Red, then green

  • Templates in Proxmox's not-backed-up list are left out of the backup coverage warning unless the new backup_templates setting is on.: bash -c 'source ~/.rmenv; export PATH=$HOME/.local/bin:$PATH; eval "$(mise activate bash --shims)"; unset ${!FORGEJO_@} ${!GITHUB_ISSUES_@}; MIX_TEST_PARTITION=_78p mix test test/lamplighter/sources/proxmox_test.exs'
    • fails on the base (9e21ee0): exit 1
    • passes on the branch (c981228): exit 0

Shipping it

  • Goes live when it merges: no. Merging to main deploys nothing; release images are built only when Jeremy runs mise run release and tags a version.
  • Undo: a revert puts it back.
  • Not tried on the real thing: A real Proxmox cluster's not-backed-up response with a template in it; the test uses the API's documented shape with the template marked in /cluster/resources.

Prover

Checking now.

Every command above was run by Fortysix's Basecamp itself, on the branch named.

## What changed PR #83 leaves Proxmox templates out of the "not covered by any backup job" warning unless the new "Check templates' backups" source setting is on; the new test fails on main and passes here, mix precommit passes (1250 tests), CI is green, and the setting shows on the Proxmox source form at 390px and desktop. Fixes #78 ## Red, then green - Templates in Proxmox's not-backed-up list are left out of the backup coverage warning unless the new backup_templates setting is on.: `bash -c 'source ~/.rmenv; export PATH=$HOME/.local/bin:$PATH; eval "$(mise activate bash --shims)"; unset ${!FORGEJO_@} ${!GITHUB_ISSUES_@}; MIX_TEST_PARTITION=_78p mix test test/lamplighter/sources/proxmox_test.exs'` - fails on the base (9e21ee0): exit 1 - passes on the branch (c981228): exit 0 ## Shipping it - Goes live when it merges: no. Merging to main deploys nothing; release images are built only when Jeremy runs mise run release and tags a version. - Undo: a revert puts it back. - Not tried on the real thing: A real Proxmox cluster's not-backed-up response with a template in it; the test uses the API's documented shape with the template marked in /cluster/resources. ## Prover Checking now. Every command above was run by Fortysix's Basecamp itself, on the branch named.
jfro added this to the v1.4 milestone 2026-11-28 16:08:03 +00:00
fix(proxmox): leave templates out of backup coverage (#78)
All checks were successful
CI / test (pull_request) Successful in 1m14s
c981228168
Proxmox's not-backed-up list includes templates, which can't be picked
in a source's guest settings, so the coverage warning kept naming them
with no way to leave them out. They're now left out like everywhere
else, unless the new "Check templates' backups" setting is on.

Closes #78
Author
Owner

Proxmox source settings with the new toggle (dev data):

desktop-after.png

desktop-after.png

390-after.png

390-after.png

Proxmox source settings with the new toggle (dev data): **desktop-after.png** ![desktop-after.png](https://git.knope.dev/attachments/58ddd0c3-b668-470d-aeb5-23f1766f2225) **390-after.png** ![390-after.png](https://git.knope.dev/attachments/940a57f8-cd7c-468e-8115-aa000e3e2723)
jfro merged commit 71a66dec5f into main 2026-11-28 16:24:07 +00:00
Sign in to join this conversation.
No description provided.