Pyra
952a15a877
remove dbg! leftovers ( #6842 )
...
Signed-off-by: pyranota <pyra@duck.com >
2025-10-16 17:29:57 +00:00
Ruben Fiszel
0c4e14e81c
fix compile
2025-10-16 17:21:09 +00:00
Pyra
defb6c9694
feat: dependency job debouncing ( #6769 )
...
* 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 >
* feat: dependency job debouncing
* checkpoint
Signed-off-by: pyranota <pyra@duck.com >
* more improvements
Signed-off-by: pyranota <pyra@duck.com >
* refactor: clean up dependency job debouncing implementation
- Add comprehensive comments explaining the debouncing mechanism
- Replace debug statements (dbg!) with proper tracing calls
- Extract helper functions to reduce code duplication:
- extract_to_relock_from_args() for extracting nodes/components
- accumulate_debounce_stale_data() for updating stale data
- Improve code readability and maintainability
Co-authored-by: Pyra <pyranota@users.noreply.github.com >
* cleanup
Signed-off-by: pyranota <pyra@duck.com >
* Update SQLx metadata
* Update backend/windmill-common/src/jobs.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update backend/windmill-common/src/jobs.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update backend/windmill-queue/src/jobs.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* better error handling for helper
Signed-off-by: pyranota <pyra@duck.com >
* update ee-ref
Signed-off-by: pyranota <pyra@duck.com >
* test: add race condition test for dependency job debouncing
- Implement test_2 for scripts to test the race condition edge case
- Add comprehensive documentation comments to all test functions
- Remove empty test_2 stubs for flows (not needed)
- Keep test_2 stub for apps with TODO comment
The race condition test simulates the scenario where a job is marked
as running but debounce_key hasn't been cleaned up yet, forcing the
system to create a new job while reusing the existing debounce_key.
This edge case can occur due to the lack of transactions in the pull
function for performance reasons (see jobs.rs:4415-4425).
Co-authored-by: Pyra <pyranota@users.noreply.github.com >
* test: implement race condition test for dependency job debouncing
- Add comprehensive test_2 for script module that tests the race condition edge case
- Remove empty test_2 stubs from flows and apps modules
- Fix unused variable warning in worker_lockfiles.rs
- Add detailed comments explaining the race condition scenario and test logic
Co-authored-by: Pyra <pyranota@users.noreply.github.com >
* implement fallback
Signed-off-by: pyranota <pyra@duck.com >
* make it mostly work
* all tests are almost working
Signed-off-by: pyranota <pyra@duck.com >
* add comments a bit
Signed-off-by: pyranota <pyra@duck.com >
* Update backend/windmill-common/src/scripts.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update backend/windmill-worker/src/worker_lockfiles.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update backend/windmill-worker/src/worker_lockfiles.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* feat: improve debouncing documentation, tracing, and error handling
- Add comprehensive 3-phase debouncing documentation explaining push/accumulation/pull
- Enhance all tracing with structured logging (job_id, workspace_id, node_count, etc.)
- Add proper error handling with .map_err() and contextual messages
- Replace dbg!() with proper tracing::debug!()
- Replace todo!() with proper error handling
- Fix typos: 'and edge case' → 'an edge case', 'bc' → 'because'
- Fix debug variable name: 'debounce_job_id_0' → 'debounce_job_id_o'
- Add documentation for debounce cleanup and stale data retrieval
- Add trace-level logging for non-error paths to reduce noise
Co-authored-by: Pyra <pyranota@users.noreply.github.com >
* do some work for future improvements
Signed-off-by: pyranota <pyra@duck.com >
* fix tests
Signed-off-by: pyranota <pyra@duck.com >
* clippy
Signed-off-by: pyranota <pyra@duck.com >
* update sqlx
Signed-off-by: pyranota <pyra@duck.com >
* clippy
Signed-off-by: pyranota <pyra@duck.com >
* update ee ref
Signed-off-by: pyranota <pyra@duck.com >
* flag tests behind the feature, add timeout
Signed-off-by: pyranota <pyra@duck.com >
* fix timeout + cleanup
Signed-off-by: pyranota <pyra@duck.com >
* cleanup
Signed-off-by: pyranota <pyra@duck.com >
* row lock debounce_key
Signed-off-by: pyranota <pyra@duck.com >
* addressing TODOs
Signed-off-by: pyranota <pyra@duck.com >
* fix test
Signed-off-by: pyranota <pyra@duck.com >
* ee ref
Signed-off-by: pyranota <pyra@duck.com >
* ee repo
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>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Pyra <pyranota@users.noreply.github.com >
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-10-16 16:49:35 +00:00
Ruben Fiszel
0c1fbc6f0d
fix compile
2025-10-16 16:28:04 +00:00
Ruben Fiszel
d16cc56f58
nit compile
2025-10-16 16:24:36 +00:00
Ruben Fiszel
f723a1fb72
fix: add configurable timeout sse stream
2025-10-16 15:29:49 +00:00
Ruben Fiszel
0fe81f5b98
chore(main): release 1.561.0 ( #6838 )
...
* chore(main): release 1.561.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
v1.561.0
2025-10-16 15:07:59 +00:00
Ruben Fiszel
25e7a2ea54
Is Password nit
2025-10-16 14:41:12 +00:00
Ruben Fiszel
a238750554
fix: fix job loader in public apps with jwt token
2025-10-16 14:17:45 +00:00
hugocasa
3b5c962473
fix(backend): revert flow node opti for ai agents ( #6840 )
...
* Revert "feat(backend): use flow nodes opti for ai agent steps (#6808 )"
This reverts commit 8d5acda340 .
* fix(backend): revert flow node opti for ai agents
* keep standard base64
2025-10-16 14:05:06 +00:00
Ruben Fiszel
aeb6829011
use excluded where relevant
2025-10-16 09:19:44 +00:00
wendrul
32fae7a10c
feat: ansible playbook execution git repo mode (repo viewer + UI utils) ( #6831 )
...
* Improve minio on flake.nix
* Add first asset parsing logic for ansible
* Correct html gt sign
* Decouple s3 file picker from drawer
* Factor duplicate code into snippet
* Update S3FilePickerInner to be compatible
* Fix pane shrinking issue
* Git repo viewer
* Change GitRepoViewer
* Endpoints for git repo visualizer
* Move git repo viewer to its own component
* Add button to populate git repo viewer
* Update parser yaml for new ansisble features (repo viewer)
* Reflect parser changes for ansible
* Add button to add the git repo mode of declaration for ansible
* Factor function
* Playbook + inventories into the drawer
* Add button to add inventories from s3
* Move tests to lib.rs
* Inventory loading from s3
* Move get github app token logic to be reused by ansible
* Update parser and ansible executor
* Use the correct path for inventories
* Add nushell to flake for wasm builds
* Add published parser
* Update hubPaths with clone and upload to s3
* Update ee-repo to the branch ref
* Fix npm run check
* Update cargo.lock
* Change labels on buttons
* Remove debug log
* Update ee-repo-ref
* Fix ee issues
* Update ee-repo ref
* Fix typo
* Fix ee
* Update ee-repo-ref
* Fix missing imports
* Unused var
* Fix typo
* Layout improvents
* Fix typos
* Remove unused function and log
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-10-16 09:08:18 +00:00
Ruben Fiszel
06c05200cd
chore(main): release 1.560.0 ( #6823 )
...
* chore(main): release 1.560.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
v1.560.0
2025-10-15 22:39:10 +00:00
Ruben Fiszel
c4fff2165c
nit badges suspended
2025-10-15 22:35:15 +00:00
Alexander Petric
d75e9e3d92
feat: build pydoc for wmill python client and mount in container image ( #6828 )
2025-10-15 22:32:54 +00:00
Alexander Petric
48acc57823
fix: always create instance groups with uuid ( #6826 )
...
* fix: always create instance groups with uuid
* Update SQLx metadata
* repo ref
---------
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2025-10-15 22:30:09 +00:00
Ruben Fiszel
892ce64ea8
fix: fix concurrency key filter
2025-10-15 22:24:11 +00:00
Ruben Fiszel
3d5631938f
error
2025-10-15 22:12:09 +00:00
dieriba
d12c8f34ef
fix: gcp script picker ( #6837 )
...
* fix
* remove
2025-10-15 22:08:34 +00:00
dieriba
b211155784
fix: support dyn select for sub flow ( #6835 )
...
* support subflow
* update
* Update frontend/src/lib/common.ts
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
2025-10-15 21:43:42 +00:00
hugocasa
8d5acda340
feat(backend): use flow nodes opti for ai agent steps ( #6808 )
2025-10-14 18:06:27 +00:00
hugocasa
9d9c29fdfa
feat: add support for zoho oauth ( #6809 )
2025-10-14 17:32:24 +00:00
Alexander Petric
85d1b8a3e6
fix: resource editor should not autoselect resources for optional fields ( #6821 )
2025-10-14 17:05:51 +00:00
centdix
cb8818796d
feat(settings): add unsaved changes warning for workspace settings ( #6813 )
...
* feat(settings): add unsaved changes warning on windmill ai tab
Add dialog to warn users when leaving the Windmill AI settings tab with
unsaved changes, allowing them to save or cancel their changes.
Changes:
- Track initial AI config state in workspace settings
- Compare current vs initial state to detect unsaved changes
- Integrate UnsavedConfirmationModal with beforeNavigate guard
- Update initial state after successful save via onSave callback
Implements request from issue #6812
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
* also confirm on tab changes
* fix
* fix
* fix
* clean tabs usage
---------
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2025-10-14 16:50:19 +00:00
dieriba
c754b8f50c
fix ( #6819 )
2025-10-14 16:07:40 +00:00
dieriba
256522273e
fix: bug for loop flow inconsistent state ( #6815 )
...
* fix
* Update frontend/src/lib/components/flows/content/FlowLoop.svelte
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-10-14 16:00:15 +00:00
Ruben Fiszel
2736586298
chore(main): release 1.559.0 ( #6796 )
...
* chore(main): release 1.559.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
v1.559.0
2025-10-14 15:27:13 +00:00
centdix
216d59c548
internal: better weekly ( #6816 )
...
* better weekly
* better weekly
2025-10-14 14:33:44 +00:00
centdix
784f988b07
chore(mcp): display API endpoint tools in MCP URL generation ( #6811 )
...
* chore(mcp): display API endpoint tools in MCP URL generation
- Add list of 24 API endpoint tools that are always available via MCP
- Display API endpoints as green badges below scripts/flows list
- Update tooltip to mention 'scripts, flows, and API endpoints'
- Show count of available API endpoints in the UI
API endpoints include operations for variables, resources, scripts, flows,
jobs, schedules, and workers.
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
* better
* nit
---------
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2025-10-14 09:22:58 +00:00
Ruben Fiszel
1bda5cab9a
nits
2025-10-13 20:43:57 +00:00
Ruben Fiszel
f62de73071
nits
2025-10-13 20:38:06 +00:00
Ruben Fiszel
9bf3efe7a9
unify vscode deps
2025-10-13 20:30:55 +00:00
Pyra
e2feba391c
feat(rust): add resource types ( #5843 )
...
* feat(rust): add resource types
* write tests
* copy from go-resources
* implement frontend for rust
* update
* update cli
* update tests
* update
Signed-off-by: pyranota <pyra@duck.com >
* fix package-lock
* fix ci
* update parser
Signed-off-by: pyranota <pyra@duck.com >
* Update frontend/src/lib/components/Editor.svelte
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
---------
Signed-off-by: pyranota <pyra@duck.com >
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-10-13 19:15:44 +00:00
centdix
f5a45fe0ef
internal: fix weekly ( #6807 )
...
* fix
* fix
2025-10-13 14:51:33 +00:00
centdix
1a0dbf7982
fix(internal): no max turns ( #6805 )
2025-10-13 15:47:59 +02:00
centdix
7bb639db47
internal: update claude + add plan mode + add weekly summary ( #6803 )
...
* update claude + add plan mode
* fix
* update pr review
* add wewklu summary
* cleaning
* cleaning
2025-10-13 15:32:44 +02:00
claude[bot]
b630208ece
feat: Add back apply code button in CodeDisplay ( #6800 )
...
* feat: Add back apply code button in CodeDisplay for non-diff-based providers
- Added apply button that shows only in script mode for non-diff-based providers
- Button allows applying code directly to the current editor
- Only shows for providers that don't support diff-based editing (excludes openai, anthropic, googleai, azure_openai)
Fixes #6799
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
* better
* not only for non diff providers
---------
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: centdix <farhadg110@gmail.com >
2025-10-13 12:51:56 +04:00
wendrul
9149faf305
fix: Safeguard prevents button from deleting non-fork workspaces ( #6795 )
...
* Fix: Safeguard to prevent `delete fork` button from deleting non-fork workspaces
* fix typo
* Consistent prefix
2025-10-10 18:53:30 +00:00
Alexander Petric
e0d9017036
fix: show workspace prefix to non superadmins for app deploy custom path ( #6793 )
2025-10-10 18:52:56 +00:00
hugocasa
b972eb9721
feat: add support for contextual vars in SQL ( #6791 )
2025-10-10 18:52:24 +00:00
hugocasa
898d2a8fe9
chore: upgrade bun to 1.2.23 ( #6792 )
2025-10-10 18:52:04 +00:00
Ruben Fiszel
7ebd1bc56c
chore(main): release 1.558.1 ( #6789 )
...
* chore(main): release 1.558.1
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
v1.558.1
2025-10-09 21:08:10 +00:00
Alexander Petric
1c9faf9d03
fix: support pg jsonb array ( #6788 )
2025-10-09 21:01:43 +00:00
Ruben Fiszel
1faba5b097
make js expr more resilient in case where previous result is error
2025-10-09 20:59:00 +00:00
Ruben Fiszel
877286193e
chore(main): release 1.558.0 ( #6787 )
...
* chore(main): release 1.558.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
v1.558.0
2025-10-09 19:46:04 +00:00
Alexander Petric
705a177005
feat: allow setting custom cors header on http trigger ( #6786 )
...
* feat: allow setting custom cors header on http trigger
* preflight
* headers one by one
* perf: optimize conditional_cors_middleware by checking existing headers first
Improves performance by iterating through existing headers once and using
flags to track which CORS headers need to be inserted, avoiding unnecessary
header lookups for the common case where headers are not present
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com >
* refactor: use not_insert flags in conditional_cors_middleware for clarity
Changed the conditional_cors_middleware logic to use not_insert_* flags
instead of needs_* flags as suggested, which better represents the intent
when iterating through existing headers first.
Co-authored-by: Alexander Petric <alpetric@users.noreply.github.com >
---------
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com >
2025-10-09 19:41:54 +00:00
Diego Imbert
f798ff4535
feat: Database manager for Ducklake instance catalogs ( #6785 )
...
* OVERRIDE_DATA_PATH
* DB Manager for Ducklake instance catalog debugging
2025-10-09 16:28:11 +00:00
Diego Imbert
4e7dfd7a90
Ducklake support in Db Studio ( #6784 )
...
* stash
* Ducklake works in app editor
* fix
* fix missing $res:
2025-10-09 16:26:42 +00:00
centdix
8050729e6f
fix showexpr in inputtransformform ( #6782 )
2025-10-09 16:25:50 +00:00
hugocasa
bd3e5e67bb
feat(backend): allow specifying powershell module versions ( #6781 )
...
* feat(backend): allow specifying powershell module versions
* fix build
* fix windows
2025-10-09 16:23:27 +00:00