Skip to content

Commit bb9babb

Browse files
committed
Merge main and complete streamed handoff recovery
2 parents d73b8c6 + 588826c commit bb9babb

422 files changed

Lines changed: 53718 additions & 16142 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.agents/skills/code-change-verification/SKILL.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: code-change-verification
3-
description: Run the mandatory verification stack when changes affect runtime code, tests, or build/test behavior in the OpenAI Agents Python repository.
3+
description: Run the required final formatting, lint, type, and test checks after eligible SDK changes pass review.
44
---
55

66
# Code Change Verification
@@ -15,8 +15,8 @@ Ensure work is only marked complete after formatting, linting, type checking, an
1515
2. Codex on macOS/Linux: `/usr/bin/env -u OPENAI_API_KEY OPENAI_AGENTS_TEST_IN_CODEX_SANDBOX=1 UV_DEFAULT_INDEX=https://pypi.org/simple bash .agents/skills/code-change-verification/scripts/run.sh`.
1616
3. Other macOS/Linux environments: `env UV_DEFAULT_INDEX=https://pypi.org/simple bash .agents/skills/code-change-verification/scripts/run.sh`.
1717
4. Windows: `powershell -ExecutionPolicy Bypass -File .agents/skills/code-change-verification/scripts/run.ps1`.
18-
5. The scripts run `make format` first, then run `make lint`, `make typecheck`, and `make tests` in parallel with fail-fast semantics.
19-
6. While the parallel steps are still running, the scripts emit periodic heartbeat updates so you can tell that work is still in progress.
18+
5. On macOS/Linux, the script runs `make format`, `make lint`, `make typecheck`, and `make tests` sequentially and stops at the first failure. Parallelism inside each Make target, including pytest workers, is unchanged.
19+
6. The Bash script streams each command's output directly. The Windows wrapper retains parallel lint, typecheck, and test steps with periodic heartbeat updates.
2020
7. If any command fails, fix the issue, rerun the script, and report the failing output.
2121
8. Confirm completion only when all commands succeed with no remaining issues.
2222

@@ -46,14 +46,14 @@ On Linux, some Python packages with native extensions may require system package
4646
- For a fresh checkout, or if dependencies are not installed or have changed, run `make sync` first to install dev requirements via `uv`.
4747
- Run from the repository root with `make format` first, then `make lint`, `make typecheck`, and `make tests`.
4848
- Do not skip steps; stop and fix issues immediately when a command fails.
49-
- If you run the steps manually, you may parallelize `make lint`, `make typecheck`, and `make tests` after `make format` completes, but you must stop the remaining steps as soon as one fails.
49+
- Run the manual steps sequentially and stop at the first failure. Keep the parallelism provided by each Make target.
5050
- Re-run the full stack after applying fixes so the commands execute in the required order.
5151

5252
## Resources
5353

5454
### scripts/run.sh
5555

56-
- Executes `make format` first, then runs `make lint`, `make typecheck`, and `make tests` in parallel with fail-fast semantics from the repository root. It also emits periodic heartbeat updates while the parallel steps are still running. Prefer this entry point to preserve the required ordering while reducing total runtime.
56+
- Runs `make format`, `make lint`, `make typecheck`, and `make tests` sequentially from the repository root. It streams output, preserves the first failure or cancellation status, and cleans up the active step's process group before continuing or exiting.
5757

5858
### scripts/run.ps1
5959

0 commit comments

Comments
 (0)