Repository navigation
fix(quota): route remaining console quota reads through the connection proxy - #16344
Open
maxmad64bis wants to merge 2 commits into
Open
maxmad64bis wants to merge 2 commits into
maxmad64bis wants to merge 2 commits into
Conversation
maxmad64bis
force-pushed
the
fix/quota-fetchers-remaining-through-connection-proxy
branch
from
October 11, 2026 13:26
f408227 to
eec7405
Compare
maxmad64bis
marked this pull request as ready for review
October 11, 2026 13:48
6 of 7 tasks
maxmad64bis
marked this pull request as draft
October 12, 2026 08:28
maxmad64bis
force-pushed
the
fix/quota-fetchers-remaining-through-connection-proxy
branch
2 times, most recently
from
October 12, 2026 08:53
202169c to
f63fe06
Compare
maxmad64bis
marked this pull request as ready for review
October 12, 2026 09:24
6 of 7 tasks
Console quota reads used a direct fetch; they now run inside the assigned connection proxy context with no direct fallback.
…n proxy Console quota reads used a direct fetch; they now run inside the assigned connection proxy context with no direct fallback.
maxmad64bis
marked this pull request as draft
October 16, 2026 20:30
maxmad64bis
force-pushed
the
fix/quota-fetchers-remaining-through-connection-proxy
branch
from
October 16, 2026 20:30
f63fe06 to
656ba2c
Compare
maxmad64bis
marked this pull request as ready for review
October 16, 2026 20:52
6 of 7 tasks
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Quota reads for nine providers leave the direct address while the same connection's requests use its assigned proxy. This change routes those nine readers through the connection proxy, so a reading with a proxy assigned leaves by the proxy and a reading without one still fetches directly. The provider limits screen shows the same data over the new network path — it's the same reading by proxy.
Related Issues
Target Branch
release/v3.8.xbranch (the highest openrelease/v*), notmainv4-featurelabel for the v4 channelValidation
npm run lintTests Added Or Updated
tests/unit/quota-fetchers-connection-proxy.test.ts— nine per-provider tests, one per remaining reader, plus a shared no-auth invalidation test and a static guard that fails naming any reader that callsfetchoutside the helper.Coverage Notes
open-sse/services/jinaQuotaFetcher.ts— covered byjina quota reads inside the proxy context.open-sse/services/llmgatewayQuotaFetcher.ts— covered byllmgateway quota reads inside the proxy context.open-sse/services/lyceumQuotaFetcher.ts— covered bylyceum quota reads inside the proxy context.open-sse/services/moonshotQuotaFetcher.ts— covered bymoonshot quota reads inside the proxy context.open-sse/services/newApiAggregatorQuotaFetcher.ts— covered bynew-api aggregator quota reads inside the proxy context.open-sse/services/opencodeQuotaFetcher.ts— covered byopencode quota reads inside the proxy contextandopencode quota invalidation clears the shared no-auth reading.open-sse/services/openrouterQuotaFetcher.ts— covered byopenrouter quota reads inside the proxy context.open-sse/services/tavilyQuotaFetcher.ts— covered bytavily quota reads inside the proxy context.open-sse/services/v0QuotaFetcher.ts— covered byv0 quota reads inside the proxy context.Reviewer Notes