Skip to content

ci: allow acronyms in commit subjects - #150

Merged
vovinacci merged 1 commit into
mainfrom
ci/commitlint-acronyms
Jul 13, 2026
Merged

ci: allow acronyms in commit subjects#150
vovinacci merged 1 commit into
mainfrom
ci/commitlint-acronyms

Conversation

@vovinacci

Copy link
Copy Markdown
Owner

Why

The PR title gate rejected #147 (fix(observability): SLO coherence -- rules, scrapes, retention, dashboard): commitlint's subject-case heuristic reads a leading acronym as sentence-case. Acronym-led subjects are normal in this repo (SLO, API, CI, ADR).

Change model

  • Affected components: commitlint.config.mjs -- subject-case disabled; all other conventional-commit rules (type, scope, empty-subject, header length) stay enforced.
  • Hard rules touched (by number, see AGENTS.md): 3 -- Conventional Commits remain enforced; this tunes one stylistic sub-rule.
  • Assumptions: verified locally -- the rejected fix(observability): SLO coherence -- rules, scrapes, retention, dashboard #147 title passes, a non-conventional garbage title still fails.
  • Plan: one-line rule override, single commit.

Checklist

  • make ci green locally
  • Tests, docs, and dashboards ship with this change (n/a -- lint config)
  • Mechanical and logic changes are not mixed in this PR

🤖 Generated with Claude Code

The subject-case rule read 'fix(observability): SLO coherence ...' as
sentence-case and failed the PR title gate (#147). Subjects here start
with acronyms routinely (SLO, API, CI, ADR); the rule is disabled --
type, scope, and the remaining conventional-commit structure stay
enforced. Verified: the rejected title passes, garbage still fails.
@vovinacci
vovinacci merged commit cdcc18d into main Jul 13, 2026
3 checks passed
@vovinacci
vovinacci deleted the ci/commitlint-acronyms branch July 13, 2026 06:50
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