Title: improvement(ci): run the CodeQL cron weekly and cancel superseded scans by waleedlatif1 · Pull Request #6406 · simstudioai/sim · GitHub
Open Graph Title: improvement(ci): run the CodeQL cron weekly and cancel superseded scans by waleedlatif1 · Pull Request #6406 · simstudioai/sim
X Title: improvement(ci): run the CodeQL cron weekly and cancel superseded scans by waleedlatif1 · Pull Request #6406 · simstudioai/sim
Description: Summary CodeQL cron goes daily -> weekly (Mondays). Main is already fully scanned on every merge (~2/day), so a nightly run re-scanned a tree that was scanned hours earlier at ~50 runner-minutes each. Every upstream repo that pairs a cron with push+PR triggers uses a weekly cron (TypeScript, codeql-action, immich, novu, nestjs, langflow), and GitHub's starter workflow ships $cron-weekly. Daily crons upstream belong to repos where the cron is the only trigger. cancel-in-progress is now unconditional instead of PR-only. Main pushes were serializing: run 31089722455 finished at 11:29:21 and the next run's jobs were created at exactly 11:29:21, so a merge sat queued ~31 min before its ~50 min scan even started. Only the newest analysis of a ref feeds the alert view, so superseded runs are safe to drop. Upstream repos that set concurrency at all use a plain true. Kept the push: [main] trigger — it's what the PR scans diff against, and dropping it would degrade the PR analyses, not just staleten the dashboard. Left the PR-side paths filter alone. Type of Change Improvement Testing Verified the YAML parses and the triggers resolve as intended (push: [main], pull_request: [main, staging] with the paths filter intact, single weekly cron, cancel-in-progress: true). Trigger behavior itself only exercises once this is on the default branch. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)
Open Graph Description: Summary CodeQL cron goes daily -> weekly (Mondays). Main is already fully scanned on every merge (~2/day), so a nightly run re-scanned a tree that was scanned hours earlier at ~50 runner-minute...
X Description: Summary CodeQL cron goes daily -> weekly (Mondays). Main is already fully scanned on every merge (~2/day), so a nightly run re-scanned a tree that was scanned hours earlier at ~50 runner-mi...
Opengraph URL: https://github.com/simstudioai/sim/pull/6406
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:b4e832fa-f06d-ca9a-2925-98dc85a64bcc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9A06:1D4A3:B55A17:F88CC2:6AFB5223 |
| html-safe-nonce | ad4db1f5d6a023283567f6b71e6824cfd316cae8dff7e134dc9079289c893721 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTA2OjFENEEzOkI1NUExNzpGODhDQzI6NkFGQjUyMjMiLCJ2aXNpdG9yX2lkIjoiMzM4ODgwNjc5OTgwNzk1OTU4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b4b80872ae87482ffd1c6fc4194090a01f8d5ac6e02f2d7c9e70c0a8a1eecc63 |
| hovercard-subject-tag | pull_request:4233263725 |
| 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/6406/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 | Summary CodeQL cron goes daily -> weekly (Mondays). Main is already fully scanned on every merge (~2/day), so a nightly run re-scanned a tree that was scanned hours earlier at ~50 runner-minute... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1 |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cbf66c024bb6d10e6955baa7413c54cf13a201bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width