Skip to content

Handle RunInProgressError in delete-project and add --skip-running to flush-projects - #2374

Open
Rucha0901 wants to merge 1 commit into
aboutcode-org:mainfrom
Rucha0901:safe-handling-run-in-progress-error
Open

Rucha0901 wants to merge 1 commit into
aboutcode-org:mainfrom
Rucha0901:safe-handling-run-in-progress-error

Conversation

@Rucha0901

Copy link
Copy Markdown
Contributor

Issues

Changes

  • delete-project: Catch RunInProgressError and raise CommandError.
  • flush-projects: Add --skip-running flag to warn, skip active projects, and continue batch deletion.
  • tests: Add unit tests for delete-project raising CommandError and flush-projects skipping active runs with --skip-running.

Checklist

  • I have read the contributing guidelines
  • I have linked an existing issue above
  • I have added unit tests covering the new code
  • I have reviewed and understood every line of this PR

Signed-off-by: Rucha0901 <imt_2025071@iiitm.ac.in>

This branch has not been deployed

No deployments
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.

delete-project and flush-projects: Safe handling of RunInProgressError and --skip-running support

1 participant