Commit d0152f8
committed
fix: Verify all samples run end-to-end and fix heartbeat timeout bug
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]>1 parent 398fcb1 commit d0152f8
File tree
3 files changed
+0
-4
lines changed- new_samples
- branch
- choice
- greetings
3 files changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
55 | | - | |
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
0 commit comments