claude[bot]
82620098d2
feat: add native result streaming ( #6242 )
...
* feat: add stream output feature to SSE job updates
Adds stream_output field to JobUpdate struct that extracts log lines
starting with '[wm_stream]:' from job logs. Regular logs now exclude
stream lines, which are captured separately for specialized handling.
- Added stream_output: Option<String> field to JobUpdate struct
- Created extract_stream_output_from_logs() function to filter stream lines
- Modified get_job_update_data() to use stream extraction logic
- SSE clients now receive both new_logs and stream_output in job updates
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com >
* feat: rename stream_output to stream and handle newlines as \n
- Renamed `stream_output` field to `stream` in JobUpdate struct
- Updated extract_stream_output_from_logs to extract_stream_from_logs
- Changed stream output to join with literal \n instead of actual newlines
- Stream lines are properly excluded from regular new_logs
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Ruben Fiszel <rubenfiszel@users.noreply.github.com >
* decision tree nits
* push ee ref
* push ee ref
* fix: fix id renaming in apps
* remove duplicate caching (#6285 )
* feat: migrate audit log ids to bigints (blocking migration for EE)
* fix(mcp): add proper check for mcp routes (#6282 )
* add proper check for mcp routes
* cleaner
* apply to flow
* fix add checks scopes
---------
Co-authored-by: dieriba <dieriba.pro@gmail.com >
* chore(main): release 1.514.0 (#6283 )
* chore(main): release 1.514.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
* fix: pin tokio to 1.46.1 and aws-sdks-ts
* pin rustls to 0.23.29 + pin aws-sdk
* chore(main): release 1.514.1 (#6288 )
* chore(main): release 1.514.1
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
* fix: improve docker logs collection in docker mode
* support $res: string in form inputs of arrays
* fix import nit
* fix: fix DynSelect
* nits
* fix: resource-type-ts-parser (#6289 )
* fix: resource types as arg in typescript handle imported defined types
* Update nix flake (#6291 )
* merge
* Small UI fixes (#6294 )
* fix step history not refreshing with staticInputs
* fix array of obj not showing up in json editor in test this step
* datatable scales correctly in DisplayResult and scrolling is much more usable
* avoid next button disapearing and changing layout / hurting ux
* nits
* fix bug when renaming module A to B then module C to A, C takes the schema of A
* fix bug with comments in sql repl
* fix aggrid theme randomly not loading
* bindable script
* better delete button in db manager
* property select doesnt exist
* fix all warnings
* delete $flowStateStore[id] on delete
* feat(cli): generate cursor rules on init (#6270 )
* create cursor rules on init
* change gen
* add missing resource-type command
* add resource type command in guidance
* add schema option
* revert
* nit
* nit
* add flow guidance
* nit
* chore(main): release 1.515.0 (#6292 )
* chore(main): release 1.515.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
* fix: improved logs for script
* nits logs
* chore(main): release 1.515.1 (#6295 )
* chore(main): release 1.515.1
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
* merge
* even more indexer tracings
* add more tracing logs
* feat: prevent too large results (>500Mb) from OOMing database
* nit naming
* feat: add CA certificate update at startup via environment variable (#6280 )
* feat: add CA certificate update at startup via environment variable
Add support for running 'update-ca-certificates' at binary startup
when RUN_UPDATE_CA_CERTIFICATE_AT_START environment variable is set to "true".
- Check for RUN_UPDATE_CA_CERTIFICATE_AT_START env var on startup
- Execute update-ca-certificates command if env var is set to "true"
- Log success/failure appropriately with tracing
- Continue startup even if CA certificate update fails
- Non-blocking implementation with proper error handling
Fixes #6279
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com >
* refactor: extract CA certificate update logic into separate function
Extract the CA certificate update logic from windmill_main() into a
dedicated update_ca_certificates_if_requested() function for better
code organization and maintainability.
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com >
* improvements
---------
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: Alexander Petric <alpetric@users.noreply.github.com >
Co-authored-by: Alexander Petric <alex@windmill.dev >
* fix: indexer collection of job logs before indexing (#6300 )
* Add flume as dependecy for indexer
* Update ee-repo-ref
* Remove flags from cargo.toml
* Update ee-repo-ref
* Update ee-repo-ref
* fix rust sdk build error (#6305 )
Signed-off-by: pyranota <pyra@duck.com >
* fix broken audit logs filter (#6304 )
* rename to from to
* goto fix
* default to false if field not present operator settings (#6301 )
* git sync UI improvements (#6303 )
* ui improvements round 1
* modal cleanup
* init
* UI refactor
* UI cleanup + refactor
* legacy cleanup
* success model -> github actions, non-ee warnings
* sqlx
* npm check
* ee warning everywhere
* last comments
* formatting
* no hardcoded theme
* claude review improvemenets
* fix: no process relative imports for scripts with codebase
* fix: sqs oidc authentication disconnect #6307
* handle metadata for new scripts happen after commit
* handle_deployment_metadata in a task
* nits
* chore: add windmill-utils-internal package (#6299 )
* add utils package
* naming
* cleaning
* add docs
* remove log
* use autogenerated types
* remove old
* fix
* cleaning
* add docs
* chore(main): release 1.516.0 (#6298 )
* chore(main): release 1.516.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
* merge
* indexer improvements
* upgrade tantivy to 0.24.2
* use tantivy fork
* nit warnings
* fix oss build
* improve indexer
* chore: use windmill-utils-internal for cli (#6297 )
* add utils package
* naming
* cleaning
* simplify assignPath
* rename old files
* same for locks
* create on confirm
* default true
* use replaceinlinescripts from utils
* use extractscriptfromflows
* make it compile
* cleaning
* use argsigtojson
* fix
* fix missing await
* cleaner
* cleaning
* cleaning
* use in frontend
* add docs
* testing
* remove log
* use autogenerated types
* remove old
* fix
* cleaning
* adapt usage
* draft
* better build script
* fix build
* revert to default creation
* add docs
* remove and rename
* make everything work
* add await
* only if not installed
* add vs code setting
* add to publish action
* fix bc
* safer use of sep
* fix
* do not rename on push
* no publish on release
* use published package on frontend
* nit
* Add dependencies to run sqlx prepare to nix flake (#6309 )
* feat(cli): wmill-lock.yaml v2 for easier git merge diffs
* merge
* merge
* all
* all
* rm warnings
* fix styling on aichatinput (#6312 )
* fix: use with_capacity back presusre for tantivy directory multipart writes (#6313 )
* use with capacity for tantivy directory multi part uploads
* Update ee repo ref
* Update ee-repo-ref
* Update ee-repo-ref
* chore(main): release 1.517.0 (#6310 )
* chore(main): release 1.517.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
* fix typo on cli build (#6314 )
* cleanup
* feat(utils): add flow.yaml validation function (#6316 )
* add validateflow function
* cleaner code
* preprocess json
* cleaning
* create specific package
* cleaning
* add tests
* fix: cleanup concurrency_counter automatically + remove orphans keys automatically
* fix: add disabled support to resource picker in schema forms
* fix: add wm_labels to tracing spans
* all
* merge
* all
* fix: delete empty git connection (#6318 )
* fix checks
* bun handling
* all
* all?
* all
* all
* update
* all
* update
* check
* fix history
* all
* all
* all
* Remove leftover debug tracing statements
- Remove commented debug trace in jobs.rs for stream output
- Remove commented debug trace in result_stream.rs for stream processing
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com >
* fix test
* all
* handle iter
* fix
---------
Signed-off-by: pyranota <pyra@duck.com >
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 >
Co-authored-by: centdix <40307056+centdix@users.noreply.github.com >
Co-authored-by: dieriba <dieriba.pro@gmail.com >
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
Co-authored-by: wendrul <53628737+wendrul@users.noreply.github.com >
Co-authored-by: Diego Imbert <70353967+diegoimbert@users.noreply.github.com >
Co-authored-by: Alexander Petric <alpetric@users.noreply.github.com >
Co-authored-by: Alexander Petric <alex@windmill.dev >
Co-authored-by: pyranota <92104930+pyranota@users.noreply.github.com >
2025-08-06 22:40:42 +00:00
claude[bot]
7a3d1baf59
fixt: Add runScriptByPath and runScriptByHash methods to SDK clients ( #6252 )
...
* feat: Add runScriptByPath and runScriptByHash methods to SDK clients
- Add runScriptByPath and runScriptByHash methods to TypeScript client
- Add run_script_by_path and run_script_by_hash methods to Python client
- Split functionality from existing methods that took both path and hash parameters
- Add deprecation warnings to existing run_script methods
- Maintain backward compatibility while encouraging use of focused methods
Closes #6251
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com >
* Refactor SDK methods to eliminate code duplication
- Extract common logic into internal helper methods
- Python client: _run_script_async_internal() and _run_script_internal()
- TypeScript client: _runScriptAsyncInternal() and _runScriptInternal()
- Eliminate duplicated parameter processing and HTTP setup
- Maintain exact same public API surface and functionality
- Reduce lines of code while preserving all existing behaviors
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com >
* fix ts and dev.nu for python
* trade warnings.warn for logging.warning
Signed-off-by: pyranota <pyra@duck.com >
---------
Signed-off-by: pyranota <pyra@duck.com >
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: pyranota <pyra@duck.com >
2025-07-22 12:21:21 +00:00
Alexander Petric
d98731b05c
feat: Microsoft Teams approvals ( #5734 )
...
* move branch
* openapi version
* full interactive approvals
* move to ee
* move to ee
* move ee
* merge common logic slack/teams
* merge common logic slack/teams
* sqlx prepare
* formatting
* linter ee
* update ee-repo ref
* ee repo ref
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-05-13 23:06:49 +02:00
HugoCasa
b39209ad3d
feat: signed s3 objects ( #5593 )
...
* feat: accept signed s3 objects for s3 file keys in apps + sign endpoint and helpers
* Update backend/windmill-api/openapi.yaml
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* fix build
* Update python-client/wmill/wmill/client.py
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
* nti
* fix build
* fix build
* presigned
* Update frontend/src/lib/components/apps/editor/settingsPanel/InputsSpecEditor.svelte
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update frontend/src/lib/components/apps/editor/settingsPanel/InputsSpecEditor.svelte
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* fix build
* b
* fix sqlx
* nit
* typo
---------
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-04-11 18:03:40 +02:00
HugoCasa
47e526ad04
feat: autocomplete v2 + AI chat ( #5323 )
...
* feat: autocomplete v2
* wip chat
* wip
* feat: chat ai review and apply
* feat: multiple providers
* update cli gen
* fixes
* improvements
* fix build
* fix issues
* fix build
* final nits
* nits
* nits
2025-03-25 19:53:48 +01:00
Alexander Petric
d1fda55691
feat: interactive slack approvals ( #4942 )
...
* feat: interactive slack approvals
* move form creation logic to backend
* adding python client
* polish messages
* date time picker and default values
* Initial commit
* Initial commit
* refactor
* cleanup
* cleanup
* cleanup
* cleanup, treating numbers/integers/booleans
* adding slack to ts dependencies
* sqlx prepare
* gitignore, adding package.lock
* ellipsis comments
* Update typescript-client/client.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* refactor to move everything serverside + modal
* sqlx prep
* reverting slack dependency
* python client update
* fix build errors
* Update pyproject.toml
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2024-12-20 21:47:45 +01:00
pyranota
d3e0b1c636
feat: Allow setProgress and getProgress from within the script ( #4400 )
...
* Allow setting progress explicitly from script body.
This feature exposes:
* `getProgress`
* `setProgress`
* `incProgress`
API in TypeScript client (python is coming soon).
NOTE: Progress cannot be out of range 0..100 and cannot decrease.
With exposed APIs there is also UI changes, so progress can be shown for individual jobs as well.
For optimization reasons, jobs start to ask for progress only after N-seconds of execution.
* feat: Add `shell.nix`
If you dont have anything but nix, dont worry, run nix-shell in root, or activate with direnv and get all needed dependencies
NOTE: You will still need docker
* feat: Add `dev.nu` to typescript client
Little helper function, allowing developer to work on ts client easier.
To use:
`./dev.nu watch`
Now add import of windmill in body of your script and `//nobundle` on top of the file
Edit ts client in your favourite editor and hit save. Script will do the rest.
* Cleanup files
* Fix: Failed to deserialize query string: missing field `get_progress`
* perf: Implement non-naive polling mechanism for getting job progress
* Add independant delay for getProgress
Problem in `TestJobLoader`:
There should be 2 delays:
One until we find our first progress (every 5s)
Once we found our first progress, we can do it every second
* nit: Use `query_scalar!` instead of `query_as`
* Fix: Sql error, no rows returned by a query that expected to return at least one row
* refactor: Remove global CSS for JobProgressBar
* Change UI for progress of flow subjobs
* Replace `Step 1` with `Running` in ProgressBar for individual jobs
* Remove `incProgress`
incProgress is not very usefull and error-prone
* perf: Set metric only for jobs that are actually using it
(https://github.com/windmill-labs/windmill/pull/4373#discussion_r1759843773 )
* Offload registering progress from clients to server
* Add `jobId?` argument to typescript-client's `setProgress` and `getProgress`
Allows to set progress of other jobs and flows,
if jobId specified, than flow id will be inferred automatically.
Could be used by SDK.
* Add `Error::MetricNotFound` for better error handling
* Fix: Make `JobProgressBar` display in red when failed
* Add persistant progress bar
Now you can reload the page after job is done and progress will be still there
* Allow succeeded individual job's progress bar stick to 100%
* Add python support
* nit: Remove usage of undefined variable in python-client
* Add `async` in ts client (for error handling)
* nit(frontend): Remove unused import
* Dont load JobProgressBar when it is not needed
* nit: npm check fix
* cargo sqlx prepare
* fix sqlx
---------
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com >
2024-09-18 01:16:19 +02:00
Ruben Fiszel
352152c491
export runFlow and runFlowAsync
2024-08-15 15:17:32 +02:00
Ruben Fiszel
2ca3f2e822
fix: make typescript client compatible with cf workers ( #3807 )
...
* make typescript client compatible with cf workers
* Update build.sh
2024-06-04 16:23:23 +02:00
HugoCasa
126459f972
feat: improve permissioned audit logs ( #3799 )
...
* fix: increase token label size in db
* Revert "Revert "feat: improve premissioned audit logs (#3793 )" (#3798 )"
This reverts commit afae33f5f8 .
* feat: add username to email function
* fix: nit
* fix: add docstring to global func
2024-05-23 17:23:50 +02:00
Ruben Fiszel
9b99117f48
fix: remove schemas from typescript client
2024-05-15 08:10:29 +02:00
Ruben Fiszel
6b49f47c5c
feat: nativets can use the wmill library + setClient not required anymore ( #3714 )
...
* all
* all
* all
* all
2024-05-13 08:26:03 +02:00
Ruben Fiszel
e1a8a80272
update typescript openapi generator
2024-05-03 12:54:00 +02:00
Ruben Fiszel
9ebe011a73
fix: update go and typesript client
2024-04-18 11:07:11 +02:00
Ruben Fiszel
6b842b3c53
feat: add set_flow_user_states and get_flow_user_states api and sdk support
2024-03-26 17:31:17 +01:00
Ruben Fiszel
824e572e5b
fix: add more functions to typescript client
2024-03-06 00:28:17 +01:00
Ruben Fiszel
7a8c688a23
fix: export base64 from typescript client
2024-02-06 22:13:59 +01:00
Guillaume Bouvignies
0003673e8d
feat: migrate s3 client to object_store ( #3116 )
...
* feat: migrate s3 client to object_store
* remove multipart from open API
* Remove multipart in favor of a single stream
* progress report
* add progress reader on server side
* small nit fix
* fix read chunk
* Fix TS and python SDK
* Fix download button
* Fix download button object viewer
* fix list
* Better errors
* export loadS3FileContent
* revert changes SDK
* fix browser
* small file list unavailable fix
* Old endpoints throws informative error messages
* Typescript SDK uses raw fetch
* update python SDK
* Error if uploaded file > 50Mb
* revert python SDL changes
* Update python SDK method docs
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com >
2024-02-01 16:03:30 +01:00
Guillaume Bouvignies
2e6835f610
feat: Download s3 file as stream in Python and TS ( #3099 )
2024-01-29 14:49:08 +01:00
Guillaume Bouvignies
ef76a90e34
fix: Better UI for S3 download and S3 TS SDK endpoints ( #3065 )
...
* Better UI for S3 download and S3 TS SDK endpoints
* gitignore typescript client node_modules
* USe Windmill BE upload endpoint for TS SDK
* Use WM backend endpoint in Python upload SDK endpoint
* revert changes
* Add expiration for Python
* Add downaload endpoint
* Add toggle for public S3 resource
* revert changes to package.json
* Add link to doc page
* fix unauthorized bug
2024-01-25 15:34:40 +01:00
Ruben Fiszel
99a69898f0
fix: expose getIdToken in typescript-client
2024-01-17 11:01:51 +01:00
Ruben Fiszel
ce451fdf77
fix typescript client
2024-01-17 09:29:33 +01:00
Ruben Fiszel
ddaca371a1
fix typescript client
2024-01-17 09:24:38 +01:00
Guillaume Bouvignies
7a875e0cf7
fix: Re-add TS SDK changes for S3 ( #2899 )
2023-12-20 18:12:37 +01:00
Guillaume Bouvignies
c1e04e104c
fix: TS SDK not found upon install error ( #2895 )
2023-12-20 16:53:42 +01:00
Guillaume Bouvignies
fd55c3d8e3
feat: S3 objects are now typed in Python and TS SDK ( #2878 )
...
* feat: S3 objects are now typed in Python and TS SDK
* fix ts and python SDK after testing
* cleanup
2023-12-20 09:16:33 +01:00
Ruben Fiszel
f3c96fe0cc
fix: add setState, getState to client
2023-08-29 15:26:23 +02:00
Ruben Fiszel
d814a0f3be
fix: expose getResumeUrls in windmill-client
2023-08-26 11:54:21 +02:00
Ruben Fiszel
4317f065f5
feat: bun support ( #1800 )
...
* feat: bun support
* feat: bun support
* add bun support
* add bun support
* add bun support
* add bun
2023-07-06 21:19:07 +02:00
Ruben Fiszel
a300ade947
fix cancel approval step
2023-05-14 13:57:22 +02:00
Ruben Fiszel
60b723cc13
add initial typescript client
2023-05-07 01:17:42 +02:00