You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
WorkflowsArea: what it touches
Internal ChangesKind: in v2.1.292,
What probably matters to youSection of the release
What
A workflow is a scripted multi-step run. The withholdScriptFromSdkEvents setting keeps a workflow's script out of the events sent to programs built on the SDK. Its handling changed.
Starting a v2 workflow run with withholdScriptFromSdkEvents set now fails with "A workflow v2 run cannot withhold its script".
When the script is withheld, its sha256 hash (a fingerprint of the file) is stored for each run id.
The v1 runner gets a withholdScript option, replacing indexLabelsForUnlabelledAgents, which was set from the same value before.
With the setting on, workflow notifications say "To resume with the unedited script" and drop the hint about re-running with edits. Before, they always said "To resume after editing the script". Adopted workflows carry the setting.
Why
When a script is hidden from SDK events, the program watching cannot see or edit it, so resuming is offered only with the original script. Hosts that set this on a v2 run will now get an error.