Commit Graph

5 Commits

Author SHA1 Message Date
Ahmed Ibrahim
feffa481bd Fix app-server integration expectations
Seed approval inheritance coverage with a real persisted turn and align compaction coverage with the pinned runtime's model request path.

Co-authored-by: Codex <noreply@openai.com>
2026-05-10 14:08:19 +03:00
Ahmed Ibrahim
5d0ba5a0be Port SDK behavior tests to app-server harness
Move result extraction, stream_text, approval inheritance, model list, and compact coverage onto the pinned app-server integration harness so the remaining unit tests stay focused on generated models and transport internals.

Co-authored-by: Codex <noreply@openai.com>
2026-05-10 14:04:55 +03:00
Ahmed Ibrahim
a248323b7d Relax mock integration assertions
Assert the stable parts of the pinned app-server behavior: the user prompt appears as the final user input, approval overrides update the stored policy, and thread lifecycle coverage does not depend on thread/list indexing.

Co-authored-by: Codex <noreply@openai.com>
2026-05-10 13:40:17 +03:00
Ahmed Ibrahim
ebf625c43d Stabilize app-server integration expectations
Make the new Python SDK integration tests assert stable app-server behavior: filter run result items to agent messages, accept either ordering for concurrent mock Responses requests, and avoid lifecycle operations that require a persisted rollout before one exists.

Co-authored-by: Codex <noreply@openai.com>
2026-05-10 13:37:25 +03:00
Ahmed Ibrahim
cad4bbdd64 Add Python SDK mock app-server integration tests
Build deterministic Python SDK integration coverage around the pinned app-server runtime and a local mock Responses server. Port behavioral coverage off direct SDK monkeypatches where the real app-server boundary is more useful.

Co-authored-by: Codex <noreply@openai.com>
2026-05-10 13:32:31 +03:00