github source

github.variant_analyses

fail

Get the summary of a CodeQL variant analysis

Requires owner, repo, and codeql_variant_analysis_id. Keep queries repository-scoped; fan out across repos client-side when you need broader coverage.

owner, repo, codeql_variant_analysis_id captured 2026-08-31 09:31:26Zmedian 40467 ms
Verdict: FALSE

All variants failed: 6 errors, 0 successful.

What to do

GitHub returned 404
upstream.not_found

Either the resource is private, doesn't exist, or your filter values don't match a real resource.

Try a known public repo (anomalyco/opencode, sst/opencode, octocat/Hello-World)
GitHub returned 404
upstream.not_found

Either the resource is private, doesn't exist, or your filter values don't match a real resource.

Confirm the resource exists: it may be private, removed, or org-scoped
Retry with alternate repos
retry-strategy

If the failure is 404 on `anomalyco/opencode`, try `sst/opencode` or `octocat/Hello-World`. The retry script does this automatically.

python3 scripts/retry_batch.py --source github --only-category <category>
rendering…

Summary

VariantTrialsMinMedianMaxRow countsErrors
minimal235180 ms37331 ms39482 ms[0, 0]2
realistic240132 ms40467 ms40802 ms[0, 0]2
edge233887 ms33973 ms34059 ms[0, 0]2

Latency per trial

minimalmedian 37331ms
t135180mst239482ms
scale: 0–39482 ms
realisticmedian 40467ms
t140132mst240802ms
scale: 0–40802 ms
edgemedian 33973ms
t134059mst233887ms
scale: 0–34059 ms

Probe variants — every command + output

minimal2 trials
min 35180ms · median 37331ms · max 39482ms · rows 0,0

smallest valid query

Command
SELECT * FROM github.variant_analyses WHERE owner = 'anomalyco' AND repo = 'opencode' AND codeql_variant_analysis_id = '1' LIMIT 1
Trials + output
trial 1·35180ms·rows 0isError=true
Error
Error: Source resource was not found (404)
Detail: {"message":"Variant analysis not found","documentation_url":"https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/code-scanning/codeql/variant-analyses/1
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.
trial 2·39482ms·rows 0isError=true
Error
Error: Source resource was not found (404)
Detail: {"message":"Variant analysis not found","documentation_url":"https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/code-scanning/codeql/variant-analyses/1
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.
realistic2 trials
min 40132ms · median 40467ms · max 40802ms · rows 0,0

typical user query

Command
SELECT * FROM github.variant_analyses WHERE owner = 'anomalyco' AND repo = 'opencode' AND codeql_variant_analysis_id = '1' LIMIT 25
Trials + output
trial 1·40132ms·rows 0isError=true
Error
Error: Source resource was not found (404)
Detail: {"message":"Variant analysis not found","documentation_url":"https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/code-scanning/codeql/variant-analyses/1
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.
trial 2·40802ms·rows 0isError=true
Error
Error: Source resource was not found (404)
Detail: {"message":"Variant analysis not found","documentation_url":"https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/code-scanning/codeql/variant-analyses/1
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.
edge2 trials
min 33887ms · median 33973ms · max 34059ms · rows 0,0

edge: larger limit

Command
SELECT * FROM github.variant_analyses WHERE owner = 'anomalyco' AND repo = 'opencode' AND codeql_variant_analysis_id = '1' LIMIT 200
Trials + output
trial 1·34059ms·rows 0isError=true
Error
Error: Source resource was not found (404)
Detail: {"message":"Variant analysis not found","documentation_url":"https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/code-scanning/codeql/variant-analyses/1
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.
trial 2·33887ms·rows 0isError=true
Error
Error: Source resource was not found (404)
Detail: {"message":"Variant analysis not found","documentation_url":"https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/code-scanning/codeql/variant-analyses/1
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.

All returned rowsacross all non-errored trials · filterable · paginated

0 rows stored · 0 returned · page 1/1
No rows captured. Trials either returned isError=true (errors shown above) or the probe runner didn't capture full output rows.

Trial comparison

Variant / comboTrial #LatencyRowsStatusFirst key returned
minimalt135180ms0error
minimalt239482ms0error
realistict140132ms0error
realistict240802ms0error
edget134059ms0error
edget233887ms0error
Probed by bld-dabqr1nqj5pc73dgn3h0-676t6 at 2026-08-31T09:31:26Z
JSON record: reports/github/tables/variant_analyses.json
first_run_at: 2026-08-31T09:31:26Z
last_retried_at: 2026-08-31T09:31:26Z
retry_count: 0
View version history →