Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/test-agent/src/SessionConfiguration.test.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</Test>
</TestAgent>

<Test name="sibling nested Executions have independent catalogs">
<Test name="sibling nested Executions have independent catalogs" timeout="60s">

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking observation: the next-tightest bound on this fixture is now the consumer's 120-second CLI process budget, not a Test budget.

Consequence: the Node consumer at packages/test-agent/tests/session-configuration.test.ts runs this whole document once through the CLI under RUN = { timeout: 120_000 }. On the Linux runner that subtest measured 90.7 s, 93.5 s and 93.9 s across the three recent test-node (5/10) jobs (runs 40382163496, 40372864525, 40382259777), so about 26 s of headroom remains. If worker startup cost grows further, that bound trips before any Test budget and reports as a CLI exit code rather than a named Test, which is a worse diagnostic than the one #994 produced.

Evidence: the duration_ms of runs configured Sessions and nested declarations through the source CLI and ACPX worker in each job log linked above. Related: packages/test-agent/tests/session-configuration.test.ts is still unmeasured in test-weights.json and is charged the heaviest recorded Node weight (176 s) while it actually ran 223 s in run 40382259777; the shard log says so on its first lines.

Recommendation: no change in this PR. If the CLI bound trips, raise that consumer's RUN.timeout or split the CLI pass; do not raise the 20-second <Test> default. The next measure-test-weights run records this file's real weight.

<Execution host="run" source={'<Agent name="reviewer"><Session name="defaults"><Prompt>defaults</Prompt></Session><Session name="defaults" model="fixture-small" effort="high"><Prompt>changed</Prompt></Session></Agent>'} as="first">
<TestAgent agent="reviewer"><TestAgent.Scenario session="defaults" src="./SessionConfiguration.defaults.md" models={catalog} /></TestAgent>
<AssertEquals actual={first.result.ok} expected={true} />
Expand Down
Loading