Description
I tried this:
The script tasks don't wait until completion
document:
dsl: 1.0.0-alpha5
namespace: default
name: scripts
version: 0.1.32
do:
- log:
run:
script:
language: js
code: >
console.log('hello world'); setTimeout(() => console.log('it waited for a bit!'))
await: true
This happened:
The script task is fire and forget.
I expected this:
No response
Is there a workaround?
changing to await: false
seem to wait for the script to complete
Anything else?
No response
Platform(s)
No response
Community Notes
- Please vote by adding a 👍 reaction to the issue to help us prioritize.
- If you are interested to work on this issue, please leave a comment.name: Bug Report 🐞
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done