51cba95d39
fix(backend): improve pwsh param block parsing ( #7096 )
...
* fix(backend): replace regex with one-pass algorithm for PowerShell param parsing
The previous regex-based approach used which would
fail when encountering nested parentheses inside the param block, such as
or .
This commit replaces the regex with a proper one-pass parser that:
- Tracks parenthesis depth to correctly handle nesting
- Respects string quotes (both single and double quotes)
- Handles PowerShell's backtick escape character
- Works correctly with complex default values and function calls
Changes:
- Removed RE_POWERSHELL_PARAM regex constant
- Added extract_powershell_param_block() function for extracting param contents
- Added extract_powershell_param_block_full() function for extracting full param block
- Updated parse_powershell_file() in windmill-parser-bash
- Updated pwsh_executor.rs to use the new extractor
- Added comprehensive test cases for nested parens and quoted strings
Fixes #7079
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
* refactor(backend): combine PowerShell param extraction functions
Merged extract_powershell_param_block() and extract_powershell_param_block_full()
into a single function with a boolean parameter to control output format:
- include_keyword=false returns just contents between parentheses
- include_keyword=true returns full param(...) block
This eliminates code duplication while maintaining all existing functionality.
Co-authored-by: hugocasa <hugocasa@users.noreply.github.com >
* fix(backend): improve pwsh param block parsing
* chore: publish parser
---------
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>
Co-authored-by: hugocasa <hugocasa@users.noreply.github.com >
2025-11-10 15:08:20 +00:00
hugocasa
ce8d5660fe
continue streaming on malformed sse payload ( #7102 )
...
* fix(backend): continue streaming on malformed sse payload
* nit
2025-11-10 15:08:01 +00:00
Ruben Fiszel
26d17141d1
ee-repo-ref
2025-11-10 14:32:39 +00:00
hugocasa
2e245accc5
fix(backend): improve sse parsing ( #7100 )
2025-11-10 14:32:16 +00:00
Pyra
84992cd8ff
fix: proper error handling in pulled job preprocessor ( #7098 )
...
* fix: proper error handling in pulled job preprocessor
Signed-off-by: pyranota <pyra@duck.com >
* follow up for merge
Signed-off-by: pyranota <pyra@duck.com >
* make it safe
Signed-off-by: pyranota <pyra@duck.com >
* clippy
Signed-off-by: pyranota <pyra@duck.com >
* remove unused import
Signed-off-by: pyranota <pyra@duck.com >
* use String instead of Value
Signed-off-by: pyranota <pyra@duck.com >
* update ee ref
Signed-off-by: pyranota <pyra@duck.com >
* implement Error for PulledJobResultToErr
Signed-off-by: pyranota <pyra@duck.com >
* updatesqlx
Signed-off-by: pyranota <pyra@duck.com >
---------
Signed-off-by: pyranota <pyra@duck.com >
2025-11-10 13:43:50 +00:00
dieriba and HugoCasa
fc5034e94d
fix: preproccessor ui and expanding preprocessor support ( #6872 )
...
* preproccessor php
* fix
* ok
* remove folder
* chore: publish parser
---------
Co-authored-by: HugoCasa <hugo@casademont.ch >
2025-11-10 11:22:31 +00:00
Ruben Fiszel
3dcad57481
add debug_sse_stream
2025-11-09 10:53:37 +00:00
Ruben Fiszel and rubenfiszel
8b2291b0f9
chore(main): release 1.574.1 ( #7092 )
...
* chore(main): release 1.574.1
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-11-08 10:28:55 +00:00
Ruben Fiszel
f12be4eb19
fix direct access
2025-11-08 10:26:48 +00:00
Ruben Fiszel
d6421c2ea7
fix: make get_logs work even for partial flow jobs
2025-11-08 00:20:49 +00:00
Ruben Fiszel and rubenfiszel
b5c21cfe56
chore(main): release 1.574.0 ( #7088 )
...
* chore(main): release 1.574.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-11-07 23:27:45 +00:00
dieriba
3a657b10e7
nit flow env ( #7090 )
2025-11-07 18:51:22 +00:00
dieriba
c59183f5c3
feat: env var in flow ( #6852 )
2025-11-07 18:38:55 +00:00
Ruben Fiszel and rubenfiszel
180b1523f3
chore(main): release 1.573.5 ( #7082 )
...
* chore(main): release 1.573.5
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-11-07 17:55:07 +00:00
centdix and windmill-internal-app[bot]
49524d5b28
chore(aiagent): store memory in db ( #7053 )
...
* store to db
* no warning in context
* warning in frontend
* remove log
* 100kb + alert
* update sqlx
* update eeref
* Update ee-repo-ref.txt
* cleaning
---------
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
2025-11-07 15:27:00 +00:00
Ruben Fiszel
ad43680bb9
fix: dep jobs improvements ( #7081 )
...
* dep jobs improvements
* update
2025-11-07 11:04:53 +00:00
Ruben Fiszel and rubenfiszel
5ef901152f
chore(main): release 1.573.4 ( #7075 )
...
* chore(main): release 1.573.4
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-11-07 08:09:26 +00:00
Ruben Fiszel
ad861f5312
formalize ai input transform ( #7078 )
...
* ai input transform
* fix
2025-11-07 08:03:44 +00:00
Ruben Fiszel
5f7e0b7244
fix: improve priority for child jobs ran from api
2025-11-06 19:08:59 +00:00
Ruben Fiszel
3bda6da168
fix: make it impossible to have non linear script history even in edge condition
2025-11-06 18:52:43 +00:00
Ruben Fiszel
9e3ea76575
fix(bun): support relative imports without .ts but starting with /u/ or /f/
2025-11-06 18:42:57 +00:00
wendrul
db045e7d29
fix git sync related build error ( #7076 )
2025-11-06 18:06:05 +00:00
wendrul
192fecc86f
fix: create git branch right before creating the workspace fork to catch errors and have a coherent fork point ( #7073 )
...
* Workspace forks: add endpoint to create a branch before creating a fork
* Update hubPaths + create branch before creating fork on frontend
* Update tmp ee-repo-ref
* Remove debug hubPath
* Prepare sqlx
* Fix ee imports
* Update ee-ref
* Update ee-repo-ref final
* Prepare sqlx
2025-11-06 16:45:34 +00:00
Ruben Fiszel and rubenfiszel
9d1f9bd39b
chore(main): release 1.573.3 ( #7071 )
...
* chore(main): release 1.573.3
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-11-06 13:56:59 +00:00
Ruben Fiszel
f16231d7c9
fix: job streaming improvement after compaction
2025-11-06 13:50:52 +00:00
Ruben Fiszel and rubenfiszel
b0a20a4c00
chore(main): release 1.573.2 ( #7066 )
...
* chore(main): release 1.573.2
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-11-06 13:13:37 +00:00
Ruben Fiszel
75e056bbce
fix: oidc token issue
2025-11-06 13:08:19 +00:00
Ruben Fiszel
4c13819434
fix oidc token issue
2025-11-06 13:05:55 +00:00
Ruben Fiszel
b83eeefd66
logs improvements
2025-11-06 13:04:00 +00:00
Ruben Fiszel and rubenfiszel
e180390ab7
chore(main): release 1.573.1 ( #7064 )
...
* chore(main): release 1.573.1
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-11-05 14:54:56 +00:00
hugocasa
3338a3e3c4
fix: nits hub search and telemetry ( #7063 )
2025-11-05 14:47:32 +00:00
Ruben Fiszel
4418074486
chore(main): release 1.573.0 ( #7060 )
2025-11-05 13:11:44 +00:00
HugoCasa
2303f2cca0
fix: incorrect query arg in hub link
2025-11-05 12:55:42 +01:00
hugocasa
1edfdce0dd
feat: hub actions and better search ( #7056 )
...
* feat: hub actions and better search
* nit
2025-11-05 11:10:48 +00:00
Alexander Petric
86670240a7
feat: add groups to user endpoint + set displayname when group created via igroup api ( #7061 )
...
* feat: add groups to user endpoint + set displayname when group created via /api
* ee ref
2025-11-04 22:11:46 +01:00
Ruben Fiszel
4a6d02960c
nits
2025-11-04 19:13:09 +00:00
Ruben Fiszel and rubenfiszel
f8e0381628
chore(main): release 1.572.2 ( #7054 )
...
* chore(main): release 1.572.2
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-11-04 17:37:57 +00:00
centdix
5ed41c6d13
fix(aiagent): force structured tool usage for claude ( #7052 )
2025-11-04 17:06:33 +00:00
Ruben Fiszel and rubenfiszel
79dd63ac4c
chore(main): release 1.572.1 ( #7048 )
...
* chore(main): release 1.572.1
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-11-04 16:48:20 +00:00
Alexander Petric and ellipsis-dev[bot]
11ffed3e4a
ee-ref ( #7050 )
...
* fix: git sync repo detection script work with empty repo, no commits + nits
* Update frontend/src/lib/components/RepositorySelector.svelte
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* ee ref
* repo ref
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-11-04 16:02:54 +00:00
Alexander Petric and ellipsis-dev[bot]
1d848b2ef7
git sync repo detection script work with empty repo with no commits ( #7039 )
...
* fix: git sync repo detection script work with empty repo, no commits + nits
* Update frontend/src/lib/components/RepositorySelector.svelte
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* ee ref
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-11-04 15:43:44 +00:00
dieriba
0ae27a3fe8
fix: preprocessor schema type ( #7049 )
...
* fix
* Revert "fix"
This reverts commit 93618470d0 .
* ok
2025-11-04 15:39:17 +00:00
Alexander Petric
4220582daf
fix: pass whitelist env vars to bun install ( #7047 )
2025-11-04 15:30:10 +00:00
Diego Imbert
0cbb0dacb1
parse duckdb json query results ( #7040 )
...
* parse duckdb json query results
* don't pass alias recursively
2025-11-04 15:29:56 +00:00
Ruben Fiszel
4a849ca9b9
fix: add workspace error handler cache for improved performance
2025-11-04 15:26:19 +00:00
Ruben Fiszel
b0e38dcdad
nit
2025-11-04 15:21:54 +00:00
Ruben Fiszel
bd31f4fc17
nit
2025-11-04 15:21:16 +00:00
Pyra
6052714833
fix(ruby): propagate error correctly ( #7046 )
...
Signed-off-by: pyranota <pyra@duck.com >
2025-11-04 16:01:49 +01:00
Ramtin Mesgari and Ruben Fiszel
5da494b197
refactor: remove legacy database views v2_as_queue and v2_as_completed_job ( #6689 )
...
* refactor: remove legacy database views v2_as_queue and v2_as_completed_job
Signed-off-by: Ramtin Mesgari <26694963+iamramtin@users.noreply.github.com >
* fix tests
* fix jobs.rs
* end
* fix
* improvement
* improvement
---------
Signed-off-by: Ramtin Mesgari <26694963+iamramtin@users.noreply.github.com >
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-11-04 13:08:02 +00:00
centdix
e6d700878f
fix typo ( #7044 )
2025-11-04 11:36:04 +00:00