Skip to content

Pass pending calls limiter through engine#22623

Open
justinkaseman wants to merge 2 commits into
developfrom
feat/pending-calls-limiter
Open

Pass pending calls limiter through engine#22623
justinkaseman wants to merge 2 commits 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
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 22, 2026

✅ No conflicts with other open PRs targeting develop

@trunk-io
Copy link
Copy Markdown

trunk-io Bot commented May 22, 2026

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
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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

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