]> git.ipfire.org Git - thirdparty/curl.git/commit
GHA/codeql: try disabling the TRAP cache
authorViktor Szakats <commit@vsz.me>
Fri, 19 Sep 2025 08:19:29 +0000 (10:19 +0200)
committerViktor Szakats <commit@vsz.me>
Fri, 19 Sep 2025 09:30:39 +0000 (11:30 +0200)
commit9618c337d1c876df04599462fbdb73d370162dbf
treee63e2a57f5d22880c8542bdec3aade655729451b
parent0d9a07abb731cc52a220f48430f66b546965594f
GHA/codeql: try disabling the TRAP cache

The `cpp` CodeQL job is adding a cache entry for each run on the master
branch. One for Linux, another for Windows. Size: 68MB + 180MB = 248MB.
In one week we got 50+ such entries, almost filling the available cache
space.

Following the recommendation in an open issue thread, this patch tries
to disable this cache. Since it only affects master, the effect can only
be verified after merging.

The latest cache is picked up in PRs. The performance impact is also to
be seen after merge.

Bug: https://github.com/curl/curl/pull/18528#issuecomment-3288950880
Ref: https://github.com/github/codeql-action/pull/1172
Ref: https://github.com/github/codeql-action/issues/2030
Ref: https://github.com/github/codeql-action/issues/2885#issuecomment-2879069087

Follow-up to cc50f05370981e4933504e8aaec6b15880ff847f #18528

Closes #18613
.github/workflows/codeql.yml