CODEQL_ACTION_CLEANUP_TRAP_CACHES is not working

Open
#2,885 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
github-actions, typescript
Domain
ci-cd, devops, security

Research direction

Start with the referenced github/codeql-action issue comment and the Ruby repository workflow at .github/workflows/codeql-analysis.yml. Reproduce or inspect the cleanup behavior with CodeQL debug logging, then establish why CODEQL_ACTION_CLEANUP_TRAP_CACHES is ineffective and verify that cache growth is resolved.

Written by the indexing model from the issue text.

Description

From https://github.com/github/codeql-action/issues/2030#issuecomment-2844971762

CODEQL_ACTION_CLEANUP_TRAP_CACHES is not working now. CodeQL generate 300M+ cache each CI build. We always have trouble with the amount of limit by this problem.

Does anyone show how to run with debug mode with CodeQL with above action?

Dominant language
TypeScript
Stars
1.6k
Forks
493
Avg merge
1d 13h
Merged PRs (30d)
44

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/codeql-action

All issues in github/codeql-action

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.