Repository navigation
workflow@5.7.0
Immutable
release. Only release title and notes can be modified.
@workflow/core@5.7.0
- #5353
5668d4b@VaguelySerious - Add an optionalruns.deleteDataManymethod to the World interface, which deletes the stored data (payloads, not metadata) of finished runs on demand, and implement it in the Vercel, Local and Postgres Worlds. Exposed asrun.delete()anddeleteRuns()(workflow/api),deleteRuns(world, runIds)(@workflow/core/runtime), andpnpx workflow delete <runId>in the CLI.workflow cancelandworkflow startno longer accept listing flags they ignored, such as--limitonstartor--cursorand--sorton either.workflow delete,workflow cancelandworkflow startnow print the error they fail with, such as an unknown flag, instead of exiting with no output. - #5577
036e1a8@TooTallNate - Snapshot QuickJS runs that have no encryption key without an opt-in. Runs with an encryption key are unchanged: their snapshots are encrypted, and a plaintext snapshot is still rejected on restore. - #5323
c2aa4f7@VaguelySerious - On QuickJS, a spec 9 run that finishes while an inline step body is still running (the loser of a race against a sleep, a hook or another step) now writes itsrun_completedorrun_failedwithout waiting for that body, whatever the run's retention, as node:vm and spec 8 runs already did. The body still settles before the delivery returns; on anexperimental_retention: 0run the World discards what it writes after the purge. - #5422
b074e75@VaguelySerious - Log at debug, not warn, when a queued step delivery waits on a fresh inline execution of the same step in the same process - #5619
de68280@VaguelySerious - Report the events a replay diverged at (replayDivergenceEventIds, ids only) besidereplayDivergenceCounton the write that ends a divergence episode, including therun_failedof aCORRUPTED_EVENT_LOGfailure, so world-vercel can locate the divergence when the run's error payload is encrypted. - #5535
de7f123@VaguelySerious - Keep spec 9 orchestrator deliveries alive through short sleeps instead of re-invoking for each one, and lower the defaultWORKFLOW_ORCHESTRATOR_LINGER_MSto 5 seconds - #5448
5699483@benpankow - Load the event log once, afterrun_started, on astart({ experimental_hook })candidate's first spec 9 delivery, instead of before and after it. Starting each such run makes one fewer World read, and that delivery no longer racesrun_created.WORKFLOW_TURBO=0turns this off along with turbo. - #5450
4890ea9@benpankow - Astart({ experimental_hook })candidate's first spec 9 delivery no longer reads the event log after itsrun_started: the write's skipped-slot report brings whatever landed after the run's creation, so the log stays whole. A report that stops short or leaves a hole still gets the load. - #5495
e379eaf@VaguelySerious - Index the long strings of run inputs and hook payloads in memory linear in the payload, and write a reference to one only when it is shorter than the string. Check state that holds one object (orMap) many times once per object, so a small shared graph can't stall a replay orworkflow inspect. - #5610
5df0437@AndrewBarba - Keep the abort reason when a workflow aborts a signal a running step holds on an encrypted run, instead of aborting the step's signal with a genericAbortError. - #5485
4649046@VaguelySerious - Resume a spec 9 run whose first delivery is replayed after a crashed invocation instead of leaving its open step stranded. - #5468
80d89c0@benpankow - AresumeHook()wake names thehook_receivedit was sent for, so a spec 9 orchestrator delivery in a process that already consumed the run's log below that event skips the tail read that checks for a no-op wake. - #5612
a136c89@VaguelySerious - Omit private backend URLs from request diagnostics and sanitize captured E2E CLI output before it reaches CI reports.
@workflow/cli@5.3.0
- #5353
5668d4b@VaguelySerious - Add an optionalruns.deleteDataManymethod to the World interface, which deletes the stored data (payloads, not metadata) of finished runs on demand, and implement it in the Vercel, Local and Postgres Worlds. Exposed asrun.delete()anddeleteRuns()(workflow/api),deleteRuns(world, runIds)(@workflow/core/runtime), andpnpx workflow delete <runId>in the CLI.workflow cancelandworkflow startno longer accept listing flags they ignored, such as--limitonstartor--cursorand--sorton either.workflow delete,workflow cancelandworkflow startnow print the error they fail with, such as an unknown flag, instead of exiting with no output.
@workflow/world@5.3.0
- #5353
5668d4b@VaguelySerious - Add an optionalruns.deleteDataManymethod to the World interface, which deletes the stored data (payloads, not metadata) of finished runs on demand, and implement it in the Vercel, Local and Postgres Worlds. Exposed asrun.delete()anddeleteRuns()(workflow/api),deleteRuns(world, runIds)(@workflow/core/runtime), andpnpx workflow delete <runId>in the CLI.workflow cancelandworkflow startno longer accept listing flags they ignored, such as--limitonstartor--cursorand--sorton either.workflow delete,workflow cancelandworkflow startnow print the error they fail with, such as an unknown flag, instead of exiting with no output. - #5619
de68280@VaguelySerious - Report the events a replay diverged at (replayDivergenceEventIds, ids only) besidereplayDivergenceCounton the write that ends a divergence episode, including therun_failedof aCORRUPTED_EVENT_LOGfailure, so world-vercel can locate the divergence when the run's error payload is encrypted. - #5621
d8caf7c@VaguelySerious - The warning for aWORKFLOW_SPEC_VERSIONvalue that is not understood now names the spec version new runs use instead. - #5468
80d89c0@benpankow - AresumeHook()wake names thehook_receivedit was sent for, so a spec 9 orchestrator delivery in a process that already consumed the run's log below that event skips the tail read that checks for a no-op wake.
@workflow/world-local@5.5.0
- #5353
5668d4b@VaguelySerious - Add an optionalruns.deleteDataManymethod to the World interface, which deletes the stored data (payloads, not metadata) of finished runs on demand, and implement it in the Vercel, Local and Postgres Worlds. Exposed asrun.delete()anddeleteRuns()(workflow/api),deleteRuns(world, runIds)(@workflow/core/runtime), andpnpx workflow delete <runId>in the CLI.workflow cancelandworkflow startno longer accept listing flags they ignored, such as--limitonstartor--cursorand--sorton either.workflow delete,workflow cancelandworkflow startnow print the error they fail with, such as an unknown flag, instead of exiting with no output. - #5601
d50f412@VaguelySerious - On Windows, taggedclear()s running side by side no longer fail withEPERMwhile deleting the JSON data of an earlier release, and two clears of different tags no longer leave behind an empty directory each kept for the other's file. In the shared World tests, wait for the sleep's timer delivery before checking the sleep workflow's flow invocation count, and run thewfCLI without blocking the test process. - #5487
10f35e3@NishitaSikka - After aexperimental_retention: 0run ends, immediately scrub any step that settles later. - #5468
80d89c0@benpankow - AresumeHook()wake names thehook_receivedit was sent for, so a spec 9 orchestrator delivery in a process that already consumed the run's log below that event skips the tail read that checks for a no-op wake. - #5495
e379eaf@VaguelySerious - Read a stream a bounded batch of chunks at a time, as its consumer asks for them, instead of loading every unread chunk when the reader opens.clear()also deletes the run data an earlier release left in the data directory (only the tag's files for a tagged World). - #5495
e379eaf@VaguelySerious - Keep a run started withexperimental_retention: 0free of data after it ends: the bundled Worlds clear what a step still running when the run ended (aPromise.raceloser) writes to it, and write no stream chunks to it.
@workflow/world-postgres@5.4.0
- #5353
5668d4b@VaguelySerious - Add an optionalruns.deleteDataManymethod to the World interface, which deletes the stored data (payloads, not metadata) of finished runs on demand, and implement it in the Vercel, Local and Postgres Worlds. Exposed asrun.delete()anddeleteRuns()(workflow/api),deleteRuns(world, runIds)(@workflow/core/runtime), andpnpx workflow delete <runId>in the CLI.workflow cancelandworkflow startno longer accept listing flags they ignored, such as--limitonstartor--cursorand--sorton either.workflow delete,workflow cancelandworkflow startnow print the error they fail with, such as an unknown flag, instead of exiting with no output. - #5421
f41f84f@VaguelySerious - Fix concurrent forced hook claims in Postgres World. When several runs calledcreateHook()withexperimental_force: true(force: trueonce renamed) on one token at the same time, some of them could get a plainhook_conflict, which fails the run with "the configured World does not support force-claiming hook tokens", or a 503 "changed owner 5 times while being force-claimed". Every forced claim now ends registered, and the claims form one chain to the final owner. - #5535
de7f123@VaguelySerious - Keep spec 9 orchestrator deliveries alive through short sleeps instead of re-invoking for each one, and lower the defaultWORKFLOW_ORCHESTRATOR_LINGER_MSto 5 seconds - #5468
80d89c0@benpankow - AresumeHook()wake names thehook_receivedit was sent for, so a spec 9 orchestrator delivery in a process that already consumed the run's log below that event skips the tail read that checks for a no-op wake. - #5531
58de1dc@VaguelySerious - Add Kubernetes support for runs pinned to adeploymentId. Features per-deployment backlog queries, KEDA autoscaling, pruning of drained versions' worker Deployments. See Helm chart in the package'schartdirectory. Works by deploying app pods and a separate worker Deployment and KEDA ScaledObject per version, kept across upgrades until that version's runs finish. - #5407
96c8d36@div-cowboy - Skip runs parked on a hook or a future wait in startup recovery, and stop restarts from stacking duplicate recovery jobs; runbootstrapbefore upgrading (migration 0032). - #5495
e379eaf@VaguelySerious - Keep a run started withexperimental_retention: 0free of data after it ends: the bundled Worlds clear what a step still running when the run ended (aPromise.raceloser) writes to it, and write no stream chunks to it.
@workflow/world-vercel@5.7.0
- #5353
5668d4b@VaguelySerious - Add an optionalruns.deleteDataManymethod to the World interface, which deletes the stored data (payloads, not metadata) of finished runs on demand, and implement it in the Vercel, Local and Postgres Worlds. Exposed asrun.delete()anddeleteRuns()(workflow/api),deleteRuns(world, runIds)(@workflow/core/runtime), andpnpx workflow delete <runId>in the CLI.workflow cancelandworkflow startno longer accept listing flags they ignored, such as--limitonstartor--cursorand--sorton either.workflow delete,workflow cancelandworkflow startnow print the error they fail with, such as an unknown flag, instead of exiting with no output. - #5619
de68280@VaguelySerious - Report the events a replay diverged at (replayDivergenceEventIds, ids only) besidereplayDivergenceCounton the write that ends a divergence episode, including therun_failedof aCORRUPTED_EVENT_LOGfailure, so world-vercel can locate the divergence when the run's error payload is encrypted. - #5485
4649046@VaguelySerious - Resume a spec 9 run whose first delivery is replayed after a crashed invocation instead of leaving its open step stranded. - #5612
a136c89@VaguelySerious - Omit private backend URLs from request diagnostics and sanitize captured E2E CLI output before it reaches CI reports.
@workflow/world-testing@5.1.3
- #5601
d50f412@VaguelySerious - On Windows, taggedclear()s running side by side no longer fail withEPERMwhile deleting the JSON data of an earlier release, and two clears of different tags no longer leave behind an empty directory each kept for the other's file. In the shared World tests, wait for the sleep's timer delivery before checking the sleep workflow's flow invocation count, and run thewfCLI without blocking the test process. - #5323
c2aa4f7@VaguelySerious - The queue auth tests' parked run now also waits for the workflow's first step to end, so a spec 9 run whose inline step has not written itsstep_startedyet is no longer read as parked. - workflow@5.7.0
@workflow/web@5.3.0
- #5522
5edc5b2@mitul-s - BuildDecryptButtonand the app's loading buttons and spinners onButton, which gainsloading,prefixandsuffixprops and dropssize="tiny"(usesmall), and onSpinner, which takes named sizes fromsmto4xl(defaultlg). - #5575
0a497dc@mitul-s - AddCopyButtonand use it for every copy button in the observability UI. - #5524
bace5ef@mitul-s - Align the design tokens with the Vercel dashboard:styles.cssnow carries the full palette, shadows, focus ring, z-index, motion and popover tokens plus ahocusvariant, anddark:follows the theme class. The theme no longer applies under[data-theme="dark"], and thedark-theme:/light-theme:variants no longer match.dark/.light; usedark:instead. - #5544
d7053a8@mitul-s - Show the Events search hint under the search box once typing pauses, give a failed search an error state with Try again, and report an ID that does not exist as not found. - #5537
44d4b95@mitul-s - Replace emoji and glyph icons in the observability UI with icons: the tool call and tool result labels, the stream reference badge, the decoded-bytes disclosure, the agent, tool and conditional flow-graph nodes, and the retry and duration badges. - #5525
3671902@mitul-s - Share one search bar between the trace viewer and the Events tab, with a visible keyboard focus outline, a labelled clear button at every width, and the ellipsis character in the placeholder. - #5518
46dff1c@mitul-s - Exportcnfrom@workflow/web-sharedand use it in the web UI, so Geist type classes such astext-label-14are no longer dropped when merged with a text colour class.
@workflow/web-shared@5.3.0
- #5522
5edc5b2@mitul-s - BuildDecryptButtonand the app's loading buttons and spinners onButton, which gainsloading,prefixandsuffixprops and dropssize="tiny"(usesmall), and onSpinner, which takes named sizes fromsmto4xl(defaultlg). - #5575
0a497dc@mitul-s - AddCopyButtonand use it for every copy button in the observability UI. - #5518
46dff1c@mitul-s - Exportcnfrom@workflow/web-sharedand use it in the web UI, so Geist type classes such astext-label-14are no longer dropped when merged with a text colour class. - #5542
8fb5ba8@mitul-s - Remove dead code, every export that nothing imports, and the unused@workflow/web-shared/componentsentry point (import from the package root instead). Removed exports includehydrateResourceIOWithKey(usehydrateResourceIOAsync),MenuDropdown, thematerialize*helpers,shouldShowReenqueueButton,hasPendingStepsFromEvents,hasPendingHooksFromEvents,isTerminalStatus,identifyStreamSteps,looksLikeWorkflowIdSearchInput, the ref helpers re-exported from@workflow/core/serialization-format, and internal components and hooks such asKbd,IconButton,LoadMoreButtonanduseToast. - #5517
9d086e1@debojyoti10CC - Fix the copy button putting[object Object]on the clipboard for payloads that contain a BigInt; BigInt values are now copied as decimal strings in valid JSON. - #5524
bace5ef@mitul-s - Align the design tokens with the Vercel dashboard:styles.cssnow carries the full palette, shadows, focus ring, z-index, motion and popover tokens plus ahocusvariant, anddark:follows the theme class. The theme no longer applies under[data-theme="dark"], and thedark-theme:/light-theme:variants no longer match.dark/.light; usedark:instead. - #5544
d7053a8@mitul-s - Show the Events search hint under the search box once typing pauses, give a failed search an error state with Try again, and report an ID that does not exist as not found. - #5594
e0fa212@mitul-s - Events tab: selecting an event tints its entity's rows blue, mutes the rest and drops the zebra stripes, with a clickable glow at the list edge when related events are out of view. The Name column moves left of Event and widens. - #5537
44d4b95@mitul-s - Replace emoji and glyph icons in the observability UI with icons: the tool call and tool result labels, the stream reference badge, the decoded-bytes disclosure, the agent, tool and conditional flow-graph nodes, and the retry and duration badges. - #5525
3671902@mitul-s - Share one search bar between the trace viewer and the Events tab, with a visible keyboard focus outline, a labelled clear button at every width, and the ellipsis character in the placeholder.
@workflow/builders@5.1.3
- #5568
953e917@abhiramshaji-cyber - Read decorator options from tsconfig in the Rollup transform, so Nitro and Nuxt builds parse decorators in workflow files whenexperimentalDecoratorsis on.
@workflow/rollup@5.0.12
- #5568
953e917@abhiramshaji-cyber - Read decorator options from tsconfig in the Rollup transform, so Nitro and Nuxt builds parse decorators in workflow files whenexperimentalDecoratorsis on.
@workflow/errors@5.1.4
- #5485
4649046@VaguelySerious - Resume a spec 9 run whose first delivery is replayed after a crashed invocation instead of leaving its open step stranded.