Skip to content

feat: run WES workflows with the Cloud Components #42

Closed

Description

@uniqueg

Why?

M4.4 asks that users can run workflows in different languages, not only single tasks. Krini runs them on GA4GH WES services (e.g. WESkit, Conquest) with the WES component of the ELIXIR Cloud Components (@elixir-cloud/wes, v2).

Current state (rewrite-nextjs at ff1b0a0): ECCClientGa4ghWesRuns and ECCClientGa4ghWesRunCreate (2.0.0-alpha.48) are wrapped in src/app/dashboard/workflows/_components/. The list points at a hard-coded WESkit URL (ecc-wes-run-wrapper.tsx), and the create form gets no service at all.

How?

  1. Add a WES service selector, filled from the filtered registry list (feat: browse services from a registry #40): verified https WES services only. No hard-coded URLs.
  2. Show each service's supported workflow types and versions from its /service-info, and check the user's choice against them before submitting.
  3. Use the v2 provider pattern for auth: the components take a provider, and Krini builds a RestWesProvider (or subclass) that adds the user's token per request (feat(auth): send the user's token to services #44). No auth logic in the component.
  4. Provide example workflows that are known to run on each listed backend (engines and versions differ), e.g. in test-data/ or the docs, with their inputs.
  5. CORS: WES services must allow Krini's origin; list that in the deployment docs (feat: add a Helm chart and document deployment #52). Don't proxy WES through Krini.
  6. If a gateway for WES (proWES) is added later, the same gateway tag rules apply as for TES (feat: show where gateway tasks ran #48, feat: choose gateway plugins per task #49).
  7. Component blockers go to cloud-components as issues, linked here.

Acceptance criteria

  • A logged-in user with compute access can submit an example workflow to each listed WES service and follow it to completion.
  • The selector shows only verified services with a reachable /service-info.
  • No WES URL is hard-coded.

Dependencies: #40, #44. For the ELIXIR On-Cloud deployment: Conquest deployment (elixir-cloud-aai/generic-issues#27) and bearer validation at the WES services (elixir-cloud-aai/generic-issues#18, elixir-cloud-aai/generic-issues#19); WESkit can come first.


Successor of elixir-cloud-aai/tes-dashboard#32 (the TES Dashboard is retired in favour of Krini).

Activity

  1. added
    priority: high
    status: in progress
    type: feature
    workload: days
    ecp-wp4: M4.4
    ecp-wp4: D4.2
    ecp-wp4: D4.4
    on Oct 24, 2026
  2. moved this from Backlog to In progress in ELIXIR On-Cloudon Oct 24, 2026
  3. uniqueg commented on Oct 28, 2026

    @uniqueg
    MemberAuthor

    For point 3: elixir-cloud-aai/cloud-components#442 is closed, as the provider pattern covers it. Since elixir-cloud-aai/cloud-components#485, a RestWesProvider subclass can override fetch(input, init) to add the token per request; see the WES provider docs ("Custom Providers") and #44.

  4. moved this from In progress to In review in ELIXIR On-Cloudon Nov 7, 2026
  5. AnonymousXC commented on Nov 11, 2026

    @AnonymousXC
    Contributor

    Since staging will become the new dev branch once the rewrite is complete, we'll use the rewrite PR to track the ongoing work.

    For easier tracking and to avoid splitting discussions across multiple issues, I'm closing this issue in favour of the rewrite PR:

  6. moved this from In review to Done in ELIXIR On-Cloudon Nov 11, 2026
  7. added a commit that references this issue on Nov 11, 2026
  8. removed
    status: in progress
    on Nov 13, 2026
  9. added this to the v0.1.0 milestone on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ecp-wp4: D4.2ecp-wp4: D4.4ecp-wp4: M4.4priority: hightype: featureworkload: days

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions