Title: improvement(ci): move CodeQL off default setup onto Blacksmith by waleedlatif1 · Pull Request #6219 · simstudioai/sim · GitHub
Open Graph Title: improvement(ci): move CodeQL off default setup onto Blacksmith by waleedlatif1 · Pull Request #6219 · simstudioai/sim
X Title: improvement(ci): move CodeQL off default setup onto Blacksmith by waleedlatif1 · Pull Request #6219 · simstudioai/sim
Description: CodeQL was running via GitHub Advanced Security default setup — no workflow file, so no control over runner, triggers, or concurrency. Result: PR scans of 30–125 min on a 4-vCPU GitHub-hosted runner, re-running on every push. PR #6183 alone burned six overlapping runs (94/96/100/100/125/93 min). This replaces it with advanced setup. Default setup has already been disabled — the two cannot both be active. Changes Blacksmith 8-vCPU via the same CI_PROVIDER escape-hatch expression as ci.yml cancel-in-progress scoped to pull_request, mirroring ci.yml:31, so push and scheduled scans still run to completion Triggers: push to main + PR to main/staging + nightly safety net + workflow_dispatch paths filter so doc/config-only PRs skip the run entirely paths-ignore config dropping tests/mocks/fixtures: 12,716 → 11,128 extracted files languages: [javascript-typescript, actions] — python dropped (7 files in the tree) Draft-PR skip, persist-credentials: false, SHA-pinned actions, timeout-minutes: 60 On the language list Default setup listed javascript, javascript-typescript and typescript. Those are aliases of one extractor (github/codeql-action → src/languages/builtin.json), so it was always a single analysis, not three — the logs show Extracting javascript once. Not a source of the slowness. Prior art Modelled on how comparable OSS repos configure this. Notably, none of n8n, cal.com, supabase, twenty, PostHog, medusa, next.js or trigger.dev commit a CodeQL workflow at all. Among those that do: Trigger Runner Languages cancel-in-progress elastic/kibana PR (paths, non-draft, gated) + nightly self-hosted javascript gated instead getsentry/sentry PR (paths, !tests/**) + weekly ubuntu-latest js, python yes immich-app/immich push + PR + weekly ubuntu-latest js, python yes directus/directus nightly only ubuntu-latest javascript — prisma/prisma weekly only ubuntu-latest javascript — nodejs/node nightly only ubuntu-slim cpp, js, python — Kibana is the closest analogue (large TS tree) and solves it the same way: dedicated runner + aggressive paths-ignore. Not adopted: kibana's CODEQL_EXTRACTOR_JAVASCRIPT_OPTION_SKIP_TYPES: true. It is the largest single speedup available, but a GitHub code search returns 4 hits worldwide (kibana + a fork), it is undocumented, and it weakens type-based taint tracking. Available as an escape hatch if runtimes are still unacceptable. Verification owed Confirm actual runtime on this PR (expectation ~10–20 min, unproven) Confirm no SOC2/Vanta control requires the Python language or the previous cadence
Open Graph Description: CodeQL was running via GitHub Advanced Security default setup — no workflow file, so no control over runner, triggers, or concurrency. Result: PR scans of 30–125 min on a 4-vCPU GitHub-hosted runne...
X Description: CodeQL was running via GitHub Advanced Security default setup — no workflow file, so no control over runner, triggers, or concurrency. Result: PR scans of 30–125 min on a 4-vCPU GitHub-hosted runne...
Opengraph URL: https://github.com/simstudioai/sim/pull/6219
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9c29b853-54c5-368e-8d28-3fa7433d826d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EC76:1C8E04:804602:B0BD50:6AFB47B3 |
| html-safe-nonce | 9da5be07af5f73cea0bd332fee39b8eca939c204022cebf95b45a9f0c98f652e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzc2OjFDOEUwNDo4MDQ2MDI6QjBCRDUwOjZBRkI0N0IzIiwidmlzaXRvcl9pZCI6IjEwOTEyMTkyMjM1MTcxMjE3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f25200dc47df2223f2358e92bb646fd9166ed0c31421a8a32a883d2e05bce0f6 |
| hovercard-subject-tag | pull_request:4197477907 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/6219/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | CodeQL was running via GitHub Advanced Security default setup — no workflow file, so no control over runner, triggers, or concurrency. Result: PR scans of 30–125 min on a 4-vCPU GitHub-hosted runne... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | acf7616d06cc051644705b379878c9bb13dc5e70ecf4ffd9b34140f8ac01d7e1 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 26504db649b58525278f77a52b80ba5f10d5f4de |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width