Skip to content

fix: raise a clear error when rerunning a pipeline on existing resources #1712 - #2367

Merged
tdruez merged 1 commit into
mainfrom
1712_existing_resources_error
Nov 23, 2026
Merged

tdruez merged 1 commit into
mainfrom
1712_existing_resources_error

Conversation

@tdruez

@tdruez tdruez commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Issues

Changes

  • Raise a CodebaseResourcesExistError in collect_and_create_codebase_resources when the project already has resources, instead of a raw IntegrityError
  • Collect the codebase before creating the from/ resource in test_scanpipe_pipes_d2d_map_jvm_to_class_source_file_attribute

Signed-off-by: tdruez <tdruez@aboutcode.org>
@tdruez
tdruez merged commit 5f2a9bb into main Nov 23, 2026
13 checks passed
@tdruez
tdruez deleted the 1712_existing_resources_error branch November 23, 2026 10:45
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.

Weird message when trying to rerun map_deploy_to_devel pipeline

1 participant