fix(routing): safely route verified legal sidecars#1671
Conversation
|
@codex review |
Performance BenchmarksCompared
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 699b75fc69
ℹ️ 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".
|
Independent exact-head review of
Required direction: preserve fail-closed handling for arbitrary syntactically valid pickle globals before any basename text fallback; replace the broad pickle-text heuristic with structural pickle proof; require the same bounded UTF-8/control validation for basename-owned text. Add direct and nested-archive regressions for all three classes. Focused tests were |
|
@codex review Updated head
Review-fix validation:
Broad rerun note: |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4fd6ca2754
ℹ️ 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".
|
@codex review Updated head
Validation on
Broad rerun note: |
|
Codex Review: Didn't find any major issues. Chef's kiss. ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
Updated for the remaining review blockers and pushed commit Changes since the last review:
Validation:
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
Pushed follow-up commit Root cause: the new pinned phi-4 streaming regression wrote Validation after this follow-up:
@codex review |
|
Codex Review: Didn't find any major issues. What shall we delve into next? ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
Exact-head update for 7697c64. Implemented an additive hardening commit for the remaining review blockers:
Validation on this exact head:
Pinned real-model QA without model weights:
@codex review |
|
Codex Review: Didn't find any major issues. Nice work! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
Fleet sequencing note: keep the goal active and continue the full review, simplification, conflict resolution, validation, title/body cleanup, and exact-head CI work. Please hold only the final merge until Nightly repair PR #1679 reports MERGED. Immediately afterward, fetch the new |
|
Fleet release: Nightly repair PR #1679 is MERGED as |
|
Exact-head takeover update for
The PR title/body now describe the current scope and fail-closed residual behavior. Exact-head GitHub checks are running. @codex review |
|
@codex review |
|
@codex review |
|
Codex Review: Didn't find any major issues. 👍 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 39564c1367
ℹ️ 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".
|
@codex review |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
Exact-head closeout update: |
|
@mldangelo Exact-head CI is green, Codex exact-head review is clean, and auto-merge (non-bypass squash; merge commits are disabled by repo policy) is armed. Please provide the required codeowner approval for |
|
@codex review Exact head
Independent exact-head review found no P0-P3 findings and no open P0/P1. Validation includes 243 focused routing tests, 12 additive regressions, 206 independent routing controls, 14 CLI controls, a 432-payload state/budget matrix, and a broader changed-surface run of 3802 passed / 62 skipped. Ruff, mypy, formatting, and diff checks are clean. |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Summary
LICENSE/NOTICEsidecars through one bounded pickle tokenization path before text scanning.pickle_routing_inconclusivewhen a bounded parsed side effect can occur before parse failure/EOF.Exact-head repair
Published additively on
965e46eef8ee9066b925d420ae911c1c63437814, after mergingmain@dd3558d096dce7c7cb7452afc821647d88f52ddcwithout rebase/force-push.This repair replaces terminal protocol-0 PERSID prose spelling decisions with parsed pickle grammar: any P-leading line that reaches
persistent_loadbefore EOF exits 2 and stays non-cacheable. The audit lock constrains aiohttp and cryptography to current published vulnerability fixes; dependency audit installs audited requirements from PyPI so the published cryptography fix is enforced instead of suppressed. The same bounded path now retains GLOBAL operands with whitespace, short hexNEXT_BUFFER+STOP(972e), and blank/whitespace-split base64/hex candidates. Tests use shared parameterized malicious/benign matrices; legal controls that are intentionally text no longer use protocol-shaped P-leading fixture prose.Security bounds
pickle.Unpicklerreachesfind_class('posix', 'open ')forcposix\nopen \nA,persistent_load('id')forPid\n, and consumes one out-of-band buffer for hex972ebefore return/failure.Validation
86 passed; focused filetype/bounds matrix:110 passed.No known vulnerabilities foundwith only unfixed PygmentsCVE-2026-4539ignored.21856 passed, 788 skipped.0.