Skip to content

core/services/workflows/v2: fix WorkflowLimit usage with conditional freeing of resources#22355

Merged
jmank88 merged 1 commit into
developfrom
cre-workflowlimit-count
May 11, 2026
Merged

core/services/workflows/v2: fix WorkflowLimit usage with conditional freeing of resources#22355
jmank88 merged 1 commit into
developfrom
cre-workflowlimit-count

Conversation

@jmank88
Copy link
Copy Markdown
Contributor

@jmank88 jmank88 commented May 8, 2026

No description provided.

@jmank88 jmank88 requested a review from a team as a code owner May 8, 2026 16:12
@jmank88 jmank88 requested a review from chudilka1 May 8, 2026 16:12
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

👋 jmank88, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

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 8, 2026

✅ No conflicts with other open PRs targeting develop

// apply global engine instance limits
// TODO(CAPPL-794): consider moving this outside of the engine, into the Syncer
err := e.cfg.GlobalExecutionConcurrencyLimiter.Use(ctx, 1)
err := e.cfg.GlobalWorkflowLimit.Use(ctx, 1)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Since this is happening during init rather than start, we cannot unconditionally free from close.

@jmank88 jmank88 requested review from bolekk and pavel-raykov May 8, 2026 16:20
@trunk-io
Copy link
Copy Markdown

trunk-io Bot commented May 8, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

Failed Test Failure Summary Logs
TestCompute_SpendValueRelativeToComputeTime/2.5s The test failed because a computed value was not less than the expected threshold, indicating a logic or calculation error. Logs ↗︎

View Full Report ↗︎Docs

@cl-sonarqube-production
Copy link
Copy Markdown

@jmank88 jmank88 enabled auto-merge May 11, 2026 13:37
@jmank88 jmank88 added this pull request to the merge queue May 11, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 11, 2026
@jmank88 jmank88 added this pull request to the merge queue May 11, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 11, 2026
@jmank88 jmank88 added this pull request to the merge queue May 11, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 11, 2026
@jmank88 jmank88 added this pull request to the merge queue May 11, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 11, 2026
@jmank88 jmank88 added this pull request to the merge queue May 11, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 11, 2026
@jmank88 jmank88 added this pull request to the merge queue May 11, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 11, 2026
@jmank88 jmank88 added this pull request to the merge queue May 11, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 11, 2026
@jmank88 jmank88 added this pull request to the merge queue May 11, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 11, 2026
@jmank88 jmank88 added this pull request to the merge queue May 11, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 11, 2026
@jmank88 jmank88 added this pull request to the merge queue May 11, 2026
Merged via the queue into develop with commit 2281caf May 11, 2026
229 of 230 checks passed
@jmank88 jmank88 deleted the cre-workflowlimit-count branch May 11, 2026 21:40
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