Repository navigation
ci(security): add CodeQL advanced setup - #729
Closed
joshconverse wants to merge 1 commit into
Closed
joshconverse wants to merge 1 commit into
joshconverse wants to merge 1 commit into
Conversation
Default setup could not cover Rust at all and in practice only ran go, javascript-typescript and python, leaving provider-swift and the prompt sidecar unanalyzed. It also dispatched conditionally, so some PRs got no CodeQL run — which makes the check impossible to require, since a status check that never reports blocks a PR forever. This workflow runs all six languages on every pull request, on push to master, and weekly. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
joshconverse
had a problem deploying
to
benchmarks
August 25, 2026 19:27 — with
GitHub Actions
Failure
Gajesh2007
approved these changes
Aug 25, 2026
jonathan308
added a commit
that referenced
this pull request
Nov 10, 2026
… becomes 413/415 #1922's review items 2 and 3: - protocol-messages.md and inference.md said the coordinator requires `native_media_controls` during rollout. Only a coordinator with platform #729 (on platform dev, not yet in production) does; without it such requests reach any Super Mac and a Mac without this build refuses them. Both now name #729 with a pinned link to `BuildNeedsNativeMediaControls`. - #1871's fragment shipped in 0.10.11 saying a video's own limits stay `invalid_media` (400). That fragment is removed by the 0.10.12 release branch's master merge, so editing it would conflict; #1922's own fragment now says those limits, like the rest, were `invalid_media` (400) before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces GitHub's CodeQL default setup with an advanced-setup workflow for this repo. Two independent problems with the current state:
Coverage. Default setup cannot analyze Rust at all — the API rejects it outright (
rust is not a possible value; the accepted set isactions, c-cpp, csharp, go, java-kotlin, javascript-typescript, python, ruby, swift). And in practice it was only dispatchinggo,javascript-typescriptandpython, so two significant surfaces have gone unanalyzed:provider-swift— 7,216,720 bytes of Swift, the second-largest language in the repo. Last CodeQL analysis was 2026-06-16, on Enforce a 90% unified-memory cap + purge KV on unload #363, despite active work on the macOS app since.coordinator/promptsidecar— Rust, never covered.actions— workflow analysis, only intermittent. Relevant given there's an open high alert of exactly this class (actions/untrusted-checkout/highincodex.yml:59).Requireability. Default setup dispatched conditionally — #704, for one, received zero CodeQL runs. A required status check that never reports blocks a PR forever, so the gate could not safely be made mandatory. Every job here runs on every
pull_request, which is the precondition for requiring it.Also runs on push to
masterand weekly, so alerts don't go stale between releases.Test plan
The point of this PR is that its own checks are the test. What to look for:
CodeQL Analyze (...)checks appear and pass:go,javascript-typescript,python,rust,actions,swiftCodeQL Analyze (swift)completes on macOS with submodules — this is the job most likely to need iterationCodeQL Analyze (rust)succeeds withbuild-mode: none; if the extractor demands a compile, it becomesmanualwithcargo build/language:*categoriesFollow-ups (not in this PR)
203317, which locks repo-level changes (Code scanning default setup cannot be modified. This setting is controlled by organization administrators.).allow_advancedis alreadytrue, so an org admin can switch this repo to advanced. Until that happens,go/javascript-typescript/pythonare analyzed twice.15055885. It currently has norequired_status_checksrule at all, which is why a red security check didn't block fix(store): serialize usage checkpoint DDL #718. Deliberately excluded from any future required set:Threat Model Review(failing 100% since 2026-07-31 on an expired API key — would block every merge) andE2E Benchmarks(never completes; conclusion is alwaysnull).master(7 critical, 24 high).Deliberately kept the default query suite rather than
security-extended, to avoid a flood of new alerts obscuring whether the workflow itself is sound. Worth revisiting once this is green.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.