KEMBAR78
ci(sweeper): continue execution when resources cannot be deleted by jremy42 · Pull Request #4886 · scaleway/scaleway-cli · GitHub
Skip to content

Conversation

@jremy42
Copy link
Contributor

@jremy42 jremy42 commented Jul 11, 2025

Many CLI tests are failing because they exceed Scaleway quotas. The issue is that the sweeper stops execution immediately when it encounters block volume deletion failures (e.g., volumes in in_use status), leaving other resources undeleted. This causes resource accumulation across test runs, leading to quota exhaustion and test failures. The fix modifies the sweeper to continue execution on individual resource failures, collect all errors, and only exit with a fatal error after attempting to clean all resources. This ensures maximum cleanup in each run and prevents the resource accumulation that was causing quota issues.

@jremy42 jremy42 requested a review from remyleone as a code owner July 11, 2025 04:39
@remyleone remyleone changed the title fix(sweeper): continue execution when resources cannot be deleted ci(sweeper): continue execution when resources cannot be deleted Jul 16, 2025
@remyleone remyleone added this pull request to the merge queue Jul 16, 2025
Merged via the queue into master with commit 865b37a Jul 16, 2025
16 checks passed
@remyleone remyleone deleted the fix/sweeper-continue-on-errors branch July 16, 2025 08:44
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.

2 participants