Skip to content

Workflow routing does not respect Operator labels #515

@cdavernas

Description

@cdavernas

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:

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 🐞

Metadata

Metadata

Assignees

Labels

app: operatorConcerns the Operatorpriority: highIndicates a high priority issuetype: bugSomething isn't workingweight: 1An issue that has a very low development impact

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions