3d1584b6e6
feat(mcp): add script preview testing tool ( #6417 )
...
* add endpoint to test script
* add same for flow
* better tool spec + remove flow preview from tools
* fix
* fix wrong required fields
* feat(mcp): add warning for missing required fields in schema properties
- Add stderr warning when x-mcp-required-fields contains fields not found in body schema properties
- Prevents silent misconfigurations in MCP tool generation
- Helps debug schema validation issues
Co-authored-by: centdix <centdix@users.noreply.github.com >
---------
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: centdix <centdix@users.noreply.github.com >
2025-08-20 14:50:46 +02:00
Ruben Fiszel and rubenfiszel
e4c66db0e5
chore(main): release 1.529.0 ( #6423 )
...
* chore(main): release 1.529.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-08-20 09:32:32 +00:00
b8e5d39474
feat: add prometheus metric queue_running_count ( #6413 )
...
* feat: add prometheus metric queue_running_count
Adds a new Prometheus metric queue_running_count that tracks the number
of currently running jobs per tag, similar to the existing queue_count
metric but filtered for running=true instead of running=false.
Changes:
- Added get_queue_running_counts() function in windmill-common/src/queue.rs
- Added QUEUE_RUNNING_COUNT Prometheus metric in monitor.rs
- Added /workers/queue_running_counts API endpoint
- Updated OpenAPI specification
- Added SQLx query cache entry
Requested by @rubenfiszel
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
* Remove database insertion for queue_running_count metrics
Keep Prometheus metrics and API endpoint functionality while removing
the database INSERT statements as requested.
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com >
* sqlx
* improve logic
---------
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 <rubenfiszel@users.noreply.github.com >
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-08-19 22:12:36 +00:00
Ruben Fiszel and rubenfiszel
3cef26b4b3
chore(main): release 1.528.0 ( #6407 )
...
* chore(main): release 1.528.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-08-19 03:45:30 +01:00
ddd389d59b
feat: native k8s autoscaling integration (EE) ( #6405 )
...
* stage progress
* stage progress (dirty)
* feat: native k8s autoscaling integration (EE)
Signed-off-by: pyranota <pyra@duck.com >
* fix frontend
Signed-off-by: pyranota <pyra@duck.com >
* update ee ref
Signed-off-by: pyranota <pyra@duck.com >
* update ee ref
Signed-off-by: pyranota <pyra@duck.com >
* Update backend/windmill-api/src/configs.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update ee-repo-ref.txt
---------
Signed-off-by: pyranota <pyra@duck.com >
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-08-19 02:20:14 +00:00
pyranota
bcb4812ca2
remove ruby from default features ( #6406 )
...
* fix: remove `ruby` from default features
* fix build error
2025-08-19 02:05:46 +00:00
David P. Kleinschmidt
d97b978b39
Add windir to Windows environment ( #6403 )
2025-08-18 13:41:15 +01:00
Ruben Fiszel and rubenfiszel
9ec327dc1d
chore(main): release 1.527.1 ( #6400 )
...
* chore(main): release 1.527.1
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-08-16 10:40:55 +00:00
Ruben Fiszel and rubenfiszel
89f7f1599f
chore(main): release 1.527.0 ( #6395 )
...
* chore(main): release 1.527.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-08-15 13:27:11 +00:00
pyranota and ellipsis-dev[bot]
4341c14f8e
feat: add ruby support ( #5939 )
...
* implement single line pin
* make panic-safe
* use pin even if multiple modules imported withing single statement
* add repins and make imports respect pins
* keep all pins
* Allow multiple pins
* add comments + handle stuff more safely
* fix fully qualified imports
* remove ignore
* sort nested
* apply unique to output requirements list
* fix typo
* remove mut
* update sqlx
* sort imports
* sort imports
* fix formatter and format
* feat: add ruby support
* fix
* update sqlx
* add ruby to flake.nix
Signed-off-by: pyranota <pyra@duck.com >
* upgrade par_install_language_dependencies helper
rename fields + allow passing custom payload
Signed-off-by: pyranota <pyra@duck.com >
* change migrations
Signed-off-by: pyranota <pyra@duck.com >
* make full pipeline work!
Signed-off-by: pyranota <pyra@duck.com >
* do a bit fixing
* stage
Signed-off-by: pyranota <pyra@duck.com >
* add ruby in dockerfiles
Signed-off-by: pyranota <pyra@duck.com >
* implement auto-require + 'windmill/inline'
Signed-off-by: pyranota <pyra@duck.com >
* create 'windmill/inline' only if does not exist
Signed-off-by: pyranota <pyra@duck.com >
* add nsjail
Signed-off-by: pyranota <pyra@duck.com >
* update global settings
Signed-off-by: pyranota <pyra@duck.com >
* add ruby icon
* generate lockfile on deploy (but broken)
Signed-off-by: pyranota <pyra@duck.com >
* fix(frontend): display deployed script lockfile and other info
Signed-off-by: pyranota <pyra@duck.com >
* feat: add mini-wmill client
Methods:
- get_resource
- get_variable
Additionally add shortcuts on frontend
Signed-off-by: pyranota <pyra@duck.com >
* add nit warning
Signed-off-by: pyranota <pyra@duck.com >
* support private repos credentials
Signed-off-by: pyranota <pyra@duck.com >
* fix compilation error
Signed-off-by: pyranota <pyra@duck.com >
* found rustc bug + refactor universal installer
Signed-off-by: pyranota <pyra@duck.com >
* more refactor + fixes
Signed-off-by: pyranota <pyra@duck.com >
* bug fixing + polishing
Signed-off-by: pyranota <pyra@duck.com >
* cleanup
Signed-off-by: pyranota <pyra@duck.com >
* change 'windmill/inline'
Signed-off-by: pyranota <pyra@duck.com >
* delegate env_clear to universal installer
Signed-off-by: pyranota <pyra@duck.com >
* update init script
Signed-off-by: pyranota <pyra@duck.com >
* add cli support
Signed-off-by: pyranota <pyra@duck.com >
* unhardcode frontend
Signed-off-by: pyranota <pyra@duck.com >
* fix cli
Signed-off-by: pyranota <pyra@duck.com >
* fix init script
Signed-off-by: pyranota <pyra@duck.com >
* make it work on ms windows
Signed-off-by: pyranota <pyra@duck.com >
* do not clean env in the end
Signed-off-by: pyranota <pyra@duck.com >
* fix windows (again)
Signed-off-by: pyranota <pyra@duck.com >
* include PROXY_ENVS (untested)
Signed-off-by: pyranota <pyra@duck.com >
* feat: self-signed certs + proxy support (tested)
Signed-off-by: pyranota <pyra@duck.com >
* flake: pin ruby to 3.4
* merge follow-ups
Signed-off-by: pyranota <pyra@duck.com >
* remove obsolete libc crate
Signed-off-by: pyranota <pyra@duck.com >
* cleanup parser
Signed-off-by: pyranota <pyra@duck.com >
* fix java ci
Signed-off-by: pyranota <pyra@duck.com >
* cleanup
Signed-off-by: pyranota <pyra@duck.com >
* fix nits
Signed-off-by: pyranota <pyra@duck.com >
* Update backend/windmill-worker/src/universal_pkg_installer.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update backend/windmill-worker/src/ruby_executor.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* add nsjail for lock stage
Signed-off-by: pyranota <pyra@duck.com >
* fix merge
Signed-off-by: pyranota <pyra@duck.com >
* Update common.rs
* regen windmill-api-client
Signed-off-by: pyranota <pyra@duck.com >
* fix tests
Signed-off-by: pyranota <pyra@duck.com >
* fix tests again
Signed-off-by: pyranota <pyra@duck.com >
* reference published ruby parser
Signed-off-by: pyranota <pyra@duck.com >
---------
Signed-off-by: pyranota <pyra@duck.com >
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-08-15 13:03:32 +00:00
Ruben Fiszel and rubenfiszel
913ee033e5
chore(main): release 1.526.1 ( #6391 )
...
* chore(main): release 1.526.1
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-08-14 18:18:46 +00:00
dieriba and GitHub Action
453ead3cb5
fix token query ( #6392 )
...
* fix
* Update SQLx metadata
---------
Co-authored-by: GitHub Action <action@github.com >
2025-08-14 18:18:23 +00:00
Ruben Fiszel
cf549af3e4
fix websocket trigger info query
2025-08-14 17:38:29 +00:00
Ruben Fiszel
0735ab24a5
fix: add timeouts to more queries to prevent some rare deadlocks scnarios
2025-08-14 17:31:38 +00:00
Ruben Fiszel and rubenfiszel
5e1930b751
chore(main): release 1.526.0 ( #6386 )
...
* chore(main): release 1.526.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-08-14 16:47:41 +00:00
9272f147af
fix: better gcp pubsub error status code ( #6385 )
...
* ee repo ref
* revert accidental ee-repo-ref commit to main
* revert accidental ee-repo-ref commit to main
* fix
* ref
---------
Co-authored-by: Alexander Petric <alex@windmill.dev >
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-08-14 09:13:14 +00:00
Alexander Petric
44e044f44e
feat: instance groups workspace ( #6380 )
...
* feat: instancd groups mapping to workspace
* npm run check
* nits
* improve apis
* sqlx prepare and ee-repo ref
* adding workspace assignment in groups page
* nits
* correct rollback
* sqlx
* ee repo ref
* revert accidental ee-repo-ref commit to main
* ee repo ref
* revert accidental ee-repo-ref commit to main
2025-08-14 09:06:00 +00:00
Ruben Fiszel and rubenfiszel
b8a6014bd9
chore(main): release 1.525.0 ( #6371 )
...
* chore(main): release 1.525.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-08-14 00:54:42 +00:00
Ruben Fiszel
3e31c80568
fix sqlx
2025-08-14 00:50:14 +00:00
Guilhem and Ruben Fiszel
235354fe13
feat(frontend): add flow log view ( #6330 )
...
* componentize detail module
* Add logs tab
* add flow log viewer
* fetch logs
* handle subflows
* add forloop iteration picker
* polish
* expand steps log by default
* move logic handling to wrapper component
* improve iteration picker
* clean code
* polishing
* Add flow start and flow end rows
* fix infinite loop
* nit
* use list instead of table
* use custom id for collapsing subflow
* remove debug logs
* Use status dot instead of text
* fetch log from moduleState
* wip
* only fetch subflow jobs from cache if job is completed
* Add job polling for expanded steps
* handle subflows
* Init logs for steps
* update localModuleState logs
* use selected iteration from local module state
* handle branchone
* Add branch one and branch all label
* remove redondant innerModule prop
* Improve UX
* Add expand/collapse
* Add filter to hide result and inputs
* Steps are now flow children
* improve UX
* Open flow and steps sction when executing
* Handle empty subflows
* remove unnecessary sequence viewer component
* nit
* use iteration picker in log view
* Replace dot with step type icon
* indicate subflows
* add step number and progression
* Incorporate inputs and results in the list of steps
* Add error indicator when subflow has error
* improve topbar
* improve log polling
* Improve log polling
* Add root flow log fetching and polling
* Add debounce for loading subflow jobs
* write a function to build the tree view from the graph
* remove unnecessary log polling
* fix flow result display
* flag errors
* preprocessor
* remove all flow logs drawer
* grenerate graph from component
* wip
* Check module change before building graph
* nit
* fix log overflow
* fix log viewer borders
* mini jobs run preview fix
* elegent job logs loading
* nit
* nit
* nit
* all
* all
* all
* all
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-08-14 00:39:21 +00:00
centdix
19c92a1edf
chore(mcp): restructure mcp related files and add annotations to tools ( #6373 )
...
* restructure mcp related files
* add annotations
2025-08-13 23:16:49 +00:00
Ruben Fiszel
ce76b16d0c
disable process group for dotnets
2025-08-13 16:46:14 +00:00
Ruben Fiszel
569688d8bd
fix dotnets process group
2025-08-13 14:40:31 +00:00
Ruben Fiszel
2b5b4f6cb5
fix dotnets process group
2025-08-13 12:14:03 +00:00
Ruben Fiszel
00243ef48b
disable process group optionally
2025-08-13 11:23:44 +00:00
Ruben Fiszel
a22f7381ab
fix: fix csharp build hanging
2025-08-13 10:10:46 +00:00
Ruben Fiszel
daa2c15c25
fix: fix resource type search when adding resources
2025-08-12 19:10:23 +00:00
Ruben Fiszel and rubenfiszel
199d5de30d
chore(main): release 1.524.0 ( #6364 )
...
* chore(main): release 1.524.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-08-12 12:25:20 +00:00
centdix
c1c65720b4
feat(mcp): allow filtering by folder ( #6366 )
...
* allow filtering mcp by folder
* nit
* add error if wrong format
2025-08-12 12:21:16 +00:00
Ruben Fiszel
98912d47db
fix: fix preprocessor usage in python
2025-08-12 12:14:50 +00:00
Ruben Fiszel and rubenfiszel
63b8548f4d
chore(main): release 1.523.0 ( #6359 )
...
* chore(main): release 1.523.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-08-11 16:16:16 +00:00
Alexander Petric
e18aafa66f
fix: add extra query params for token request for client credentials ( #6360 )
...
ee repo ref
2025-08-11 15:46:55 +00:00
Ruben Fiszel
1fcd0af7ff
fix: remove spurrious error log for apps
2025-08-11 12:12:35 +00:00
centdix
ef34c697b8
feat(aichat): add api mode to call api endpoints ( #6343 )
...
* add api mode
* add endpoint to list tools
* use new endpoint from frontend
* draft tool exec display
* cleaning
* improve claude.md
* better theming
* show actual data
* add bacon to gitignore
* simpler logic
* add openapi def
* cleaning
* add confirmation
* simplify
* fix cancel
* fix build
* cleaning
* better logic
* path instructions
* add new endpoint
* cleaning
* fix
* cancel when creating new chat
* nits
* handle errors
* allow changing mode to api mode
2025-08-11 11:13:44 +00:00
Ruben Fiszel and rubenfiszel
5a8b750416
chore(main): release 1.522.0 ( #6354 )
...
* chore(main): release 1.522.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-08-10 22:24:57 +00:00
Ruben Fiszel
f9dd7c03b4
sqlx
2025-08-08 22:05:53 +00:00
Ruben Fiszel
14b00bc475
feat: add configurable stale jobs detection and cancellation
2025-08-08 17:32:11 +00:00
dieriba
cd3f5eda8c
nits: remove unused ( #6352 )
...
* remove unused
* update repo ref
2025-08-08 16:57:04 +00:00
Ruben Fiszel
d7d93c7112
fix: display if tag has an active workers attached to it in tag select
2025-08-08 16:40:48 +00:00
dieriba
7fab48ce76
add ack_id field and update hub link for gcp ( #6351 )
2025-08-08 15:04:57 +00:00
hugocasa
c6f5d09ff9
fix: do not save license key when renewing if the expiry date is earlier than that of the current key ( #6346 )
...
* fix: do not save license key when renewing if the expiry date is earlier than that of the current key
* tmp ref
* final ref
2025-08-08 14:23:31 +02:00
Ruben Fiszel
73c19f56eb
fix oss build
2025-08-07 18:27:09 +00:00
Ruben Fiszel
dd0796c6cd
fix oss
2025-08-07 18:14:33 +00:00
dieriba
7a5a599a9b
feat: add instance-wide workspace prefix option for custom app ( #6180 )
2025-08-07 17:55:26 +00:00
dieriba and Ruben Fiszel
9be04984b6
feat: togglable manual acknowledgement for gcp trigger ( #6321 )
...
* update
* done
* update repo ref
* nits
* update repo ref
* fix
* all
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-08-07 17:45:50 +00:00
Ruben Fiszel and rubenfiszel
9091c72d9d
chore(main): release 1.520.1 ( #6339 )
...
* chore(main): release 1.520.1
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-08-07 16:28:14 +00:00
Ruben Fiszel
e5b4d7e70e
fix: fix oss build
2025-08-07 16:20:44 +00:00
Ruben Fiszel and rubenfiszel
ee940a383a
chore(main): release 1.520.0 ( #6337 )
...
* chore(main): release 1.520.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-08-07 15:59:10 +00:00
centdix
e2ef3317ef
feat(mcp): add api endpoints as tools ( #6329 )
...
* working list tools
* working call tool
* add schema
* implement calling the endpoint
* use openapi instead
* correctly implement call_tool
* provide workspace from context
* cleaning
* add more endpoints
* remove resolved hack
* add missing properties description
* add list scripts and flows
* add instructions
* remove bacon.toml
* cleaning
* remove bacon.toml
* nit
* nit
* cleaning
* fix openapi file
* nit
* better error handling
2025-08-07 15:55:35 +00:00
Alexander Petric
f19cc2aa4c
bun install with no cache option if env: BUN_NO_CACHE ( #6338 )
...
* bun install with no cache option if env: BUN_NO_CACHE
* lazy static
2025-08-07 15:54:57 +00:00