Repository navigation
docs: add an end-to-end tutorial across Nodes - #255
Conversation
Add "Tutorial: End to End Across Nodes" for researchers: tasks pinned to the four TES services behind proTES at the FI and CZ Nodes and one unpinned, a Nextflow run with ga4gh-cli and a WDL run with curl on Conquest, and a federated learning run from Krini, with a token from Krini. The requests follow the generic-issues#44 walk of 2 Dec 2026. Link it from the Researchers and Demos start pages and the navigation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
📖 8 files changed · 1 added · 7 modified
Preview · build overview · elixir-on-cloud-docs · built Dec. 2, 2026, 8:10 p.m. UTC |
Reviewer's GuideConfigurationAdd the end-to-end tutorial to the site navigation.
DocumentationAdd the end-to-end live-services tutorial, covering authenticated tasks through proTES, workflows through Conquest, federated learning from Krini, and the tested limits and prerequisites.
Link the tutorial from the Demos overview and explain that it uses live services and requires compute access.
List the end-to-end tutorial among researcher tutorials with its scope and prerequisites.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Linked issuesChecked at commit af19eae #208 docs: add an end-to-end tutorial for the M4.4 chain · 6 of 7 met · 1 to check by hand
|
There was a problem hiding this comment.
Hey - I've found 4 issues
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="docs/researchers/tutorial-end-to-end.md" line_range="201" />
<code_context>
+The loop writes the pin and the ID of each task into `tasks.tsv`:
+
+```bash
+: > tasks.tsv
+for tes in $(jq -r '.backends[].url' protes-service-info.json); do
+ jq -n --arg tes "$tes" '{
</code_context>
<issue_to_address>
**Duplicate jobs lose tracking IDs**
When a create request succeeds but its response is lost or unusable, or the task-submission block is rerun after partial completion, the recovery directions resubmit non-idempotent TES and WES create requests, and rerunning the task loop truncates `tasks.tsv` before resubmitting. Accepted jobs run twice, and IDs for earlier jobs disappear, so users pay for duplicate compute and cannot track those earlier tasks in the tutorial.
Change the recovery directions to inspect the original request before resubmitting, and make reruns preserve existing IDs and avoid resubmitting completed tasks.
Also at `docs/researchers/tutorial-end-to-end.md:220-221`, `docs/researchers/tutorial-end-to-end.md:328`.
</issue_to_address>
### Comment 2
<location path="docs/researchers/tutorial-end-to-end.md" line_range="157" />
<code_context>
+with proTES as the TES service and Conquest as the WES service. The command
+doesn't change a file that already exists; in that case, set the `TES` and
+`WES` sections in a text editor instead, or add them as a profile of their
+own (see [Use several deployments with
+profiles](cli.md#use-several-deployments-with-profiles)).
+
</code_context>
<issue_to_address>
**Commands target the wrong deployment**
When the config uses named profiles and the user adds this deployment as a separate profile without making it the default, the subsequent bare `ga4gh-cli` commands select no profile, so they use the configured default or fail if none exists; checks and jobs therefore target a different deployment than the tutorial intends.
Show how to select the new profile in the subsequent commands, or make it the default before running them.
Also at `docs/researchers/tutorial-end-to-end.md:181-182`.
</issue_to_address>
### Comment 3
<location path="docs/researchers/tutorial-end-to-end.md" line_range="215" />
<code_context>
+ id=$(curl -sS -H @<(auth) -H 'Content-Type: application/json' \
+ --data-binary @task.json "$TES/tasks" | jq -r '.id // empty')
+ echo "$tes ${id:-no task ID}"
+ printf '%s\t%s\n' "$tes" "$id" >> tasks.tsv
+done
+```
</code_context>
<issue_to_address>
**Failed tasks enter the tracking file**
When a submission fails or its response has no `.id`, the loop appends an empty ID to `tasks.tsv` even when a submission returns no task ID. Step 7 then queries `/tasks/` for that row and prints a misleading result instead of tracking a task.
Only append rows with a non-empty ID, and stop the loop so the failed submission is resolved before step 7.
</issue_to_address>
### Comment 4
<location path="docs/researchers/tutorial-end-to-end.md" line_range="273" />
<code_context>
+task](cli.md#get-a-task)), with the ID of one of your tasks in `ID`:
+
+```bash
+ga4gh-cli tes get "$ID" FULL | jq -r '.logs[-1].logs[0].stdout'
+```
+
</code_context>
<issue_to_address>
**Task log command uses unset ID**
When the reader runs the log command without manually defining `ID`, the loop stores each identifier in lowercase `id` and writes the IDs to `tasks.tsv`, but this command expands uppercase `ID`, which the tutorial never assigns. It therefore requests a task with an empty identifier instead of showing the selected task's logs.
Show how to assign `ID` from a selected row in `tasks.tsv` before running the command.
</issue_to_address>Sourcery assessment
Approval pending. 4 findings to address first.
Blocking findings: docs/researchers/tutorial-end-to-end.md:201, docs/researchers/tutorial-end-to-end.md:157, docs/researchers/tutorial-end-to-end.md:215, docs/researchers/tutorial-end-to-end.md:273
| The loop writes the pin and the ID of each task into `tasks.tsv`: | ||
|
|
||
| ```bash | ||
| : > tasks.tsv |
There was a problem hiding this comment.
🟡 Medium · Duplicate jobs lose tracking IDs
When a create request succeeds but its response is lost or unusable, or the task-submission block is rerun after partial completion, the recovery directions resubmit non-idempotent TES and WES create requests, and rerunning the task loop truncates tasks.tsv before resubmitting. Accepted jobs run twice, and IDs for earlier jobs disappear, so users pay for duplicate compute and cannot track those earlier tasks in the tutorial.
Change the recovery directions to inspect the original request before resubmitting, and make reruns preserve existing IDs and avoid resubmitting completed tasks.
Also at docs/researchers/tutorial-end-to-end.md:220-221, docs/researchers/tutorial-end-to-end.md:328.
Prompt for AI agents
In `docs/researchers/tutorial-end-to-end.md` at line 201:
**Duplicate jobs lose tracking IDs**
When a create request succeeds but its response is lost or unusable, or the task-submission block is rerun after partial completion, the recovery directions resubmit non-idempotent TES and WES create requests, and rerunning the task loop truncates `tasks.tsv` before resubmitting. Accepted jobs run twice, and IDs for earlier jobs disappear, so users pay for duplicate compute and cannot track those earlier tasks in the tutorial.
Change the recovery directions to inspect the original request before resubmitting, and make reruns preserve existing IDs and avoid resubmitting completed tasks.
Also at `docs/researchers/tutorial-end-to-end.md:220-221`, `docs/researchers/tutorial-end-to-end.md:328`.| with proTES as the TES service and Conquest as the WES service. The command | ||
| doesn't change a file that already exists; in that case, set the `TES` and | ||
| `WES` sections in a text editor instead, or add them as a profile of their | ||
| own (see [Use several deployments with |
There was a problem hiding this comment.
🟡 Medium · Commands target the wrong deployment
When the config uses named profiles and the user adds this deployment as a separate profile without making it the default, the subsequent bare ga4gh-cli commands select no profile, so they use the configured default or fail if none exists; checks and jobs therefore target a different deployment than the tutorial intends.
Show how to select the new profile in the subsequent commands, or make it the default before running them.
Also at docs/researchers/tutorial-end-to-end.md:181-182.
Prompt for AI agents
In `docs/researchers/tutorial-end-to-end.md` at line 157:
**Commands target the wrong deployment**
When the config uses named profiles and the user adds this deployment as a separate profile without making it the default, the subsequent bare `ga4gh-cli` commands select no profile, so they use the configured default or fail if none exists; checks and jobs therefore target a different deployment than the tutorial intends.
Show how to select the new profile in the subsequent commands, or make it the default before running them.
Also at `docs/researchers/tutorial-end-to-end.md:181-182`.| id=$(curl -sS -H @<(auth) -H 'Content-Type: application/json' \ | ||
| --data-binary @task.json "$TES/tasks" | jq -r '.id // empty') | ||
| echo "$tes ${id:-no task ID}" | ||
| printf '%s\t%s\n' "$tes" "$id" >> tasks.tsv |
There was a problem hiding this comment.
🟡 Medium · Failed tasks enter the tracking file
When a submission fails or its response has no .id, the loop appends an empty ID to tasks.tsv even when a submission returns no task ID. Step 7 then queries /tasks/ for that row and prints a misleading result instead of tracking a task.
Only append rows with a non-empty ID, and stop the loop so the failed submission is resolved before step 7.
Prompt for AI agents
In `docs/researchers/tutorial-end-to-end.md` at line 215:
**Failed tasks enter the tracking file**
When a submission fails or its response has no `.id`, the loop appends an empty ID to `tasks.tsv` even when a submission returns no task ID. Step 7 then queries `/tasks/` for that row and prints a misleading result instead of tracking a task.
Only append rows with a non-empty ID, and stop the loop so the failed submission is resolved before step 7.| task](cli.md#get-a-task)), with the ID of one of your tasks in `ID`: | ||
|
|
||
| ```bash | ||
| ga4gh-cli tes get "$ID" FULL | jq -r '.logs[-1].logs[0].stdout' |
There was a problem hiding this comment.
🟡 Medium · Task log command uses unset ID
When the reader runs the log command without manually defining ID, the loop stores each identifier in lowercase id and writes the IDs to tasks.tsv, but this command expands uppercase ID, which the tutorial never assigns. It therefore requests a task with an empty identifier instead of showing the selected task's logs.
Show how to assign ID from a selected row in tasks.tsv before running the command.
Prompt for AI agents
In `docs/researchers/tutorial-end-to-end.md` at line 273:
**Task log command uses unset ID**
When the reader runs the log command without manually defining `ID`, the loop stores each identifier in lowercase `id` and writes the IDs to `tasks.tsv`, but this command expands uppercase `ID`, which the tutorial never assigns. It therefore requests a task with an empty identifier instead of showing the selected task's logs.
Show how to assign `ID` from a selected row in `tasks.tsv` before running the command.
Summary
Adds Tutorial: End to End Across Nodes (
docs/researchers/tutorial-end-to-end.md), the D4.6 end-to-end tutorial of the M4.4 chain, for researchers, on the live services:401);200/403;curlandgateway.backends, one unpinned task withga4gh-cli, then where each ran (gateway.backend);ga4gh-cliand the WDL example withcurlon Conquest: states, logs and outputs;Linked from the Researchers start page, the Demos start page (overview row and a paragraph) and the navigation. Prerequisite: EOC-Compute membership, linked to the existing application docs. No tokens, personal identifiers or internal hosts; all hosts are the public API roots that proTES' service info and the Cloud Registry already list.
Closes #208
How it was verified
python scripts/check_names.py: OKmkdocs build --strict: OKpytest: 356 passed, coverage 100%401from both without a token; the proTES docs anchor for pinning exists.curl(task JSON andtasks.tsvparsing).Review lane
Light lane: documentation only (one new page, links, nav), no code, CI, secrets or permissions.
Declined review findings
None.
Open questions
None.
🤖 Generated with Claude Code
Summary by Sourcery
Provide researchers with a guided view of the deployment’s live, cross-Node task, workflow, and federated-learning services.
New Features:
Documentation: