Repository navigation
CI: job-local Julia depot in front of the shared CSCS CI depots - #244
Merged
Merged
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The CSCS jobs write their packages and precompile caches directly into shared depots (
$SCRATCH/.julia-ps-cion GH200,$SCRATCH/.julia-ps-ci-beverinfor 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).