Skip to content

Document run fails with conan_error, check for it in workspace - #20266

Draft
AbrilRBS wants to merge 1 commit into
conan-io:develop2from
AbrilRBS:ar/workspace-run-calls-check-errors
Draft

Document run fails with conan_error, check for it in workspace#20266
AbrilRBS wants to merge 1 commit into
conan-io:develop2from
AbrilRBS:ar/workspace-run-calls-check-errors

Conversation

@AbrilRBS

@AbrilRBS AbrilRBS commented Aug 14, 2026

Copy link
Copy Markdown
Member

Changelog: Fix: Failed creates in workspace subcommands now raise errors as expected
Docs: Omit

Closes #20258

In #19204 the behaviour of the install API changed not to raise, and let the CLI entrypoint do it (so that formatters could run). This change was not propagated here so the run calls (which does not have the auto-raise on conan_error keys) now did not stop execution when something failed, which could make it so a failed workspace create command returned success status codes without having actually succesfully compiled

image

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.

[bug] conan workspace create does not stop on build error

2 participants