You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! 👋 Thanks for making Windmill. I've wanted this to exist for a long time but didn't want to create it myself.
I was receiving a surprising error after making a small change to a workflow step. With the reproduction code below, this error occurs 100% of the time.
ExitCode: 1, last log lines:
job=01946fc7-a99e-f07a-fd90-a948327d26c4 tag=bun worker=wk-default-gw4n9-Ral3o hostname=windmill-workers-66c8c76bfd-gw4n9
--- BUN INSTALL ---
error: Failed to scan imports
at /tmp/windmill/wk-default-gw4n9-Ral3o/01946fc7-a99e-f07a-fd90-a948327d26c4/main.ts:0"
To reproduce
After researching bun and windmill execution and so on to no avail, I started just randomly removing code in case bun or the runner was panicking on some weird edge case. And it was!
Given these two identically-functional but differently-defined functions:
(Probably ought to also check the github template for where to find the 'Application version' above, because that doesn't seem to exist. Not sure if that is the right version you were looking for, which was under User -> Account Settings -> text under "Windmill")
The text was updated successfully, but these errors were encountered:
Describe the bug
Hello! 👋 Thanks for making Windmill. I've wanted this to exist for a long time but didn't want to create it myself.
I was receiving a surprising error after making a small change to a workflow step. With the reproduction code below, this error occurs 100% of the time.
To reproduce
After researching bun and windmill execution and so on to no avail, I started just randomly removing code in case bun or the runner was panicking on some weird edge case. And it was!
Given these two identically-functional but differently-defined functions:
function
line, the code will run and execute.const
line, you will get the "failed to scan imports" error 100%.Expected behavior
This snippet with either function form works in all execution environments, so it probably should work with Windmill:
and
Screenshots
No response
Browser information
Firefox 134.0.1
Application version
EE v1.447.2-4-gfddcaca80
Additional Context
(Probably ought to also check the github template for where to find the 'Application version' above, because that doesn't seem to exist. Not sure if that is the right version you were looking for, which was under
User -> Account Settings -> text under "Windmill"
)The text was updated successfully, but these errors were encountered: