From 8eaf0dcf5917c2d306a5439506bfd788f45557cd Mon Sep 17 00:00:00 2001 From: FredApps <153173854+FredApps@users.noreply.github.com> Date: Thu, 3 Dec 2026 01:50:18 +0700 Subject: [PATCH] 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. --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 53a9be4e4a..a1fd65127f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,6 +67,11 @@ jobs: # The warm build runs as one `cache warm /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 ()` 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