[No QA] Add eyes reactions to Codex review workflow#91908
Conversation
Show review-in-progress on the PR description or triggering comment, then remove the reaction when the review finishes. Co-authored-by: Cursor <cursoragent@cursor.com>
Comment with LGTM 👍 when Codex succeeds but returns an empty message. Co-authored-by: Cursor <cursoragent@cursor.com>
|
ok, since Codex review is failing and this runs on |
|
disabled, won't be able to get it passing on this PR though |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: af5c2c4232
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| - name: Add review in progress reaction | ||
| if: steps.gate.outputs.IS_AUTHORIZED == 'true' |
There was a problem hiding this comment.
Make the in-progress reaction non-blocking
When the optional createForIssue/createForIssueComment call fails here (for example due to a transient GitHub API error or secondary rate limit), actions/github-script fails the step and the workflow never reaches the prompt build, Codex run, or feedback posting steps that follow. Since the eyes reaction is only cosmetic, this step should catch/log errors or use continue-on-error so review generation is not blocked.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
I think this is fine. We want the in-progress reaction, and if it fails the workflow should end.
Julesssss
left a comment
There was a problem hiding this comment.
Two NAB points:
- Now the emojis will be shared by Codex and Claude reviewers right? Probably not worth using a new token just for that but it is a small negative change
- Why change the machine?
Interesting - would you suggest creating a new GitHub App for the codex reviewer?
To try and fix this error in the workflow:
Claude said that the problem is the blacksmith runners don't support disabling sudo. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
Would be nice to have 2 seperate tokens but it's not a blocker. I think the token we're using for Claude reviewer is just named Botify or something similar so it wasn't exactly clear previously. |
Explanation of Change
Add emoji reactions and comments to the codex review workflow to improve responsiveness.
Fixed Issues
$
Tests
None.
Offline tests
n/a
QA Steps
None.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop