Repository navigation
Description
Summary
Every org label sync since 2026-10-12 has failed. The last run ended with Changed: 0, Clean: 0, Skipped: 102, Errors: 214: every active repo in the org counts as errored, and none come out clean.
Cause
data/github-labels.json gained release: deps-only in v4.33.0 (0f1667d, from #370). Its description is 124 characters:
Release PR whose pending range only touches devDependencies, lockfiles and CI configuration — held, not offered as a release
GitHub rejects label descriptions over 100 characters (HTTP 422). Pass 2 of .github/actions/github/jobs/sync-org-labels/sync.mjs tries to create the label in every repo, every create fails, and one failed write marks the whole repo as errored, so the job exits 1. It is the only catalog entry that breaks a GitHub label limit (names up to 50 characters, colours as 6 hex digits, descriptions up to 100 characters); all 56 entries were checked.
The first red run was the first one after v4.33.0 shipped; the run a week earlier was green.
Impact
- Other labels still sync: a failed create doesn't stop the loop, so renames, colour and description updates, deletions and other creates are applied.
release: deps-onlyexists in no repo through the sync. The release flow applying it to a PR would auto-create it gray with no description (Labels auto-created gray on first use in a new repo — sync-org-labels can't be scoped to fix just one #263).- The workflow is permanently red, which hides any real failure.
Why it went unnoticed
syncRepo() collects per-repo errors into report.errors and writes them only to $GITHUB_STEP_SUMMARY. The job log shows only Processing: <repo> lines and the final totals, so the 422 is invisible unless someone opens the summary page.
Fix
- Shorten the description to 100 characters or fewer, e.g.
Release PR with only devDependency, lockfile or CI changes — held, not offered as a release(90). - Log each error to the console (
console.error) as well as the step summary, so a red run explains itself. - Check the catalog before touching any repo: fail fast, once, with a clear message, if any entry breaks a GitHub label limit (name length, 6-hex colour, description length, duplicate name or alias across entries).
- Optionally, add the same check as a test or CI lint on
data/github-labels.json, so a bad entry can't reach@v4.
Activity
Shinrai commentedon Nov 1, 2026
The shorter description and the console logging already shipped in v4.34.0 via #398. #412 does the rest: the sync now checks the catalog (name/description length, 6-hex colour, a name or alias owned by two labels) and exits before touching any repo.
data/github-labels.test.mjsuses the same validator.cldmv-bot commentedon Nov 1, 2026
Marked
status: implemented— resolved by #412, merged intonext. This issue closes automatically when that work ships to the default branch.release: v4.35.0 - scope the pre-commit check to staged files through…