Skip to content

Purge the oldest TRAP cache generated by CodeQL - #13330

Merged
hsbt merged 3 commits into
ruby:masterfrom
hsbt:disable-dependency-caching-codeql
May 14, 2025
Merged

hsbt merged 3 commits into
ruby:masterfrom
hsbt:disable-dependency-caching-codeql

Conversation

@hsbt

@hsbt hsbt commented May 14, 2025 •

Copy link
Copy Markdown
Member

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
@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