github source

github.instances

fail

List instances of a code scanning alert

Requires owner, repo, and alert_number. Most useful optional filters: ref, pr. Keep queries repository-scoped; fan out across repos client-side when you need broader coverage.

owner, repo, alert_number captured 2026-08-31 06:19:22Zmedian 35547 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
minimal222700 ms23005 ms23311 ms[0, 0]2
realistic228591 ms35547 ms42503 ms[0, 0]2
edge241794 ms43486 ms45179 ms[0, 0]2

Latency per trial

minimalmedian 23005ms
t122700mst223311ms
scale: 0–23311 ms
realisticmedian 35547ms
t128591mst242503ms
scale: 0–42503 ms
edgemedian 43486ms
t141794mst245179ms
scale: 0–45179 ms

Probe variants — every command + output

minimal2 trials
min 22700ms · median 23005ms · max 23311ms · rows 0,0

smallest valid query

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

typical user query

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

edge: larger limit

Command
SELECT * FROM github.instances WHERE owner = 'anomalyco' AND repo = 'opencode' AND alert_number = '1' LIMIT 200
Trials + output
trial 1·41794ms·rows 0isError=true
Error
Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 3303s [GET] https://api.github.com/repos/anomalyco/opencode/code-scanning/alerts/1/instances
Hint: The upstream API is rate-limiting requests. Wait briefly and retry.
trial 2·45179ms·rows 0isError=true
Error
Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 3258s [GET] https://api.github.com/repos/anomalyco/opencode/code-scanning/alerts/1/instances
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
minimalt122700ms0error
minimalt223311ms0error
realistict128591ms0error
realistict242503ms0error
edget141794ms0error
edget245179ms0error
Probed by bld-dabqr1nqj5pc73dgn3h0-676t6 at 2026-08-31T06:19:22Z
JSON record: reports/github/tables/instances.json
first_run_at: 2026-08-31T06:19:22Z
last_retried_at: 2026-08-31T06:19:22Z
retry_count: 0
View version history →