Skip to content

Enforce rate limits on simulator#505

Open
tarcisiozf wants to merge 3 commits into
mainfrom
DEVSVCS-5269/enforce-rate-limit
Open

Enforce rate limits on simulator#505
tarcisiozf wants to merge 3 commits into
mainfrom
DEVSVCS-5269/enforce-rate-limit

Conversation

@tarcisiozf

@tarcisiozf tarcisiozf commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

This pull request introduces rate limiting for both HTTP and EVM log triggers in the simulation workflow, ensuring that trigger events cannot exceed configurable limits. The changes add support for specifying and enforcing these rate limits, update the relevant services and listeners to respect them, and include comprehensive tests to verify correct behavior.

Rate limiting for triggers:

  • Added support for specifying and enforcing HTTP trigger event rate limits in ManualHTTPTriggerService, including storing a limiter per trigger and rejecting manual triggers that exceed the limit.
  • Implemented EVM log trigger event rate limiting by passing rate limit configuration to EVMLogTriggerListener, enforcing the limit per event, and returning a specific error when exceeded.

@tarcisiozf tarcisiozf marked this pull request as ready for review June 24, 2026 12:00
@tarcisiozf tarcisiozf requested a review from a team as a code owner June 24, 2026 12:00
timothyF95
timothyF95 previously approved these changes Jun 25, 2026
Comment thread cmd/workflow/simulate/chain/evm/trigger_test.go Outdated
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