Repository navigation
fix(ci): pass ci_checks explicitly to release preflight - #55
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Root cause
The real
v0.2.0dispatch (run 40567872319) failed at preflight step Verify CI checks passed on HEAD withREQUIRED_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_checksis not passed) only recognizes org-infra's own workflow conventions (ci_checks.yml,ci_local.yml,ci_security.yml). This repo's CI lives inci.yml, so discovery found nothing, leftREQUIRED_CHECKSempty, and theprintf '%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:
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 inrelease.ymlstates 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 showsREQUIRED_CHECKS: ["lint","test"]and fails withCheck '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.99andv0.2.0both absent from remote tags). On main post-merge,lintandtestcheck-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
v0.2.0release immediately (first end-to-end run).