ci: align Linux toolchain and reuse compiler results between jobs #399

Closed
opened 2026-10-20 20:21:07 +02:00 by buildagent · 0 comments
Member

The v0.41.3 PR gates took ~50 minutes on Linux and ~45 minutes on Windows; the release took 33m37s. Linux jobs still download Rust 1.98.0 over the 1.94.0 image, and repeated Linux Rust compilations do not opt into the runner's documented shared sccache backend.

Scope: build and verify a new versioned ci-rust image from the existing h-dv/ci-images recipe at the pinned 1.98.0 toolchain; preserve existing image tags. Update consumer image pins and measured tool baselines. Enable compiler caching first in the expensive Linux core lanes using job-local Unix sockets, observable hit statistics and compiler fallback on cache-server I/O errors.

Acceptance: cold/warm compiler-cache proof with separate target directories; compiler/cache-server failure behavior checked; unchanged test/corpus/permission gates; generic runtime and plugin-host build selections remain separate. Run local workflow and release-contract gates before PR, then require all CI checks before merge. Measure actual cache hits rather than promising an unmeasured time reduction.

The v0.41.3 PR gates took ~50 minutes on Linux and ~45 minutes on Windows; the release took 33m37s. Linux jobs still download Rust 1.98.0 over the 1.94.0 image, and repeated Linux Rust compilations do not opt into the runner's documented shared sccache backend. Scope: build and verify a new versioned ci-rust image from the existing h-dv/ci-images recipe at the pinned 1.98.0 toolchain; preserve existing image tags. Update consumer image pins and measured tool baselines. Enable compiler caching first in the expensive Linux core lanes using job-local Unix sockets, observable hit statistics and compiler fallback on cache-server I/O errors. Acceptance: cold/warm compiler-cache proof with separate target directories; compiler/cache-server failure behavior checked; unchanged test/corpus/permission gates; generic runtime and plugin-host build selections remain separate. Run local workflow and release-contract gates before PR, then require all CI checks before merge. Measure actual cache hits rather than promising an unmeasured time reduction.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
h-dv/code-index#399
No description provided.