Skip to content

feat(wes/routing): route runs by workflow type #86

Closed

Description

@uniqueg

Gateways for the WES API need a routing plugin that sends a run only to backends that support its workflow type and version. proWES is the first such gateway (elixir-cloud-aai/prowes#121). Support is read from each backend's GET /service-info: workflow_type_versions, and, for runs that request an engine, workflow_engine_versions (WES 1.1.0).

What to do

  • Phase route: keep the candidates whose service info supports the run's workflow_type and workflow_type_version, and also workflow_engine/workflow_engine_version if the run sets them. Keep the candidates' order.
  • Cache the service info per backend, with a TTL. Configuration decides whether a backend whose service info can't be read is kept or dropped.
  • Group wes, subgroup routing, with a name such as workflow-type. Tests and README as for the other plugins.

Done when

  • The plugin filters candidates as described, with tests for each case, including a backend whose service info is unreadable.
  • The README documents its configuration.

Origin: elixir-cloud-aai/prowes#45.

Activity

  1. added
    priority: low
    status: triage
    type: feature
    workload: days
    on Nov 16, 2026
  2. added
    status: in progress
    and removed
    status: triage
    on Nov 17, 2026
  3. self-assigned this
    on Nov 17, 2026
  4. moved this from Backlog to In progress in ELIXIR On-Cloud: Low Priorityon Nov 17, 2026
  5. moved this from In progress to In review in ELIXIR On-Cloud: Low Priorityon Nov 17, 2026
  6. removed
    status: in progress
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: lowtype: featureworkload: days

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions