-
Notifications
You must be signed in to change notification settings - Fork 40
Labels
app: runnerConcerns the RunnerConcerns the Runnerpriority: highIndicates a high priority issueIndicates a high priority issuetype: bugSomething isn't workingSomething isn't workingweight: 1An issue that has a very low development impactAn issue that has a very low development impact
Milestone
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
app: runnerConcerns the RunnerConcerns the Runnerpriority: highIndicates a high priority issueIndicates a high priority issuetype: bugSomething isn't workingSomething isn't workingweight: 1An issue that has a very low development impactAn issue that has a very low development impact
Type
Projects
Status
Done