Repository navigation
Omit unused exclude-newer-package entries from script locks - #21589
Merged
Merged
Conversation
zsol
approved these changes
Sep 10, 2026
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 had an error being 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.
Workspace-level
exclude-newer-packagesettings appear in script lockfiles even when the scripts do not depend on those packages. Enablemissing-exclude-newer-package-lockand regenerate the workspace script lockfiles so they retain only relevant package-specific cutoffs.