Skip to content

Fix: follow a moved Proxmox Backup Server group - #571

Merged
SandObserver merged 2 commits into
mainfrom
fix/pbs-follow-moved-group
Oct 27, 2026
Merged

SandObserver merged 2 commits into
mainfrom
fix/pbs-follow-moved-group

Conversation

@SandObserver

Copy link
Copy Markdown
Owner

Summary

  • When a Proxmox Backup Server group is missing from its saved namespace, search the datastore's other namespaces for the same type and id, and follow it only on exactly one match.
  • Remember the new namespace per card in memory, bounded, so the search runs once. Saved settings are not changed.
  • Read the card's tasks against the namespace the group is in now.
  • Keep the original error when the saved namespace cannot be listed and no single match is found.

Testing
All green. Added tests for a moved group, a moved namespace, a group moved back, two matches and a removed group.

Changelog

Checklist

  • Stays within the project constraints: one container, no runtime dependencies, no build step (see CONTRIBUTING.md).
  • Tests added or updated for new logic, and the full suite, lint, and typechecks pass.
  • Docs updated if behavior or configuration changed.

@SandObserver SandObserver added the bug Something isn't working label Oct 26, 2026
@SandObserver
SandObserver merged commit 8021503 into main Oct 27, 2026
6 checks passed
@SandObserver
SandObserver deleted the fix/pbs-follow-moved-group branch October 27, 2026 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant