Repository navigation
feat(den): centralize AI Gateway access and usage management - #5139
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 4 Skipped Deployments
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
33acec1 to
437d8b6
Compare
|
Selected evidence: Passed · 2/2 tests · 39/39 assertions · 20 images Commit |
MySQL returned the active buckets without ORDER BY, so /v1/inference could list five_hour, weekly and monthly in any order between identical reads.
…f lane - cdp: role targets can locate progressbar (the usage meter checks never matched). - fixture: store the fixture key with its hash so Den self-heal does not rotate it. - world: allow the loopback upstream through the Gateway egress guard. - behaviors/spec: track replies by message id; the windowed transcript unmounts older messages, so mounted counts stall. - spec: move the Langfuse export journey out; Den only exports to public HTTPS, which the local lane cannot provide. It moves to a Daytona-only spec.
Deploying openwork with
|
| Latest commit: |
9b76cb6
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://ccae096a.openwork.pages.dev |
| Branch Preview URL: | https://cleanup-ai-gateway-models-re.openwork.pages.dev |
|
Made the
Still red: |
The previous controller warmed /dashboard/gateway-providers, which this branch removes, so the ACME snapshot build failed. The only controller change from the old pin is that warmup path.
…els-replacement # Conflicts: # .github/workflows/freestyle-prewarm.yml
Same controller as dev's pin (853c4ca) except the warmup path: the old path, /dashboard/gateway-providers, is removed by this branch and 404s.
|
Update: |
Brings in centralized Gateway usage management (#5139), per-member Google Vertex sign-in (#5236) and Mistral providers (#5264). Our migration moves to 0111 on top of dev's 0108-0110 with an unchanged table set; the DB test now upgrades from the 0110 snapshot. dev's shared session-cache helper replaces our local copy in the management-boundary test.
Summary
/dashboard/inferencelinks forward to the Models tab with repeated query parameters preserved.General availability
Retire the organization-level
gatewayDashboardrollout flag in dashboard/migration gates, client capability types, admin toggle/write semantics, organization creation metadata, fixtures, and operational docs. Stored missing/false/malformed flag values cannot block Gateway. No organization opt-in/backfill is needed.A deprecated, always-true API compatibility response remains for older clients; validated boolean/null admin inputs are ignored. These are not mutable feature controls. New clients do not consult the field. API/SDK contracts were regenerated.
Admin/membership/reauthentication rules, provider/model/credential grants, usage enforcement, subscription/DPA rules, and deployment configuration are unchanged.
GATEWAY_ENABLEDanddeploymentCapabilities.aiGatewayremain installation/configuration controls for deployments without a configured Gateway service. GA does not authorize inference without configuration and credentials.Database migration and rollout
One migration relative to
dev:0108_gateway_usage_organization_assignments.sql, plus snapshot/journal. Flag retirement adds no migration.Rebase
Rebased onto
dev7799582. PR head: 437d8b6.Preserved the initial merge commit's Gateway diff as a linear commit, retaining the six intended Gateway commits and omitting inherited unrelated SCIM commits. The only conflict was generated OpenAPI; regeneration preserved all 435 upstream operations and upstream SCIM documentation changes. Updated the branch with an explicit force-with-lease after confirming its previous remote head.
Post-rebase verification
pnpm evals:e2e gateway-usage-policy --local— 1 passed, 0 failed, 0 skipped, local placement in an isolated checkout. The ordinary organization has no Gateway opt-in metadata. Covers management, centralized assignment, nested forms, Models redirect/query preservation, removed routes, member authorization denials, quota blocking, 25% approval and native Desktop recovery, using mocked inference.Earlier isolated DB/API integration and migration upgrade checks passed before rebase; those separate DB suites were not rerun in this rebase pass. This is focused verification, not the entire repository matrix.
Screenshots and evidence
Current rebased-head screenshots below are synthetic-only 1440×1200 captures. The recorder has 19 passed assertion claims and 13 reference screenshots without recorded automated visual validation. Formal visual evidence completeness remains Incomplete. Screenshots do not substitute for the behavioral assertions.