Skip to content

CI: classify issues by type and package from plain words - #297

Merged
tae898 merged 3 commits into
mainfrom
ci/classify-type-labels
Nov 6, 2026
Merged

tae898 merged 3 commits into
mainfrom
ci/classify-type-labels

Conversation

@tae898

@tae898 tae898 commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

Issues opened with gh issue create or by hand get no labels and no milestone from classify-issue.yml: it only reads the bug form's Package dropdown and four topic words, so #295 and #270 stayed bare, and Roberto and I label by hand.

This extends the same keyword table, no model call, only labels that already exist, only added, never removed. One issue may get several labels:

  • bug, documentation, enhancement: words in the title only (a body mentions "error" or "example" too often to say what the issue is).
  • python: python, wheel, pip, uv add, import arcadedb, pytest, JPype in the title or body.
  • github_actions: CI, workflow, GitHub Actions, runner in the title or body.
  • jvm, native: when the dropdown is absent, a title that names a package decides alone; otherwise arcadedb-jvm, JPype, JVM build, native build in the body.
  • dependencies is left to Dependabot.
  • Milestone: a newly opened issue with none gets the open milestone with the earliest due date (ties: the lower number), as assign-milestone.yml selects it; no open milestone sets nothing, an existing milestone is never replaced. The workflow_dispatch dry run logs the milestone it would set.

Bot-opened issues are still skipped, and the dry run path is unchanged. The header comment documents each group. pre-commit (including actionlint) passes on the file.

Proof without touching any issue: I dispatched the workflow in dry-run mode on this branch (head 7bfc82e) and copied the lines from the run logs.

Issue Labels the rules choose Milestone
#295 bug, github_actions, native, python already in 26.12.1
#270 github_actions, python already in 26.12.1
#288 native, python, vector already in 26.12.1
#290 enhancement, jvm, native, python already in 26.12.1
#267 concurrency, documentation, jvm, performance, python, vector already in 26.12.1
#255 github_actions, jvm, performance, python already in 26.11.1
#247 documentation, jvm would be 26.12.1
#245 native, python, vector would be 26.12.1

Body words are a guess, so a wrong label is fixed by hand like any label (#255 shows it: the body-wide words add jvm and performance). The opened path itself can only be seen on the next new issue.

🤖 Generated with Claude Code

tae898 and others added 3 commits November 7, 2026 02:22
Issues opened with gh issue create or by hand had no dropdown and got no
labels. Add bug, documentation, enhancement (title words), python,
github_actions, and jvm/native from plain words. Only existing labels,
only added.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Same selection as assign-milestone.yml; never replaces an existing milestone;
a dry run logs it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@tae898
tae898 merged commit ef84b2c into main Nov 6, 2026
39 checks passed
@tae898
tae898 deleted the ci/classify-type-labels branch November 6, 2026 18:37
@github-actions github-actions Bot added this to the 26.12.1 milestone Nov 6, 2026
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.

1 participant