Utilities imported from scripts are not targeted by workspace deploy feature

Hi there, I was using the deploy EE feature that allows one to deploy a flow or scripts from a workspace to another in two clicks and found out that it looks like utility scripts used by deployed scripts are not listed as part of the deployable items. If a script targeted for deployment does contain such an import statement:
import { SomeType, someFunction } from 'f/some_folder/utils.ts'

// main signature and rest of my script making use of the imported items
import { SomeType, someFunction } from 'f/some_folder/utils.ts'

// main signature and rest of my script making use of the imported items
Then the f/some_folder/utils.ts item won't be included in the deployable item list, which eventually will make the deployed item unusable unless deploying the utility manually. I'm not sure it was clear enough and the workaround is easy, but thought it was worth reporting. Windmill version is Windmill EE v1.117.0. Probably very old given windmill's pacing but I don't know if it was noticed so
1 Reply
rubenf
rubenf2y ago
Hey, good point, we will add it to backlog

Did you find this page helpful?