Repository navigation
Description
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?
- Fill the selector from the filtered registry list (feat: browse services from a registry #40): verified
httpsTES 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. - Remove the
/tes-apirewrite 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). - Fix while there:
key={server.url + Math.random()}in the selector re-mounts items on every render; use the registry ID. - 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.
- 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.
- TES 1.1: proTES is moving to TES 1.1 (feat(api): implement TES 1.1 protes#241), with the new states
PREEMPTEDandCANCELING(cancel reportsCANCELINGfirst). Check that the component shows them; otherwise open an issue incloud-components. - If the component blocks anything (auth, the v2 provider migration Cloud Components: migrate
@elixir-cloud/testo the v2 provider architecture cloud-components#443, styling, events, CORS), open issues incloud-componentsand link them here. - 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
httpsservices 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).
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
uniqueg commentedon Oct 28, 2026
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.
1 remaining item
AnonymousXC commentedon Nov 16, 2026
Addressed in #91