Pyra
ed806bf9d0
fix(backend): rework dependency_map handling ( #6598 )
...
* v0
Signed-off-by: pyranota <pyra@duck.com >
* optimize relocks
* make it work with relative relative imports
Signed-off-by: pyranota <pyra@duck.com >
* use fallback
Signed-off-by: pyranota <pyra@duck.com >
* remove dbg and todos
Signed-off-by: pyranota <pyra@duck.com >
* future proof a bit
Signed-off-by: pyranota <pyra@duck.com >
* cleanup
Signed-off-by: pyranota <pyra@duck.com >
* more cleanup
Signed-off-by: pyranota <pyra@duck.com >
* remove final TODO
Signed-off-by: pyranota <pyra@duck.com >
* do not use bytemuck
Signed-off-by: pyranota <pyra@duck.com >
* optimize hashing
Signed-off-by: pyranota <pyra@duck.com >
* implementation 1
Signed-off-by: pyranota <pyra@duck.com >
* almost v0
Signed-off-by: pyranota <pyra@duck.com >
* v0
Signed-off-by: pyranota <pyra@duck.com >
* add comments and use fallback
Signed-off-by: pyranota <pyra@duck.com >
* call dissolve for apps
Signed-off-by: pyranota <pyra@duck.com >
* add comms
Signed-off-by: pyranota <pyra@duck.com >
* refactor v0 (partially tested + dirty)
Signed-off-by: pyranota <pyra@duck.com >
* finishing
Signed-off-by: pyranota <pyra@duck.com >
* remove TODO
Signed-off-by: pyranota <pyra@duck.com >
* Update SQLx metadata
* silence unused argument
Signed-off-by: pyranota <pyra@duck.com >
* cleanup
Signed-off-by: pyranota <pyra@duck.com >
* implement rebuild_map endpoint
Signed-off-by: pyranota <pyra@duck.com >
* update windmill api client
Signed-off-by: pyranota <pyra@duck.com >
* almost finish with tests
Signed-off-by: pyranota <pyra@duck.com >
* add proper testing
Signed-off-by: pyranota <pyra@duck.com >
* remove unused fixtures
Signed-off-by: pyranota <pyra@duck.com >
* Update SQLx metadata
* partial cleanup
Signed-off-by: pyranota <pyra@duck.com >
* Update backend/windmill-worker/src/scoped_dependency_map.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update backend/windmill-common/src/scripts.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* evil doings
Signed-off-by: pyranota <pyra@duck.com >
* more cleanup
* Update SQLx metadata
* more cleanup
Signed-off-by: pyranota <pyra@duck.com >
* fixing CI
Signed-off-by: pyranota <pyra@duck.com >
* remove python from default features
Signed-off-by: pyranota <pyra@duck.com >
---------
Signed-off-by: pyranota <pyra@duck.com >
Co-authored-by: Pyra <92104930+pyranye@users.noreply.github.com >
Co-authored-by: GitHub Action <action@github.com >
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-09-24 13:40:39 +00:00
dieriba
ef75ed3df7
feat: websocket trigger send runnable result even if error ( #6664 )
...
* done
* nits
* update sqlx
---------
Co-authored-by: hugocasa <hugo@casademont.ch >
2025-09-23 19:22:54 +00:00
Ruben Fiszel
11c9c3548a
make it impossible to update folder with ill-defined extra_perms
2025-09-23 10:30:37 +00:00
centdix
389b692523
fix(mcp): use stateless mode for openai sdk compatibility ( #6656 )
...
* update crate
* use non stateful mode
* fix
* fix
2025-09-23 10:16:26 +00:00
Alexander Petric
6ba3a4397e
fix: cli path on windows + error_handler_muted_on_cancel ( #6657 )
...
* fix: cli path on windows + error_handler_muted_on_cancel
* prefix eq path
* sqlx
2025-09-23 06:32:51 +02:00
Ruben Fiszel
30b4ef9044
nit compile
2025-09-22 16:22:03 +00:00
Ruben Fiszel
90549c13bd
add more debug logs for event triggers
2025-09-22 14:51:46 +00:00
Ruben Fiszel
0392103693
fix: add settable poll delay for sse streams
2025-09-22 10:57:33 +00:00
Ruben Fiszel
2eeaf5639d
feat: force cancel in batch cancel
2025-09-20 11:29:35 +00:00
Ruben Fiszel
2b4bb2be57
check
2025-09-20 01:23:00 +00:00
Ruben Fiszel
f5e23bd880
check
2025-09-20 01:09:49 +00:00
Ruben Fiszel
d8577db9e2
check
2025-09-20 01:03:40 +00:00
Ruben Fiszel
56cdb69e59
fix: add termination handler earlier in lifecycle
2025-09-20 00:22:15 +00:00
Alexander Petric
70e9ae14a9
fix: teams api improvements ( #6643 )
...
* init
* adding cache + ui nits
* improve caching
* sqlx
* ee repo ref
* remove useless comments
* ci errors
* pr comments
* ee repo ref
2025-09-19 17:43:16 +00:00
Ruben Fiszel
f71f9b0894
feat: load for loop jobs timeline directly from for loop flow status ( #6646 )
2025-09-19 17:32:09 +00:00
hugocasa
993baf46bd
feat(backend): flow streaming ( #6520 )
...
* feat(backend): flow streaming
* all streaming languages + sync api
* sqlx
* fix build
* UI and nits
* nit
* feat: stream last flow step
* sqlx
* nit
* use get for stream endpoints + add snippet in UI
* refactor
* nits
* Update backend/windmill-worker/src/common.rs
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
* nits
---------
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-09-18 15:49:35 +00:00
centdix
709a937ac2
fix(aiagent): fix endpoint for azure ( #6633 )
...
* fix ai agent for azure
* cleaning
* add parentheses
2025-09-18 13:22:24 +00:00
dieriba
4b7149527b
feat: fix gcp cleanup and add ack-deadline for gcp push delivery #6631
2025-09-18 08:31:02 +02:00
centdix
d837badf2c
feat(aichat): add max tokens settings ( #6613 )
...
* add max tokens settings
* higher max
* fixes
* save max tokens in workspace settings
* cleaning
* cleaning
* cleaning
* feat(ai): add collapsible sections to ModelTokenLimits component
- Add collapsible/expandable sections for each AI provider
- Display 'Modified' badge when providers have custom settings
- Use ChevronDown/ChevronUp icons for visual feedback
- Add smooth slide transitions for better UX
- Reduce vertical space usage in workspace settings
Co-authored-by: centdix <centdix@users.noreply.github.com >
* adjust
* nit
---------
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: centdix <centdix@users.noreply.github.com >
2025-09-17 16:55:30 +00:00
dieriba
426065efee
fix: add ack deadline gcp ( #6625 )
...
* update ref
* add ack deadline
* update ref
2025-09-17 16:48:37 +00:00
wendrul
9325f5636c
fix: Don't reencrypt secrets on workspace forking ( #6622 )
...
* Do not reencrypt variable when performing a workspace fork
* Update SQLx metadata
* Update SQLx metadata
* Remove unused
---------
Co-authored-by: GitHub Action <action@github.com >
2025-09-17 16:47:27 +00:00
Diego Imbert
673b4d2a4c
Advanced S3 permissionning ( #6617 )
...
* Advanced permission rules UI
* stash
* first iteration for s3 rule parsing
* Move to glob based approach
* cache expiry
* fix popover positioning
* ee
* unused imports
* forgot windmill_uploads
* Check S3 permissions for apps
* nit
* typo
* ee repo ref
* forgot get_workspace_s3_resource_and_check_paths in oss
2025-09-17 12:15:33 +00:00
dieriba
e98bde6be6
feat: allow operator to use script/flow with dynselect input ( #6616 )
...
* done
* update sqlx
* fix openapi spec
2025-09-17 10:56:39 +00:00
centdix
20f48e6ded
feat(ai agent): handle images in ai agent ( #6572 )
...
* add in frontend
* draft openai handling
* upload to s3
* simpler output
* return s3 directly if any
* low quality
* implement for gemini
* handle imagen model
* handle image input
* cleaning
* remove base64 from output
* cleaning
* fix timeout
* handle openrouter
* remove log
* allow image input when creating image
* cleaning
* increase stack size
* inline everything
* revert stack size
* cleaning
* fix for openai
* better mime type
* add descriptions
2025-09-15 07:51:09 +00:00
Ruben Fiszel
e8c5c44906
fix cargo checks
2025-09-13 10:32:38 +00:00
Ruben Fiszel
eaeaa7b473
fix checks
2025-09-13 08:51:07 +00:00
wendrul
9454ab5cc4
fix: workspace forks script versioning (hashes) ( #6604 )
...
* fix: use same hashes as original workspace when forking
* Remove overwrite of created_by
* Update SQLx metadata
---------
Co-authored-by: GitHub Action <action@github.com >
2025-09-13 08:43:48 +00:00
hugocasa
82dcb711ca
fix(backend): email trigger fix build ( #6602 )
...
* fix(backend): email trigger fix build
* update ref
2025-09-12 21:31:08 +02:00
hugocasa
41667d06fc
fix(backend): email triggers error handler and retry ( #6601 )
2025-09-12 20:51:25 +02:00
dieriba
e61477fcbc
refactor: trigger listener ( #6401 )
...
* base
* base crate
* websocket updated
* crud refactored
* fix and nits
* fix compiler warning, nits and update repo ref
* fix oss
* fix compilation
* update ref
* fix
* update feature
* listener base
* add listener
* refactor logic done and implemented for postgres
* fix capture
* websocket
* implem for all triggers
* update sqlx,repo ref and fix
* fix oss
* unify struct fix websocket
* nits and fix oss runtime axum error
* perf cache query
* add listener module
* update .sqlx and cargo.toml
* fix import
* fix
* fix
* update repo ref
* fix
* update ref
* update ref
* fix
* fix
* revert
* update ref
2025-09-12 18:10:58 +00:00
Ruben Fiszel
bef6bb826f
fix: custom tag helper
2025-09-12 13:16:00 +00:00
Ruben Fiszel
4578cf69a4
nit
2025-09-11 21:57:56 +00:00
Ruben Fiszel
a8f67f483c
fix: catchPanicLayer to handle axum panics more gracefully + onFailure tracing
2025-09-11 21:54:28 +00:00
Ruben Fiszel
6c34cd8ad6
fix(perf): improve perf and reliablity using tcp_nodelay and content-length for intra worker requests
2025-09-11 21:39:27 +00:00
Ruben Fiszel
0518c46059
fix: archive by hash workspace specificity
2025-09-11 18:01:52 +00:00
claude[bot]
5b630ed8d3
feat: show position of job in queue when waiting for executor ( #6554 )
...
* feat: show position of job in queue when waiting for executor
- Added new API endpoint /queue/position/:id to get job's position in queue
- Modified DisplayResult.svelte to fetch and display queue position
- Shows 'Waiting for executor (position X in queue)' when job is queued
- Refreshes position every 2 seconds while waiting
Fixes #6553
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
* iterate
* iterate
* all
* all
---------
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-09-11 00:13:52 +00:00
wendrul
5f1d7c4482
workspace forks: fix compilation issue ( #6578 )
2025-09-10 21:50:03 +00:00
wendrul
3dadcbe865
feat: forkables workspaces v0 ( #6479 )
...
* Add create_ephemeral workspace endpoint
* Add cli devShell
* List ephemeral workspaces + improve endpoint
* Add postgres function to clone a workspace (to be revisited)
* Clone workspace using the postgres function
* Add first iteration of ephemeral workspaces command
* Update display of forked workspaces
* Remove SQLX_OFFLINE
* Add UI to create ephemeral workspace
* Add option to exclude repository from being inherited to forks
* WIP: reworking cloning logic
* Fix cloning
* Fix redirect after creating fork
* Clean up cloning behaviour
* Rename ephemeral to fork
* emove ephemeral_workspaces table in favour of columns in workspaces
* Fix display of forked workspaces
* Fix skip inherit git sync repo setting
* Fix fork invite display + creating fork as user
* Fix SideMenu bug
* Fix alignment
* Simplify migrations
* Update deletion of workspaces
* Delete forked workspace from cli
* Deleting fork workspaces from the UI as non-admin
* Update cli sync and fork creation to adapt to branches and forks
* Update fork prefix
* Remove skip tracking toggle
* Fix npm check warnings
* Fix last npm check
* fix: force stdin to Stdio::null for all user code execution (#6575 )
Set stdin to Stdio::null for all Commands that execute user code across all supported languages to prevent unwanted input consumption. This affects Python, Deno, Bash, PowerShell, Go, Rust, PHP, Ruby, Java, C#, Ansible, Nu, and Bun executors.
The dedicated worker handler was intentionally left unchanged as it requires stdin for inter-process communication.
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
* Update ee-repo ref
* Update SQLx metadata
* Fix typos
---------
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2025-09-10 17:42:45 +00:00
hugocasa
b8a2371a44
cli and git sync ( #6568 )
2025-09-10 12:22:28 +00:00
Ruben Fiszel
1c6af66a84
fix: revoke tokens on demotions of superadmins
2025-09-10 09:20:11 +00:00
Ruben Fiszel
de273ebb5d
warn for variable values delays
2025-09-09 22:16:51 +00:00
Ruben Fiszel
44711db8ac
warn for variable values delays
2025-09-09 22:06:14 +00:00
Ruben Fiszel
45898ef5a3
fix: variable perf and oauth refresh improvements ( #6567 )
...
* all
* improve
* improve
* improve
* improve
2025-09-09 22:03:53 +00:00
hugocasa
36bbde6239
feat: email triggers ( #6548 )
...
* feat: email triggers
* Change down migration to drop email_trigger table
* email triggers UI
* bug fix
* Apply suggestion from @ellipsis-dev[bot]
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* cli and git sync
* Revert "cli and git sync"
This reverts commit 220fd50d13 .
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-09-09 21:04:23 +00:00
Ruben Fiszel
8604753865
debug raw script endpoints
2025-09-09 14:38:47 +00:00
Ruben Fiszel
80b5b5869d
fix scope test
2025-09-09 13:56:14 +00:00
Ruben Fiszel
7c75d8ee1d
fix(jwt): implement scopes run for executing apps components
2025-09-09 12:45:16 +00:00
hugocasa
5aac5fa136
feat(backend): prefix matching for list_paths_from_workspace_runnable + bulk delete endpoints for scripts/variables/resources ( #6542 )
...
* feat(backend): accept wildcard for list_paths_from_workspace_runnable + bulk delete endpoints for scripts/variables
* nit
* better result
* safer runnables list
* nit
* nits
* bulk delete resources as well
* batch sql queries
* nits
2025-09-08 13:41:01 +02:00
pyranota
d0982432e2
fix(flows): fix relative imports cache invalidation ( #6519 )
...
* fix(flows): fix relative imports cache invalidation
Signed-off-by: pyranota <pyra@duck.com >
* update flow_versions in the end
Signed-off-by: pyranota <pyra@duck.com >
* comms + fallback
Signed-off-by: pyranota <pyra@duck.com >
* add warn if fallback is used
Signed-off-by: pyranota <pyra@duck.com >
* include referenced scripts' hashes in flow_node id
Signed-off-by: pyranota <pyra@duck.com >
* improve fallback + TODOs
Signed-off-by: pyranota <pyra@duck.com >
* perf: optimize trigger
Signed-off-by: pyranota <pyra@duck.com >
* reduce TODOs
Signed-off-by: pyranota <pyra@duck.com >
* remove more TODOs
Signed-off-by: pyranota <pyra@duck.com >
* test thing
Signed-off-by: pyranota <pyra@duck.com >
* remove TODO
Signed-off-by: pyranota <pyra@duck.com >
* drop old flow trigger
Signed-off-by: pyranota <pyra@duck.com >
* add comments to migration
Signed-off-by: pyranota <pyra@duck.com >
---------
Signed-off-by: pyranota <pyra@duck.com >
2025-09-05 16:06:51 +00:00
Ruben Fiszel
1611404e95
fix flow push schedule on flow update ( #6538 )
...
* fix flow schedule
* fix flow schedule
2025-09-05 10:09:17 +00:00