Skip to content

🐛 fix(release): stop combining gh --slurp with --jq - #142

Merged
konih merged 1 commit into
mainfrom
fix/relse-eligibility-gh-slurp
Jul 30, 2026
Merged

konih merged 1 commit into
mainfrom
fix/relse-eligibility-gh-slurp

Conversation

@konih

@konih konih commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • verify-eligibility.sh used gh api --paginate --slurp … --jq …, which current Actions gh rejects.
  • That failed release-gate after 🔖 chore(release): prepare v0.10.0 #140 landed — no tag pushed.
  • Fetch pages with --slurp, flatten with a separate jq pass. Fixture mock enforces the ban.

Test plan

  • bash hack/release/test-verify-eligibility.sh
  • Live: GITHUB_REPOSITORY=PlatformRelay/Kollect bash hack/release/verify-eligibility.sh 0b9ce0e8b… → pass
  • After merge: re-run release-gate.yaml on that SHA → tag v0.10.0

gh CLI ≥2.x rejects --paginate --slurp together with --jq, which broke
release-gate on main. Fetch check-run pages with --slurp, then flatten
with a separate jq pass. Fixture mock mirrors the ban.
@konih
konih merged commit b5bcb4b into main Jul 30, 2026
27 checks passed
@konih
konih deleted the fix/relse-eligibility-gh-slurp branch July 30, 2026 22:36
@codecov

codecov Bot commented Jul 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@sonarqubecloud

Copy link
Copy Markdown

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