Skip to content

feat: add deterministic upstream grant pools#86

Merged
steipete merged 1 commit into
mainfrom
feat/quota-aware-grant-pools
Jul 6, 2026
Merged

feat: add deterministic upstream grant pools#86
steipete merged 1 commit into
mainfrom
feat/quota-aware-grant-pools

Conversation

@steipete

@steipete steipete commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add policy/tenant same-provider grant pools with deterministic numeric priority and stable tie-breaking
  • serialize bounded membership in the access authority and bulk-fetch secret-bearing records in one KV operation
  • preserve provider-id default grants without migration; validate new pool key segments and reject overflow before storage
  • expose priority in the admin API/console and carry it through browser OAuth

Proof

  • pnpm check
  • pnpm build
  • pnpm worker:e2e
  • pnpm --dir admin test:browser
  • autoreview: clean after two repair cycles (0.90 confidence)

Deployment

  • not deployed; merge first, then quota feedback/failover follows in a separate PR

Remaining risk

  • live quota signals and same-provider retry are intentionally the next stacked behavior change; this PR establishes only selection and control-plane membership

@steipete steipete merged commit 6900c62 into main Jul 6, 2026
4 checks passed
@steipete steipete deleted the feat/quota-aware-grant-pools branch July 6, 2026 18:43
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