Skip to content

CI: hash the build-mrbind action file into its cache key - #7123

Merged
Fedr merged 1 commit into
masterfrom
build-mrbind-cache-key
Oct 13, 2026
Merged

Fedr merged 1 commit into
masterfrom
build-mrbind-cache-key

Conversation

@Fedr

@Fedr Fedr commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

The build-mrbind action caches a trimmed build/ directory: it deletes everything but the executables it lists (mrbind, mrbind_gen_c, mrbind_gen_csharp) and strips them. The cache key hashes only the build script, so a change to that list (adding an executable, as #7104 does) silently restores a stale cache that lacks the new file. This adds the action file itself to the key. One cache miss per job on the first run after merging, then as before.

Split out of #7104 / #7115.

🤖 Generated with Claude Code

The cached build/ only keeps the executables the action lists and strips them, so a change to that list restored a stale cache without the new files.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@Fedr
Fedr merged commit bd22a25 into master Oct 13, 2026
59 checks passed
@Fedr
Fedr deleted the build-mrbind-cache-key branch October 13, 2026 18:56
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.

1 participant