#365 HIGH: Global determinism state shared across workflows

closed high Created 2025-12-11 21:39 · Updated 2025-12-12 19:07

Description

Edit
## Issue Global flags in engine/durable_context.py:39-43 are NOT thread-safe and shared across all workflow executions: ```python _DETERMINISM_CHECK_ENABLED = False _determinism_violations: list[dict[str, Any]] = [] ``` ## Impact - Concurrent workflows share determinism state - False positives/negatives in determinism detection - Memory leaks from violations list growing - Violates Temporal's workflow isolation principle ## Location engine/durable_context.py:39-43 ## Fix Make determinism state per-workflow-run or per-context using context-local storage

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...