github source

github.repo_code_scanning_alerts

fail

List code scanning alerts for a repository

Requires owner and repo. Most useful optional filters: ref, sort, state. Add alert_number to jump from the default list call to a specific record lookup.

owner, repo captured 2026-08-31 08:08:59Zmedian 33722 ms
Verdict: FALSE

All variants failed: 6 errors, 0 successful.

What to do

GitHub returned 429
upstream.rate_limit

Personal tokens get 60 req/hr unauthenticated and 5000/hr authenticated. App tokens get 5000/hr.

Wait the retry window (60–1300s) and re-run
GitHub returned 429
upstream.rate_limit

Personal tokens get 60 req/hr unauthenticated and 5000/hr authenticated. App tokens get 5000/hr.

Use a token with higher rate-limit budget (GH Apps get 5000/hr vs personal 60/hr)
GitHub returned 429
upstream.rate_limit

Personal tokens get 60 req/hr unauthenticated and 5000/hr authenticated. App tokens get 5000/hr.

Reduce --runs to 1 to lower total request volume
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
minimal228327 ms31283 ms34239 ms[0, 0]2
realistic233339 ms33722 ms34106 ms[0, 0]2
edge231864 ms33012 ms34161 ms[0, 0]2

Latency per trial

minimalmedian 31283ms
t134239mst228327ms
scale: 0–34239 ms
realisticmedian 33722ms
t134106mst233339ms
scale: 0–34106 ms
edgemedian 33012ms
t134161mst231864ms
scale: 0–34161 ms

Probe variants — every command + output

minimal2 trials
min 28327ms · median 31283ms · max 34239ms · rows 0,0

smallest valid query

Command
SELECT * FROM github.repo_code_scanning_alerts WHERE owner = 'anomalyco' AND repo = 'opencode' LIMIT 1
Trials + output
trial 1·34239ms·rows 0isError=true
Error
Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 456s [GET] https://api.github.com/repos/anomalyco/opencode/code-scanning/alerts
Hint: The upstream API is rate-limiting requests. Wait briefly and retry.
trial 2·28327ms·rows 0isError=true
Error
Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 428s [GET] https://api.github.com/repos/anomalyco/opencode/code-scanning/alerts
Hint: The upstream API is rate-limiting requests. Wait briefly and retry.
realistic2 trials
min 33339ms · median 33722ms · max 34106ms · rows 0,0

typical user query

Command
SELECT * FROM github.repo_code_scanning_alerts WHERE owner = 'anomalyco' AND repo = 'opencode' LIMIT 25
Trials + output
trial 1·34106ms·rows 0isError=true
Error
Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 394s [GET] https://api.github.com/repos/anomalyco/opencode/code-scanning/alerts
Hint: The upstream API is rate-limiting requests. Wait briefly and retry.
trial 2·33339ms·rows 0isError=true
Error
Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 361s [GET] https://api.github.com/repos/anomalyco/opencode/code-scanning/alerts
Hint: The upstream API is rate-limiting requests. Wait briefly and retry.
edge2 trials
min 31864ms · median 33012ms · max 34161ms · rows 0,0

edge: larger limit

Command
SELECT * FROM github.repo_code_scanning_alerts WHERE owner = 'anomalyco' AND repo = 'opencode' LIMIT 200
Trials + output
trial 1·34161ms·rows 0isError=true
Error
Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 326s [GET] https://api.github.com/repos/anomalyco/opencode/code-scanning/alerts
Hint: The upstream API is rate-limiting requests. Wait briefly and retry.
trial 2·31864ms·rows 0isError=true
Error
Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 294s [GET] https://api.github.com/repos/anomalyco/opencode/code-scanning/alerts
Hint: The upstream API is rate-limiting requests. Wait briefly and retry.

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
minimalt134239ms0error
minimalt228327ms0error
realistict134106ms0error
realistict233339ms0error
edget134161ms0error
edget231864ms0error
Probed by bld-dabqr1nqj5pc73dgn3h0-676t6 at 2026-08-31T08:08:59Z
JSON record: reports/github/tables/repo_code_scanning_alerts.json
first_run_at: 2026-08-31T08:08:59Z
last_retried_at: 2026-08-31T08:08:59Z
retry_count: 0
View version history →