Skip to content

CODEQL_ACTION_CLEANUP_TRAP_CACHES is not working #2885

Open

Description

@hsbt

From #2030 (comment)

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?

Activity

  1. hvitved commented on May 2, 2025

    @hvitved

    Hi. Here are some instructions on how to run CodeQL in debug mode.

  2. hsbt commented on May 7, 2025

    @hsbt
    Author
  3. hsbt commented on May 14, 2025

    @hsbt
    Author

    Ruby core team are in real trouble with this issue. But there is no solution today for this.

    I added automated purge step for TRAP cache at ruby/ruby#13330.

  4. adityasharad commented on May 14, 2025

    @adityasharad
    Contributor

    Could you please try setting trap-caching: false in the with: section of the github/codeql-action/init step? That should disable the feature entirely.

  5. hsbt commented on May 23, 2025

    @hsbt
    Author

    @adityasharad Thanks for your advice. I added trap-caching: false to our workflows. I will share that results after a few weeks later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions