Conversation
Performance BenchmarksCompared Top improvements:
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 85effaabf4
ℹ️ 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".
| if _zip_entry_looks_like_pickle(archive, entry): | ||
| add_entry(entry) |
There was a problem hiding this comment.
Guard hidden-pickle probing against ZIP member read failures
Second-pass discovery probes every non-selected ZIP entry via _zip_entry_looks_like_pickle without exception handling. archive.open(...).read(...) can raise RuntimeError (e.g., encrypted members) or decompression errors, and this path is outside scan_file's handled exceptions (OSError, BadZipFile). A single unreadable non-pickle member can abort scan_file instead of returning a structured report.
Useful? React with 👍 / 👎.
Summary
Validation