Repository navigation
ci: run demos with only SDK runtime dependencies - #4320
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
markstuart-oai
left a comment
There was a problem hiding this comment.
The examples job now installs the locked runtime dependencies and uses the same prepared interpreter for both demos. Both demos use SDK runtime imports, and the trusted-main trigger and secret scope remain in place. I reviewed the workflow statically.
codex://threads/01a1c7cc-3ae0-7900-8710-5a1fbeb062d5
There was a problem hiding this comment.
Approved after static review and independent review. The demo job now installs the locked runtime dependencies without default development groups or optional extras, and invokes the installed virtualenv Python directly so uv run cannot resync the excluded groups. Both demos use only standard-library and SDK runtime imports. Runner selection and secret/event gating are unchanged.
Hosted CI: 15 checks passed, nine skipped, two still running. The demo job runs on main pushes and is skipped on this PR, so its new dependency configuration has not been exercised by that hosted job yet. No candidate code or local tests executed.
Hosted CI update (2026-11-23): 17 checks passed and nine skipped. The examples job remains push-to-main only, so these results do not establish that the runtime-only demo job has executed. No local tests were run.
Changes being requested
Install only the locked SDK runtime dependencies for the examples job. Run both demos directly with the prepared Python interpreter so the demo steps do not sync any additional packages.
Additional context & links
Verified both demos against a local mock API using Python 3.10 and the CI-pinned uv version. All four requests passed. Focused workflow tests passed (11 passed, 1 skipped). The live examples job runs only on pushes to main.