Repository navigation
Conversation
…tone Adds a beta-milestone rule for core and frontend. On issue open (and on demand) it reads the "What version of Home Assistant Core has the issue?" form field, and when that names a beta build (e.g. core-2026.12.0b2) it sets the matching open release milestone (2026.12.0). Issues that already have a milestone are left alone, and nothing happens when the milestone isn't open. Engine support: a setMilestone effect, Issue.milestone(), and a per-dispatch cached RuleContext.openMilestones() read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SLHDn67HcX8nfhH55Vz6YF
6 of 15 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed change
Issues reported against a beta should land on that release's milestone, so they're tracked for the release. Today that's done by hand, for example on home-assistant/core#195162.
This adds a
beta-milestonerule, registered for core and frontend:@home-assistant update.2026.12.0b2,core-2026.12.0b2), it sets the matching open milestone (2026.12.0).Engine additions:
setMilestoneeffect, applied throughissues.update.Issue.milestone(), seeded from the webhook payload and fetched from the API when the payload lacks it.RuleContext.openMilestones(), which lists the repo's open milestones and caches them for the rest of the webhook event.This is the first step towards posting newly reported beta issues to the Discord beta channel. A follow-up rule will listen to
issues.milestoned, so issues milestoned by hand get posted too.Type of change
Additional information
Open points for review:
YYYY.M.0naming, the rule matches nothing there and does nothing.issues.editedevents yet. A reporter who corrects the version after opening the issue is only picked up by@home-assistant update.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.Generated by Claude Code