Skip to content

Run Full journeys in parallel and trim their runtime - #1345

Merged
rohita5l merged 4 commits into
mainfrom
ci-parallel-full-journeys
Oct 28, 2026
Merged

rohita5l merged 4 commits into
mainfrom
ci-parallel-full-journeys

Conversation

@rohita5l

@rohita5l rohita5l commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Full journeys currently take ~20 min of the ~23 min integration run (e.g. run 40687468164): Codex · Linux (~11 min) then Codex · Windows (~9 min), because a per-agent concurrency: group serializes Linux and Windows. This PR:

  • Runs all four agent × OS Full jobs in parallel. Removes the per-agent concurrency group added in ci: Run unit, e2e, and non-PTY integration lanes on Windows #1025. Integration cases create no workspace objects (per-case homes only); they share only inference capacity.
  • Stops re-running smoke cases in Full. Full now selects live and <agent> and not soft_fail and not smoke. The smoke job already runs those cases on the same Linux/Windows matrix, so every blocking case still runs once per OS (Claude 3 + 34 = 37, Codex 3 + 46 = 49).
  • Runs Smoke journeys in parallel across OSes too. Smoke had the same per-agent concurrency group, so each agent's Linux smoke job waited for its Windows job.

Expected: Full stage ~20 min → ~11 min (bounded by Codex · Linux); integration ~23 min → ~13 min. To be confirmed by this PR's CI.

Tests

  • New contract tests: smoke + Full collect exactly the blocking live set (disjoint, same OS matrix), and neither the smoke nor the full job has a concurrency: group.
  • tests/test_integration_contract.py: 92 passed locally.
  • Docs: tests/integration/README.md (parallel lanes, new marker) and the tests/README.md coverage matrix.

Dropped

An earlier revision launched the Codex Smart Router TUI journeys' parent with -c model_reasoning_effort="low". In CI the parent still spawned the child, but the Smart Router subagent banner never appeared, so all 18 Codex TUI journeys timed out. That change is reverted; those tests now match main.

Risk

Up to 2 jobs per agent now hit the shared e2e workspace at once, and tests have no retries, so a 429 would fail the run. Worth watching this PR's CI for 429/503s across a couple of runs before merging.

This pull request and its description were written by Isaac.

Run all four agent x OS Full jobs at once instead of serializing Linux and
Windows per agent. Cases share no workspace state, only inference capacity.

Exclude smoke cases from Full; the smoke job already runs them on the same
OS matrix. A contract test checks smoke + Full still cover every blocking
live case exactly once.

Launch the Codex smart-router toggle journey's parent with low reasoning
effort; parent turns dominated its runtime and routing never reads it.

Co-authored-by: Isaac <no-reply@databricks.com>
@rohita5l
rohita5l force-pushed the ci-parallel-full-journeys branch from 36acd1a to c101d55 Compare October 28, 2026 18:39
Smoke had the same per-agent concurrency group as Full, so each agent's
Linux job waited for its Windows job. Drop it for the same reason: cases
share no workspace state, only inference capacity.

Co-authored-by: Isaac <no-reply@databricks.com>
@rohita5l
rohita5l requested a review from masonc08 October 28, 2026 19:02
rohita5l and others added 2 commits October 28, 2026 15:19
With `-c model_reasoning_effort="low"` forwarded to the parent, Codex still
spawned the child but the Smart Router subagent banner never appeared, so
all 18 Codex TUI journeys timed out in Managed config and Full. main passes
them without the flag.

Co-authored-by: Isaac <no-reply@databricks.com>
@rohita5l
rohita5l merged commit ce63b1f into main Oct 28, 2026
57 of 104 checks passed
@rohita5l
rohita5l deleted the ci-parallel-full-journeys branch October 28, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants