From 943d603c402944543279f22baa562dc55a925fc5 Mon Sep 17 00:00:00 2001 From: Thierry Laurion Date: Fri, 7 Aug 2026 13:24:55 -0400 Subject: [PATCH] .circleci/config.yml: include all blobs files in cache key to prevent dirty builds PR #2165 changed blobs/m900/README.md and blobs/xx80/README.md, but the cache key only hashed *.sh files under blobs/. The stale cache contained old README content, and workspace attachment overwrote the fresh checkout, making git diff detect modifications and set GIT_STATUS=dirty. This caused all subsequent CircleCI builds to produce -dirty ROM artifacts. Fix: hash all files under blobs/ for the cache key, not just *.sh, so the cache invalidates whenever any tracked blob file changes. Signed-off-by: Thierry Laurion --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 916358216..191855454 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -126,7 +126,7 @@ jobs: - run: name: Creating blobs listing digest (for x86_blobs cache key) command: | - find ./blobs -type f -name "*.sh" | sort -h | xargs sha256sum > ./tmpDir/blobs_listing.sha256sums + find ./blobs -type f | sort -h | xargs sha256sum > ./tmpDir/blobs_listing.sha256sums - persist_to_workspace: root: ~/heads paths: