CI: a cache warm leg that finds its base replaced no longer fails main's run

Needs storytold/craft-common-actions#463. Calling gate.yml with an input it does not have yet fails every job, so this waits for that merge.
This commit is contained in:
FredApps
2026-12-03 01:50:18 +07:00
parent 2be104c287
commit 8eaf0dcf59
+5
View File
@@ -67,6 +67,11 @@ jobs:
# The warm build runs as one `cache warm <k>/6` leg per shard, in parallel (each builds what
# its shard builds), and `cache warm` puts their files into the one entry it saves.
warm-split: true
# Main merges arrive faster than a run finishes, so two runs often restore the same entry and
# the first to finish saves a new one. The other's `cache warm` leg then finds its base
# replaced and saves nothing, which turned the run red although every test shard and
# `gate (<os>)` passed. With this the leg still saves nothing, but the run no longer fails.
warm-merge-continue-on-error: true
# The dependency cache also keeps the compiled workspace crates and test executables, so a
# pull request's shards rebuild only the crates its changes reach. Each main run's `cache
# warm` leg saves a rolling entry of its own, every leg restores the newest one, and