Skip to content

CI: job-local Julia depot in front of the shared CSCS CI depots - #244

Merged
luraess merged 1 commit into
mainfrom
lr/ci-job-depot
Oct 29, 2026
Merged

luraess merged 1 commit into
mainfrom
lr/ci-job-depot

Conversation

@luraess

@luraess luraess commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator

The CSCS jobs write their packages and precompile caches directly into shared depots ($SCRATCH/.julia-ps-ci on GH200, $SCRATCH/.julia-ps-ci-beverin for MI250 and MI300). Julia keeps at most 10 precompile caches per package in the depot it writes to and evicts the oldest one, which can be the cache another job is loading at that moment; the job then fails to load the package or one of its extensions (this happened in ImplicitGlobalGrid.jl's CSCS CI, eth-cscs/ImplicitGlobalGrid.jl#144). Jobs run at the same time here: the MI250 and MI300 jobs of a pipeline share a depot, and pipelines of different PRs overlap. Pkg.test(; coverage=true) makes it more likely, as the coverage setting is specific to the job's checkout path, so every job adds its own caches of ParallelStencil and its extensions.

Each job now puts a job-local depot ($CI_PROJECT_DIR/.julia) in front of the shared one: it reads the packages and caches already in the shared depot and writes only to its own (same setup as in ImplicitGlobalGrid.jl's CI since #144).

@codecov-commenter

codecov-commenter commented Oct 29, 2026 •

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.45%. Comparing base (2a02f4a) to head (fb05da0).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@luraess
luraess merged commit ba357cc into main Oct 29, 2026
11 checks passed
@luraess
luraess deleted the lr/ci-job-depot branch October 29, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants