Repository navigation
test: add WDL workflows for Conquest test - #212
Merged
Merged
Conversation
Three WDL 1.0 workflows (a run that completes and writes a message to an output file, one that fails, one that sleeps) for the integration test against Conquest, which fetches workflows from this repository at a commit of dev; their tasks run in an Alpine image pinned by digest. Part of #193 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
miniwdl runs task commands with bash, which Alpine lacks: the tasks failed with exit status 1. Debian 13.8 slim, pinned by digest, has it. Part of #193 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reviewer's GuideTestsAdd WDL fixtures for Conquest integration tests covering successful output, task failure, and cancellation during a long-running task.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #212 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 22 22
Lines 1404 1404
=========================================
Hits 1404 1404 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
uniqueg
marked this pull request as ready for review
December 3, 2026 16:35
uniqueg
added a commit
that referenced
this pull request
Dec 3, 2026
WORKFLOW_REVISION moves to 5f501d5, the commit of the WDL workflows on dev (#212). The docs link the Conquest issue about Nextflow runs (elixir-cloud-aai/generic-issues#194). The workflow-type table carries the output key of the greeting instead of a WDL special case and the path with {} instead of a printf format. check.sh refuses contexts other than the kind cluster's, limits its kubectl calls to 60 seconds and reads only s3:// objects. Comments and docs are rewrapped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
uniqueg
added a commit
that referenced
this pull request
Dec 3, 2026
* test: add Conquest integration test Run proWES against Conquest on a kind cluster: setup.sh applies PostgreSQL, an S3 server (versitygw) and their Secrets, and installs Conquest's chart from a pinned commit with its images pinned by digest. proWES joins kind's Docker network and reaches Conquest at a node port. Runs of the WESkit test's Snakefiles, fetched by Conquest from this repository at a commit of dev, complete, fail and are canceled; the test checks them at proWES and at Conquest (state, tasks, runner gone). The integration matrix gets the entry Conquest with a kind cluster. report_versions accepts service info without type, as Conquest's is. check-yaml allows multi-document YAML for the Kubernetes manifests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test: harden Conquest integration test Cancel the sleeping run once its task Pod runs, and check that its runner and task Pods are gone (by the run's label). setup.sh refuses contexts other than its kind cluster, whose name and node port are fixed. report_versions checks the type where a service info has one. CI shows runner and task logs on failure. Only cluster.yaml may have several YAML documents. The docs keep the kubeconfig out of the repository and list the Helm and kind pins of three jobs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test: pin Conquest workflows to dev commit The runs fetch the WESkit test's Snakefiles from this repository at 9026a1a, the commit of the WESkit test on dev (#209), instead of a commit of its pull request, which a clone of dev doesn't hold. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test: tighten Conquest cluster and Pod checks setup.sh also checks that the context kind-prowes-conquest points to the API server of the kind cluster of that name. The Pod checks after a cancel let kubectl errors fail the test instead of reading as no Pods, and require that no Pod of the run is left in any phase. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test: run Conquest checks for WDL as well The Conquest test runs its checks (complete, fail, cancel while running) for Snakemake and WDL, whose workflows Conquest fetches from this repository at a commit of dev; for WDL it also reads the greeting from Conquest's S3 server. The docs say why Nextflow isn't covered: Nextflow 24.10.4, which Conquest's runner runs, refuses a repository without main.nf at its root before it applies -main-script. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test: pin Conquest WDL workflows and tidy test WORKFLOW_REVISION moves to 5f501d5, the commit of the WDL workflows on dev (#212). The docs link the Conquest issue about Nextflow runs (elixir-cloud-aai/generic-issues#194). The workflow-type table carries the output key of the greeting instead of a WDL special case and the path with {} instead of a printf format. check.sh refuses contexts other than the kind cluster's, limits its kubectl calls to 60 seconds and reads only s3:// objects. Comments and docs are rewrapped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test: quote workflow name in Conquest test path Quote the workflow name in the path substitution (bash 5.2 replaces & in an unquoted replacement) and rewrap the header comment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test: harden Conquest test cancel and cleanup kind.sh holds the cluster guard that setup.sh and check.sh now share: the context must be kind-prowes-conquest and point to that cluster's API server. The cancel check waits for a non-empty task Pod line (an empty Pod list read as a task before). The sleep run is tagged with a value of its own before it is created, and create() sets running itself; on_exit finds a run by that tag when its identifier never arrived (a lost response) and cancels it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test: simplify run cleanup helpers of tests tagged_runs filters the run list, which has the runs' tags, in one request; quietly sends any authenticated request without checks, also the cancel in on_exit. check.sh names Conquest's host from the cluster name of kind.sh and lists kind among its requirements, as the docs do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds three WDL 1.0 workflows for the integration test against Conquest (#211), in
tests/integration/conquest/workflows/:hello: writes the run'smessagetogreeting.txt, an output of the run. The message reaches the task as a file (write_lines), never as shell code.fail: its only task exits with status 1.sleep: sleeps for the run'sseconds, for runs that are canceled while they run.Their tasks run in
debian:13.8-slim, pinned by digest. miniwdl runs task commands with bash, so Alpine doesn't work.This PR is preparation only. Conquest fetches workflows from GitHub repositories, cloned at a commit of a branch, so the workflows must be on
devbefore #211 can pin them and add the WDL checks. Nothing uses them until then.Part of #193 (closed by #211)
Light lane: test data only (three workflow files, no code, CI or config). I reviewed the diff myself.
Verification
hellowith the messageHello; $(id) from WDL:COMPLETE, task exit code 0, andgreeting.txtin Conquest's store holds the message verbatim.fail:EXECUTOR_ERROR, task exit code 1.sleep(600 s), canceled once its task Pod ran:CANCELED, with no Pods left.pre-commit runon the files: passed.Merge gate: none. #211 then pins the merge commit.
Declined review findings
None.
Open questions
None.
🤖 Generated with Claude Code
Summary by Sourcery
New Features: