Skip to content

Improvements to Heuristic for Abandoned Amazon S3 Buckets#61

Merged
anavirginianery merged 12 commits intodevfrom
feat/abandoned-amazon-s3-bucket
Feb 9, 2026
Merged

Improvements to Heuristic for Abandoned Amazon S3 Buckets#61
anavirginianery merged 12 commits intodevfrom
feat/abandoned-amazon-s3-bucket

Conversation

@jhenriwue
Copy link
Collaborator

This PR introduces enhancements to the heuristic used to determine when an S3 bucket is abandoned

Previous Behavior
Previously, the system had a hierarchy of request types and a threshold for each tier. Tier 1 included list, delete, put, and other types of requests, while tier 2 only included get requests. The amount of data transferred was also taken into consideration.

New Logic
Now the system only considers PUT and GET request types. It disregards any other request type besides these two when determining whether a bucket should be recommended or not.

Copy link
Collaborator

@marianezei marianezei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Comment on lines -12 to -15
[THRESHOLD_INPUT_NAMES.DAYS_THRESHOLD]: "days_threshold",
[THRESHOLD_INPUT_NAMES.DATA_SIZE_THRESHOLD]: "data_size_threshold",
[THRESHOLD_INPUT_NAMES.TIER_1_REQUESTS_QUANTITY_THRESHOLD]: "tier_1_request_quantity_threshold",
[THRESHOLD_INPUT_NAMES.TIER_2_REQUESTS_QUANTITY_THRESHOLD]: "tier_2_request_quantity_threshold"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will these removals have a negative impact on the system?
this happens throughout the code.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are used as placeholders on the frontend. So it should be fine.

@anavirginianery anavirginianery merged commit 7564830 into dev Feb 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants