Files
MealQuest/internal/recipes
dev_agentandClaude Opus 5.5 b013b542e3
CI / ci (push) Successful in 1m36s
CI / ci (pull_request) Successful in 1m36s
Hand back rate-limit slots of requests that are never sent
waitTurn now checks the context before taking a host's slot, so a request
canceled before Fetch takes none. The request let through takes the slot
and gets a release; limitedTransport calls it when the round trip fails
before the request headers are written (traced with httptrace), restoring
the host's previous send time and waking requests waiting for their turn.

Adds TestFetchUnsentRequestHoldsNoSlot (canceled before Fetch and failed
dial on a host with no previous request; the next request does not wait)
and TestReleaseWakesWaiter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 12:12:37 -04:00
..