mirror of
https://github.com/community-scripts/ProxmoxVE-Local.git
synced 2026-04-25 04:35:50 +03:00
[PR #201] [MERGED] fix: harden orphan cleanup to avoid false deletions #271
Labels
No labels
bug
enhancement
enhancement
feature
in progress
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ProxmoxVE-Local#271
Loading…
Add table
Add a link
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/community-scripts/ProxmoxVE-Local/pull/201
Author: @michelroegl-brunner
Created: 10/20/2025
Status: ✅ Merged
Merged: 10/20/2025
Merged by: @michelroegl-brunner
Base:
main← Head:fix/orphan-cleanup-race📝 Commits (1)
e4de9ccfix(installed-scripts): prevent false orphan deletions by awaiting SSH command completion and parsing combined output; add 15s timeout and warnings for diagnostics📊 Changes
1 file changed (+29 additions, -6 deletions)
View changed files
📝
src/server/api/routers/installedScripts.ts(+29 -6)📄 Description
This PR fixes intermittent false orphan removals by:
This should prevent erroneously removing installed scripts when the LXC exists but transient SSH output timing caused a false negative.
Fixes: intermittent cleanup misclassification observed after auto-detect.
Label: fix
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.