github source

github.restrictions

fail

Get access restrictions

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

owner, repo, branch captured 2026-08-31 08:47:08Zmedian 27393 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
minimal237907 ms41950 ms45994 ms[0, 0]2
realistic221372 ms27393 ms33415 ms[0, 0]2
edge231287 ms31978 ms32670 ms[0, 0]2

Latency per trial

minimalmedian 41950ms
t137907mst245994ms
scale: 0–45994 ms
realisticmedian 27393ms
t121372mst233415ms
scale: 0–33415 ms
edgemedian 31978ms
t132670mst231287ms
scale: 0–32670 ms

Probe variants — every command + output

minimal2 trials
min 37907ms · median 41950ms · max 45994ms · rows 0,0

smallest valid query

Command
SELECT * FROM github.restrictions WHERE owner = 'anomalyco' AND repo = 'opencode' AND branch = 'main' LIMIT 1
Trials + output
trial 1·37907ms·rows 0isError=true
Error
Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 45s [GET] https://api.github.com/repos/anomalyco/opencode/branches/main/protection/restrictions
Hint: The upstream API is rate-limiting requests. Wait briefly and retry.
trial 2·45994ms·rows 0isError=true
Error
Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 3600s [GET] https://api.github.com/repos/anomalyco/opencode/branches/main/protection/restrictions
Hint: The upstream API is rate-limiting requests. Wait briefly and retry.
realistic2 trials
min 21372ms · median 27393ms · max 33415ms · rows 0,0

typical user query

Command
SELECT * FROM github.restrictions WHERE owner = 'anomalyco' AND repo = 'opencode' AND branch = 'main' LIMIT 25
Trials + output
trial 1·21372ms·rows 0isError=true
Error
Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 3579s [GET] https://api.github.com/repos/anomalyco/opencode/branches/main/protection/restrictions
Hint: The upstream API is rate-limiting requests. Wait briefly and retry.
trial 2·33415ms·rows 0isError=true
Error
Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 3545s [GET] https://api.github.com/repos/anomalyco/opencode/branches/main/protection/restrictions
Hint: The upstream API is rate-limiting requests. Wait briefly and retry.
edge2 trials
min 31287ms · median 31978ms · max 32670ms · rows 0,0

edge: larger limit

Command
SELECT * FROM github.restrictions WHERE owner = 'anomalyco' AND repo = 'opencode' AND branch = 'main' LIMIT 200
Trials + output
trial 1·32670ms·rows 0isError=true
Error
Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 3512s [GET] https://api.github.com/repos/anomalyco/opencode/branches/main/protection/restrictions
Hint: The upstream API is rate-limiting requests. Wait briefly and retry.
trial 2·31287ms·rows 0isError=true
Error
Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 3481s [GET] https://api.github.com/repos/anomalyco/opencode/branches/main/protection/restrictions
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
minimalt137907ms0error
minimalt245994ms0error
realistict121372ms0error
realistict233415ms0error
edget132670ms0error
edget231287ms0error
Probed by bld-dabqr1nqj5pc73dgn3h0-676t6 at 2026-08-31T08:47:08Z
JSON record: reports/github/tables/restrictions.json
first_run_at: 2026-08-31T08:47:08Z
last_retried_at: 2026-08-31T08:47:08Z
retry_count: 0
View version history →