-
Notifications
You must be signed in to change notification settings - Fork 543
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: schema for multiratelimits (#1775)
* feat: schema for multiratelimits * refactor(agent.ts): add multiRatelimit function to handle ratelimiting feat(agent-sdk): add service_connect.ts and service_pb.ts for ClusterService feat(agent-sdk): add service_connect.ts for RatelimitService with multiRatelimit feat(agent-sdk): add PushPull function to RatelimitService for syncing ratelimits refactor(service_pb.ts): optimize import statements for better readability refactor(service_pb.ts): reformat fields initialization for consistency feat(service_pb.ts): add support for current field in RatelimitResponse feat(service_pb.ts): introduce RatelimitMultiRequest and RatelimitMultiResponse feat(service_pb.ts): implement PushPullRequest and PushPullResponse messages feat(agent-sdk): add generated proto files for vault v1 object and service connect feat(agent-sdk): add generated TypeScript classes for vault service messages chore(metrics): add new enum value 'multiRatelimit' to 'metric.agent.latency' operation in metricSchema refactor(openapi.d.ts): simplify XOR and OneOf type definitions refactor(openapi.d.ts): reformat PermissionQuery type definition for clarity refactor(openapi.d.ts): remove unnecessary empty object in parameters field refactor(openapi.d.ts): update API key creation schema to include new fields and remove deprecated fields feat(openapi.d.ts): add support for per-key ratelimiting in API key creation schema refactor(openapi.d.ts): simplify code enum options for error codes in responses docs(openapi.d.ts): update documentation for key creation in openapi definition * wip * fix(ratelimit/middleware.go): remove unnecessary empty line feat(keys/service.ts): add MissingRatelimitError class for missing ratelimits test(v1_keys_verifyKey.test.ts): skip tests with ratelimit override test(v1_keys_verifyKey.test.ts): skip tests with ratelimit fix(v1_keys_verifyKey.ts): import MissingRatelimitError in service fix(deployment/docker-compose.yaml): update exposed ports range chore(internal/db/package.json): remove dotenv from migrate script fix(internal/db/src/schema/llm-gateway.ts): remove uniqueIndex on subdomain fix(internal/db/src/schema/secrets.ts): remove index on workspaceId chore(package.json): add migrate script for docker compose chore(tools/local/package.json): remove drizzle-orm dependency feat(tools/local/src/cmd/api.ts): add Logging configuration fix(tools/local/src/db.ts): use mysqlDrizzle instead of drizzle in connectDatabase chore(turbo.json): disable cache for migrate script
- Loading branch information
Showing
30 changed files
with
1,876 additions
and
46 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
ea155c4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
planetfall – ./apps/planetfall
planetfall-two.vercel.app
planetfall-git-main-unkey.vercel.app
planetfall-unkey.vercel.app
planetfall.unkey.dev