Skip to content

ci: 15-minute CLI shard ceiling cancels otherwise healthy PR suites #9982

Closed

Description

@prekshivyas

Summary

The PR CLI coverage matrix has outgrown or intermittently exceeds its 15-minute per-job ceiling. Multiple unrelated PRs on the same base have several shards terminated simultaneously at the limit, producing no Vitest blob and forcing the aggregate cli-tests and checks jobs red without a test assertion failure.

Evidence

PR #9932

  • Base: 7601ab27a82dfdb67c933c9e24612e52f8c367e4
  • Run: 32606449660
  • Canceled at approximately 15 minutes: shards 1, 2, 5, 7, and 12
  • Seven other shards passed.
  • Each canceled log ends with The operation was canceled. during Vitest, followed by No files were found for the report artifact.

Unrelated PR #9950

  • Same base: 7601ab27a82dfdb67c933c9e24612e52f8c367e4
  • Run: 32606363353
  • Started about two minutes earlier.
  • Canceled at the same approximately 15-minute ceiling: shards 2, 4, 5, 6, 7, and 8
  • Six other shards passed.

The different canceled-shard sets on unrelated changes indicate a CI duration/variance problem rather than a deterministic test assertion regression.

Current configuration

Both .github/workflows/pr.yaml and .github/workflows/main.yaml set timeout-minutes: 15 for cli-test-shards. The composite action installs dependencies, builds the plugin and CLI, then runs coverage before that shared job deadline.

Expected behavior

The authoritative broad gate should finish all 12 shard reports with sufficient headroom. Options include increasing the job timeout, moving setup/build outside the measured shard budget, refreshing timing hints/shard allocation, or splitting the heaviest files.

Validation request

Measure p95 durations for each shard on the current main test roster and set a bounded timeout with operational headroom. Preserve the aggregate fail-closed behavior for genuine test failures.

Activity

  1. added
    ci-failure
    area: ci
    needs: triage
    on Aug 23, 2026
  2. prekshivyas commented on Aug 23, 2026

    @prekshivyas
    CollaboratorAuthor

    Additional same-base evidence: PR #9965 run 32606875714 has the exact same five slow shards (1, 2, 5, 7, 12) still running after the other seven passed. Its head and diff are unrelated to #9932. This confirms that the affected set is the current baseline shard roster, not the vLLM change.

  3. prekshivyas commented on Aug 23, 2026

    @prekshivyas
    CollaboratorAuthor

    Confirmed after completion: PR #9965 run 32606875714 canceled exactly shards 1, 2, 5, 7, and 12 at 00:19 UTC, approximately 15 minutes after their common 00:03:49 start. The other seven shards passed. This exactly matches #9932's slow-shard set and hard-ceiling behavior.

  4. prekshivyas commented on Aug 23, 2026

    @prekshivyas
    CollaboratorAuthor

    Final-head reproduction: PR #9932 head 74d2ef9, run 32608080525. Shards 1, 2, 5, 7, and 12 again started at 00:32:20 UTC and were canceled at 00:47:35-00:47:37 UTC. The other seven shards passed; no assertion failure was reported. Required aggregate checks and cli-tests failed only because the five shard conclusions were cancelled.

  5. prekshivyas commented on Aug 23, 2026

    @prekshivyas
    CollaboratorAuthor

    Final-head confirmation for #9932: CI run 32613821614 on exact head a2d79f7ff0bc7112292201ce75882fbfcd657b6a reproduced the identical set. Shards 1, 2, 5, 7, and 12 were terminated after 15m16–17s; shards 3, 4, 6, 8, 9, 10, and 11 passed. The cli-tests aggregator then failed only because those five shards did not complete, and required checks propagated that result. No shard reported a test assertion failure before the ceiling.

  6. prekshivyas commented on Aug 23, 2026

    @prekshivyas
    CollaboratorAuthor

    Related active work: #9950 recalibrates the 12-shard profile and serializes each Vitest shard while keeping the 15-minute cap. Its latest full code run 32606363353 still canceled shards 2, 4, 5, 6, 7, and 8 at that ceiling, so it does not yet close this observed timeout condition. Please coordinate #9982 with #9950/#6237 rather than opening a duplicate implementation PR.

  7. added
    area: e2e
    and removed
    needs: triage
    on Aug 24, 2026
  8. added theissue type on Aug 24, 2026
  9. wscurran commented on Nov 18, 2026

    @wscurran
    Contributor

    Hi @prekshivyas, thanks for documenting the shard timeouts. #9962 raised the CLI test-shard limit from 15 to 30 minutes in both PR and main workflows, addressing the cutoff reported here. We’re closing this as completed.

    If this is still an issue that needs prioritization, please re-open and tag @wscurran.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ciarea: e2eci-failure

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions