Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork436
Suppress compile summary stats if--quiet flag is set oncompile.#2820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
d6ded91 to0c2d093Comparecodecovbot commentedJan 21, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## master #2820 +/- ##==========================================+ Coverage 67.69% 67.72% +0.02%========================================== Files 238 238 Lines 22388 22406 +18 ==========================================+ Hits 15156 15174 +18 Misses 6036 6036 Partials 1196 1196
Flags with carried forward coverage won't be shown.Click here to find out more. ☔ View full report in Codecov by Sentry. |
alessio-perugini left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Do we have a dedicated integration test that assert this new behaviour?
If not I'm afraid that we should add one, especially in the case-q and-v is provided.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
29a623a to924bbb8Compare924bbb8 toc9122ebCompareBecause it has a better error message than the cobra-provided one: Can't use the following flags together: --quiet, --verboseInstead of: Error: if any flags in the group [quiet verbose] are set none of the others can be; [quiet verbose] were all set
cmaglie commentedJan 23, 2025
I've added the tests and they helped me to finally spot where the infamous |
Uh oh!
There was an error while loading.Please reload this page.
alessio-perugini commentedJan 23, 2025
Also tested on my machine (linux) works 🥳 |
92fae9c intoarduino:masterUh oh!
There was an error while loading.Please reload this page.
seife commentedJun 11, 2025
Is there an option to get the old behaviour (quiet compilation, but library list at the end) back? The only difference between "no argument" and "-q" is that "-q" also suppresses the message |
Uh oh!
There was an error while loading.Please reload this page.
Please check if the PR fulfills these requirements
Seehow to contribute
before creating one)
our contributing guidelines
UPGRADING.mdhas been updated with a migration guide (for breaking changes)configuration.schema.jsonupdated if new parameters are added.What kind of change does this PR introduce?
--quietflag is specified and the compile has no errors.--verboseor--quietflags have been provided.-qshortcut to the--quietflagarduino-cli compilearduino-cli compile -varduino-cli compile -qWhat is the current behavior?
What is the new behavior?
Does this PR introduce a breaking change, and istitled accordingly?
Other information
Fix#2796
Fix#2510