Skip to content

fix(ci): pass ci_checks explicitly to release preflight - #55

Merged
jflowers merged 1 commit into
mainfrom
fix/release-workflow-ci-checks
Oct 27, 2026
Merged

jflowers merged 1 commit into
mainfrom
fix/release-workflow-ci-checks

Conversation

@jflowers

Copy link
Copy Markdown
Contributor

Root cause

The real v0.2.0 dispatch (run 40567872319) failed at preflight step Verify CI checks passed on HEAD with REQUIRED_CHECKS: [""] → Check '' not found for commit 34bca97… → "One or more CI checks failed — aborting release". No tag was created.

The org-infra preflight's CI auto-discovery (active when ci_checks is not passed) only recognizes org-infra's own workflow conventions (ci_checks.yml, ci_local.yml, ci_security.yml). This repo's CI lives in ci.yml, so discovery found nothing, left REQUIRED_CHECKS empty, and the printf '%s\n' "" | jq -R . | jq -s -c . pipeline turned the empty array into [""] — verifying a check with an empty name.

Fix

Pass the CI job check-runs explicitly to the preflight call:

ci_checks: '["lint", "test"]'

Names must exactly match the check-run names on the HEAD commit (bare job names lint, test; the verify step is an exact match). Comment in release.yml states the sync obligation if CI job names change. Spec/design/checklist/CHANGELOG artifacts updated to record the explicit-input model.

Verification

Probe dispatch from this branch with tag=v0.1.99 (run 40568510866): preflight now shows REQUIRED_CHECKS: ["lint","test"] and fails with Check 'lint' not found for commit 27d173b… — the input is parsed and used (vs. the old empty-name failure); it fails only because the unmerged branch head has no CI check-runs. No tag was created (v0.1.99 and v0.2.0 both absent from remote tags). On main post-merge, lint and test check-runs exist on the merge commit (push-to-main CI), so the real dispatch passes this step.

Council

Review council dispatched for this change; verdict and findings recorded in the dispatch store. The finalizer step failed with a known environmental validator defect (host-resolved parent model has no variant — systemic to all dispatches this session, not change-caused); the verdict itself was computed and recorded.

Follow-ups

  • After merge: dispatch v0.2.0 release immediately (first end-to-end run).
  • Docs-only follow-up PR (council-exempt) after the release for iteration-6 advisories.

Org-infra check auto-discovery only recognizes its own workflow
conventions (ci_checks.yml, ci_local.yml, ci_security.yml). This
repo's CI is ci.yml, so discovery found nothing and the preflight
verified an empty check name: run 40567872319 failed at 'Verify CI
checks passed on HEAD' with REQUIRED_CHECKS [""] and 'Check '' not
found' (printf on an empty array still emits one empty line).

Pass ci_checks: '["lint", "test"]' explicitly — exactly the
check-run names ci.yml produces on the HEAD commit (bare job names,
no workflow prefix). Recorded in design.md D4 + risk, spec, and
checklist; CHANGELOG Fixed entry extended.
@jflowers jflowers self-assigned this Oct 27, 2026
@jflowers
jflowers merged commit 624f111 into main Oct 27, 2026
4 of 5 checks passed
@jflowers
jflowers deleted the fix/release-workflow-ci-checks branch October 27, 2026 19:42
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