github source

github.repo_code_scanning_codeql_variant_analyse_repos

fail

Get the analysis status of a repository in a CodeQL variant analysis

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

owner, repo, codeql_variant_analysis_id, repo_owner, repo_name captured 2026-08-31 08:09:11Zmedian 33566 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
minimal230442 ms32475 ms34508 ms[0, 0]2
realistic232756 ms33566 ms34376 ms[0, 0]2
edge231353 ms33345 ms35337 ms[0, 0]2

Latency per trial

minimalmedian 32475ms
t134508mst230442ms
scale: 0–34508 ms
realisticmedian 33566ms
t134376mst232756ms
scale: 0–34376 ms
edgemedian 33345ms
t135337mst231353ms
scale: 0–35337 ms

Probe variants — every command + output

minimal2 trials
min 30442ms · median 32475ms · max 34508ms · rows 0,0

smallest valid query

Command
SELECT * FROM github.repo_code_scanning_codeql_variant_analyse_repos WHERE owner = 'anomalyco' AND repo = 'opencode' AND codeql_variant_analysis_id = '1' AND repo_owner = '1' AND repo_name = '1' LIMIT 1
Trials + output
trial 1·34508ms·rows 0isError=true
Error
Error: Source resource was not found (404)
Detail: {"message":"Not Found","documentation_url":"https://docs.github.com/rest","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/code-scanning/codeql/variant-analyses/1/repos/1/1
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.
trial 2·30442ms·rows 0isError=true
Error
Error: Source resource was not found (404)
Detail: {"message":"Not Found","documentation_url":"https://docs.github.com/rest","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/code-scanning/codeql/variant-analyses/1/repos/1/1
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.
realistic2 trials
min 32756ms · median 33566ms · max 34376ms · rows 0,0

typical user query

Command
SELECT * FROM github.repo_code_scanning_codeql_variant_analyse_repos WHERE owner = 'anomalyco' AND repo = 'opencode' AND codeql_variant_analysis_id = '1' AND repo_owner = '1' AND repo_name = '1' LIMIT 25
Trials + output
trial 1·34376ms·rows 0isError=true
Error
Error: Source resource was not found (404)
Detail: {"message":"Not Found","documentation_url":"https://docs.github.com/rest","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/code-scanning/codeql/variant-analyses/1/repos/1/1
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.
trial 2·32756ms·rows 0isError=true
Error
Error: Source resource was not found (404)
Detail: {"message":"Not Found","documentation_url":"https://docs.github.com/rest","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/code-scanning/codeql/variant-analyses/1/repos/1/1
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.
edge2 trials
min 31353ms · median 33345ms · max 35337ms · rows 0,0

edge: larger limit

Command
SELECT * FROM github.repo_code_scanning_codeql_variant_analyse_repos WHERE owner = 'anomalyco' AND repo = 'opencode' AND codeql_variant_analysis_id = '1' AND repo_owner = '1' AND repo_name = '1' LIMIT 200
Trials + output
trial 1·35337ms·rows 0isError=true
Error
Error: Source resource was not found (404)
Detail: {"message":"Not Found","documentation_url":"https://docs.github.com/rest","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/code-scanning/codeql/variant-analyses/1/repos/1/1
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.
trial 2·31353ms·rows 0isError=true
Error
Error: Source resource was not found (404)
Detail: {"message":"Not Found","documentation_url":"https://docs.github.com/rest","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/code-scanning/codeql/variant-analyses/1/repos/1/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
minimalt134508ms0error
minimalt230442ms0error
realistict134376ms0error
realistict232756ms0error
edget135337ms0error
edget231353ms0error
Probed by bld-dabqr1nqj5pc73dgn3h0-676t6 at 2026-08-31T08:09:11Z
JSON record: reports/github/tables/repo_code_scanning_codeql_variant_analyse_repos.json
first_run_at: 2026-08-31T08:09:11Z
last_retried_at: 2026-08-31T08:09:11Z
retry_count: 0
View version history →