mirror of
https://github.com/ivenator1/proxmox-management.git
synced 2026-07-18 11:28:21 +08:00
[PR #21] [MERGED] fix: address code-review findings across driver, flows, window, and helpers #21
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ivenator1/proxmox-management#21
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ivenator1/proxmox-management/pull/21
Author: @ivenator1
Created: 6/10/2026
Status: ✅ Merged
Merged: 6/10/2026
Merged by: @ivenator1
Base:
main← Head:claude/code-review-8copts📝 Commits (1)
facbd77fix: address code-review findings across driver, flows, window, and helpers📊 Changes
20 files changed (+422 additions, -88 deletions)
View changed files
📝
fleet-update.py(+3 -23)📝
proxmox_fleet/cli.py(+25 -9)📝
proxmox_fleet/driver.py(+14 -5)📝
proxmox_fleet/executor.py(+1 -1)📝
proxmox_fleet/flows/lxc.py(+31 -12)📝
proxmox_fleet/flows/remote.py(+3 -1)📝
proxmox_fleet/flows/vm.py(+3 -1)📝
proxmox_fleet/models/config.py(+6 -2)📝
proxmox_fleet/orchestration.py(+9 -2)📝
proxmox_fleet/status.py(+53 -17)📝
proxmox_fleet/window.py(+8 -3)📝
tests/unit/test_config_model.py(+18 -0)📝
tests/unit/test_driver.py(+49 -0)📝
tests/unit/test_flow_lxc.py(+59 -6)📝
tests/unit/test_flow_remote.py(+20 -0)📝
tests/unit/test_flow_vm.py(+21 -0)📝
tests/unit/test_orchestration.py(+25 -0)📝
tests/unit/test_status_lxc.py(+60 -3)📝
tests/unit/test_window.py(+10 -1)📝
tests/unit/test_wrapper.py(+4 -2)📄 Description
so '-e force_window=false' bypassed maintenance windows and
'-e fleet_dry_run=false' forced dry-run in the custom phase; also include
check= in the custom phase's dry-run flag (it ran real update steps under
--check since run_shell primitives have check_mode: false)
check-window.yml) and uses a fixed weekday list instead of locale-sensitive
strftime('%a')
are available, and an unhealthy monitor failed dry-runs after the full
retry window
containers were never auto-rebooted after kernel updates); apt commands pin
DEBIAN_FRONTEND=noninteractive so debconf prompts can't stall pct exec
health-check gate (no more re-parsing rendered status strings);
lxc_should_report takes script_expected so an unexpectedly missing update
script surfaces as an anomaly while os_only containers stay suppressed
the window to every day
worker can't block the phase after its timeout fired
honoring its no-raise contract when the snapshot primitive throws
apply_extravar_overrides(); drop the wrapper's fleet_dry_run setdefault hack
https://claude.ai/code/session_01DF9GxY796E3QwssS7MMGSC
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.