github.permissions_check
failCheck if permissions defined by a devcontainer have been accepted by the authenticated user
Requires owner, repo, ref, and devcontainer_path. Keep queries repository-scoped; fan out across repos client-side when you need broader coverage.
All variants failed: 6 errors, 0 successful.
What to do
Personal tokens get 60 req/hr unauthenticated and 5000/hr authenticated. App tokens get 5000/hr.
Wait the retry window (60–1300s) and re-runPersonal 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)Personal tokens get 60 req/hr unauthenticated and 5000/hr authenticated. App tokens get 5000/hr.
Reduce --runs to 1 to lower total request volumeIf 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>Summary
| Variant | Trials | Min | Median | Max | Row counts | Errors |
|---|---|---|---|---|---|---|
| minimal | 2 | 35881 ms | 37308 ms | 38735 ms | [0, 0] | 2 |
| realistic | 2 | 44234 ms | 46699 ms | 49164 ms | [0, 0] | 2 |
| edge | 2 | 33103 ms | 36037 ms | 38972 ms | [0, 0] | 2 |
Latency per trial
Probe variants — every command + output
2 trialssmallest valid query
SELECT * FROM github.permissions_check WHERE owner = 'anomalyco' AND repo = 'opencode' AND ref = 'main' AND devcontainer_path = '1' LIMIT 1Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 668s [GET] https://api.github.com/repos/anomalyco/opencode/codespaces/permissions_check
Hint: The upstream API is rate-limiting requests. Wait briefly and retry.
Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 629s [GET] https://api.github.com/repos/anomalyco/opencode/codespaces/permissions_check
Hint: The upstream API is rate-limiting requests. Wait briefly and retry.
2 trialstypical user query
SELECT * FROM github.permissions_check WHERE owner = 'anomalyco' AND repo = 'opencode' AND ref = 'main' AND devcontainer_path = '1' LIMIT 25Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 585s [GET] https://api.github.com/repos/anomalyco/opencode/codespaces/permissions_check
Hint: The upstream API is rate-limiting requests. Wait briefly and retry.
Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 535s [GET] https://api.github.com/repos/anomalyco/opencode/codespaces/permissions_check
Hint: The upstream API is rate-limiting requests. Wait briefly and retry.
2 trialsedge: larger limit
SELECT * FROM github.permissions_check WHERE owner = 'anomalyco' AND repo = 'opencode' AND ref = 'main' AND devcontainer_path = '1' LIMIT 200Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 496s [GET] https://api.github.com/repos/anomalyco/opencode/codespaces/permissions_check
Hint: The upstream API is rate-limiting requests. Wait briefly and retry.
Error: Source rate limit exceeded (429)
Detail: rate limit exceeded; retry after 463s [GET] https://api.github.com/repos/anomalyco/opencode/codespaces/permissions_check
Hint: The upstream API is rate-limiting requests. Wait briefly and retry.
All returned rowsacross all non-errored trials · filterable · paginated
Trial comparison
| Variant / combo | Trial # | Latency | Rows | Status | First key returned |
|---|---|---|---|---|---|
| minimal | t1 | 35881ms | 0 | error | — |
| minimal | t2 | 38735ms | 0 | error | — |
| realistic | t1 | 44234ms | 0 | error | — |
| realistic | t2 | 49164ms | 0 | error | — |
| edge | t1 | 38972ms | 0 | error | — |
| edge | t2 | 33103ms | 0 | error | — |
bld-dabqr1nqj5pc73dgn3h0-676t6 at 2026-08-31T07:37:10Zreports/github/tables/permissions_check.json2026-08-31T07:37:10Z2026-08-31T07:37:10Z0