Skip to content

CI time roughly doubled after consolidating the tests (about 4 to 8 minutes) #32

Closed

Description

@samitbasu

After #28 merged the 24 test binaries into one (tests/it), the ci job on main took 8m20s (run 42524595270), against about 4 minutes before. The consolidation fixed disk exhaustion (#27), so it stays. Candidates:

  • cache target between runs (Swatinem/rust-cache);
  • split tests/it into two or three medium crates so they compile in parallel, without going back to 24 links;
  • check whether the new wasm step (Web (wasm32): CI guard, shared launcher, cargo xtask web #31) adds noticeable time;
  • and compile_fail (trybuild), about 46 s on its own.

Measure first: time each xtask ci step on a warm run.

Activity

  1. samitbasu commented on Nov 9, 2026

    @samitbasu
    OwnerAuthor

    Data point: on PR #38 (run 42655585959, after #28's consolidation and #31's wasm step) the ci job took 3m15s and coverage 2m27s. That's back to the old range, so the 8m20s run on main was most likely a cold build, not the single test crate. I'll keep this open for another couple of runs and then close it if it holds.

  2. samitbasu commented on Nov 10, 2026

    @samitbasu
    OwnerAuthor

    Data point: after the repo went public (2026-11-10), PR #87 (+50 tests and a fuzzer) ran ci in 2m31s and coverage in 2m43s, against about 6 min each on the last private runs. Public repos get 4-vCPU standard runners instead of 2. This likely resolves the regression; keep open briefly to confirm over a few more PRs.

  3. samitbasu commented on Nov 14, 2026

    @samitbasu
    OwnerAuthor

    Fixed by #151: the goldens share the workspace test build, and the cache key is fixed. Over the last 20 runs the whole workflow took 3–5 min, and the ci job about 4 min.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions