Repository navigation
fix: IdC OIDC region and cache token usage (upstream #126, #129) - #7
Merged
Merged
Conversation
added 5 commits
October 30, 2026 09:45
V2 only merges a variant's `body` into the request payload; `settings` never reaches the proxy, so #high/#max fell back to the default budget.
Run all migrations in one BEGIN IMMEDIATE transaction and use BEGIN IMMEDIATE for writes, so concurrent plugin loads wait on busy_timeout instead of failing with 'database is locked'.
Both listen() callbacks were registered, so the first resolved with the busy preferred port and later instances got ECONNREFUSED.
…zero Port of upstream tickernelz#129.
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
Invalid token providedmid-session when Identity Center and Q profile live in different regions.cacheReadInputTokens/cacheWriteInputTokensfrom the backend instead of hardcoding 0 (streaming and non-streaming paths).Builds on #6.
Testing
npm run typecheck,npm run buildcleanbun test: 188 pass, incl. newcache-token-usage.test.ts