Ruben Fiszel
9a62ac3912
remove warnings
2025-07-26 13:28:51 +00:00
dieriba
d626b75995
feat: periodic worker group script ( #6159 )
...
* feaat periodic script
* feat periodic script
* fix unused
* check minimun time
* fix unused import
* update repo ref
* update ref
* nits and update repo ref
* add missing checks
* fix
* improve UX
* improve UX
* improve UX
* fix
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-07-21 22:57:56 +00:00
Ruben Fiszel
d990133097
feat: use sse for flow status updates
2025-07-19 14:42:26 +00:00
pyranota
1199e9eea5
feat(cli): make flow generate-locks respect raw requirements ( #6105 )
...
* build: add claude-code to nix shell
Signed-off-by: pyranota <pyra@duck.com >
* stage progress
* stage files
* make it work
* stage work
Signed-off-by: pyranota <pyra@duck.com >
* make it work + refactor logic a bit
Signed-off-by: pyranota <pyra@duck.com >
* small cleanup
Signed-off-by: pyranota <pyra@duck.com >
* rename `local_lockfiles` to `rawReqs`
Signed-off-by: pyranota <pyra@duck.com >
* cleanup
Signed-off-by: pyranota <pyra@duck.com >
* fix transpilation to deno error
Signed-off-by: pyranota <pyra@duck.com >
* update sqlx
Signed-off-by: pyranota <pyra@duck.com >
* cleanup features.default
Signed-off-by: pyranota <pyra@duck.com >
* follow up rename
Signed-off-by: pyranota <pyra@duck.com >
* nits
Signed-off-by: pyranota <pyra@duck.com >
* overwrite flow.yaml on `flow generate-locks`
Signed-off-by: pyranota <pyra@duck.com >
* nits
Signed-off-by: pyranota <pyra@duck.com >
* remove invalid code generated by claude
Signed-off-by: pyranota <pyra@duck.com >
* nits
Signed-off-by: pyranota <pyra@duck.com >
* fix typo
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* remove double quotes
Signed-off-by: pyranota <pyra@duck.com >
* use async to write file
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-07-17 14:01:28 +00:00
Ruben Fiszel
008303ef96
nit log
2025-07-16 00:01:28 +00:00
Ruben Fiszel
8e63c38032
tracing error exit loop
2025-07-15 16:31:35 +00:00
Ruben Fiszel
97639d127d
prevent forever loops nit
2025-07-15 15:36:42 +00:00
Ruben Fiszel
2ecae8eedd
prevent tight cpu loop on job pull
2025-07-15 14:14:24 +00:00
HugoCasa
19ca7f3aef
feat: triggers error handler and retry ( #6138 )
...
* feat: http triggers error handling and retries
* feat: handle sync http triggers
* feat: triggers retry and error handling
* feat: frontend and preprocessor
* fix build
* minimum allow dead code
* check workspace tags in schedules
* fix flow preprocesor + hub urls
* update ee ref
* nit
* nit
* final nits
* schedule UI nits
* migrate workspace settings to svelte 5
2025-07-11 18:55:23 +02:00
Ruben Fiszel
a8e0615e17
fix: fix frontend scripts in app editor copying their content
2025-07-07 15:41:32 +00:00
wendrul
1f03eb96de
feat: Better tracing for audit logs, including a graph to visualize them ( #6078 )
...
* Migrate audit log page to svelte 5
* Add email and span cols to audit table
* Add token_prefixs to audit logs (into AuditAuthorable trait)
* Add audit logs graph (wip)
* Add audit span on push and jwt
* Unify same job audit into the same audit span
* Improve the graph visually
* Fix typo
* functioning graph with svelte issue
* Fix leak
* feat: migrate AuditLogsTable from DataTable to VirtualList for performance
- Replace DataTable component with VirtualList for handling thousands of rows
- Migrate to Svelte 5 runes ($props, $bindable, $derived, $state)
- Implement flattenLogs() for virtual scrolling with grouped date headers
- Add sticky indices and dynamic height calculation
- Update parent component to use callback prop pattern instead of events
- Preserve all existing functionality: filtering, selection, pagination
- Follows RunsTable.svelte implementation pattern
Resolves performance issues when displaying large audit log datasets.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com >
* Fix remaining virtual list issues
* WIP graph
* Fix chart styling
* Fix npm check
* Fix missing audit_span arguments
* Update sqlx
* use varchar 255 for email as in other tables
* Remove syntax inconsistency
* Match struct with ee crate
* Update ee-repo-ref.txt
* Update worker_flow.rs
* Remove redefinition of trait to prevent shadowing
* Re add trait on oss but only when no `private` flag
---------
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com >
Co-authored-by: GitHub Action <action@github.com >
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-07-03 21:02:45 +00:00
Ruben Fiszel
5633ea03fa
fix compile
2025-06-20 20:45:48 +02:00
Ruben Fiszel
526dd64516
fix: consistency of root job propagation fixing cases where runFlow in scripts would fail
2025-06-20 20:24:53 +02:00
claude[bot]
e28e509ef4
fix: improve piptar upload - sequential uploads via background task queue ( #5994 )
...
* feat: improve piptar upload with sequential background task queue
Replace simultaneous piptar uploads with sequential processing via background job queue while keeping dependency installation parallelized.
Key changes:
- Add PiptarUpload job kind and database migration
- Queue piptar uploads instead of using tokio::spawn
- Implement job handler for sequential S3 uploads
- Maintain parallel dependency installation as requested
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Ruben Fiszel <rubenfiszel@users.noreply.github.com >
* Remove PiptarUpload job kind migration files
Refactoring piptar uploads to use tokio channel instead of Windmill jobs.
Migration files are no longer needed.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com >
* Refactor piptar uploads from Windmill jobs to tokio channel
Replace the complex job queue infrastructure for piptar uploads with a simple
tokio channel approach as requested. This maintains sequential upload behavior
while keeping dependency installation parallel.
Key changes:
- Add PIPTAR_UPLOAD_CHANNEL global channel for sequential processing
- Replace JobPayload::PiptarUpload with simple channel send
- Remove PiptarUpload from JobKind enum and all job handling code
- Remove job dispatcher case from worker.rs
- Simplify upload logic while maintaining same functionality
Benefits:
- Reduced complexity by removing unnecessary job infrastructure
- Sequential uploads without blocking dependency installation
- Better separation of concerns
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com >
* Update worker.rs
* Update python_executor.rs
---------
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com >
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-06-19 15:32:21 +02:00
Ruben Fiszel
a8acbc00dc
nit error message
2025-06-10 15:33:48 +02:00
Ruben Fiszel
ec08e1d5e0
usage query on cloud is in bg
2025-06-05 17:00:39 +02:00
Ruben Fiszel
5d84f5c9a1
usage query on cloud is in bg
2025-06-05 15:36:15 +02:00
dieriba
5b534be168
feat: ssh repl like direct to workers hosts machine ( #5809 )
...
* feat(backend): add repl for worker
* feat(frontend): add repl to interact with worker and missing packages
* nits
* Update backend/windmill-worker/src/result_processor.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update backend/windmill-worker/src/result_processor.rs
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
* Update frontend/src/lib/components/WorkerRepl.svelte
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
* fix typo
* fix cd
* nits
* refactoring
* feat: handle other agent worker to also access repl feature, fix bugs
* update repo ref
* nits and match function args
* nits
* typo
* remove struct AgentWorkerData
* update repo ref
* nits
* impl new for authed client and revert to async
* update ref
* updage ee repo ref
* fix missing method/imports small bugs
* update ee repo ref
* update .sqlx
* test
* clean wait for interactive_shell future
* free call stack
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-06-03 18:41:14 +02:00
Diego Imbert
7467833239
EE Refactor ( #5844 )
...
* app compiles with every ee substituted
* Replace all oss files content
* Revert "Replace all oss files content"
This reverts commit ea4017d59f .
* delete all ee
* hide all _ee files under private flag
* hide every oss stuff when private flag set
* pub use *
* gitignore and substitute script
* pub mod for ee needed for ee repo
* small mistakes
* remove oidc_oss impl
* ee ref (temp)
* ee ref
* fix --all-features selecting private in OSS CI
* ee repo ref
* allow unused
2025-06-02 22:12:33 +02:00
pyranota
2833d6da3f
feat(python): inline script metadata (PEP 723) ( #5712 )
...
* make resolver
* more updates
* fix build
* fix raw_dependencies job type
* compat with http agent workers
* refactor
* rename
* more refactor
* cleanup
* more tests
* fix s3
* small fixes
* more fixing
* fix endpoint
* nit: update comment
* update ee ref
* update ee ref
* update ee ref
* implement safer `list_available_python_versions`
* add tracing to get of authed client
* internal: Trigger claude when commenting with /aider (#5783 )
* add claude instructions files
* call claude too when using aider
* fix
* add draft for linear claude integration
* fix build
* update ee ref
* ignore versions <=3.9
* fix windows build
* correct versions filter
* fix windows build (this time for real)
* inject error to debug CI
* update CI
* undo debug of CI
* fix tests
* remove outdated comment
* update ee repo ref
* Update ee-repo-ref.txt
* Update backend/parsers/windmill-parser-py-imports/src/lib.rs
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
* Update InstanceSetting.svelte
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
Co-authored-by: centdix <40307056+centdix@users.noreply.github.com >
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-05-24 02:13:47 +02:00
Ruben Fiszel
729d90f61e
add more labels to traces
2025-05-22 12:07:21 +02:00
HugoCasa
23cce4ddb0
fix: workspace preprocessor improvements ( #5784 )
...
* add tracing to get of authed client
* internal: Trigger claude when commenting with /aider (#5783 )
* add claude instructions files
* call claude too when using aider
* fix
* add draft for linear claude integration
* fix: workspace preprocessor fixes
* tmp ee ref
* fix build
* update ee ref
* fix: hub script preprocessor handling
* fix build
* good ref
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
Co-authored-by: centdix <40307056+centdix@users.noreply.github.com >
2025-05-21 17:49:21 +02:00
Ruben Fiszel
a499f9dffe
fix: improve handling of custom concurrency key/tag with preprocessors ( #5762 )
...
* fix
* rm spurrious diff
* handle failing preprocessors
* nits
* update
* update
2025-05-17 10:52:28 +02:00
Ruben Fiszel
a325bf587f
add more duration warnings to logs
2025-05-14 10:27:55 +02:00
HugoCasa
d2787cfd78
feat: preprocessor refactor ( #5629 )
...
* feat: preprocessor refactor
* nit
* oneOf kind support + new capture format + fix build
* fix build
* fix build
* update preprocessor templates
* cache runnable version info
* update ee ref
* update hub scripts && ee ref
2025-05-09 09:50:01 +02:00
Ruben Fiszel
bfe0a7aa8b
feat: handle . in interpolated args
2025-05-07 13:57:05 +02:00
Ruben Fiszel
13ed9fa876
fix(python): handle better relative imports with requirements or extra_requirements
2025-04-29 15:23:44 +02:00
Ruben Fiszel
1c46bf9301
slower pull if no tag is available
2025-04-28 00:34:30 +02:00
Ruben Fiszel
031e522a6a
ui code builder v0 (at secret path) ( #4964 )
2025-04-20 01:19:02 +02:00
Ruben Fiszel
96376effda
improve perf of push
2025-04-12 15:26:56 +00:00
Ruben Fiszel
216b5b01e3
improve benchmarks
2025-04-12 11:09:21 +00:00
dieriba
06586596e5
feat: add gcp trigger ( #5501 )
...
* update: add migration for gcp_trigger table, add cli method gcp and add gcp_trigger args for github ci
* update: add gcp module and routing it in lib.rs
* update: added gcp type to TRIGGER KIND type in db, add new feature condition to try_get_fn and added gcp_trigger feature in cargo file
* update: add ui for gcp trigger, added missing triggers type for job kin, add gcp trigger in deploy to functionallity
* adding google cloud crate
* update: handle pull and push delivery
* update: handle pull and push delivery
* update: handle push event, changed front ui
* update: ui
* fix: capture for gcp
* update: automatically manage pub sub subscription and refactoring
* capture done
* update cli types
* fix: wrong func argument and type openapi
* fix: missing import
* update .sqlx
* update: svg color and remove pulse button for capture push gcp
* update: handle deployto
* update script helper and link to hub gcp script/flow
* update gcp representation
* update: add confirmation modal
* add unique index to mitigate same subscriber id, fix `zombie worker`, update test connection logic
* Update frontend/src/lib/components/triggers/gcp/GcpTriggerEditorInner.svelte
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update cli/gen/services.gen.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* nits
* update repo ref
* fix feature function
* update dependencies
* update .sqlx
* fix missing import
* update: handle existing subscription and creating new one or update it
* fix ee build
* handle existing config properly
* update .sqlx
* update .sqlx
* remove unused
* update documentation link fix ci
* use on instance of empty_string_as_none fn
* update refo ref
* updat script_helper
* update ui
* update migration
* add missing arguments
* fix and nits
* update repo ref
* remove unused
* nits
* add doc links
* nits
* Update frontend/src/lib/components/triggers/gcp/GcpTriggerPanel.svelte
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update frontend/src/lib/components/triggers/gcp/GcpTriggerEditorInner.svelte
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* use trigger path as default route path
* update .sqlx
* update repo ref
* update ref
* update route path
* update types
* fix deploy to
* nits
* update repo ref
* update .sqlx
* Update frontend/src/lib/components/triggers/gcp/GcpTriggerEditorConfigSection.svelte
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* nits
* nits
* nits
* remove dupliacte fn and update repo ref
* remove unused import
* fix missing import
* fix: wong name var
* update script helper and template script
* Update frontend/src/lib/script_helpers.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update ee-repo-ref.txt
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: HugoCasa <hugo@casademont.ch >
2025-04-10 20:39:01 +00:00
Ruben Fiszel
947c91809d
feat: agent workers v2 using http ( #5588 )
2025-04-10 00:56:11 +00:00
Ruben Fiszel
6602c5fedf
fix benchmarks
2025-04-03 21:17:13 +00:00
HugoCasa
064c5bb5f1
fix: correctly run empty flow with preprocessor from UI ( #5537 )
2025-03-28 11:26:26 -07:00
Ruben Fiszel
ef88a83f56
bump versions ( #5526 )
...
* all
* version bump
* ci
* fix bump
* fix
2025-03-27 23:57:09 +01:00
Ruben Fiszel
e04529b309
nit, add scheduled_for in logs
2025-03-27 21:28:21 +01:00
HugoCasa
ec886a688a
fix: add missing privileged hub script for app slack reports ( #5515 )
2025-03-26 23:15:03 +01:00
Ruben Fiszel
7e802bd611
perf: cache workspace premium check
2025-03-25 02:00:51 +01:00
Ruben Fiszel
094a9deccd
fix: improve cancel for flows with many substeps
2025-03-24 22:00:15 +01:00
Ruben Fiszel
123b4405ed
perf: optimize number of queries needed for job run ( #5504 )
...
* optPerf
* update sqlx
* update sqlx
2025-03-24 20:12:26 +01:00
HugoCasa
884aba4811
perf: improve perf of get completed flow node ( #5418 )
...
* perf: improve perf of get completed flow node
* better
* nit
* nits
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-03-19 10:51:30 +01:00
Ruben Fiszel
eefb77f445
nit move away from using views
2025-03-19 10:48:43 +01:00
Ruben Fiszel
aaa4cde349
feat: filter by worker + backend perf opt ( #5489 )
...
* all
* all
* all
* refactor
* sqlx
* ref
* impr
* fix
* fix
* fix
* ee private
2025-03-19 09:55:53 +01:00
Ruben Fiszel
5134deefad
improve concurrency limits II ( #5485 )
2025-03-17 17:24:50 +01:00
Ruben Fiszel
fcaee6fef5
fix: improve concurrency limit check performances
2025-03-17 00:53:14 +01:00
Ruben Fiszel
c15e699150
DISABLE_CONCURRENCY_LIMIT 2
2025-03-16 18:22:41 +01:00
Ruben Fiszel
18ecb261c3
DISABLE_CONCURRENCY_LIMIT
2025-03-16 17:45:40 +01:00
Ruben Fiszel
fe6c2abd59
fix: improve row lock contention on concurrency counter
2025-03-16 17:20:39 +01:00
Ruben Fiszel
5765d4cf75
nit zombie job monitoring
2025-03-11 07:08:28 +01:00