github source
fail
View version history →
github.branches_where_head
failList branches for HEAD commit
Requires owner, repo, and commit_sha. Keep queries repository-scoped; fan out across repos client-side when you need broader coverage.
owner, repo, commit_sha captured 2026-08-31 05:40:13Zmedian 25047 ms
Verdict: FALSE
All variants failed: 6 errors, 0 successful.
What to do
GitHub returned 422 (validation error)
upstream.unprocessableFilter values don't pass GitHub's input validation.
The filter value violates GitHub's validation (e.g. SHAs must be 40 chars)GitHub returned 422 (validation error)
upstream.unprocessableFilter values don't pass GitHub's input validation.
Search queries need qualifiers (e.g. is:issue, is:pr, repo:owner/name)GitHub returned 422 (validation error)
upstream.unprocessableFilter values don't pass GitHub's input validation.
Document the workaround in the page; do not retry without a known-good inputRetry with alternate repos
retry-strategyIf 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
| Variant | Trials | Min | Median | Max | Row counts | Errors |
|---|---|---|---|---|---|---|
| minimal | 2 | 26862 ms | 29479 ms | 32096 ms | [0, 0] | 2 |
| realistic | 2 | 25020 ms | 25047 ms | 25075 ms | [0, 0] | 2 |
| edge | 2 | 26715 ms | 26985 ms | 27255 ms | [0, 0] | 2 |
Latency per trial
minimalmedian 29479ms
scale: 0–32096 ms
realisticmedian 25047ms
scale: 0–25075 ms
edgemedian 26985ms
scale: 0–27255 ms
Probe variants — every command + output
minimal
2 trialsmin 26862ms · median 29479ms · max 32096ms · rows 0,0
smallest valid query
Command
SELECT * FROM github.branches_where_head WHERE owner = 'anomalyco' AND repo = 'opencode' AND commit_sha = 'main' LIMIT 1Trials + output
trial 1·32096ms·rows 0isError=true
Error
Error: Source request failed (422)
Detail: {"message":"No commit found for SHA: main","documentation_url":"https://docs.github.com/rest/commits/commits#list-branches-for-head-commit","status":"422"} [GET] https://api.github.com/repos/anomalyco/opencode/commits/main/branches-where-head
trial 2·26862ms·rows 0isError=true
Error
Error: Source request failed (422)
Detail: {"message":"No commit found for SHA: main","documentation_url":"https://docs.github.com/rest/commits/commits#list-branches-for-head-commit","status":"422"} [GET] https://api.github.com/repos/anomalyco/opencode/commits/main/branches-where-head
realistic
2 trialsmin 25020ms · median 25047ms · max 25075ms · rows 0,0
typical user query
Command
SELECT * FROM github.branches_where_head WHERE owner = 'anomalyco' AND repo = 'opencode' AND commit_sha = 'main' LIMIT 25Trials + output
trial 1·25020ms·rows 0isError=true
Error
Error: Source request failed (422)
Detail: {"message":"No commit found for SHA: main","documentation_url":"https://docs.github.com/rest/commits/commits#list-branches-for-head-commit","status":"422"} [GET] https://api.github.com/repos/anomalyco/opencode/commits/main/branches-where-head
trial 2·25075ms·rows 0isError=true
Error
Error: Source request failed (422)
Detail: {"message":"No commit found for SHA: main","documentation_url":"https://docs.github.com/rest/commits/commits#list-branches-for-head-commit","status":"422"} [GET] https://api.github.com/repos/anomalyco/opencode/commits/main/branches-where-head
edge
2 trialsmin 26715ms · median 26985ms · max 27255ms · rows 0,0
edge: larger limit
Command
SELECT * FROM github.branches_where_head WHERE owner = 'anomalyco' AND repo = 'opencode' AND commit_sha = 'main' LIMIT 200Trials + output
trial 1·27255ms·rows 0isError=true
Error
Error: Source request failed (422)
Detail: {"message":"No commit found for SHA: main","documentation_url":"https://docs.github.com/rest/commits/commits#list-branches-for-head-commit","status":"422"} [GET] https://api.github.com/repos/anomalyco/opencode/commits/main/branches-where-head
trial 2·26715ms·rows 0isError=true
Error
Error: Source request failed (422)
Detail: {"message":"No commit found for SHA: main","documentation_url":"https://docs.github.com/rest/commits/commits#list-branches-for-head-commit","status":"422"} [GET] https://api.github.com/repos/anomalyco/opencode/commits/main/branches-where-head
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 / combo | Trial # | Latency | Rows | Status | First key returned |
|---|---|---|---|---|---|
| minimal | t1 | 32096ms | 0 | error | — |
| minimal | t2 | 26862ms | 0 | error | — |
| realistic | t1 | 25020ms | 0 | error | — |
| realistic | t2 | 25075ms | 0 | error | — |
| edge | t1 | 27255ms | 0 | error | — |
| edge | t2 | 26715ms | 0 | error | — |
Probed by
bld-dabqr1nqj5pc73dgn3h0-676t6 at 2026-08-31T05:40:13ZJSON record:
reports/github/tables/branches_where_head.jsonfirst_run_at:
2026-08-31T05:40:13Zlast_retried_at:
2026-08-31T05:40:13Zretry_count:
0