Skip to content

Restore the NuGet cache without a post-save step in local-regtest - #76

Merged
sethforprivacy merged 1 commit into
mainfrom
ci/local-regtest-cache-restore-only
Sep 8, 2026
Merged

Restore the NuGet cache without a post-save step in local-regtest#76
sethforprivacy merged 1 commit into
mainfrom
ci/local-regtest-cache-restore-only

Conversation

@sethforprivacy

Copy link
Copy Markdown
Owner

Two green runs of local-regtest.yml on main carried a failed Post Cache NuGet packages step: the cache action re-evaluates hashFiles at the end of the job, when e2e/ holds root-owned files the fixture's containers wrote, and the walk fails even with a !e2e/** exclusion (it descends before filtering). This job never needs to save the cache — ci.yml writes the same key on every push and PR — so it now uses actions/cache/restore, same pinned SHA, same key.

🤖 Generated with Claude Code

The cache action's post step re-hashes every csproj at the end of the job,
when e2e/ holds root-owned files the containers wrote, and fails even with
a !e2e/** exclusion (the walker descends before filtering). ci.yml saves
this exact key on every push and PR, so this job only needs the restore
entry point.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@sethforprivacy
sethforprivacy merged commit 5ce0ee9 into main Sep 8, 2026
6 checks passed
@sethforprivacy
sethforprivacy deleted the ci/local-regtest-cache-restore-only branch September 8, 2026 15:40
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