Skip to content

kubestellar-hive files PRs with titles that fail the Conventional Commits check #939

Description

@castrojo

Problem

The kubestellar-hive app opens PRs titled with a bracketed prefix:

The validate workflow runs a Validate PR title (Conventional Commits) step, which rejects these:

ERROR: PR title does not follow Conventional Commits.

validate is a required status check in the main — merge queue ruleset, so these PRs are born unmergeable. They sit in the queue accumulating red CI until a human notices the failure is about the title rather than the code, and manually runs gh pr edit --title.

Why it's worth fixing at the source

  • The failure is indistinguishable from a real failure in the check rollup — validate is one job with several steps, so a title violation and a genuine test failure both surface as validate: FAILURE. Triage cost is paid on every bot PR.
  • It burns reviewer attention on a mechanical rename that the bot could have gotten right.
  • It contributed to the impression that the PR backlog was full of broken changes when the underlying code was fine.

Fix

Have the bot emit a Conventional Commits title. The [quality] marker maps naturally onto existing types:

Current Suggested
[quality] add BATS regression coverage for theming hook test: add BATS regression coverage for theming hook
[quality] add docs skill validator regression tests test(docs): add check-skill-index regression tests

If the [quality] marker carries meaning for Hive routing, move it to a label or the PR body rather than the title.

Verification

# Reproduce: inspect which validate step failed on a bot PR
gh run view "$(gh pr checks 926 --json name,link \
  --jq '.[]|select(.name=="validate")|.link' | grep -oP '(?<=runs/)\d+')" --log-failed \
  | grep -i "conventional"

Surfaced while triaging the PR backlog. #924 was retitled by hand to unblock it; #926 still has the problem.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    1-triageNew work awaiting human triage.3-clanker-queueWork admitted to the agent-maintained queue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions