Details
-
Task
-
Status: Open
-
Normal
-
Resolution: Unresolved
-
None
Description
StreamSession contains an implicit state machine, but we have no verification of the safety of the transitions between states. For example, we have no checks to ensure we cannot leave the final states (COMPLETED, FAILED).
I propose we add some program logic in StreamSession, tests, and documentation to ensure the correctness of the state transitions.