openai-agents-python/.github/scripts/run-asyncio-teardown-stability.sh
Mark Stuart ed46710468
refactor: consolidate Codex runtime ownership (#5548)
* refactor: consolidate Codex runtime ownership

* fix: preserve annotations and test imports after runtime move

* fix: adapt new SDK entrypoints to consolidated runtime

---------

Co-authored-by: markstuart-oai <323302876+markstuart-oai@users.noreply.github.com>
2026-11-05 18:53:47 -08:00

17 lines
468 B
Bash

#!/usr/bin/env bash
set -euo pipefail
repeat_count="${1:-5}"
stability_args=(
packages/codex/tests/test_asyncio_progress.py
packages/codex/tests/test_run_step_execution.py
-k
# Match the whole progress module as well as cancellation and post-invoke cases.
"test_asyncio_progress or cancel or post_invoke"
)
for run in $(seq 1 "$repeat_count"); do
echo "Async teardown stability run ${run}/${repeat_count}"
uv run pytest -q "${stability_args[@]}"
done