-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
footgunPotential footgun or unexpected behaviorPotential footgun or unexpected behaviormedium-priorityMedium priority issueMedium priority issue
Description
Potential Footgun
Location: Lines 1483-1491 in FleetImporter/FleetImporter.py
Issue: Cleanup failures are logged but don't propagate errors, so users won't know when retention policies fail.
except ClientError as e:
self.output(f"Warning: S3 cleanup failed: {e}")
except Exception as e:
self.output(f"Warning: S3 cleanup failed: {e}")Impact:
- Unexpected S3 costs from accumulating old versions
- Users assume cleanup worked when it didn't
- No visibility into why cleanup failed
- Silent failures can accumulate over time
Recommended Fix:
- Make cleanup errors more visible (ERROR level, not warning)
- Optionally fail the workflow if cleanup fails
- Add configuration option for strict vs. lenient cleanup behavior
- Track and report cleanup statistics
Priority: Medium - Can lead to unexpected costs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
footgunPotential footgun or unexpected behaviorPotential footgun or unexpected behaviormedium-priorityMedium priority issueMedium priority issue