Skip to content
Merged

Fixes #231

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion state-manager/app/controller/executed_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ async def executed_state(namespace_name: str, state_id: PydanticObjectId, body:
identifier=state.identifier,
graph_name=state.graph_name,
run_id=state.run_id,
status=StateStatusEnum.CREATED,
status=StateStatusEnum.EXECUTED,
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

This change correctly sets the status to EXECUTED. To prevent future regressions and ensure the correctness of this fix, it's important to add an assertion to the test_executed_state_success_multiple_outputs unit test. The test should verify that the newly created states for multiple outputs are indeed created with the EXECUTED status.

inputs=state.inputs,
outputs=output,
error=None,
Expand Down
Loading