Hi everyone,
I’m having an issue where my workflow only executes the first activity and then times out. The workflow starts, calls the first activity (alpha), but never schedules the subsequent activities.
What’s happening
-
Workflow logs “About to call alpha”
-
Alpha activity completes successfully in Temporal Cloud
-
Workflow task times out after Alpha completion
-
No other activities (beta, gamma, delta, epsilon) get scheduled
-
Last log message is “About to call alpha”
Current code
Workflow:
export async function runSimpleDAG(): Promise<void> {
log.info('Workflow starting')
log.info('About to call alpha')
const alphaResult = await alpha()
log.info('Alpha completed', { result: alphaResult })
log.info('About to call beta')
const betaResult = await beta(alphaResult)
// rest of activities...
}
Example activity (all 5 are identical except for the name):
import { sleep } from '@temporalio/activity'
export async function alpha(): Promise<string> {
const sleepTime = Math.floor(Math.random() * 10000)
await sleep(sleepTime)
return Hello from Alpha! (slept ${sleepTime}ms)
}
Activity setup:
import type * as activities from '@/dag/src/activities'
const { alpha, beta, gamma, delta, epsilon } = proxyActivities<typeof activities>({
startToCloseTimeout: '10 minutes',
scheduleToStartTimeout: '10 minutes',
scheduleToCloseTimeout: '10 minutes',
taskQueue: 'default',
retry: {
maximumInterval: '10 minutes',
},
})
Worker:
const worker = await Worker.create({
workflowsPath,
connection,
namespace: TEMPORAL_NAMESPACE,
taskQueue: TEMPORAL_TASK_QUEUE,
activities,
})
What I’ve tried
-
Simplified the alpha activity to just return a string
-
Added explicit taskQueue: ‘default’ to override sticky behavior
-
Verified all 5 activities are registered with the worker
-
Added detailed logging throughout the workflow
Temporal Cloud shows
-
Alpha activity: Scheduled → Started → Completed
-
Workflow task: Scheduled → Started → Never completes
-
No subsequent activities are ever scheduled
The workflow task just hangs after Alpha completes. I’m not sure if this is a configuration issue, a sticky task queue problem, or something else entirely.
Has anyone seen this before? Any suggestions on what to check next?
Thanks for any help!






