Skip to content

fix: use GraphQL reviewThreads for /codex address comments#18

Merged
gersmann merged 1 commit intomainfrom
fix/address-comments-graphql-fallback
Feb 12, 2026
Merged

fix: use GraphQL reviewThreads for /codex address comments#18
gersmann merged 1 commit intomainfrom
fix/address-comments-graphql-fallback

Conversation

@gersmann
Copy link
Owner

@gersmann gersmann commented Feb 12, 2026

Summary

  • replace unresolved-thread retrieval from REST /pulls/{n}/threads with GraphQL reviewThreads
  • paginate review threads and normalize comment fields for existing prompt formatting
  • soft-fallback when thread retrieval fails: warn and continue act execution without unresolved-thread context

Testing

  • pytest tests/test_address_comments.py -q
  • make lint

@github-actions
Copy link
Contributor

Codex Autonomous Review:

  • Overall: patch is correct
  • Findings (total): 0

Switch to GraphQL reviewThreads with pagination and tolerant edit workflow succeeded; updated tests match behavior. No correctness issues observed in the touched areas.

Tip: comment with "/codex address comments" to attempt automated fixes for unresolved review threads.

@gersmann gersmann merged commit 9503a5b into main Feb 12, 2026
4 checks passed
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