Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully 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.
Give metrics readers, private schema clients and warehouse backfill callers separate capabilities. A grant identifies its holder, one capability, a bearer-token digest and a UTC expiry. Request checks enforce scope and expiration, including credential overlap. The deployment receives digests and clients retain the bearer secrets.
The API, worker and prefetch keep metrics-only compatibility for existing deployments. Schema access and pipeline mutation require dedicated grants. Pipeline routes must explicitly request their capability, and read-only API registrations reject write methods. Provision grants and clients before rollout. The deployment migration and verification steps are in the operator access guide.
Built the shared types, API, worker, prefetch and pipeline. All 594 API security tests passed locally. The real CLI and container checks exercise distinct credentials for the metrics and schema endpoints.
Commit
ed7c005passed all five applicable checks. This branch includes #3186 and #3196. An operator-only route now requires a configured verifier before its handler can run. Its own verifier checks the capability. Public statistics record only requests admitted through the public quota. A local combination of #3181 through #3206 passed all 642 API security tests and 14 integration tests using disposable TiDB and Redis, including CLI startup, Explorer keys and request statistics. CI run.