Repository navigation
chore(nextflow): rebase the backend onto master - #568
Merged
vjaganat90 merged 20 commits intoNov 2, 2026
Merged
Conversation
added 20 commits
October 28, 2026 14:09
sophios.compute, a core feature outside the Python API, builds the request the compute service's POST /runs takes: the workflow compiled into one inline document, its inputs, and the user's basepath, output choice, leader, steps and log level. It compiles through a new runtime-adapter function, service_document, which is compile() without the local run's rewrite of output folders to bare names; only the resolution of file formats, now one reusable function, is applied. Paths go as written. Sophios refuses before sending only what names nothing on the cluster (a "~" or an environment variable in a path, naming the input), real-time analyses, and what its copy of the service's run-request.schema.json refuses, in the schema's own words. A run id is the workflow's name, the UTC time and four hex digits, fitted to the service's id rule. The refusals carry cmp001, the first code of a range for the compute service.
…wn tunnel Service(url) sends a request built from a Workflow to the compute service and returns its Run at once, printing its id and, where they cannot be missed, the service's warnings; run() also waits, and raises RunFailed with the reason and the end of the failed step's log when the run does not complete; attach(id) follows a run from anywhere. A Run's status() is the existing RunStatus, StepStatus and RunState; nothing is parsed out of a message or an exit code. wait() reads it every 10 s, a line per change, and leaves the run going on Ctrl-C, saying how to follow it again. logs() serves leader.log or a step's logs, cancel() is safe to send again. Service.over_ssh(host, socket=...) runs ssh -N with BatchMode and ExitOnForwardFailure, forwarding a free local port to the service's socket (/run/slurm-driver/api.sock by default), waits until the service answers through it, and closes it when the with block ends. ssh never asks for a password or a code: when it would, the tunnel fails at once with what ssh said and the instruction to run `ssh <host> true` in a terminal once. Sophios reads and stores nothing of SSH: ssh reads the user's own configuration. The contract's major version is read once, and another is refused. A call is made again after Retry-After while the service is unreachable or busy, for five minutes; a submission lost on the way then says the run may exist and how to attach. Each call connects within 10 s and is answered within 60 s, but POST /runs, which the service answers only after asking Slurm several times, 30 s each at most, waits up to 300 s: a call given up on is sent again, and a slow but healthy submission sent again while it is still going on is answered 503 "being submitted". A 400's problems name the authored inputs, with "pass basepath=" when the request sent relative paths without one. cmp002 and cmp003 are the unavailable service and the failed run. The new lane runs the real slurm driver, at the commit the vendored schema came from, under its own fake Slurm: submission, status, reattach, answers valid against the contract it serves, refusals, a failed run and a failed step, cancel, a timeout and a busy service. The tests use a fake ssh that forwards to the real driver, and one that refuses as ssh does without a login.
BREAKING CHANGE: sophios.compute_request, its request schema version 1 and its config classes (ComputeRequest, ComputeExecutionConfig, ComputeOutputConfig, SlurmJobConfig, ToilRuntimeConfig), and run_local.run_compute are removed, with nothing in their place: a workflow runs on the compute service through sophios.compute's Service, and build_request returns the request it sends. utils.is_valid_url, which only run_compute used, goes with them. request_for, the half of build_request after the compile, builds and checks the request for a compiled document; the canonical-path property now holds it to the service's schema for everything the oracle compiles. The ichnaea examples run on the service, the compact one copying its outputs into a folder (the supported way), the integrated one writing its output folder in place (the advanced choice); compute_request_workflow.py is deleted. docs/compute.md is the new client's page, which says it is not part of the Python API; the pages that link it are updated. REST /compile is left as it is, to be changed after compute.
run-request.schema.json is copied again from the driver's bec46f2, which replaces outputTargets with outputMode: serviceOutDir (the default), workflowOutDir (the supported way, with the folder workflowOutDir) and workflowInPlace (advanced, warned of on every run). The lane checks the driver out at that commit, and workflow_out_dir= and workflow_in_place=True, which send them, work end to end. The service finds the output folders, and Sophios still sends every path as written. The module's and docs/compute.md's rule is the service's: an output folder given as a name is made in the run and lands in the outputs' folder under that name, never read against basepath; an absolute one is that folder, written in place under workflowInPlace. The compact ichnaea example names its output folder and copies it into a workflow_out_dir; the integrated one writes an absolute folder in place. The lane adds a driver whose Toil is real, this Python's own, run on this machine as the driver's real-Toil lane runs it: an output folder given as a name lands in <workflow_out_dir>/<name> and not under basepath; one written in place holds the result, is in run.targets, is not copied, and its run printed the ADVANCED warning. Both examples' main() run against the driver. The driver's log goes to a file, not a pipe nothing drained.
lint_and_test.yml checked out vjaganat90/compute to run
tests/core/test_compute_service.py against the slurm driver; that
repository is private, so the checkout failed with "repository not
found" and stopped the job. The checkout step and the "PyTest Compute
Service" step are removed.
test_compute_service.py stays, as a local lane run by hand:
SOPHIOS_SLURM_DRIVER=<checkout>/packages/slurm-driver \
pytest tests/core/test_compute_service.py -m skip_pypi_ci
test_ci_coverage.LOCAL_ONLY names exactly that file, with its reason and
its expiry (when Sophios CI can check the driver out), and the census
fails when a LOCAL_ONLY file has no test left or a lane collects it, so
the exemption cannot outlive its reason; every other uncollected test
still fails it. The census's module docstring and the workflow's comment
on it say so. The test module's docstring and its failure message name
where the driver is, as the removed checkout did: vjaganat90/compute,
branch vasu_revamp, commit bec46f2.
…he workflow and its inputs
BREAKING CHANGE: build_request, request_for, Service.submit and Service.run
no longer take basepath=, workflow_out_dir=, workflow_in_place=, leader=,
steps= or log_level=. They take a RunConfig, a frozen dataclass whose
fields are exactly the request's fields besides id, workflow and inputs,
named as run-request.schema.json names them, in snake_case, and sent as
given: basepath, output_mode, workflow_out_dir, leader, steps, log_level;
None leaves a field out. workflow_in_place=True is now
output_mode='workflowInPlace', and workflow_out_dir=<folder> is
output_mode='workflowOutDir' with workflow_out_dir=<folder>.
build_request(workflow, config=RunConfig(), *, tool_registry, inference)
request_for(run_id, cwl, job_inputs, config=RunConfig())
Service.submit(workflow, config=RunConfig(), *, tool_registry, inference)
Service.run(workflow, config=RunConfig(), *, timeout, tool_registry,
inference)
tool_registry and inference say how the workflow compiles and timeout is
the client's wait, so they stay keywords; the too-many-arguments
suppressions on the four go.
The ValueError for both workflow_out_dir and workflow_in_place goes: the
choice is one field now. The vendored schema does not tie workflowOutDir
to outputMode workflowOutDir (the driver checks that on arrival, in
code), so request_for keeps one local check, a RequestRefused line, and
a test fails once the schema can say it, for the check to go.
A differential test holds RunConfig to the vendored schema: its fields,
camelCased, are the schema's top-level properties but id, workflow and
inputs; a field the schema enumerates is a Literal of exactly its
values; and each field lands in the request under its own name.
BREAKING CHANGE: ComputeError is no longer a SophiosError, and SophiosErrorCode no longer has COMPUTE_REQUEST_REFUSED, COMPUTE_UNAVAILABLE or COMPUTE_RUN_FAILED. ComputeError is a plain Exception of sophios.compute's own: `code` is its own string, cmp001 (RequestRefused), cmp002 (ServiceUnavailable) or cmp003 (RunFailed), defined on each class, and `messages` holds every problem, a line each, where `diagnostics` held them; str() is each line under its code. A workflow that does not compile still raises SophiosError, with Sophios's own codes, before anything is sent, so one `except SophiosError` no longer catches every failure of build_request, submit and run. Their Raises sections and docs/compute.md say which raises which, and a test pins that a compile's failure is a SophiosError and that the service is asked nothing. The codes were added to the shared catalog by this branch alone, so src/sophios/lang/error_codes.py and docs/error_codes.md are master's again: `sophios --explain` and the error codes page know Sophios's codes only. docs/compute.md documents the three, with what to do for each. Nothing outside sophios.compute caught a ComputeError as a SophiosError or read its diagnostics: the CLI never calls the client, and the client's own tests are the only readers. A test pins that the codes are the client's: no SophiosErrorCode is one, and no ComputeError is a SophiosError.
…ts go
BREAKING CHANGE: RunConfig is no longer a frozen dataclass of the request's
fields, and leader= and steps= no longer take dicts of request fields. It is
built as tool_builder builds a tool, by methods that set and return it:
svc.run(wf) # serviceOutDir, the quick try
config = (RunConfig('/shared/lab/results') # workflowOutDir, supported
.basepath('/shared/lab')
.leader(time='2:00:00', memory='4G')
.steps(time='30:00'))
svc.run(wf, config)
RunConfig.in_place().leader(time='2:00:00') # workflowInPlace, advanced
The constructor takes the one required argument, the folder on the cluster
the outputs are copied into (outputMode workflowOutDir); in_place() is
outputMode workflowInPlace; no config is serviceOutDir with every setting
the service's. build_request, request_for, Service.submit and Service.run
take config=None for that, instead of a shared RunConfig() default.
Nothing sets the mode after construction, so a mode without its folder, or
a folder without its mode, cannot be built: request_for's local check for
it, and its test, go. The setters, .basepath(path),
.leader(*, partition, time, memory), .steps(*, partition, gpu_partition,
time) and .log_level(level), each set just what they are passed and leave
the rest; what none sets is left out of the request, for the service's own
settings. The values stay strings in Slurm's forms, checked by the vendored
schema when the request is built, each problem at its field (leader.time),
not again in the setters. Without a config there is no basepath, so a
path a tool reads in the quick try is absolute; docs/compute.md says so.
A relative path the service refuses for want of a basepath is told the
fix that can be made: give the RunConfig .basepath(<dir>), or, sent
without one, make a RunConfig with the folder the outputs go to and give
it .basepath(<dir>); a test pins both.
The differential test now calls both constructors and every setter, found
by introspection, with valid values: together they reach exactly the
vendored schema's top-level properties but id, workflow and inputs, each
under its own name; the keywords of leader and steps, camelCased, are
exactly the schema's Leader and Steps properties; log_level's Literal is
logLevel's enum; and the output modes are the two constructors' and no
config's. Another test pins that a setter called again keeps what it is not
passed. The service tests that need only a run send absolute paths and no
config.
BREAKING CHANGE: Service.over_ssh is gone. Service(url) is the one way to
reach the compute service: the URL is the local end of a tunnel the user
opens to the socket the service listens on,
ssh -N -L 127.0.0.1:7998:<socket> <driver host>
with -J <login node> where the driver's host is reached through a login
node, and then Service('http://127.0.0.1:7998'). The socket is the
service's SOCKET_PATH: /run/slurm-driver/api.sock where the service is set
up as the driver's README shows; the compute service's
start-polus-compute.sh, which starts one from a checkout for testing,
prints the whole command, its own socket in it. Sophios opens no tunnel,
reads nothing of SSH and runs no ssh: how the user logs in, and how long a
tunnel lasts, are theirs. Its two tests and tests/core/fake_ssh.py, which
nothing else used, go; docs/compute.md shows the tunnel as the user's one
command, and for cmp002 says to check that it reaches that socket.
The client is written against the driver's 4fecaba on vjaganat90/compute,
branch vasu_revamp: it changes only the driver's README, the tunnel being
the user's, and its run-request.schema.json is byte for byte bec46f2's and
the vendored copy. test_compute_service.py's docstring and its message for
a missing SOPHIOS_SLURM_DRIVER name it.
A Run from Service.submit or Service.attach has the core of the local RunHandle that Workflow.start() returns. status() and wait(timeout=None) give a RunStatus, and wait() raises nothing for a run that FAILED or was CANCELLED, still printing a line per change; outputs() is the output object once the run COMPLETED; logs() is leader.log, Toil's log of the whole run, and '' until Slurm has started the leader, as the local handle's is '' with no log; cancel() returns a bool, as concurrent.futures.Future.cancel() does: True once the run is CANCELLED, by this call or before it, and False when it had ended COMPLETED or FAILED, which the service answers unchanged. The service records a cancel and asks Slurm for it before it answers, so cancel() sends it once, then waits as wait(PATIENCE) does: a run not ended within PATIENCE raises wait's TimeoutError, the cancel still recorded, and Ctrl-C leaves the run going, saying so as wait() does. id, Service.attach(id), warnings (still printed at submission) and slurm_job stay, a compute run's alone. BREAKING CHANGE: Service.run and its timeout= are removed: submit, then wait. So is RunFailed with its code cmp003, which only Service.run raised; cmp001 and cmp002 keep their numbers. Run.failure(), the step argument of Run.logs(), Run.targets and Run.show_warnings go too, and Run.cancel() returns a bool, not a RunStatus. docs/compute.md shows the local and the compute handle side by side. A test holds the codes it documents to ComputeError's subclasses, and another holds each method both handles have to one signature, and what each has alone to the table's. The ichnaea examples submit and wait, print run.outputs() once the run completed, and leader.log when it did not. An answer is the service's only when it says so: the service names itself in the Server header of every answer, slurm-driver/<version>, and call() raises ServiceUnavailable for any other, "<url> answered, but not as the compute service: check that your tunnel reaches its socket". So a 404 page from a stale tunnel, or from another server on the port, is no longer a RequestRefused, nor a 200 page a raw JSONDecodeError, from submit, status and logs alike. 502, 503 and 504 are still made again, whoever sends them, now every 5 s, the Retry-After the service sends with every 503: the header is no longer parsed, so an HTTP-date in it raises nothing. A call whose answer is cut short, as the service cuts one when a log read fails after the headers, and as a tunnel that drops does, is made again as when the service cannot be reached, not a raw ChunkedEncodingError. An answer is parsed in one place, _json, and one of the service's that is not JSON is ServiceUnavailable; speaks() is the contract's version check alone. A fast test each pins the page, the service's answer that is not JSON, a dated Retry-After, a proxy's 502 made again, a cut answer made again, a cancel sent once, and a cancel given up on after PATIENCE, never sent again. test_compute_service.py is skipped, not failed, without SOPHIOS_SLURM_DRIVER, as the repository's other environment-gated tests are, so a plain pytest tests/core passes where there is no driver; the lane's command always sets it, so the lane never passes by skipping. A fast test runs the file without it and finds it skipped. The client is written against the driver's 02e2a23 on vjaganat90/compute, branch vasu_revamp: a run's outputs name every output the workflow declares, in every mode, a folder written in place as the Directory at it, and no answer carries targets, so the stubbed status in test_compute.py has none either. Under workflowInPlace it refuses an array of output folders that mixes absolute paths and names, which docs/compute.md says; its run-request.schema.json, whose outputMode description says so too, is byte for byte the vendored copy. It keeps each of a scattered step's same-named outputs, with Toil's --leave-tmpdir, which asks nothing of the client. test_compute_service.py's docstring and the reason it is skipped without SOPHIOS_SLURM_DRIVER name it, and its in-place test with real Toil holds outputs() to name the folder there, under its output's id. Sophios walks no paths: it sends each as written, and the service, the one authority on paths, refuses what it cannot read. 02e2a23 refuses a path on the cluster that starts with "~" or holds a $VARIABLE, which a shell expands on the machine that wrote it, naming its shared roots, the only paths it reads; a URL is read as before. So locations() goes, with _PATH_KEYS; so do the refusal of "~" and $VARIABLE in request_for, with _LAPTOP_ONLY and its test, and the basepath hint added to a 400, with its test, and _URL, which only those used. The driver's own "send basepath" stands, each problem still named at the authored input. _escape, which the walker shared with _pointer, folds with it into _schema_problem, their one user. A fast test pins that "~" and $HOME go as written, another that a refusal is the service's lines and no more, and a local-lane test that the driver refuses "~/Desktop/raw" at its input. docs/compute.md and the module's docstring say so.
…cript has The local compute lane made Slurm say a run's leader had FAILED before its job script ran. The driver, once it records an end, cancels what the run left in Slurm's queue, so it cancelled the still-running fake leader before Toil wrote "the workflow failed", and the test read a log without it. It failed every time on a fast machine, against any driver commit. Cluster.leader() now says an end only once the job script has ended, with the status it ended with, as Slurm does; _ended() and the failing-run test use it.
The compute service listens on a Unix socket, never a TCP port, and Service(url) now reaches it there. ssh://[user@]host[:port][/socket] runs the user's own ssh, so their keys, agent, ~/.ssh/config, jump hosts and VPN apply and a password or second factor is asked for at the terminal (no BatchMode): -N, ExitOnForwardFailure, StreamLocalBindUnlink, keepalives, and -L from a socket in a private temporary directory to the service's, /run/slurm-driver/api.sock by default. It is a connection of its own (ControlPath=none): a ControlMaster's would hold the forward after the Service closed. ssh ignores Ctrl-C, which the terminal sends Python too, so a Ctrl-C in the session leaves the forward open; a Ctrl-C before it is up, at a prompt say, ends ssh. Service(url) returns once the service answers through the forward, or fails at once with ssh's own error, its directory removed; the forward closes with the Service (a context manager now) or the process. A call once ssh has ended, or on a closed Service, fails at once and says so, rather than being made again for five minutes. unix:///socket reaches a service on the same host. Every call goes over the socket through a small requests adapter, the Server-header gate and the retry rules unchanged, and the environment's proxies are never used. A 403 is the service's refusal, RequestRefused in its words: the service lets only the account that submitted a run, or its own, cancel it. docs/compute.md says who may do what, and the examples name a host. The unit tests reach a stdlib HTTP server on a Unix socket, and a fake ssh on PATH that relays the forward on this machine; the local compute lane starts the driver on SOCKET_PATH and reaches it as unix://. BREAKING CHANGE: http:// and https:// URLs are refused with ServiceUnavailable: they need an HTTPS gateway in front of the service, which there is not yet. requests 2.32.2 or later is required.
…, Linux or WSL On Windows itself the client reached nothing, and said so in no ComputeError: ssh:// raised Popen's "ValueError: preexec_fn is not supported on Windows platforms", unix:// an AttributeError for socket.AF_UNIX on the first call. Python there cannot open a Unix socket, and the service listens on nothing else, so Service(url) raises ServiceUnavailable on win32 now, for every URL, before ssh is run or a socket made, saying the compute client needs macOS, Linux or WSL. docs/compute.md says so where it gives the URLs, and among cmp002's causes; docs/install.md's Windows notes say a run on the cluster needs WSL too. ServiceUnavailable's docstring names every cause the docs do, which it had not since Service took ssh:// and unix:// URLs. The Windows leg, which runs test_run_on_windows.py on the platform itself, holds Service to that refusal for ssh://, unix:// and http://. The tests that make a Service skip on Windows itself: the fake service's session, its socket and the stand-in for ssh each skip there, once, and so does the one test that makes a Service without them; test_compute_service.py skips there as a module. BREAKING CHANGE: the compute client runs on macOS, Linux or WSL, no longer on Windows itself, where Service(url) raises cmp002 for every URL: run Sophios inside WSL.
…t cannot run is cmp002
_forward made its sophios-* directory, then opened ssh.log in it and
started ssh, and only then entered the try that removes both. So an ssh
that could not be started, none on PATH say, left the directory behind
for good, and Service('ssh://...') raised a bare FileNotFoundError, no
ComputeError.
The try now starts once the directory is made, so it goes whatever fails,
from opening the log on, and ssh with it once ssh runs. An OSError
starting ssh is ServiceUnavailable, "ssh could not be run: " and the
system's words, such as "[Errno 2] No such file or directory: 'ssh'".
docs/compute.md and the docstrings name it among what fails
Service(url).
A test with PATH holding no ssh, and its temporary directory a test's
own, holds Service('ssh://cluster') to that one line, and the directory
to nothing left in it.
…day's reason test_compute_service.py's docstring and the reason it is skipped without SOPHIOS_SLURM_DRIVER named a commit of the driver, f766539, as the one this client is written against. The lane runs whatever checkout it is pointed at, so the pin was a claim nothing held: both name the branch, vasu_revamp, alone now. The driver's reason for a run whose workflow failed now gives the route any client reads its log at, "the workflow failed; see the run's log, GET /runs/<id>/logs/leader.log", no longer "see leader.log". The failing-run test expects that, with the run's own id, and the stubbed FAILED answer of the cancel test in test_compute.py says it too, for r1.
…the end is its last line wait() printed the run's change, then each step's, poll by poll. A run and its last step end in the same poll, so a run that completed printed "r1: COMPLETED", then "r1: step autoseg COMPLETED": the line saying the run had ended was not the last it printed, and a step's came after it. Within a poll, the run's end comes after the steps' lines now. Its other changes still come before them, so a run that starts with its first step prints its start first, and its lines enclose its steps'. The docstring says so, and docs/compute.md's table. A test holds a run whose step changes with it in both of two polls to its four lines, in that order.
docs/compute.md's example of following a run printed status.state, status.reason and run.outputs() however the run ended. A run that completed has no reason, so it printed "RunState.COMPLETED None" before its outputs. The example of running a workflow printed the state and run.outputs(), which is None for a run that did not complete. Each prints the outputs once the run COMPLETED now. The one both handles share prints the state and the reason otherwise, since the local wait() prints neither; the cluster's prints each change and why, as the first example's comment says. Nothing else in docs/ or examples/ prints a reason.
…on-plugin:devn polusai/ichnaea-api:latest, pushed 2026-10-29, no longer has /backend/dagster_pipelines/jobs/autosegmentation/logic.py, the SAM3 script every ichnaea example ran as its base command, so each of their runs failed at its first step. Each builds the ichnaea segmentation plugin's tool now, the one that ran on the cluster's GPU: SAM2.1 hiera small, the image's model, reading an OME-Zarr volume's root (--inpDir) into an empty folder (--outDir). The image's ENTRYPOINT, python3 -m ichnaea.segmentation, is the command: Docker and `singularity run`, as cwltool runs the image, put it before the tool's options, and CWL cannot override it, so the tool has no base command. It relies on the entrypoint, as docs/running.md advises against, and its comment says so and why. The plugin opens models/sam2.1_hiera_small.pt relative to its working directory, the job's output folder, so the model input is a folder, staged there as models, and the input is read where it is. It runs on one GPU, CUDA 12.6 or later, as its torch wheels are built. The SAM3 options, tiles, IoU threshold, batch size and LoRA, are gone: the plugin takes none. sam3_tool_builder.py, which nothing links to, is ichnaea_tool_builder.py now, and writes ichnaea_segmentation.cwl. A test holds the three examples to one tool, but for its doc, with no base command. The tests that run the examples give them the models folder. The tool builder's own test keeps its SAM3 tool: a fixture of the builder alone, run by no example.
# Conflicts: # src/sophios/api/python/_workflow_runtime.py # tests/core/test_canonical_path.py
…ritten on a step is The merge brings the backend's _with_bound_values under master's service_document, so a compute request now carries flow.inputs.x = v, where master sent no inputs for it. Neither side tests that path: master's compute tests bind only step inputs, and the backend's bound values are checked through compile() alone.
This was referenced Nov 2, 2026
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.
What
src/sophios/api/python/_workflow_runtime.py: master's imports, withresolve_file_formatsandJson, whichservice_documentuses, plus the backend'sget_args,target_optionsandcompiled_source_to_nextflow_with_notes.tests/core/test_canonical_path.py, the module docstring: master's compute-payload claim, againstsophios.compute.request_for, with the backend's path-agreement claim, whose test gives the file the workflow's bound values as its inputs file.compute_request, its schema, and the two example scripts), and the compute path compiles CWL alone (service_document), apart from the Nextflow target.service_documentcompiles through the backend's_with_bound_values, so a compute request now carries a value bound on a workflow input (flow.inputs.x = v), as a value written on a step is carried; master sent no inputs for it. One test on top of the merge pins it,test_compute.py'stest_a_value_bound_on_a_workflow_input_is_sent_as_a_value_written_on_a_step_is, and fails without_with_bound_values.Why
The backend branch tracks master, which is 18 commits ahead of it.
Merge this with a merge commit, as #563, #536, #469 and #434 were: a squash would drop master from the branch's ancestry. Like #563, this PR lists master's commits since the last merge; the backend's own are the merge and that test. It passes every pre-commit hook, mypy included.
Checked locally (macOS, Nextflow 26.04.2 on Java 17)
mypy,lint-imports,autopep8andpylint(9.90/10) as Lint And Test runs them: pass.pytest -m "not skip_pypi_ci and not nextflow" -k "not test_cwl_docker_extract": 3050 passed, 19 skipped, 1 xfailed.skip_pypi_cigroup,test_entry_points.pyandtest_ci_coverage.py: pass.test_env_var_requirement_values_reach_the_command_byte_for_byte, whoseprintenv GREETING LITERALprints one variable under macOS's BSDprintenv, fails the same way onfeat/nf-supporthere and passes on the Ubuntu lane.