Repository navigation
feat(github): add quiet dashboard mode and enable it for frontend - #202
MindFreeze wants to merge 1 commit into
Conversation
|
Hmm, I kind of get the motivation, but looking at some frontend PRs, copilot is already way more spammy. The dashboard is created a few seconds after posting, so it isn't all that intrusive IMO. This also makes a fundamental change to the engine for a use case that's already partly covered - |
|
But Copilot reviews the PRs. That's real work, not spam. |
|
The bot also does real work - compareable to a copilot comment which says 'everythings's good' (look at home-assistant/frontend#56320 for example). But yea, I think the conclusion here is that both bots need to do better... On another note, the dashboard is not only information for the contributor, we also store state in there helping us to reduce API calls (that would prevent us from making it quiet in e.g. core) and rules can make use of the state to make the bot 'smarter' (by detecting manual overrides for example). So making it quiet is a loss in functionality. But I am open to ideas to make the bot better - so don't take this as me being opposed to change. I'm just trying to find a good solution. What would you say to hiding the comment as resolved when all rules pass for example? It would look like this: home-assistant/core#195895 (comment). Would that be an acceptable solution? |
|
The problem is that the comment spams my inbox and makes it unusable. Copilot's comments don't. I assume because they are review comments and are handled separately. |
|
If |
dfd8a01 to
9655b47
Compare
Proposed change
Add a
"quiet"option forRepoConfig.dashboardand enable it forhome-assistant/frontend."quiet"repos, the bot skips posting the PR dashboard comment while all checks pass or skip, and still reports the aggregateha-botcommit status (required by branch rules onhome-assistant/frontend).fail,pending, orwarn) or a template block is visible, the bot posts the dashboard comment and links the commit status to it. Once created, the comment continues updating normally.renderStatusso dashboards with onlypendingchecks still render the## Checkssection.Type of change
Additional information
Checklist
mise run test). Your PR cannot be merged unless tests pass.mise run check).mise run format).If behaviour, configuration, or environment variables changed:
README.mdand.env.examplehave been updated accordingly.