Skip to content

FIX: Prevent cache cleanup from failing successful plugin tests - #223

Merged
ZogStriP merged 1 commit into
mainfrom
tgxworld/fix-cache-cleanup-hash
Oct 26, 2026
Merged

ZogStriP merged 1 commit into
mainfrom
tgxworld/fix-cache-cleanup-hash

Conversation

@tgxworld

Copy link
Copy Markdown
Contributor

Plugin frontend jobs can pass every test and still fail during Bundler cache cleanup when GitHub Actions reevaluates the recursive lockfile hash against the populated workspace.

This commit captures the lockfile hash before restoring dependencies and reuses that value in the plugin and theme cache keys. Cleanup uses the same key as restoration without rescanning the workspace.

Plugin frontend jobs can pass every test and still fail during Bundler cache cleanup when GitHub Actions reevaluates the recursive lockfile hash against the populated workspace.

This commit captures the lockfile hash before restoring dependencies and reuses that value in the plugin and theme cache keys. Cleanup uses the same key as restoration without rescanning the workspace.
@tgxworld
tgxworld marked this pull request as ready for review October 26, 2026 08:12
@ZogStriP
ZogStriP merged commit 83e5990 into main Oct 26, 2026
12 checks passed
@ZogStriP
ZogStriP deleted the tgxworld/fix-cache-cleanup-hash branch October 26, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants