Safe removal (R-1044), found on Tester 1 G4: the drive gate leaves a safely removed drive alone (no false RETURNED/ABSENT, no mail); presence = backing device, not the agent's state
gates / gates (push) Successful in 46s
gates / gates (push) Successful in 46s
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
@@ -266,6 +266,10 @@ func planDriveGates(paths []settings.StoragePath, disks []agentapi.DiskInfo) []g
|
||||
if sp.Decommissioned {
|
||||
continue
|
||||
}
|
||||
// R-1044: a SAFELY REMOVED drive is reconcileEjectedDrives' alone (TestPlanDriveGates_SkipsSafelyRemovedDrive).
|
||||
if sp.EjectedAt != "" {
|
||||
continue
|
||||
}
|
||||
// NAS network storage is NOT a drive — the agent never lists it in /disks, so the drive-absent gate
|
||||
// would falsely see it "absent" (present[sp.Path]==false) and STOP its apps. A NAS blip is
|
||||
// recoverable (the agent's per-share liveness → a warning badge), never the drive stop-cascade.
|
||||
|
||||
Reference in New Issue
Block a user