Skip to content

[Backport release-1.19] workflow: run orchestrator work items on their own thread pool - #1272

Merged
dapr-bot merged 7 commits into
release-1.19from
backport-1264-to-release-1.19
Oct 15, 2026
Merged

dapr-bot merged 7 commits into
release-1.19from
backport-1264-to-release-1.19

Conversation

@dapr-bot

Copy link
Copy Markdown
Collaborator

Backport 6d8fb6e from #1264.

* workflow: run orchestrator work items on their own thread pool

The worker ran sync activities and orchestrator work items on one thread
pool. An activity that schedules a workflow waits until that workflow
has started, which needs the new workflow's first orchestrator work item
to run on the same worker. With enough such activities in flight to take
every pool thread, the orchestrator work items queued behind them and
the worker deadlocked.

Give orchestrator work items their own pool of the same size.

Signed-off-by: joshvanl <me@joshvanl.dev>

* Review comments

Signed-off-by: joshvanl <me@joshvanl.dev>

---------

Signed-off-by: joshvanl <me@joshvanl.dev>
(cherry picked from commit 6d8fb6e)
Signed-off-by: dapr-bot <dapr-bot@users.noreply.github.com>
@dapr-bot
dapr-bot requested review from a team as code owners October 13, 2026 14:16
@CasperGN CasperGN self-assigned this Oct 13, 2026
@codecov

codecov Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (release-1.19@687cf23). Learn more about missing BASE report.

Additional details and impacted files
@@               Coverage Diff               @@
##             release-1.19    #1272   +/-   ##
===============================================
  Coverage                ?   86.68%           
===============================================
  Files                   ?      163           
  Lines                   ?    12924           
  Branches                ?        0           
===============================================
  Hits                    ?    11203           
  Misses                  ?     1721           
  Partials                ?        0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@CasperGN CasperGN removed their assignment Oct 13, 2026
@sicoyle sicoyle added automerge allows dapr bot to merge a PR after tests pass autoupdate labels Oct 15, 2026
@dapr-bot
dapr-bot enabled auto-merge (squash) October 15, 2026 14:05
@CasperGN CasperGN self-assigned this Oct 15, 2026
@dapr-bot
dapr-bot merged commit 155bcd8 into release-1.19 Oct 15, 2026
22 checks passed
@dapr-bot
dapr-bot deleted the backport-1264-to-release-1.19 branch October 15, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge allows dapr bot to merge a PR after tests pass autoupdate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants