Skip to content

fix(ci): 'Compile integration test binaries' 900s budget cannot cover the cold kcode integration-test build #202

Closed

Description

@KooshaPari

Observed failure

CI job 122084008601 (master run 40472894157, runner desk-kcode-1, 2026-10-27)
failed in the Build & Test (desk-linux) job at the step "Compile integration test
binaries"
:

12:22:14 -> 12:37:25   (exactly 900s)
##[error]Command exceeded timeout after 900s: .../cargo test --target x86_64-unknown-linux-gnu --test provider_matrix --test e2e --no-run
##[error]Process completed with exit code 124.

The step was compiling, not testing. Its log shows:

12:22:13 Finished `test` profile [unoptimized] target(s) in 15.45s
12:25:32 Compiling kcode v0.93.0-k0.1.0 (.../crates/kcode)

It produced zero provider_matrix/e2e test binaries before the kill — it was
still linking the kcode integration-test binary when it died.

Steps 1-16 of that job were all green, including the previously-failing retention
cohort and the TUI library tests.

Impact

This is the last remaining cold-cache budget blocker in the Build job. The
sibling cold-cache budgets in the same job were already raised:

Step Before Now
Compile library and binary tests 900 3300
Run deterministic retention-readiness cohort 600 1800
Run TUI library tests 600 1800
Compile integration test binaries 900 900 (still failing)

The kcode integration-test binary links the full binary plus every provider
runtime, so on a cold cache it is the most expensive single compile in the job.

Fix

Raise the Compile integration test binaries step's budget from 900 to 2400
seconds.

On a cold cache this step compiles the kcode integration-test binary, which links
the full binary and every provider runtime. Observed: the step was killed at
exactly 900s with exit 124 while still compiling, in CI job 122084008601 on
2026-10-27, with zero integration-test binaries produced. 2400s covers that
one-time cold compile.

2400s is comfortably larger than the 900s that already failed, and stays well
inside the job's timeout-minutes: 240 (14400s) alongside the other steps. The
cargo command, its --test flags, --no-run, the rust-cache configuration and
every other run_with_timeout.py value are unchanged.

Activity

  1. added
    kilo-triaged
    on Oct 28, 2026
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

    kilo-triaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions