WindmillWWindmill
Powered by
aurelienbrabantA
Windmill•3y ago•
1 reply
aurelienbrabant

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
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
WindmillJoin
3,362Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

Results caching for imported scripts
Oleksandr ManakovOOleksandr Manakov / help
14mo ago
Move scripts and flows to new workspace
BilgeBBilge / help
16mo ago
Unable to add workspace scripts to flows
dfulton2009Ddfulton2009 / help
2y ago
Sourcing PowerShell scripts from other PowerShell scripts
DannlyDDannly / help
2y ago