Repository navigation
Reduce PR security review reporting work - #21528
Merged
Merged
Conversation
zanieb
reviewed
Sep 7, 2026
Comment on lines
-81
to
+124
| uses: openai/codex-action@52fe01ec70a42f454c9d2ebd47598f9fd6893d56 # v1.11 | ||
| uses: openai/codex-action@c385816875cc2fc8e033ed9d1cba96f8c331210e # v1.11 + GitHub API retry |
Member
Author
There was a problem hiding this comment.
Yeah, see the PR description. I'm not happy
zanieb
reviewed
Sep 7, 2026
zanieb
reviewed
Sep 7, 2026
zsol
force-pushed
the
zsol/reduce-pr-security-review-overhead
branch
2 times, most recently
from
September 8, 2026 16:21
3c4013c to
caf0d65
Compare
zanieb
approved these changes
Sep 10, 2026
zanieb
left a comment
Member
There was a problem hiding this comment.
I am sort of wary of how many things are happening here but 🤷♀️
Member
Author
|
If you want more PRs to review, just say the word! :) |
zsol
force-pushed
the
zsol/reduce-pr-security-review-overhead
branch
from
September 10, 2026 14:41
caf0d65 to
24b580d
Compare
Member
|
I do prefer when I can pick and choose which pull requests to review, rather than having one that I must review because it is solving an important problem but includes a bunch of other things :) |
zsol
added a commit
that referenced
this pull request
Sep 10, 2026
Increase the PR security review's `codex-action` reasoning effort from `high` to `xhigh`. Stacked on #21528.
zsol
added a commit
that referenced
this pull request
Sep 10, 2026
## Summary After #21528, older PR branches can run the new security-review workflow with an old prompt and output schema. Codex returns only `findings`, and the new `reviewed_paths` check fails, as it did on #21589. Save the review configuration from the workflow revision into a temporary place (`$REVIEW_CONFIG`) before checking out the PR head. Use that copy for the prompt, schema, threat models, installer, Codex settings, and session upload. This also means relocating `$CODEX_HOME` into the temporary `$REVIEW_CONFIG`. ## Test plan (on top of CI) - Replayed the workflow steps with #21589’s original 27 changed files. Confirmed the original failure, successful complete coverage, and rejection of missing coverage. - Checked that missing and empty installer arguments fail before setup.
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The PR security review can reach its 30-minute limit after validating findings but before returning the JSON consumed by CI. Codex Security v0.1.11 requires vulnerability writeups and a hardening pass that this job does not use. Update to v0.1.22, where those reports are request-only, and bump Codex CLI to 0.153.4. The updated plugin’s default inventory filters paths such as
.githuband PowerShell files, so collect the exact PR diff and complete path list and fail the review unlessreviewed_pathsmatches every changed path.Also pin
codex-actionto the revision with GitHub API permission-check retries, but before the v1.12 Linuxdrop-sudochange as that introduces a serious issue tracked in openai/codex-action#160.The review often builds and runs custom test harnesses to validate findings. Move it to
depot-ubuntu-24.04-16, the runner used by Linux tests, and enable user namespaces there for the Codex sandbox.