Skip to content

fix(test): raise input.test.ts pipeline timeouts to 30s#1176

Merged
christso merged 1 commit intomainfrom
fix/input-test-pipeline-timeouts
Apr 27, 2026
Merged

fix(test): raise input.test.ts pipeline timeouts to 30s#1176
christso merged 1 commit intomainfrom
fix/input-test-pipeline-timeouts

Conversation

@christso
Copy link
Copy Markdown
Collaborator

Follow-up to #1170. Same 5s-default timeout flake observed in the pipeline input describe block in apps/cli/test/commands/eval/pipeline/input.test.ts during repeated bun --filter agentv test runs after the #1166/#1167/#1168 land.

Each test in the block spawns a bun apps/cli/src/cli.ts pipeline input ... subprocess that completes in ~1-2s in isolation but routinely overshoots 5s under suite contention.

The user brief named three sibling tests (writes code_graders/<name>.json for deterministic assertions, omits experiment from manifest..., falls back to eval file basename...); the remaining seven exhibited identical SIGTERM-at-5s failures in the same suite run, so the per-test bump is applied uniformly to all 10 tests in the block to prevent partial-coverage churn.

Same one-line treatment per the #1170 precedent (it(name, fn, 30_000) — Bun test's numeric third-arg form).

Test plan

  • bun test apps/cli/test/commands/eval/pipeline/input.test.ts — passes (10/10)
  • bun --filter agentv test — no pipeline input > failures (verified across 3 consecutive suite runs)
  • Pre-push hook (full suite) passed

…1170)

The `pipeline input` describe block in
`apps/cli/test/commands/eval/pipeline/input.test.ts` exhibits the same
5s-default timeout flake under suite contention as the e2e test fixed in
#1170. Each test spawns a `bun apps/cli/src/cli.ts pipeline input ...`
subprocess that completes in ~1-2s in isolation but routinely overshoots
5s under `bun --filter agentv test` contention.

Apply the same per-test timeout bump (`it(name, fn, 30_000)`) to all 10
tests in the describe block. The user brief named three sibling tests
(`writes code_graders/<name>.json for deterministic assertions`,
`omits experiment from manifest...`, `falls back to eval file
basename...`); the remaining seven exhibited identical SIGTERM-at-5s
failures in the same suite run, so the bump is applied uniformly to
prevent partial coverage churn.

Same one-line treatment per the #1170 precedent.
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3afcd68
Status: ✅  Deploy successful!
Preview URL: https://255cb884.agentv.pages.dev
Branch Preview URL: https://fix-input-test-pipeline-time.agentv.pages.dev

View logs

@christso christso merged commit adcd3a3 into main Apr 27, 2026
4 checks passed
@christso christso deleted the fix/input-test-pipeline-timeouts branch April 27, 2026 13:18
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.

1 participant