github source

github.repo_branch_protection_restriction_teams

fail

Get teams with access to the protected branch

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:05:29Zmedian 40543 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
minimal229796 ms32278 ms34760 ms[0, 0]2
realistic236455 ms40543 ms44632 ms[0, 0]2
edge230837 ms31940 ms33044 ms[0, 0]2

Latency per trial

minimalmedian 32278ms
t129796mst234760ms
scale: 0–34760 ms
realisticmedian 40543ms
t136455mst244632ms
scale: 0–44632 ms
edgemedian 31940ms
t130837mst233044ms
scale: 0–33044 ms

Probe variants — every command + output

minimal2 trials
min 29796ms · median 32278ms · max 34760ms · rows 0,0

smallest valid query

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

typical user query

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

edge: larger limit

Command
SELECT * FROM github.repo_branch_protection_restriction_teams WHERE owner = 'anomalyco' AND repo = 'opencode' AND branch = 'main' LIMIT 200
Trials + output
trial 1·30837ms·rows 0isError=true
Error
Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 2406s [GET] https://api.github.com/repos/anomalyco/opencode/branches/main/protection/restrictions/teams
Hint: The upstream API is rate-limiting requests. Wait briefly and retry.
trial 2·33044ms·rows 0isError=true
Error
Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 2373s [GET] https://api.github.com/repos/anomalyco/opencode/branches/main/protection/restrictions/teams
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
minimalt129796ms0error
minimalt234760ms0error
realistict136455ms0error
realistict244632ms0error
edget130837ms0error
edget233044ms0error
Probed by bld-dabqr1nqj5pc73dgn3h0-676t6 at 2026-08-31T08:05:29Z
JSON record: reports/github/tables/repo_branch_protection_restriction_teams.json
first_run_at: 2026-08-31T08:05:29Z
last_retried_at: 2026-08-31T08:05:29Z
retry_count: 0
View version history →