Skip to content

Conversation

@colinmoynes
Copy link
Collaborator

Implementing rate limit handling and improved multi-threaded performance.

@colinmoynes colinmoynes self-assigned this Dec 15, 2025
Copilot AI review requested due to automatic review settings December 15, 2025 11:07
@colinmoynes colinmoynes merged commit 4a9b5be into main Dec 15, 2025
3 checks passed
@colinmoynes colinmoynes deleted the improved-deletion-handling branch December 15, 2025 11:08
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR implements rate limit handling and improves multi-threaded performance for the Cloudsmith Docker Sleuth tool, which analyzes multi-architecture Docker images in Cloudsmith repositories. The changes add proactive rate limit monitoring using API response headers and implements concurrent processing of images, tags, and package deletions.

Key Changes:

  • Added comprehensive rate limit handling in make_request() function with proactive throttling and 429 error retry logic
  • Implemented ThreadPoolExecutor-based parallelism for fetching tag data, untagged images, and processing multiple images
  • Added batched deletion operations with concurrency controls for cleaning up untagged manifest lists

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants