github source

github.ref

fail

Get a reference

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

owner, repo, ref captured 2026-08-31 07:51:18Zmedian 41078 ms
Verdict: FALSE

All variants failed: 6 errors, 0 successful.

What to do

GitHub returned 404
upstream.not_found

Either the resource is private, doesn't exist, or your filter values don't match a real resource.

Try a known public repo (anomalyco/opencode, sst/opencode, octocat/Hello-World)
GitHub returned 404
upstream.not_found

Either the resource is private, doesn't exist, or your filter values don't match a real resource.

Confirm the resource exists: it may be private, removed, or org-scoped
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
minimal230553 ms34281 ms38009 ms[0, 0]2
realistic237412 ms41078 ms44744 ms[0, 0]2
edge242320 ms49495 ms56670 ms[0, 0]2

Latency per trial

minimalmedian 34281ms
t130553mst238009ms
scale: 0–38009 ms
realisticmedian 41078ms
t144744mst237412ms
scale: 0–44744 ms
edgemedian 49495ms
t142320mst256670ms
scale: 0–56670 ms

Probe variants — every command + output

minimal2 trials
min 30553ms · median 34281ms · max 38009ms · rows 0,0

smallest valid query

Command
SELECT * FROM github.ref WHERE owner = 'anomalyco' AND repo = 'opencode' AND ref = 'main' LIMIT 1
Trials + output
trial 1·30553ms·rows 0isError=true
Error
Error: Source resource was not found (404)
Detail: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/git/refs#get-a-reference","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/git/ref/main
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.
trial 2·38009ms·rows 0isError=true
Error
Error: Source resource was not found (404)
Detail: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/git/refs#get-a-reference","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/git/ref/main
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.
realistic2 trials
min 37412ms · median 41078ms · max 44744ms · rows 0,0

typical user query

Command
SELECT * FROM github.ref WHERE owner = 'anomalyco' AND repo = 'opencode' AND ref = 'main' LIMIT 25
Trials + output
trial 1·44744ms·rows 0isError=true
Error
Error: Source resource was not found (404)
Detail: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/git/refs#get-a-reference","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/git/ref/main
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.
trial 2·37412ms·rows 0isError=true
Error
Error: Source resource was not found (404)
Detail: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/git/refs#get-a-reference","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/git/ref/main
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.
edge2 trials
min 42320ms · median 49495ms · max 56670ms · rows 0,0

edge: larger limit

Command
SELECT * FROM github.ref WHERE owner = 'anomalyco' AND repo = 'opencode' AND ref = 'main' LIMIT 200
Trials + output
trial 1·42320ms·rows 0isError=true
Error
Error: Source resource was not found (404)
Detail: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/git/refs#get-a-reference","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/git/ref/main
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.
trial 2·56670ms·rows 0isError=true
Error
Error: Source resource was not found (404)
Detail: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/git/refs#get-a-reference","status":"404"} [GET] https://api.github.com/repos/anomalyco/opencode/git/ref/main
Hint: Verify the identifier or filter values you passed; the upstream resource was not found.

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
minimalt130553ms0error
minimalt238009ms0error
realistict144744ms0error
realistict237412ms0error
edget142320ms0error
edget256670ms0error
Probed by bld-dabqr1nqj5pc73dgn3h0-676t6 at 2026-08-31T07:51:18Z
JSON record: reports/github/tables/ref.json
first_run_at: 2026-08-31T07:51:18Z
last_retried_at: 2026-08-31T07:51:18Z
retry_count: 0
View version history →