Skip to content

Commit 4f3ac7d

Browse files
committed
remove external writing of a step event
1 parent 9ad4b31 commit 4f3ac7d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/workflows/plugins/dbos.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ def register(
4040
and sent via DBOS.send, enabling durable orchestration.
4141
"""
4242

43+
44+
4345
# DBOS Python supports async workflow functions; we wrap and return replacement.
4446
# Note: We do not wrap individual step workers here; the control loop retains
4547
# responsibility for step execution. This can be extended later to split steps

src/workflows/runtime/broker.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ async def _run_workflow() -> None:
163163

164164
if exception_raised:
165165
# cancel the stream
166-
self.write_event_to_stream(StopEvent())
167166
if not result.done():
168167
result.set_exception(exception_raised)
169168
finally:

0 commit comments

Comments
 (0)