Skip to content

Studio engines: certifi 2026.10.19 in the vLLM and SGLang locks - #15495

Merged
danielhanchen merged 2 commits into
mainfrom
fix/engine-locks-certifi
Oct 27, 2026
Merged

danielhanchen merged 2 commits into
mainfrom
fix/engine-locks-certifi

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

#14887 floored certifi at 2026.10.19 (and pip at 26.2.2) in the Studio venv and Core, because certifi 2026.7.22 still trusts the distrusted emSign ECC Root CA - G3. The isolated engine environments did not get the same floor. All five locks under studio/backend/requirements/engines/ still pinned certifi==2026.7.22:

  • vLLM: cu130, cu130 torch 2.13, ROCm 7.2.3
  • SGLang: cu130, cu130 torch 2.13

engine_install.py syncs those locks with hashes into a separate environment, so a fresh vLLM or SGLang install kept the old CA bundle even with the Studio venv patched. I checked the cacert.pem of each wheel: emSign ECC Root CA - G3 is in 2026.7.22 and not in 2026.10.19.

For each engine:

  • the .in gets the same certifi>=2026.10.19 floor as no-torch-runtime.txt;
  • the .txt lock pins certifi==2026.10.19 with the PyPI hashes;
  • the .compat.json lock_sha256 and certifi size are updated to match the new lock.

The PyPI hashes:

  • wheel 42d35340cc5b9ba78e818ddbff0c5b1c2b779de448a340fd1b989f5fa8670e1b
  • sdist 035c1e85572b141bf1c3a3eff0e33a8eb74917522f2559075ff8d2fea780a1ae

Only the certifi entry changes; nothing else is re-resolved. Every lock_sha256 equals the SHA-256 of its lock file.

tests/studio/install/test_ca_trust_floor.py now also checks every engine .in and .txt lock against the floor. With the extended file, main gives 10 failed and this PR gives all passed. test_managed_engines.py passes (245 passed together with the floor test).

#14887 floored certifi at 2026.10.19 for the Studio venv and Core, but the
isolated engine environments sync their own hashed lock and still pinned
certifi 2026.7.22, which trusts the distrusted emSign ECC Root CA - G3.

Add certifi>=2026.10.19 to every engine .in so a recompile keeps it, and
recompile each lock with --upgrade-package certifi==2026.10.19 (only the
certifi entry changes). Refresh each .compat.json (lock digest and the
certifi wheel size), identical to engine_compat.py output.

The new lock digest marks existing engine environments as needing an
update, so they pick up the new bundle on the next Update.

Tests: every engine lock pins certifi at or above the floor and every
engine .in carries the floor.
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-27T05:15:31.125214Z 1277818 Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: 1277818e86

ℹ️ 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".

@danielhanchen
danielhanchen merged commit e87c20b into main Oct 27, 2026
65 of 75 checks passed
@danielhanchen
danielhanchen deleted the fix/engine-locks-certifi branch October 27, 2026 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant