Skip to content

Pass pending calls limiter through engine#22623

Merged
justinkaseman merged 1 commit into
developfrom
feat/pending-calls-limiter
Jun 9, 2026
Merged

Pass pending calls limiter through engine#22623
justinkaseman merged 1 commit into
developfrom
feat/pending-calls-limiter

Conversation

@justinkaseman

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

I see you updated files related to core. Please run make gocs in the root directory to add a changeset as well as in the text include at least one of the following tags:

  • #added For any new functionality added.
  • #breaking_change For any functionality that requires manual action for the node to boot.
  • #bugfix For bug fixes.
  • #changed For any change to the existing functionality.
  • #db_update For any feature that introduces updates to database schema.
  • #deprecation_notice For any upcoming deprecation functionality.
  • #internal For changesets that need to be excluded from the final changelog.
  • #nops For any feature that is NOP facing and needs to be in the official Release Notes for the release.
  • #removed For any functionality/config that is removed.
  • #updated For any functionality that is updated.
  • #wip For any change that is not ready yet and external communication about it should be held off till it is feature complete.

@github-actions

github-actions Bot commented May 22, 2026

Copy link
Copy Markdown
Contributor

✅ No conflicts with other open PRs targeting develop

@trunk-io

trunk-io Bot commented May 22, 2026

Copy link
Copy Markdown

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@justinkaseman justinkaseman force-pushed the feat/pending-calls-limiter branch from 69d778f to fb25644 Compare May 23, 2026 03:21
@justinkaseman justinkaseman marked this pull request as ready for review May 23, 2026 03:21
Copilot AI review requested due to automatic review settings May 23, 2026 03:21
@justinkaseman justinkaseman requested review from a team as code owners May 23, 2026 03:21
jmank88
jmank88 previously approved these changes May 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Risk Rating: MEDIUM

This PR updates Chainlink’s dependency set (primarily chainlink-common / chainlink-protos) and wires the newly introduced “pending calls” limiter through the workflow engine module configuration, aligning this repo with the referenced chainlink-common change.

Changes:

  • Bump github.com/smartcontractkit/chainlink-common and related deps across modules (root, deployment, scripts, system/integration tests, devenv).
  • Pass PendingCallsLimiter into host.ModuleConfig for workflow engine module instantiation.
  • Align go.opentelemetry.io/contrib/bridges/prometheus to v0.68.0 where required.

Scrupulous human review areas:

  • core/services/workflows/syncer/v2/handler.go limiter mapping: confirm the chosen limiter (CapabilityConcurrency) is the intended limiter for “pending calls” in the updated chainlink-common host runtime, and that it doesn’t unintentionally change effective concurrency semantics.
  • Dependency bumps to chainlink-common / chainlink-protos: verify compatibility with the rest of the workflows engine stack and any transitive OTel dependency changes.

Reviewed changes

Copilot reviewed 9 out of 17 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
core/services/workflows/syncer/v2/handler.go Wires PendingCallsLimiter into WASM host module config when creating workflow modules.
go.mod / go.sum Bumps chainlink-common, chainlink-protos/cre/go, adds indirect OTel prometheus bridge requirement.
deployment/go.mod / deployment/go.sum Keeps deployment module aligned with updated chainlink-common and OTel bridge versions.
core/scripts/go.mod / core/scripts/go.sum Keeps scripts module aligned with updated chainlink-common and OTel bridge versions.
system-tests/lib/go.mod / system-tests/lib/go.sum Keeps system-tests lib module aligned with updated deps.
system-tests/tests/go.mod / system-tests/tests/go.sum Keeps system-tests tests module aligned with updated deps and OTel bridge.
integration-tests/go.mod / integration-tests/go.sum Keeps integration-tests module aligned with updated deps and OTel bridge.
integration-tests/load/go.mod / integration-tests/load/go.sum Keeps load tests module aligned with updated deps and bumps OTel bridge to v0.68.0.
devenv/go.mod / devenv/go.sum Aligns devenv deps with updated chainlink-common; introduces Stellar indirect deps and related sums.

Comment on lines 698 to 702
MaxCompressedBinaryLimiter: h.engineLimiters.WASMCompressedBinarySize,
MaxDecompressedBinaryLimiter: h.engineLimiters.WASMBinarySize,
MaxResponseSizeLimiter: h.engineLimiters.ExecutionResponse,
PendingCallsLimiter: h.engineLimiters.CapabilityConcurrency,
EnableUserMetricsLimiter: h.engineLimiters.UserMetricEnabled,
Comment thread devenv/go.mod
Comment on lines +43 to +46
require (
github.com/stellar/go-stellar-sdk v0.5.0 // indirect
github.com/stellar/go-xdr v0.0.0-20260312225820-cc2b0611aabf // indirect
)
@cl-sonarqube-production

Copy link
Copy Markdown

@justinkaseman justinkaseman enabled auto-merge June 9, 2026 15:17
@justinkaseman justinkaseman requested a review from a team June 9, 2026 15:17
@justinkaseman justinkaseman added this pull request to the merge queue Jun 9, 2026
Merged via the queue into develop with commit 39c051a Jun 9, 2026
211 of 218 checks passed
@justinkaseman justinkaseman deleted the feat/pending-calls-limiter branch June 9, 2026 16:24
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.

4 participants