Skip to content

Fix backfill-dedupe pagination: replace gh issue list with gh api#132

Merged
BukeLy merged 1 commit into
mainfrom
fix/backfill-dedupe-pagination
Mar 2, 2026
Merged

Fix backfill-dedupe pagination: replace gh issue list with gh api#132
BukeLy merged 1 commit into
mainfrom
fix/backfill-dedupe-pagination

Conversation

@BukeLy
Copy link
Copy Markdown
Collaborator

@BukeLy BukeLy commented Mar 2, 2026

Summary

  • gh issue list does not support --page flag, causing backfill workflow to fail
  • Replaced with gh api which supports standard per_page/page query parameters
  • Uses temp file to avoid shell variable issues with control characters in issue bodies
  • Tested locally: pagination logic and jq filtering work correctly

Test plan

  • Merge and trigger backfill-dedupe workflow with days_back=1
  • Verify workflow completes successfully

gh issue list does not support --page flag. Switch to gh api with
temp file to handle JSON containing control characters in issue bodies.
@BukeLy BukeLy force-pushed the fix/backfill-dedupe-pagination branch from e67ea38 to 3d41a73 Compare March 2, 2026 10:30
@BukeLy BukeLy merged commit f7d6f62 into main Mar 2, 2026
@BukeLy BukeLy deleted the fix/backfill-dedupe-pagination branch March 2, 2026 10:31
suulkyy pushed a commit to suulkyy/PageIndex that referenced this pull request May 8, 2026
…agination

Fix backfill-dedupe pagination: replace gh issue list with gh api
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