-
Notifications
You must be signed in to change notification settings - Fork 40
Labels
app: operatorConcerns the OperatorConcerns the Operatorpriority: highIndicates a high priority issueIndicates a high priority issuetype: bugSomething isn't workingSomething isn't workingweight: 1An issue that has a very low development impactAn issue that has a very low development impact
Milestone
Description
I tried this:
Create a new workflow instance with the synapse.io/operator
label, to route it to operator default-operator.default
:
{
...
"metadata": {
...
"labels": {
"synapse.io/operator": "default-operator.default"
}
}
...
}
This happened:
The workflow instance got picked by a random operator, instead of default-operator.default
.
I expected this:
The workflow instance to be execute by default-operator.default
.
Is there a workaround?
No.
Anything else?
The bug has been reported by @ericlacher in #511.
Specifically, it is due to the following codelines:
- https://github.com/serverlessworkflow/synapse/blob/main/src/operator/Synapse.Operator/Services/WorkflowInstanceController.cs#L90
- https://github.com/serverlessworkflow/synapse/blob/main/src/operator/Synapse.Operator/Services/WorkflowInstanceController.cs#L115
- https://github.com/serverlessworkflow/synapse/blob/main/src/operator/Synapse.Operator/Services/WorkflowController.cs#L98
- https://github.com/serverlessworkflow/synapse/blob/main/src/operator/Synapse.Operator/Services/WorkflowController.cs#L123
Thank you @ericlacher for reporting an pinpointing the issue!!! ❤️
Platform(s)
No response
Community Notes
- Please vote by adding a 👍 reaction to the issue to help us prioritize.
- If you are interested to work on this issue, please leave a comment.name: Bug Report 🐞
cdavernas
Metadata
Metadata
Assignees
Labels
app: operatorConcerns the OperatorConcerns the Operatorpriority: highIndicates a high priority issueIndicates a high priority issuetype: bugSomething isn't workingSomething isn't workingweight: 1An issue that has a very low development impactAn issue that has a very low development impact
Type
Projects
Status
Done