Skip to content

feat(github): add quiet dashboard mode and enable it for frontend - #202

Open
MindFreeze wants to merge 1 commit into
OpenHomeFoundation:mainfrom
MindFreeze:quiet-dashboard-frontend
Open

MindFreeze wants to merge 1 commit into
OpenHomeFoundation:mainfrom
MindFreeze:quiet-dashboard-frontend

Conversation

@MindFreeze

@MindFreeze MindFreeze commented Dec 3, 2026 •

Copy link
Copy Markdown

Proposed change

Add a "quiet" option for RepoConfig.dashboard and enable it for home-assistant/frontend.

  • On "quiet" repos, the bot skips posting the PR dashboard comment while all checks pass or skip, and still reports the aggregate ha-bot commit status (required by branch rules on home-assistant/frontend).
  • As soon as any check needs attention (fail, pending, or warn) 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.
  • Also fixes renderStatus so dashboards with only pending checks still render the ## Checks section.

Type of change

  • Dependency upgrade
  • Bugfix
  • New rule or command
  • New repository manifest (enable the bot on another repo)
  • New feature (which adds functionality to an existing engine)
  • Code quality improvement or refactor (incl. tests)

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:

Checklist

  • I understand the code I am submitting and can explain how it works.
  • The code change is tested and works locally.
  • Local tests pass (mise run test). Your PR cannot be merged unless tests pass.
  • Lint and type checks pass (mise run check).
  • The code has been formatted (mise run format).
  • Tests have been added to verify that the new code works.
  • There is no commented out or debug code in this PR.
  • Any generated code has been carefully reviewed for correctness and compliance with project standards.

If behaviour, configuration, or environment variables changed:

  • README.md and .env.example have been updated accordingly.

@MindFreeze
MindFreeze marked this pull request as ready for review December 3, 2026 08:43

@maartenla maartenla left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great new feature!

@justanotherariel

Copy link
Copy Markdown
Member

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 - dashboard: false. Maybe the blockingLabels and belongsTogether rules could be converted such they support the non-dashboard usecase instead if you really don't want a dashboard? Personally, I think we should work on rules to make the dashboard more useful in the frontend repo.

@MindFreeze

Copy link
Copy Markdown
Author

But Copilot reviews the PRs. That's real work, not spam.
The home-assistant bot's comments give us no benefit whatsoever. They are indeed pure spam. All of the frontend team agrees that the bot should stay quiet if there are no problems with the PR. This should be the default imo but I added it as an option because we haven't synced this with all the other repo teams.

@justanotherariel

justanotherariel commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

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?

@MindFreeze

Copy link
Copy Markdown
Author

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.

@MindFreeze

Copy link
Copy Markdown
Author

If blockingLabels works without the dashboard, we can use dashboard: false for frontend instead of this quiet option.

@MindFreeze
MindFreeze force-pushed the quiet-dashboard-frontend branch from dfd8a01 to 9655b47 Compare December 4, 2026 16:14
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.

4 participants