Conversation
Summary of ChangesHello @davereid, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses an issue where build logs were excessively verbose due to the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request removes the --verbose flag from the drush core:cron command. This is a positive change that effectively reduces log verbosity during builds, addressing the issue described. The change also brings the core:cron command's output level in line with other drush commands within the same update task, improving consistency.
In response to your question about alternatives, removing --verbose is the ideal approach. It reverts to Drush's default output level, which provides a good balance of information—showing errors and warnings without the excessive detail of verbose mode. For even less output, you could use --quiet (-q), but that might hide useful information. The current change is a solid compromise.
|
If I remember right, the problem is that without verbose you don't get drupal log messages. That often means you end up with cron hooks failing, but no obvious notes in the output. |
|
Yeah, it's too bad that the first level of verbose adds all the bootstrap information when I feel like that's more of a |
|
What if we extended drush to have a |
|
Hey folks, is this something we still would like in? Does it require extra work, or is it ready as is? |
|
I have a preference for verbose, but could we make that configurable to allow each project to make their own determination if they want that or note? |
|
Let's see about contributing an improvement to Drush for this. @rabbitlair will check for existing issues and pull requests and see what we can do here. |
|
I created a pull request for Drush to implement the |
|
Moving to 'needs review' to reflect the fact that we're waiting for Drupal maintainer feedback. |
My logs for builds (on a site that deploys multiple sites in parallel) are often filled with a lot of Drush verbose output on cron:
Maybe there's an alternate command we could use that could compromise in the amount of debugging shown?