Skip to content

Commit b81b640

Browse files
committed
Add warning
1 parent d197f23 commit b81b640

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

durabletask/worker.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1419,6 +1419,10 @@ def _build_rewind_result(
14191419
For failed sub-orchestrations, the ``subOrchestrationInstanceCreated``
14201420
event is kept so the backend can identify which sub-orchestration
14211421
instances to recursively rewind.
1422+
1423+
WARNING!!!:
1424+
If any changes are made to how this method modifies the orchestration's history, then corresponding changes *must*
1425+
be made in the backend implementations that rely on this method for executing a rewind.
14221426
"""
14231427
self._logger.info(
14241428
f"{instance_id}: Orchestration {orchestration_name} is being rewound"

0 commit comments

Comments
 (0)