Skip to content

Check the CI gate against check-runs, not the legacy status API - #8

Merged
leggetter merged 1 commit into
mainfrom
fix/release-skill-ci-gate
Aug 12, 2026
Merged

Check the CI gate against check-runs, not the legacy status API#8
leggetter merged 1 commit into
mainfrom
fix/release-skill-ci-gate

Conversation

@garethx

@garethx garethx commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Hit while cutting v0.1.2.

The release skill's CI gate runs:

gh api "repos/hookdeck/hermes-hookdeck/commits/$(git rev-parse origin/main)/status" --jq .state

That endpoint reports the legacy commit Status API. This repo publishes GitHub Checks and records no legacy statuses, so it answers pending regardless of the actual result — with zero statuses, pending is the default. It reported pending for the v0.1.2 release commit while all six checks were completed/success.

A gate that is permanently red either blocks every release or trains you to wave it through. Swapped for check-runs, which answers the question being asked, plus a note on why so nobody swaps it back.

Not packaged — skills/ at the repo root is outside hookdeck/, so this ships nothing and needs no release.

The release checklist's CI gate reads `commits/<sha>/status`, which reports
the legacy commit Status API. This repo publishes GitHub Checks and records no
legacy statuses, so that endpoint answers `pending` no matter what — it
reported `pending` for v0.1.2 while all six checks were green.

A gate that is permanently red is worse than no gate: it either blocks every
release or teaches you to ignore it. Asking for check-runs answers the
question actually being asked.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@leggetter
leggetter merged commit e1b264a into main Aug 12, 2026
7 checks passed
@leggetter
leggetter deleted the fix/release-skill-ci-gate branch August 12, 2026 10:52
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.

2 participants