Skip to content

pkg/settings/limits: add RangeLimiter#1893

Draft
jmank88 wants to merge 1 commit intomainfrom
range-limiter
Draft

pkg/settings/limits: add RangeLimiter#1893
jmank88 wants to merge 1 commit intomainfrom
range-limiter

Conversation

@jmank88
Copy link
Contributor

@jmank88 jmank88 commented Mar 11, 2026

This PR adds a RangeLimiter for checking that a value is within a range. It is a variation of the BoundLimiter implementation, but takes a Range[N] limit and emits two metrics for lower and upper bounds.

  • tests

@github-actions
Copy link

github-actions bot commented Mar 11, 2026

✅ API Diff Results - github.com/smartcontractkit/chainlink-common

✅ Compatible Changes (8)

pkg/settings (3)
  • ParseRangeFn — ➕ Added

  • Range — ➕ Added

  • TimeRange — ➕ Added

pkg/settings/cresettings.Workflows (1)
  • FeatureMultiTriggerExecutionIDsActivePeriod — ➕ Added
pkg/settings/limits (4)
  • ErrorRangeLimited — ➕ Added

  • MakeRangeLimiter — ➕ Added

  • NewRangeLimiter — ➕ Added

  • RangeLimiter — ➕ Added


📄 View full apidiff report

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.

3 participants