Skip to content

feat: run TES tasks with the Cloud Components #41

Closed

Description

@uniqueg

Why?

Krini is the portal of ELIXIR On-Cloud: users run single tasks on any GA4GH TES service, either through a gateway (e.g. proTES), which picks a backend for them, or directly at a verified TES backend. Using the ELIXIR Cloud Components (@elixir-cloud/tes) for this is the adoption evidence for D4.2 and the "Cloud Components in the portal" part of D4.4.

Current state (rewrite-nextjs at ff1b0a0): ECCClientGa4ghTesRuns and ECCCLientGa4ghTesCreateRun (@elixir-cloud/tes 1.0.1) are wrapped in src/app/dashboard/tasks/_components/, with a service selector (tes-server-list.tsx, Zustand store src/stores/tes.ts). The default selection is a "TEST SERVER" that next.config.ts rewrites from /tes-api to an unauthenticated public TES instance.

How?

  1. Fill the selector from the filtered registry list (feat: browse services from a registry #40): verified https TES services only. Mark gateways and preselect the operator's configured default, if any. Show a hint that the gateway chooses the backend, while a direct backend runs the task right there.
  2. Remove the /tes-api rewrite and the "TEST SERVER" entry from production builds. If a test instance is useful for development, make it an optional dev-only setting (e.g. KRINI_DEV_TES_URL), off by default, and never proxy through Krini (an open proxy on the portal's origin).
  3. Fix while there: key={server.url + Math.random()} in the selector re-mounts items on every render; use the registry ID.
  4. List, view, create and cancel tasks with the components. Listing needs a token on authenticated services (feat(auth): send the user's token to services #44); without login, show "Log in to see your tasks" instead of errors.
  5. Ownership: through proTES, users see only their own tasks (admins all). At a TES backend it depends on the backend. Say so in the UI, so an empty list isn't confusing.
  6. TES 1.1: proTES is moving to TES 1.1 (feat(api): implement TES 1.1 protes#241), with the new states PREEMPTED and CANCELING (cancel reports CANCELING first). Check that the component shows them; otherwise open an issue in cloud-components.
  7. If the component blocks anything (auth, the v2 provider migration Cloud Components: migrate @elixir-cloud/tes to the v2 provider architecture cloud-components#443, styling, events, CORS), open issues in cloud-components and link them here.
  8. README: which component versions are used (D4.2 evidence).

Acceptance criteria

  • A logged-in user with compute access can list, view, create and cancel TES tasks via the components, on a gateway and on a verified TES backend.
  • Only verified https services from the configured registry can be selected; no public test instance or rewrite in production.
  • The README lists the component versions.

Dependencies: #40. Authenticated use: #44, elixir-cloud-aai/cloud-components#442 and elixir-cloud-aai/cloud-components#443.


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

Activity

  1. added
    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

    Update on authenticated use: elixir-cloud-aai/cloud-components#442 is closed. Auth for the components must use the provider pattern (see #44 and the provider docs). For TES, this needs the provider migration elixir-cloud-aai/cloud-components#443; the dependency on #442 no longer applies.

  4. 1 remaining item

  5. added
    status: blocked
    on Nov 14, 2026
  6. added this to the v0.1.0 milestone on Nov 14, 2026
  7. added
    status: in progress
    and removed
    status: blocked
    on Nov 15, 2026
  8. self-assigned this
    on Nov 15, 2026
  9. removed
    status: in progress
    on Nov 15, 2026
  10. AnonymousXC commented on Nov 16, 2026

    @AnonymousXC
    Contributor

    Addressed in #91

  11. moved this from In progress to Done in ELIXIR On-Cloudon Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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