Skip to content

feat: add routing.run quota checker and related configurations#412

Merged
mcowger merged 3 commits into
mcowger:mainfrom
docloulou:routingrun-quotachecker
May 17, 2026
Merged

feat: add routing.run quota checker and related configurations#412
mcowger merged 3 commits into
mcowger:mainfrom
docloulou:routingrun-quotachecker

Conversation

@docloulou
Copy link
Copy Markdown
Contributor

  • 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.

Copy link
Copy Markdown
Owner

@mcowger mcowger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@docloulou
Copy link
Copy Markdown
Contributor Author

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.
A seperate PR was created

docloulou and others added 3 commits May 17, 2026 00:50
- 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 mcowger force-pushed the routingrun-quotachecker branch from 8b07425 to ef0d9a3 Compare May 17, 2026 07:51
@mcowger mcowger merged commit 8ac523e into mcowger:main May 17, 2026
1 of 2 checks passed
micookie2 pushed a commit to micookie2/plexus that referenced this pull request May 21, 2026
…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>
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.

2 participants