Commit ff980d3
authored
Propagate memo on continue-as-new in the test server (#2943)
The in-memory test server carried over search attributes and header on
continue-as-new but dropped the memo, so a workflow that sets a memo on
continue-as-new could not read it back on the new run under the test
environment even though it works against a real server.
Set the memo on the ContinuedAsNew event attributes and on the new run
start request, mirroring the existing search attribute handling, and
extend ContinueAsNewTest to assert the memo is visible after
continue-as-new.
Closes #28631 parent 0192576 commit ff980d3
3 files changed
Lines changed: 13 additions & 0 deletions
File tree
- temporal-sdk/src/test/java/io/temporal/workflow
- temporal-test-server/src/main/java/io/temporal/internal/testservice
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
80 | 87 | | |
81 | 88 | | |
82 | 89 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1467 | 1467 | | |
1468 | 1468 | | |
1469 | 1469 | | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
1470 | 1473 | | |
1471 | 1474 | | |
1472 | 1475 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1757 | 1757 | | |
1758 | 1758 | | |
1759 | 1759 | | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
1760 | 1763 | | |
1761 | 1764 | | |
1762 | 1765 | | |
| |||
0 commit comments