danielgerlag / danielgerlag/workflow-core
Workflow execution stuck in queue
- Dominant language
- C#
- Stars
- 5.9k
- Forks
- 1.3k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 5
Description
Hey @danielgerlag.
We are currently encountering an issue where workflows are stuck in queue from time to time.
The workflow comes to QueueConsumer->Execute method, with EnableSecondPasses always set to false, stays in the loop for 10-15mins and it goes through without any exception logged.
We've added some logs and keeps coming in this block:

We see that it's coming here for other workflows too but they're finishing really fast. We've tried everything but no clue why this is happening.
Our app is running on Azure App Service with B3 plan.
Many thanks,
Vase
Contributor guide
No contributing guide indexed for this repository
Research direction
Begin at QueueConsumer->Execute and inspect the path where EnableSecondPasses is false, comparing it with workflows that finish quickly. Reproduce the 10–15 minute queue stall on Azure App Service B3 with logging around that loop; done means identifying a reproducible cause and confirming workflows leave the queue without a silent delay.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100