Skip to content

chore(ci): replace CodeQL Default Setup with scoped PR and weekly workflow - #1082

Merged
badcuban merged 1 commit into
mainfrom
chore/codeql-workflow
Nov 24, 2026
Merged

badcuban merged 1 commit into
mainfrom
chore/codeql-workflow

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

Problem

CodeQL Default Setup ran a 20-minute scan on every push to main, scanned .repos/effect (21 MB of read-only Effect source), vendored assets, generated files, tests, and an unused c-cpp pass (only matching a single test fixture .cc file). Its overlay databases consumed 9.1 GB of GitHub's 10 GB Actions cache limit and evicted macOS and Linux desktop release caches.

Fix

  • Disabled CodeQL Default Setup and cleared 20 old overlay caches (reclaiming 9.1 GB; cache usage is now 1.2 GB / 10 GB).
  • Added .github/codeql/codeql-config.yml excluding .repos/**, vendored scripts, generated files, and test suites.
  • Added .github/workflows/codeql.yml scanning javascript-typescript and actions on pull requests targeting main (with cancel-in-progress: true), weekly on Monday, and on manual dispatch, with no per-push main scan and no overlay cache uploads.

…kflow

CodeQL Default Setup ran a 20-minute scan on every push to main, scanned .repos/effect, vendored code, tests, and a single C++ test fixture, and stored ~9 GB of overlay database caches that pushed the repository against GitHub's 10 GB cache eviction cap (evicting macOS and Linux desktop release caches).

Disabled Default Setup, reclaimed 9.1 GB of old overlay caches, and added a dedicated CodeQL workflow and config that scans javascript-typescript and actions on pull requests and weekly on main while ignoring .repos/, vendored assets, generated files, and tests.
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
threadlines Ready Ready Preview Nov 24, 2026 4:00am UTC

Request Review

@badcuban
badcuban added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit 4cfea69 Nov 24, 2026
22 checks passed
@badcuban
badcuban deleted the chore/codeql-workflow branch November 24, 2026 04:11

This branch was successfully deployed

1 active deployment
Preview — cee9df83 Deployed Nov 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant