Skip to content

chore: remove unused WebClient rate-limit recording path - #252

Open
detail-app[bot] wants to merge 2 commits into
devfrom
detail/dead-code/chore-remove-unused-webclient-rate-limit-recording-4ded17
Open

chore: remove unused WebClient rate-limit recording path#252
detail-app[bot] wants to merge 2 commits into
devfrom
detail/dead-code/chore-remove-unused-webclient-rate-limit-recording-4ded17

Conversation

@detail-app

@detail-app detail-app Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Remove RateLimitService.recordRateLimitFromException and its only helper
RateLimitDecisionResolver.resolveFromWebClientException, along with the
WebClientResponseException imports and the two RateLimitServiceTest cases
that exercised the removed behavior.

The last production caller (ResilientApiClient) was deleted when the
OpenAI SDK integration replaced it (commit 1690399), leaving
recordRateLimitFromException referenced only from RateLimitServiceTest.
resolveFromWebClientException had no other callers and was reachable only
through the now-removed public method.

History


Dead Code PRs can be configured here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant