Skip to content

fix(roadmap): intake derives type and scope labels from the title - #2720

Merged
dan-petty merged 2 commits into
mainfrom
fix/2715-title-labels
Oct 30, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/2715-title-labels

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

What

The Conventional Commit title of an issue is now the only source of its type/* and scope/* labels. fix(security): ... gets type/bug and scope/security.

  • Intake maps the type of the title to a label with CONST_ROADMAP_COMMIT_TYPE_LABELS. The model picks a type only for a title with no Conventional Commit type.
  • Intake gives the scope/<scope> label when .github/labels.yml declares it. A scope with no declared label gets no label, and the reason comment names the label to add.
  • A type/* or scope/* label that the issue already holds stays.
  • .github/labels.yml declares type/epic and nine more scopes.
  • commit_type moves to roadmap/commit_title.py, with the new commit_scope.

Why

The model chose the type from the issue text, so it disagreed with the title (fix(rag) got type/security). Intake never set a scope, so the triage audit flagged about 200 open issues.

After the merge, an agent relabels the open issues and removes the unused labels type/fix and type/release. That is data, not code.

Closes #2715

)

The Conventional Commit title is the only source of an item's type and scope labels. The model picks a type only for a title with no type. A scope that .github/labels.yml does not declare gets no label, and the reason comment names the label to add.
@dan-petty
dan-petty marked this pull request as ready for review October 30, 2026 00:21
@dan-petty
dan-petty merged commit 5278c53 into main Oct 30, 2026
18 checks passed
@dan-petty
dan-petty deleted the fix/2715-title-labels branch October 30, 2026 00:21
dan-petty pushed a commit that referenced this pull request Oct 30, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.21.1](v0.21.0...v0.21.1)
(2026-10-30)


### Bug Fixes

* **roadmap:** intake derives type and scope labels from the title
([#2720](#2720))
([5278c53](5278c53)),
closes [#2715](#2715)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
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.

fix(roadmap): intake derives type and scope labels from the issue title

1 participant