Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Purge the oldest TRAP cache generated by CodeQL #13330

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 14, 2025

Conversation

hsbt
Copy link
Member

@hsbt hsbt commented May 14, 2025

I tried to disable TRAP cache generated by CodeQL in recent weeks. But CODEQL_ACTION_CLEANUP_TRAP_CACHES and dependency-cache: false are not working that.

I have no idea to disable that. The average size of TRAP cache is 300MB+ and generated each jobs of GitHub actions. It's harmful for our cache strategy. In fact, vcpkg cache of Windows sometimes purged and rebuild with 40 min.

Solution

I removed TRAP cache with gh cache command manually each jobs.

@hsbt hsbt force-pushed the disable-dependency-caching-codeql branch 4 times, most recently from 4df6a90 to 12e497f Compare May 14, 2025 04:18
@hsbt hsbt force-pushed the disable-dependency-caching-codeql branch 2 times, most recently from f8affb3 to ef7893b Compare May 14, 2025 05:19
@hsbt hsbt force-pushed the disable-dependency-caching-codeql branch from ef7893b to d7be4ef Compare May 14, 2025 05:36
@hsbt hsbt changed the title Disabled TRAP cache of CodeQL Purge the oldest TRAP cache generated by CodeQL May 14, 2025
@hsbt hsbt enabled auto-merge (rebase) May 14, 2025 05:56
@hsbt hsbt merged commit a7af85a into ruby:master May 14, 2025
79 checks passed
@hsbt hsbt deleted the disable-dependency-caching-codeql branch May 14, 2025 08:03
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