Skip to content

fix(release): avoid paginated PR metadata lookup - #716

Merged
syzsunshine219 merged 1 commit into
mainfrom
codex/fix-draft-release-pagination
Oct 22, 2026
Merged

syzsunshine219 merged 1 commit into
mainfrom
codex/fix-draft-release-pagination

Conversation

@syzsunshine219

Copy link
Copy Markdown
Collaborator

Fixes the remaining GitHub Draft Release v2 failure when commit-to-PR metadata is fetched from Actions runners.

The previous retry fix still used gh api --paginate, which continued to produce truncated JSON for some commits on the runner. This change uses a bounded single-page per_page=100 request, while retaining raw JSON validation and the existing fail-closed retries.

Validation

  • npm run test:release-workflow -- --run: 31 tests passed.
  • Shell simulation confirmed valid single-page PR metadata produces PULL_REQUESTS.json.

@syzsunshine219
syzsunshine219 merged commit f8e95ab into main Oct 22, 2026
1 check passed
@syzsunshine219
syzsunshine219 deleted the codex/fix-draft-release-pagination branch October 22, 2026 16:57
@Memtensor-AI

Copy link
Copy Markdown
Collaborator

🤖 Open Code Review

Target: PR #716
Task: d9e249922d47a963
Base: main
Head: codex/fix-draft-release-pagination

✅ OpenCodeReview: Review skipped: no items were selected.

Generated by cloud-assistant via Open Code Review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants