Skip to content

Conversation

@zawadzkidiana
Copy link
Contributor

@zawadzkidiana zawadzkidiana self-assigned this Dec 2, 2025
- greetings: Sequential activity execution
- timer: Timeout and delayed notifications
- branch: Parallel activity execution
- choice: Conditional execution based on results
- pickfirst: Race condition handling

Signed-off-by: Diana Zawadzki <[email protected]>
Ran all 7 samples against Cadence server to verify they work:
- greetings, timer, branch, choice, pickfirst, activities, operations

Discovered bug: Activities without heartbeating were failing with
ActivityTaskTimedOut (HEARTBEAT) because HeartbeatTimeout was set
but the activities never called activity.RecordHeartbeat().

Fix: Removed HeartbeatTimeout from simple activities (greetings,
branch, choice) that complete quickly and don't need heartbeating.

Signed-off-by: Diana Zawadzki <[email protected]>
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.

1 participant