feat: add routing.run quota checker and related configurations#412
Conversation
docloulou
commented
May 16, 2026
- Introduced a new quota checker type 'routing-run' in the PostgreSQL schema.
- Added RoutingRunQuotaCheckerOptionsSchema for configuration options.
- Updated the ConfigService to handle the new quota checker type and its options.
- Enhanced the quota scheduler to initialize and reload the routing-run checker.
- Implemented tests to validate the new routing-run quota checker functionality and its integration with the cooldown manager.
- Updated frontend components to support the new routing-run quota configuration.
mcowger
left a comment
There was a problem hiding this comment.
The changes to config-service.ts (isInitialized() refactor), the config-service.test.ts additions, and the quota-scheduler.ts isInitialized() method addition are all an orthogonal bug fix - they're not related to adding the routing-run checker. Could you revert those and keep this PR focused purely on the quota checker? They can go in a separate PR.
Sorry, done. |
- Introduced a new quota checker type 'routing-run' in the PostgreSQL schema. - Added RoutingRunQuotaCheckerOptionsSchema for configuration options. - Updated the ConfigService to handle the new quota checker type and its options. - Enhanced the quota scheduler to initialize and reload the routing-run checker. - Implemented tests to validate the new routing-run quota checker functionality and its integration with the cooldown manager. - Updated frontend components to support the new routing-run quota configuration.
8b07425 to
ef0d9a3
Compare
…er#412) - Introduced a new quota checker type 'routing-run' in the PostgreSQL schema. - Added RoutingRunQuotaCheckerOptionsSchema for configuration options. - Updated the ConfigService to handle the new quota checker type and its options. - Enhanced the quota scheduler to initialize and reload the routing-run checker. - Implemented tests to validate the new routing-run quota checker functionality and its integration with the cooldown manager. - Updated frontend components to support the new routing-run quota configuration. --------- Co-authored-by: Matt Cowger <matt@cowger.us>