Conversation
- auto-codex-review.yml: auto-request @codex review on PR open/sync, with per-commit dedup - codex-review.yml: workflow_dispatch to manually trigger Codex review Mirrors cerul-ai/cerul. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 32e619b5b6
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| const comments = await github.rest.issues.listComments({ | ||
| owner: context.repo.owner, | ||
| repo: context.repo.repo, | ||
| issue_number: prNumber, | ||
| per_page: 100 |
There was a problem hiding this comment.
Paginate comment lookup before deduplicating requests
The deduplication check only inspects the first page of issue comments (per_page: 100) and never follows pagination, so on PRs with more than 100 comments it can miss existing @codex review plz comments for the same commit and post duplicate requests on every trigger. This creates repeated bot noise on long-running/high-traffic PRs; iterate through all pages (or query newest comments first with pagination) before deciding no matching request exists.
Useful? React with 👍 / 👎.
Add auto and manual Codex review workflows, mirroring cerul-ai/cerul.