GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: use rolling cache key for clcache on Windows to get cache hits by spoorcc · Pull Request #1169 · dfetch-org/dfetch

Conversation

@spoorcc

@spoorcc spoorcc commented Apr 29, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

The static key caused clcache to restore a stale entry after every MSVC
runner update, resulting in 0 hits / 701 misses on every build run. A
sha-based key with a prefix restore-keys fallback and save-always mirrors
the rolling strategy used by ccache-action on Linux/macOS.

https://claude.ai/code/session_01XTvMZtPH8WpuiRBZkqWiHk

Summary by CodeRabbit

  • Chores
    • Improved Windows build caching configuration to enhance cache retrieval efficiency and consistency across commits.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@claude
fix: use rolling cache key for clcache on Windows to get cache hits
b1caec8
The static key caused clcache to restore a stale entry after every MSVC
runner update, resulting in 0 hits / 701 misses on every build run. A
sha-based key with a prefix restore-keys fallback and save-always mirrors
the rolling strategy used by ccache-action on Linux/macOS.

https://claude.ai/code/session_01XTvMZtPH8WpuiRBZkqWiHk
@coderabbitai

coderabbitai Bot commented Apr 29, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@spoorcc has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 50 minutes and 7 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: a70f59ef-bcec-40f1-a329-662e2e21f3ff

📥 Commits

Reviewing files that changed from the base of the PR and between b1caec8 and 9192d1e.

📒 Files selected for processing (1)
  • .github/workflows/build.yml

Walkthrough

Updated the Windows .clcache cache configuration in the GitHub Actions build workflow to use commit SHA-based cache versioning, added a restore fallback for earlier commits on the same platform, and enabled the save-always flag to ensure cache persistence regardless of job state.

Changes

Cohort / File(s) Summary
CI/CD Configuration
.github/workflows/build.yml
Updated Windows .clcache action/cache with commit SHA-based key, added restore-keys fallback for platform/job caches, and enabled save-always to persist cache across job states.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • Spoorcc/issue820 (Fix caching during build) #860: Introduces the initial Windows .clcache caching step that this PR refines with improved versioning and fallback behavior.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: implementing a rolling cache key strategy for clcache on Windows to improve cache hit rates.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/fix-nuitka-clcache-windows-IlOuU

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn
Review rate limit: 0/1 reviews remaining, refill in 50 minutes and 7 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@spoorcc
spoorcc temporarily deployed to testpypi April 29, 2026 04:17 — with GitHub Actions Inactive
coderabbitai[bot]
coderabbitai Bot reviewed Apr 29, 2026
View reviewed changes

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/build.yml:
- Line 82: Replace the unsupported save-always input on actions/cache@v5 by
splitting restore and save into separate steps: use actions/cache@v5 with the
restore step (actions/cache/restore) before build, then add a distinct cache
save step (actions/cache/save) after build guarded with if: always() so it runs
even on failure; also read and use the cache-hit output (cache-hit) from the
restore step to avoid unnecessary overwrites when implementing the save step.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: beea262a-c35c-4750-90ab-33083730990c

📥 Commits

Reviewing files that changed from the base of the PR and between 9d54759 and b1caec8.

📒 Files selected for processing (1)
  • .github/workflows/build.yml

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread .github/workflows/build.yml Resolved

Uh oh!

There was an error while loading. Please reload this page.

@claude
fix: split clcache into restore/save steps, drop deprecated save-always
9192d1e
actions/cache v5.0.5 marks save-always as deprecated and "not working as
intended". Replace the single cache step with a restore step before the
build and a save step after, guarded by always() so it runs on build
failure too. The save is skipped on an exact cache-hit to avoid redundant
uploads.

https://claude.ai/code/session_01XTvMZtPH8WpuiRBZkqWiHk
@spoorcc
spoorcc temporarily deployed to testpypi April 29, 2026 04:27 — with GitHub Actions Inactive
@spoorcc
spoorcc merged commit 7e372b5 into main Apr 29, 2026
70 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@spoorcc
spoorcc deleted the claude/fix-nuitka-clcache-windows-IlOuU branch April 29, 2026 05:12

This branch was previously deployed

1 inactive deployment
testpypi — 9192d1e0 Deployed Apr 29, 2026 by spoorcc via Publish Python distribution 📦 to TestPyPI #1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@coderabbitai coderabbitai[bot] coderabbitai[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@spoorcc @claude
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.