Skip to content

Enforce rate limits on simulator#505

Merged
tarcisiozf merged 7 commits into
mainfrom
DEVSVCS-5269/enforce-rate-limit
Jul 2, 2026
Merged

Enforce rate limits on simulator#505
tarcisiozf merged 7 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
@tarcisiozf tarcisiozf added this pull request to the merge queue Jul 2, 2026
Merged via the queue into main with commit 347edc6 Jul 2, 2026
22 checks passed
@tarcisiozf tarcisiozf deleted the DEVSVCS-5269/enforce-rate-limit branch July 2, 2026 09:35
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