The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(ci): the CI replay names a silent step's exit code
teknium1effe2ffa14c6
diff --git a/tests/ci/workflow_steps.py b/tests/ci/workflow_steps.pyindex faa2c57e6a8..b46e554ade8 100644--- a/tests/ci/workflow_steps.py+++ b/tests/ci/workflow_steps.py@@ -81,7 +81,12 @@ def _run(step: dict, ctx: dict, cwd: Path | None = None, *, receipt: bool = Falscwd=cwd or root, env=env, stdin=subprocess.DEVNULL,capture_output=True, text=True, timeout=30,)- assert result.returncode == 0, result.stdout + result.stderr+ # workflow_steps is not a test module, so pytest does not rewrite this assert: the+ # message is all a CI failure shows. A child that dies without a word (a Windows+ # NTSTATUS exit, a process killed from outside) must still name its exit code.+ assert result.returncode == 0, (+ f"replayed step exited {result.returncode} (0x{result.returncode & 0xFFFFFFFF:08X}) "+ f"under {bash}\n--- stdout ---\n{result.stdout}--- stderr ---\n{result.stderr}")return (dict(line.split("=", 1) for line in output.read_text(encoding="utf-8-sig").splitlines()),[json.loads(line) for line in calls.read_text(encoding="utf-8-sig").splitlines()])