Repository navigation
Description
Why?
Priority note: the M4.4 wording ("run workflows … and individual containerised tasks") is technically met by Conquest on its own backend (#27). But federated workflow execution on the TES network is central to what ELIXIR On-Cloud demonstrates, so this is required in spirit: priority: medium.
M4.4 is about running workflows on the federated ELIXIR On-Cloud TES network. Currently Conquest dispatches every workflow task to its internal TES API, which turns tasks into Kubernetes Jobs in Conquest's own cluster. That is acceptable for the first deployment (#27) only. Conquest must transition to sending tasks to the proTES gateway, which then distributes them across the TES network (CZ, DE, FI, GR, NL planned). Only then do WES runs via Krini demonstrate federated execution end to end.
Upstream: https://github.com/anuragxxd/conquest (contact @anuragxxd).
What the code suggests:
internal/backend/interfaces.godefines aTaskBackendinterface (Submit,Cancel,Refresh). It is explicitly designed so that the Kubernetes backend (internal/backend/k8s) is only the first implementation. A TES-forwarding backend fits here: engines keep talking to Conquest's internal TES API (thenf-ga4ghplugin,python/miniwdl_conquest_tes,python/snakemake_executor_plugin_conquest_tes), and the new backend relays to proTES.- Data staging is the hard part. Today, init and post containers stage inputs from and outputs to S3 inside the cluster (
internal/filer). Shared-filesystem workspace modes (pvc,objectfs) cannot work across remote Nodes. Task inputs are validated ass3://,http(s)://or, for PVC runs, shared local paths (isSupportedTaskInputURLininternal/api/tes/handlers.go). - Auth: calls to proTES must carry the user's LS Login token, or a service credential, according to the decision in proTES: validate LS Login bearer tokens and define how downstream TES credentials are handled protes#201.
How?
- Write a short design note in this issue before coding. It should cover:
- how tasks are translated, mainly inputs and outputs: rewrite
s3://to presignedhttps://URLs, or require S3 access on all Nodes; - which workspace modes are supported (likely
emptydironly); - which engines and versions are supported (Snakemake 7.x runs locally in the runner pod and is out of scope);
- how state and logs are mapped back from proTES
GetTask; - cancellation;
- auth/token propagation, including expiry during long workflows.
- how tasks are translated, mainly inputs and outputs: rewrite
- Implement a
TaskBackendthat submits to a configurable external TES URL (proTES), polls state inRefresh, and cancels viaCancelTask. Make it selectable via config so the Kubernetes backend remains the default until this works. - Test against proTES with at least two TES Nodes for each of Nextflow, WDL and Snakemake ≥ 8.
- Switch the ELIXIR On-Cloud deployment (Deploy Conquest (WES) for ELIXIR On-Cloud #27) to the proTES backend.
- Open the upstream issue or PR and link it here.
Acceptance criteria
- A design note is agreed in this issue.
- With the proTES backend enabled, example workflows for each supported engine complete, with tasks visibly executed on TES network Nodes (proTES logs and task records).
- The production Conquest deployment uses proTES.
Dependencies: #27 (deployment), elixir-cloud-aai/protes#201 (proTES auth decision).
Part of the ELIXIR Compute Platform WP4 sprint (M&Ds due end of December 2026).
If you want to work on this issue:
- Assign yourself (if someone is already assigned, ask them first or pick another one)
- Move the issue to "In progress" on the project board
- Start working 🚀
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsBacklog
Activity