Repository navigation
workflow@5.7.1
Immutable
release. Only release title and notes can be modified.
@workflow/core@5.7.1
- #5502
16c62b4@pranaygp - ThrowDynamicWorkflowsNotEnabledErrorinstead ofWorkflowRuntimeErrorwhen dynamic workflows are not enabled, atstart()and on delivery, so a run that fails on it is recorded asUSER_ERRORinstead ofRUNTIME_ERROR. Code that caught this refusal withWorkflowRuntimeError.is(err)should checkDynamicWorkflowsNotEnabledError.is(err)instead. - #5618
bad8cf0@VaguelySerious - An abort published by a workflow or a step reaches the inline steps running in the same process directly, so a race's loser on a zero-retention run is still aborted when the run's end clears the abort stream before the step reads it. - #5643
a5e6933@VaguelySerious - Close a remaining spec 9 run-ahead gap: an incremental read of the event log could bring a committed event to a slot the orchestrator held another event's speculative copy at, drop it, and let a pass run before the log was repaired. A read now follows the same rule as the live feed and a write's answer, and the repair runs before the next pass. - #5627
b5fa392@VaguelySerious - Fix spec 9 runs that failed withCORRUPTED_EVENT_LOG("Workflow replay diverged …" or "has a hole at slot …"), or never completed, after the orchestrator ran ahead of its writes while the live event feed delivered one of those writes before its answer. The orchestrator then placed later speculative events at the wrong slots, where two events could share an id and one of them, a step's outcome among them, was dropped from the log the workflow consumed. Each position is now counted once, no two events share a slot, a step outcome still being written is taken in before any speculative one placed after it, and a committed event is never dropped in favour of a speculative one.
@workflow/cli@5.3.1
- #5635
004ee80@pranaygp - The CLI banner says "This is a beta release" only for beta versions (such as5.0.0-beta.58), not for stable 5.x releases. The update notice now suggestsworkflow@latestinstead ofworkflow@<@workflow/cli version>, which could name an olderworkflowrelease than the one installed
@workflow/world-postgres@5.4.1
- #5618
bad8cf0@VaguelySerious - The invoke executor's wake and delivery check use the configuredGRAPHILE_WORKER_SCHEMAinstead of alwaysgraphile_worker, as the rest of the World does. - #5618
bad8cf0@VaguelySerious - A zero-retention run's data is purged after its terminal write commits, so a race's loser settling at the same moment can no longer deadlock the purge. A backstop job committed with the terminal write retries the purge if the process stops first or the purge fails; any deployment's workers run it, and Kubernetes scaling and pruning keep the run's version until it has run. - #5626
7d710a5@VaguelySerious - AddskipWorkers(WORKFLOW_POSTGRES_SKIP_WORKERS=1): a process that starts the World without running workers. It can still start runs, resume hooks, cancel runs and read them. Processes with workers on the same database,jobPrefixanddeploymentId(when one is set) execute those runs, and recover the ones it didn't enqueue the next time they start.
@workflow/errors@5.1.5
- #5502
16c62b4@pranaygp - AddDynamicWorkflowsNotEnabledError, a fatal, non-runtime error whose message says how to enable dynamic workflows withWORKFLOW_EXPERIMENTAL_DYNAMIC_WORKFLOWS=1.
@workflow/nest@5.1.11
- #5438
5dc1c88@NishitaSikka -workflow-nest initwarns when the@swc/corethatnest builduses is missing or is not 1.15.x, and prints the install command for the project's package manager, run where@nestjs/cliis installed (the workspace root, in a monorepo that installs it there)