← Back to issue list

feat(reactive): run charm build in verbose mode

View original Github issue

Metadata

Project
charmcraft
Number
#2021
Type
pull request
State
merged
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Merged after two approvals and passing CI. Automatically adds the --verbose flag to charm build arguments when no log level is specified, ensuring verbose output is captured in logs. Resolves issue #924.

Suggested action:

No scores available.

Issue body

While a user could previously have added `--verbose` to `reactive-charm-build-arguments`, this automatically adds `--verbose` if the user hasn't specified a log level. The verbose text gets handled by craft-cli anyway, but this changes the default so the text gets added to the log. Spread test failures are unrelated: https://github.com/canonical/charmcraft/issues/2023 Fixes #924

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged after two approvals and passing CI. Automatically adds the --verbose flag to charm build arguments when no log level is specified, ensuring verbose output is captured in logs. Resolves issue #924.
qwen3.6-35b-a3b-mtp-q6 Merged changes automatically append --verbose to charm build arguments when no log level is specified, ensuring verbose output is captured in logs. Resolves #924.
qwen3.6-35b-a3b-mtp-q6 Merged. Automatically appends the --verbose flag to charm build arguments when no log level is specified, ensuring verbose output is logged. Resolves #924.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#924 reactive plugin: call `charm build` with `-v` charmcraft closed Closed after triage and internal ticket creation. Implementation guidance was provided to pass verbose flags to charm calls when verbosity is trace or debug. No fix or pull request was merged.
77%
#863 reactive_plugin: Support arguments to charm build command charmcraft merged Added reactive-charm-build-arguments to pass custom flags to the charm build command. Merged after approval and passing CI, resolving issue #809.
72%
#418 build/pack: pass --verbose or --quiet as needed (CRAFT-322) charmcraft merged Merged implementation that passes --verbose or --quiet flags to managed build instances, aligning them with the host charmcraft instance. Approved by two reviewers and applied across four files.
71%
#136 charmcraft build needs a --verbose option charmcraft closed Feature request for a verbose or debug flag in charmcraft build. Closed as a duplicate of issue #42.
70%
#1988 feat: add --verbose flag to pass -vv to spread from charmcraft test charmcraft closed Superseded by migration to the upstream test command. The proposed --verbose flag was closed without review or merge after maintainers determined the upstream solution better addresses CI verbosity requirements.
70%