centdix
4bb9be09af
feat(aichat): cache prompts when using anthropic models ( #6489 )
...
* working draft
* add caching
* add anthropic.ts
* cleaning
* better typing
* nit
* use anthropic sdk
* draft
* draft parser
* cleaning
* update openai sdk + use stream method
* fix anthropic base url
* cleaning
* better error handling + cleaning
* rollback to old parsing
* nit
* set strict to false for mistral
2025-09-01 08:55:15 +00:00
Ruben Fiszel
e1df2f036f
fix(frontend): make resource a separate top-level type in schema editor for clarity
2025-08-31 16:19:04 +00:00
Ruben Fiszel
690b2470bf
json editor nit
2025-08-31 13:17:12 +00:00
Ruben Fiszel
cee09be4fd
typo env nit
2025-08-31 12:23:37 +00:00
claude[bot]
1f1bd8cae7
feat(perf): add 300-second local cache for variable crypt retrieval ( #6483 )
...
* feat: add 60-second cache for workspace key retrieval
This implements a cache with 60-second staleness for the get_workspace_key
function to reduce database queries for workspace encryption keys. The cache
follows the same pattern as the existing CUSTOM_ENVS_CACHE but with a
shorter expiration time.
Requested by @rubenfiszel
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
* Extend cache staleness from 60 to 300 seconds
* feat: add cache invalidation notifications for workspace keys
Add PostgreSQL LISTEN/NOTIFY mechanism to invalidate workspace key cache
across all servers and workers when workspace keys change.
- Add database migration with trigger function for workspace_key changes
- Add notification handler in main.rs to remove from WORKSPACE_KEY_CACHE
- Follow same pattern as existing workspace environment cache invalidation
- Ensures distributed cache consistency for workspace encryption keys
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com >
* finish
---------
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 <ruben@windmill.dev >
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com >
2025-08-31 12:19:59 +00:00
Ruben Fiszel
c67620e4da
add TAGS_ARE_SENSITIVE env variable
2025-08-30 10:26:24 +00:00
Ruben Fiszel
d15510effa
fix: schema editor reactivity improvements ( #6496 )
...
* all
* all
* all
* all
* all
* nit
* all
* all
* all
* all
2025-08-30 02:32:35 +00:00
hugocasa
de15ca4671
fix(frontend): capture/trigger UI nits ( #6494 )
2025-08-29 13:00:27 +00:00
Ruben Fiszel
f4802eb0a3
chore(main): release 1.537.1 ( #6491 )
...
* chore(main): release 1.537.1
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-08-29 09:43:00 +00:00
Ruben Fiszel
127ad349fc
fix: fix error handling of pre-processor steps
2025-08-29 09:38:25 +00:00
Ruben Fiszel
fa43b7a672
fix: skipPreprocessor on re-running job immedaitely from UI
2025-08-29 07:24:47 +00:00
Ruben Fiszel
01d98239e2
nit check
2025-08-29 07:06:17 +00:00
Ruben Fiszel
e09af3c2f1
fix: fix preprocessor not displaying immediately on addition
2025-08-29 06:57:01 +00:00
Ruben Fiszel
7e3a40a356
chore(main): release 1.537.0 ( #6486 )
...
* chore(main): release 1.537.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-08-28 19:29:04 +00:00
BaptisteMoureaux
3871cfa81b
bump lsp go version & add private packages go support ( #6484 )
2025-08-28 18:06:36 +00:00
Ruben Fiszel
eca3f3ed3e
fix: fix workflow as code behavior with multithread
2025-08-28 17:44:57 +00:00
hugocasa
734fb3f1f7
prevent past due team plans to overuse ( #6487 )
...
* prevent past due team plans to overuse
* nit
* update ee ref
2025-08-28 16:56:57 +00:00
centdix
30081eca92
feat(aichat): allow reverting specific line for inline script suggestions ( #6480 )
...
* draft
* cleaning
* settimeout temp fix
* adjust colors
* cleaning
* good stuff
* no timeout
* add on finish callback
* cleaning
* fix
* adpat accept all / reject all
* cleaning
* cleaning
* adapt click on module reject/accept
* clearer function names
* nit
* simplify
2025-08-28 10:00:59 +00:00
Ruben Fiszel
78fa7d8700
fix: fix okta and oauth0 sso settings
2025-08-27 18:38:07 +00:00
pyranota
a1b702f2a8
fix: fix relative imports cache invalidation ( #6468 )
...
* fix: new script on deps job for secondary scripts
Signed-off-by: pyranota <pyra@duck.com >
* make it work (dirty)
Signed-off-by: pyranota <pyra@duck.com >
* reduce db calls
* remove `triggered_by_relative_import`
Signed-off-by: pyranota <pyra@duck.com >
* add comment to common_dependency_path
Signed-off-by: pyranota <pyra@duck.com >
* add fallback to old behavior
Signed-off-by: pyranota <pyra@duck.com >
* remove TODOs
Signed-off-by: pyranota <pyra@duck.com >
* pass deployed hash to git sync handler function
Signed-off-by: pyranota <pyra@duck.com >
* fix ci
Signed-off-by: pyranota <pyra@duck.com >
---------
Signed-off-by: pyranota <pyra@duck.com >
2025-08-27 17:44:35 +00:00
Ruben Fiszel
7e0ece2017
feat: autovacuum or high intensity tables
2025-08-27 17:29:06 +00:00
Ruben Fiszel
102fad3855
minor nits fix
2025-08-27 15:08:58 +00:00
Ruben Fiszel
0ed04cbf2b
chore(main): release 1.536.0 ( #6471 )
...
* chore(main): release 1.536.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-08-27 13:43:03 +00:00
Ruben Fiszel
534095b012
fix: do not require locked for scheduled jobs
2025-08-27 13:31:23 +00:00
Ruben Fiszel
8fc6228155
not_found_if_none displays location
2025-08-27 13:08:52 +00:00
Alexander Petric
dba5c95d6f
fix(cli): specific items for file resource type ( #6464 )
...
* cli file resource specific items
* improvement
* resource command + correct order of context
* no dynamic imports
* support trigger types for branch specific items
* also update trigger cli function to be branch aware
* hubscript path
2025-08-27 12:49:46 +00:00
Alexander Petric
2c29079fd5
feat: email triggers extra args in 'to' header ( #6476 )
...
* feat: email triggers extra args in 'to' header
* ee-repo + script helpers
2025-08-27 11:12:05 +00:00
pyranota
cd73177427
fix(go): could not read Username for 'xyz': terminal prompts disabled ( #6478 )
...
* fix(go): could not read Username for 'xyz': terminal prompts disabled
Signed-off-by: pyranota <pyra@duck.com >
* remove unused import
Signed-off-by: pyranota <pyra@duck.com >
---------
Signed-off-by: pyranota <pyra@duck.com >
2025-08-27 11:11:54 +00:00
centdix
1ab6e507f2
fix: save changes made in diff mode ( #6477 )
...
* add read only to diff editor
* save changes to editor instead
* only add listener if oncodechange is specified
* pass existing editor as modified model
* remove effect
* cleaning
2025-08-27 10:19:38 +00:00
pyranota
b95866c878
fix(go): exec: "git": executable file not found ( #6475 )
2025-08-26 16:07:15 +00:00
hugocasa
0fdfa43776
fix(frontend): nats config conditional fields ( #6473 )
2025-08-26 16:06:26 +01:00
centdix
b54fb32e4b
feat(aichat): give advanced options tools to flow mode ( #6463 )
...
* add tool to set for loop options
* add tool to set skip and early break
* draft ui intents
* fix option tool
* clean ui intents
* add other ui intents + fixes
* cleaning
* fix
* hide diff mode on apply
* clean
* fix
* fix
* fix typo
* add precision for js expressions
2025-08-26 14:08:29 +00:00
hugocasa
a58da796bf
fix(frontend): ai agent step nits ( #6469 )
...
* fix(frontend): ai agent step nits
* fix provider select
* nits
* nit
2025-08-26 13:25:17 +00:00
pyranota
b5404b8502
remove BETA from nushell ( #6462 )
2025-08-25 17:17:04 +00:00
Ruben Fiszel
b4bebb66db
chore(main): release 1.535.0 ( #6460 )
...
* chore(main): release 1.535.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-08-25 14:43:29 +00:00
centdix
b2c10c48dd
feat(aichat): show diff mode on inline scripts changes ( #6454 )
...
* draft
* simplify logic
* convert diffeditor to svelte5
* add buttons to accept or reject
* set code on reject
* nit
* fix
* cleaning
* nit
2025-08-25 14:38:39 +00:00
Ruben Fiszel
4c312fffd9
fix: fix opening advanced popup for run resetting tag to default
2025-08-25 14:21:41 +00:00
Ruben Fiszel
ce4d39d5d3
chore(main): release 1.534.1 ( #6458 )
...
* chore(main): release 1.534.1
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-08-25 13:37:53 +00:00
Diego Imbert
fa500027d1
fix: add alias to subquery for older postgres versions ( #6455 )
...
* add alias to subquery for older postgres versions
* Update SQLx metadata
---------
Co-authored-by: GitHub Action <action@github.com >
2025-08-25 13:19:10 +00:00
Guilhem
9749b9ea66
fix(frontend): fix test step behavior ( #6427 )
...
* fix flowStateStore val
* handle run preview multiple keyboard actions
* Synchronise input args and prview args
* Fix arg update one step load
* fix input ste manually not reseted after preview
* rename test steps to stepsInputArgs
* simplify job result update
* fix job preview logic
* fix import
* nit
* clean
* fix test job not displaying when data is pinned
* remove job history loader display delay
* nit
* nit
* add error handler to steps input args comparison function
* prevent result node to display connection
2025-08-25 12:49:46 +00:00
Ruben Fiszel
08f199f6c9
chore(main): release 1.534.0 ( #6452 )
...
* chore(main): release 1.534.0
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-08-25 12:46:19 +00:00
pyranota
19b52670c6
tooling: update nix instructions on starting db ( #6457 )
2025-08-25 12:45:53 +00:00
hugocasa
a0642f05ff
feat(backend): support unencrypted connection to mssql ( #6453 )
2025-08-25 12:39:37 +00:00
hugocasa
a16ecfa3c8
tooling: dev docker db script and readme nits ( #6456 )
...
* tooling: dev docker db script and readme nits
* nits
* nits
2025-08-25 12:38:35 +00:00
Ruben Fiszel
59ce1f360d
nit
2025-08-25 12:35:04 +00:00
Ruben Fiszel
b4da88e142
fix(flow): test this step preload step input evaluation
2025-08-25 12:12:12 +00:00
centdix
411cb3889c
fix(aichat): fix wrong current model logic ( #6451 )
...
* fix model selection
* fix for context window
* cleaning
* fix lint
* fix
2025-08-25 11:47:02 +02:00
Ruben Fiszel
2ae551fd97
nits cleanup + faster script index #6450
2025-08-23 22:42:39 +00:00
Ruben Fiszel
e27e81d677
chore(main): release 1.533.1 ( #6449 )
...
* chore(main): release 1.533.1
* Apply automatic changes
---------
Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com >
2025-08-23 08:02:32 +00:00
Ruben Fiszel
c60eeb5145
nits
2025-08-23 07:54:59 +00:00