Skip to content

ci: run demos with only SDK runtime dependencies - #4320

Merged
marcuswood-oai merged 1 commit into
mainfrom
codex/examples-runtime-deps
Nov 23, 2026
Merged

marcuswood-oai merged 1 commit into
mainfrom
codex/examples-runtime-deps

Conversation

@marcuswood-oai

Copy link
Copy Markdown
Contributor

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.

@marcuswood-oai
marcuswood-oai requested a review from a team as a code owner November 23, 2026 20:58
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T20:59:48.560575Z 1a4345a PR opened
🔒 Security Review ✅ Completed 2026-11-23T21:00:07.684563Z 1a4345a PR opened
ℹ️ 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.

@markstuart-oai markstuart-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@jbeckwith-oai jbeckwith-oai left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@marcuswood-oai
marcuswood-oai added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 3326749 Nov 23, 2026
26 checks passed
@marcuswood-oai
marcuswood-oai deleted the codex/examples-runtime-deps branch November 23, 2026 21:08
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.

3 participants