Cache: Increasing client validation to 10GB#934
Merged
aparna-ravindra merged 9 commits intomainfrom Nov 19, 2021
Merged
Conversation
added 6 commits
November 12, 2021 11:21
Contributor
|
Please update the README as well: toolkit/packages/cache/README.md Line 7 in e2eeb0a |
Contributor
|
LGTM to me, but holding back on the sign off to make sure that README is updated. |
dhadka
approved these changes
Nov 15, 2021
Contributor
Author
|
Hey @dhadka , The npm audit check has been failing. Is it okay to tackle it separately and not include it in this PR? |
Contributor
|
@aparna-ravindra re: "The npm audit check has been failing. Is it okay to tackle it separately and not include it in this PR?", I would check with the actions-service team to see if they plan to do this as that audit is running against the entire toolkit and not just this module. But I do agree it makes sense to tackle it separately. |
This was referenced Nov 19, 2021
Chocobo1
added a commit
to Chocobo1/setup-ccache-action
that referenced
this pull request
Nov 23, 2021
Now it defaults to ccache default 5G. This is to provide better cache behavior with upstream change: actions/toolkit#934
burgholzer
pushed a commit
to Munich-Quantum-Software-Stack/QDMI
that referenced
this pull request
Nov 25, 2025
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [Chocobo1/setup-ccache-action](https://redirect.github.com/Chocobo1/setup-ccache-action) | action | minor | `v1` -> `v1.5.1` | --- ### Release Notes <details> <summary>Chocobo1/setup-ccache-action (Chocobo1/setup-ccache-action)</summary> ### [`v1.5.1`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.5.1) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.5.0...v1.5.1) - Bump dependencies to latest - Add section about using outdated macOS in README.md - Only use pre-built package on macOS This will stop building from source which will take a long time. - Enable homebrew concurrent download on macOS ### [`v1.5.0`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.5.0) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.4.9...v1.5.0) - Bump dependencies to latest - Use node24 Related: <https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/> ### [`v1.4.9`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.4.9) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.4.8...v1.4.9) - Bump dependencies to latest ### [`v1.4.8`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.4.8) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.4.7...v1.4.8) - Bump dependencies to latest ### [`v1.4.7`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.4.7) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.4.6...v1.4.7) - Bump dependencies to latest ### [`v1.4.6`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.4.6) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.4.5...v1.4.6) - Bump dependencies to latest Related to: <https://redirect.github.com/actions/toolkit/discussions/1890> ### [`v1.4.5`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.4.5) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.4.4...v1.4.5) - Check save cache return status - Bump dependencies to latest ### [`v1.4.4`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.4.4) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.4.3...v1.4.4) - Bump dependencies to latest ### [`v1.4.3`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.4.3) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.4.2...v1.4.3) - Fix symlinks path on macOS - Bump dependencies to latest ### [`v1.4.2`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.4.2) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.4.1...v1.4.2) - Add support for ccache `cache_dir` option - Bump dependencies to latest ### [`v1.4.1`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.4.1) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.4.0...v1.4.1) - Switch bundle to ESM - Bump dependencies to latest ### [`v1.4.0`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.4.0) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.3.9...v1.4.0) - Switch to node20 runtime - Bump dependencies to latest ### [`v1.3.9`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.3.9) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.3.8...v1.3.9) - Fix issue `Brew install failing on macOS runners` [#​14](https://redirect.github.com/Chocobo1/setup-ccache-action/issues/14) Relevant commit: [`31bd797`](https://redirect.github.com/Chocobo1/setup-ccache-action/commit/31bd79773d778e9593d3e75d4fe4c57ebc53352b) The fix is also suggested by the reporter. [@​burgholzer](https://redirect.github.com/burgholzer) Thanks! ### [`v1.3.8`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.3.8) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.3.7...v1.3.8) - Bump dependencies to latest Resolves the following: - <GHSA-c2qf-rxjj-qqgw> (Note that those are indirect dependencies and shouldn't impact users of this project) ### [`v1.3.7`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.3.7) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.3.6...v1.3.7) - Bump dependencies to latest Resolves the following: - <GHSA-72xf-g2v4-qvf3> - <GHSA-j8xg-fqg3-53r7> (Note that those are indirect dependencies and shouldn't impact users of this project) ### [`v1.3.6`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.3.6) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.3.5...v1.3.6) - Suppress meaningless annotation when `brew install` succeeded Resolves issue [#​12](https://redirect.github.com/Chocobo1/setup-ccache-action/issues/12). ### [`v1.3.5`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.3.5) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.3.4...v1.3.5) - Bump dependencies to latest Previously was (potentially) affected by this: <GHSA-776f-qx25-q3cc> ### [`v1.3.4`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.3.4) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.3.3...v1.3.4) - Code cleanups - Suppress all error Failure of this action should not block the entire workflow. - Suppress installation errors Further checks will caught remaining errors. ### [`v1.3.3`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.3.3) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.3.2...v1.3.3) - Only remove stale caches that are from the same branch - Improve 'remove stale cache' behavior under racing condition - Also see v1.3.2 release note: <https://github.com/Chocobo1/setup-ccache-action/releases/tag/v1.3.2> ### [`v1.3.2`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.3.2) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.3.1...v1.3.2) - Remove multiple stale cache entries rather than only one Also see v1.3.1 release note: <https://github.com/Chocobo1/setup-ccache-action/releases/tag/v1.3.1> ### [`v1.3.1`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.3.1) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.3.0...v1.3.1) - Improve handling when previous/stale cache entry is not found Also see v1.3.0 release note: <https://github.com/Chocobo1/setup-ccache-action/releases/tag/v1.3.0> ### [`v1.3.0`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.3.0) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.2.12...v1.3.0) - Add ability to remove previous/stale cache entry. This is on by default. Add `remove_stale_cache: false` to action parameter list if you want to turn it off. By removing stale cache entries, you might be able to avoid cache trashing when your repository cache is nearly/already full. ### [`v1.2.12`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.2.12) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.2.11...v1.2.12) - Suppress warning messages See more: <https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/> - Bump dependencies to latest ### [`v1.2.11`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.2.11) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.2.10...v1.2.11) - Add primitive support for Windows MSVC - Bump dependencies to latest ### [`v1.2.10`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.2.10) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.2.9...v1.2.10) - Improve error message - Bump dependencies to latest An upstream fix should help suppressing some server errors: [actions/toolkit@`46231a7`](https://redirect.github.com/actions/toolkit/commit/46231a7da3ee695120e08c7b111173131245fa5e) ### [`v1.2.9`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.2.9) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.2.8...v1.2.9) - Suppress errors for restore, save cache actions ### [`v1.2.8`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.2.8) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.2.7...v1.2.8) - Don't error out when upload cache failed An error is too severe, make it a warning instead. ### [`v1.2.7`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.2.7) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.2.6...v1.2.7) - Switch to latest nodejs version <https://github.blog/changelog/2021-12-10-github-actions-github-hosted-runners-now-run-node-js-16-by-default/> ### [`v1.2.6`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.2.6) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.2.5...v1.2.6) - Revise msys support improvements from v1.2.5. ### [`v1.2.5`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.2.5) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.2.4...v1.2.5) - Some improvements to msys support ~~Unfortunately CI testing for msys is broken and currently the culprit is unknown, i.e. there are no guarantee that msys support is stable at this point.~~ EDIT: Resolved in v1.2.6. ### [`v1.2.4`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.2.4) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.2.3...v1.2.4) - Remove default cache size limit Now it defaults to ccache default 5G. This is to provide better cache behavior with upstream change: [actions/toolkit#934](https://redirect.github.com/actions/toolkit/pull/934) - Add sourcemap ### [`v1.2.3`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.2.3) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.2.2...v1.2.3) - Show verbose stats whenever possible ### [`v1.2.2`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.2.2) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.2.1...v1.2.2) - Fix cmake couldn't detect ccache on msys2 ### [`v1.2.1`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.2.1) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.2.0...v1.2.1) - Don't use sudo unless necessary ### [`v1.2.0`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.2.0) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.1.2...v1.2.0) - Add support for msys2 on Windows - Hide nodejs deprecation warnings ### [`v1.1.2`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.1.2) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.1.1...v1.1.2) - Revise default cache key ### [`v1.1.1`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.1.1) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.1.0...v1.1.1) - Fix support for Ubuntu 18.04 ### [`v1.1.0`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.1.0) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.0.2...v1.1.0) - Revise `override_cache_key_fallback` - Clarify format for `ccache_options` - Add output variable: `cache_hit` ### [`v1.0.2`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.0.2) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1.0.1...v1.0.2) - Revise cache store/retrieve function ### [`v1.0.1`](https://redirect.github.com/Chocobo1/setup-ccache-action/releases/tag/v1.0.1) [Compare Source](https://redirect.github.com/Chocobo1/setup-ccache-action/compare/v1...v1.0.1) - Update display name - Bump dependencies </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/Munich-Quantum-Software-Stack/QDMI). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4xOS41IiwidXBkYXRlZEluVmVyIjoiNDIuMTkuNSIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwiZ2l0aHViLWFjdGlvbnMiXX0=--> Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The toolkit contains a check on the client side to ensure that the cache artifact being uploaded is atmost 5GB in size. This PR aims at increasing the size limit to 10GB instead.
The ADR for this change can be found here.