Skip to content

Add Codex review workflows#3

Merged
JessyTsui merged 1 commit intomainfrom
add-codex-review-workflows
Apr 7, 2026
Merged

Add Codex review workflows#3
JessyTsui merged 1 commit intomainfrom
add-codex-review-workflows

Conversation

@JessyTsui
Copy link
Copy Markdown
Contributor

Add auto and manual Codex review workflows, mirroring cerul-ai/cerul.

- 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]>
@JessyTsui JessyTsui merged commit 5365194 into main Apr 7, 2026
@JessyTsui JessyTsui deleted the add-codex-review-workflows branch April 7, 2026 22:47
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines +32 to +36
const comments = await github.rest.issues.listComments({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: prNumber,
per_page: 100
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

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