Skip to content

Omit unused exclude-newer-package entries from script locks - #21589

Merged
zanieb merged 1 commit into
mainfrom
zb/missing-exclude-newer-package-lock
Sep 10, 2026
Merged

zanieb merged 1 commit into
mainfrom
zb/missing-exclude-newer-package-lock

Conversation

@astral-automations-bot

Copy link
Copy Markdown
Contributor

Workspace-level exclude-newer-package settings appear in script lockfiles even when the scripts do not depend on those packages. Enable missing-exclude-newer-package-lock and regenerate the workspace script lockfiles so they retain only relevant package-specific cutoffs.

@zanieb
zanieb merged commit d87450d into main Sep 10, 2026
111 of 112 checks passed
@zanieb
zanieb deleted the zb/missing-exclude-newer-package-lock branch September 10, 2026 16:35
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

1 failed deployment
automations — c1a431f1 Deployed Sep 10, 2026 by astral-automations-bot[bot] via review / security review #46323
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants