gitcrawl/internal
Dallin Romney 330f492666
feat(github): retry on X-RateLimit-Remaining and Retry-After in client.do (#5)
Single chokepoint Client.do now inspects the response on 403/429 and,
when the headers say we're rate-limited (X-RateLimit-Remaining=0 or a
Retry-After value), sleeps until the reset and retries once. The sleep
honors ctx cancellation, so callers bound the wait with
context.WithTimeout if they want a deadline.

RequestError gains a Headers field so the retry decision can read the
underlying response without re-fetching.
2026-04-30 23:32:52 -07:00
..
cli fix(embed): cap crawler embedding inputs 2026-04-30 03:05:25 -07:00
cluster test: raise gitcrawl coverage above eighty five percent 2026-04-30 04:48:36 +01:00
compat refactor: remove old product naming 2026-04-27 00:19:45 -07:00
config test: raise gitcrawl coverage above eighty five percent 2026-04-30 04:48:36 +01:00
documents test: clean fixture wording 2026-04-27 00:20:52 -07:00
github feat(github): retry on X-RateLimit-Remaining and Retry-After in client.do (#5) 2026-04-30 23:32:52 -07:00
openai fix(embed): cap crawler embedding inputs 2026-04-30 03:05:25 -07:00
store fix(embed): cap crawler embedding inputs 2026-04-30 03:05:25 -07:00
syncer test: raise gitcrawl coverage above eighty five percent 2026-04-30 04:48:36 +01:00
vector test: raise gitcrawl coverage above eighty five percent 2026-04-30 04:48:36 +01:00