Skip to content

Conversation

shijiesheng
Copy link
Member

What changed?

  • added DeterministEventLoop which is core of a workflow loop derived from BaseEventLoop without any I/O support.

Why?

This FIFO is needed to ensure deterministic requirement of workflows

How did you test it?

Unit Test

Potential risks

Release notes

Documentation Changes


def __init__(self):
self._thread_id: int = None # indicate if the event loop is running
self._debug = False
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: it seems like we don't have a place to enable debug mode

Copy link
Member Author

@shijiesheng shijiesheng Aug 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually added set_debug function

Copy link
Member

@timl3136 timl3136 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shijiesheng shijiesheng merged commit 1110e1c into cadence-workflow:main Sep 2, 2025
3 checks passed
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.

3 participants