You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
substrate v0.132.0: seed task-completion records via /v1/s3/seeded-objects (the /v1/spawn/task-completion seed is removed) #1674
bucket is optional: omit it, or use "*", to match any bucket.
The body goes in body (any JSON value, or a string) or in bodyBase64. Use one, not both.
availableAt is optional. The key reports 404 until that instant on substrate's simulated clock, so a poll loop sees "not yet" first and then the record.
Reads: the seed is served through the normal object path, so Range and conditional reads work. The bucket itself must exist.
Writes: a real PutObject or DeleteObject of the key replaces or hides the seed.
Clearing:DELETE /v1/s3/seeded-objects?bucket=results&key=tasks/t1/completion.json clears one seed, and DELETE /v1/s3/seeded-objects clears them all.
Exit codes: seed tasks/<id>/.exitcode the same way if the adapters read it.
Likely places to update
spawn's own Tier-0 task-completion tests.
The workflow adapters' engine-composition CI that runs against substrate: nf-spawn, miniwdl-spawn, cwl-spawn, snakemake-executor-plugin-spawn, airflow-spawn and pegasus-spawn.
Under the old behaviour an unseeded task defaulted to exit_code: 0 / completed. A test that relied on that default now has to seed. One "bucket": "*" seed per task key in test setup restores the old happy path.
Also in v0.132.0, for anyone embedding substrate as a Go library
The Docker Lambda and RDS executors are removed. Invoke never runs code; it answers POST /v1/lambda/invoke-result or /v1/lambda/invoke-error seeds, or the stub.
Config.Lambda, Config.RDS and ReplayCfg.RandomSeed are gone.
spore-host/spore-host's lambda/ modules pin substrate v0.85.0, so these changes only matter when that pin is bumped.
The full list is in the release's Compatibility section.
Activity