Skip to content

chore: improve automated example coverage and local service handling#3297

Merged
seratch merged 1 commit intomainfrom
feat/harden-examples-auto-run
May 9, 2026
Merged

chore: improve automated example coverage and local service handling#3297
seratch merged 1 commit intomainfrom
feat/harden-examples-auto-run

Conversation

@seratch
Copy link
Copy Markdown
Member

@seratch seratch commented May 9, 2026

This pull request improves the reliability and coverage of automated example validation by making examples easier to run in non-interactive Codex workflows, reducing avoidable environment-specific failures, and adding focused local smoke tests for integrations that previously required more manual setup.

The examples runner now supports default optional dependency extras, unbuffered module execution, temporary local Redis startup for the Redis memory example, prerequisite-based Dapr skipping, and clearer guidance to run example batches outside the Codex sandbox when examples need nested sandboxes or local services. This keeps full-suite example runs closer to real usage while avoiding failures caused only by missing local daemons or sandbox restrictions.

It also adds or hardens local verification paths for integration examples: the SSE MCP example can fall back to a bundled local SSE server instead of relying on a remote service, the MCP Manager FastAPI example has a separate smoke test that exercises app/server integration without complicating the app itself, and the Temporal sandbox extension now includes a minimal local SandboxAgent workflow that uses the real model API, defaults to OpenAI tracing, and allows tracing mode selection.

The Daytona USAspending text-to-SQL example is adjusted for automated runs by failing early on missing credentials, emitting clearer progress, using a deterministic auto-mode prompt, avoiding long memory generation during automation, and ignoring generated runtime state. The financial research example prompt and verifier guidance are also updated so automated runs avoid claims about unreleased quarterly results and judge the synthesized demo output appropriately. No released SDK APIs or persisted runtime schemas are changed.

@seratch seratch added this to the 0.17.x milestone May 9, 2026
@github-actions github-actions Bot added the enhancement New feature or request label May 9, 2026
@seratch seratch merged commit 73bc963 into main May 9, 2026
10 checks passed
@seratch seratch deleted the feat/harden-examples-auto-run branch May 9, 2026 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant