Skip to content

fix(ci): Build & Test (desk-linux) 600s retention cohort budget is too tight on a cold cache (PR #179 branch) #189

Closed

Description

@KooshaPari

Observed failures

The Build & Test (${{ matrix.os }}) job on the branch behind PR #179
(fix/tui-dictation-test-timeout) inherits these budgets from master:

  • "Compile library and binary tests": run_with_timeout.py 900
  • job-level timeout-minutes: 120
  • "Run deterministic retention-readiness cohort": run_with_timeout.py 600

On a cold cargo cache the job fails EARLY, at the compile step:

  • PR fix(ci): give the retention-readiness cohort a cold-cache-safe timeout #177, run 39712124578 / job 119605648638: died at step 7 with exit 124 at
    exactly 900s while compiling kcode. Its retention-cohort fix was never reached.
  • The cold-cache compile of the full workspace was observed at 23m07s
    ("Finished test profile ... in 23m 07s") in run 39672218586 / job 119472777140,
    so the 900s budget cannot be met.
  • The retention-readiness cohort exceeded 600s (exit 124) in run 39672218586 /
    job 119472777140.

Root cause

The 900s compile budget is below the measured cold-cache full-workspace compile
time (23m07s = 1387s). The 120-minute job cap then leaves too little room for
the retention cohort plus the remaining steps once the compile runs cold.

The retention-readiness cohort is cold because the workspace declares no
default-members: cargo metadata shows workspace_default_members = 1 (only
kcode), so cargo test --lib --bins --no-run builds only the default member
and never pre-builds the jcode-app-core lib-test harness the cohort needs.
The cohort therefore pays its own cold compile inside a 600s budget.

Fix

In .github/workflows/ci.yml, in the Build & Test (${{ matrix.os }}) job only:

  • compile step: run_with_timeout.py 900 -> run_with_timeout.py 3300
  • job timeout: timeout-minutes: 120 -> timeout-minutes: 240
  • retention cohort step: run_with_timeout.py 600 -> run_with_timeout.py 1800

These are the same budgets PR #183 (fix/ci-cold-cache-build-green) carries.
PR #183 additionally changes the rust-cache key and sets cache-targets: "false";
that rust-cache blob fix remains required and is NOT included here.

Activity

  1. coderabbitai commented on Oct 25, 2026

    @coderabbitai
    ⚠️ Possible Duplicate Issue(s)

    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  2. added
    kilo-triaged
    on Oct 25, 2026
  3. added a commit that references this issue on Oct 27, 2026
    656610d
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