Bug Summary
Users can currently edit node configurations or delete nodes while a workflow is actively executing. This can lead to inconsistent execution behavior and unexpected results.
Current Behavior
While a workflow is running, users are still able to:
- Edit node configurations.
- Delete existing nodes.
- Modify the workflow structure.
These changes can occur while the execution engine is processing the workflow, potentially causing inconsistencies between the execution state and the workflow definition.
Expected Behavior
Once a workflow execution starts, the workflow should become read-only until execution completes.
During execution:
- Node configuration should not be editable.
- Nodes should not be deletable.
- New nodes should not be added.
- Connections between nodes should not be modified.
If a user attempts to perform any of these actions, the application should display an appropriate message such as:
"This workflow is currently running. Stop the execution before making changes."
Normal editing should be restored once the workflow reaches a terminal state (Success, Failed, or Cancelled).
Steps to Reproduce
-
Open a workflow in the workflow builder.
-
Start a workflow execution.
-
While the workflow is still running, attempt to:
- Edit a node configuration.
- Delete a node.
- Modify the workflow graph.
-
Observe that the changes are currently allowed.
Additional Context
- The workflow builder should enter a read-only state during active execution.
- This restriction should apply only to the workflow currently being executed.
- User feedback should clearly explain why editing is temporarily disabled.
- This helps maintain execution consistency and prevents accidental modifications during runtime.
Bug Summary
Users can currently edit node configurations or delete nodes while a workflow is actively executing. This can lead to inconsistent execution behavior and unexpected results.
Current Behavior
While a workflow is running, users are still able to:
These changes can occur while the execution engine is processing the workflow, potentially causing inconsistencies between the execution state and the workflow definition.
Expected Behavior
Once a workflow execution starts, the workflow should become read-only until execution completes.
During execution:
If a user attempts to perform any of these actions, the application should display an appropriate message such as:
Normal editing should be restored once the workflow reaches a terminal state (Success, Failed, or Cancelled).
Steps to Reproduce
Open a workflow in the workflow builder.
Start a workflow execution.
While the workflow is still running, attempt to:
Observe that the changes are currently allowed.
Additional Context