Skip to content

task: clarify backport label and issue type guidance in AGENTS.md - #55277

Merged
ahus1 merged 1 commit into
keycloak:mainfrom
shawkins:agents-md-backport-labels
Nov 18, 2026
Merged

ahus1 merged 1 commit into
keycloak:mainfrom
shawkins:agents-md-backport-labels

Conversation

@shawkins

Copy link
Copy Markdown
Contributor

Closes #55276

Backport labels are restricted to flaky test and flaky CI job issues because those reference a CI failure on specific versions, so the versions to fix are known at creation. For other issues the labels depend on the scope of the fix and its regression risk, which is only understood later.

The type field of the issue templates is not applied by the GitHub CLI or API, so agents are told to set it explicitly. I did not claim a consequence of a missing type, as nothing in the repository documents one.

This change was drafted with the help of an AI agent (Bob), and I reviewed it.

Closes keycloak#55276

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are recorded for the clarification of issue-creation guidance in AGENTS.md.

No open issues 🎉

What changed in this PR

Clarifies issue-creation guidance in AGENTS.md, addressing #55276 without changing application behavior.

Changes:

  • Restricts backport labeling at issue creation to flaky test and flaky CI job issues, explaining why other issues require later assessment.
  • Instructs agents to set the template’s issue type explicitly when using the GitHub CLI or API.
File Description
AGENTS.md Clarifies backport label scope and explicit issue-type selection.

Review effort: Balanced

@shawkins
shawkins marked this pull request as ready for review November 17, 2026 17:51
@shawkins
shawkins requested a review from a team as a code owner November 17, 2026 17:51
@shawkins
shawkins requested a review from ahus1 November 17, 2026 19:00
@ahus1
ahus1 merged commit 37bae3e into keycloak:main Nov 18, 2026
71 checks passed
@ahus1

ahus1 commented Nov 18, 2026

Copy link
Copy Markdown
Member

Agreed, thanks for these changes. BTW, I hope I'll find the time for the GitHub bot to add labels automatically, as people with non-write-access can't set labels. See keycloak/keycloak-github-bot#85

Once that's in, I want to also have the bot add the types if people forget.

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.

Clarify backport label and issue type guidance in AGENTS.md

3 participants