Ruben Fiszel
06f774c7cd
fix: add termination handler earlier in lifecycle
2025-09-20 00:22:15 +00:00
Ruben Fiszel
e3b6563014
fix: check perms more tightly for running jobs ( #6532 )
...
* all
* masterpiece
* masterpiece
* masterpiece
* masterpiece
* masterpiece
* masterpiece
* masterpiece
* all
* masterpiece
* masterpiece
* masterpiece
* masterpiece
* masterpiece
* masterpiece
* nits
2025-09-05 06:07:45 +00:00
Ruben Fiszel
88646fd1ee
fix extra migration startup issue
2025-09-02 20:15:37 +00:00
dieriba
7953d3c09f
feat: refactor trigger crud ( #6472 )
...
* base
* base crate
* websocket updated
* crud refactored
* fix and nits
* fix compiler warning, nits and update repo ref
* fix oss
* fix compilation
* update ref
* fix
* update feature
* listener base
* add listener
* refactor logic done and implemented for postgres
* fix capture
* websocket
* implem for all triggers
* update sqlx,repo ref and fix
* fix oss
* unify struct fix websocket
* nits and fix oss runtime axum error
* perf cache query
* update .sqlx
* update .sqlx
* fix
* fix unused
* fix
* fix
* nits and fix http handler update endpoint
* update .sqlx
* update repo ref
* nits
* fix
* update ref
* fix
* update .sqlx
2025-09-02 11:28:06 +00:00
Ruben Fiszel
2ae551fd97
nits cleanup + faster script index #6450
2025-08-23 22:42:39 +00:00
centdix
e2ef3317ef
feat(mcp): add api endpoints as tools ( #6329 )
...
* working list tools
* working call tool
* add schema
* implement calling the endpoint
* use openapi instead
* correctly implement call_tool
* provide workspace from context
* cleaning
* add more endpoints
* remove resolved hack
* add missing properties description
* add list scripts and flows
* add instructions
* remove bacon.toml
* cleaning
* remove bacon.toml
* nit
* nit
* cleaning
* fix openapi file
* nit
* better error handling
2025-08-07 15:55:35 +00:00
Ruben Fiszel
7f5f800d7c
fix: improve index migration failure handling
2025-07-09 12:56:26 +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
67b81ead42
improve query performance of user stats
2025-06-24 13:36:50 +02:00
dieriba
e8f54924d3
feat: windmill http triggers and webhooks to openapi spec ( #5918 )
...
* add sum and description to http routes
* add to openapi spec
* add subsection
* add collaspable and action button
* added path rendering,
* migrate logic to backend
* remover server and handle different format generation
* add filter for http route and document generated
* remove print
* handled webhook and integrated server component
* done
* add download and copy
* nits
* update .sqlx
* remove .vscode
* fix npm check
* add summary description and fix toggle
* added security handling and nits
* update .sqlx
* nits and rename key
* remove unused code
* update ref
* nits rename var
* nits
* nits
* nits
* nits
* nits
* add token generation for cURL command
* create token
* update label and remove section
* update repo ref
* clean
* let brower start download before cleaning up resource
* handle sync/async for webhook
* format fix
* nits
* nits
* reset sum and description
2025-06-17 19:49:00 +02:00
Ruben Fiszel
556a4118e9
fix: improve concurrent job parallelism performance
2025-06-09 16:59:07 +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
Ruben Fiszel
3fa5da1690
fix
2025-05-15 20:10:03 +02:00
Ruben Fiszel
ad0f4e790e
add alerts by workspace index
2025-05-15 19:19:53 +02:00
HugoCasa
ac3d470202
perf: cache http trigger routers and auth ( #5748 )
...
* perf: cache http trigger routers and auth
* fix build
* fix
* fix build
* fix build
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-05-15 17:38:45 +02:00
Ruben Fiszel
8e177cabb9
fix: improve perf of job deletion
2025-05-15 15:44:55 +02:00
Ruben Fiszel
2f5245e1a1
remove hardcoded public schema
2025-05-08 15:24:21 +02:00
Ruben Fiszel
00d5c39347
improve slightly index creation
2025-03-11 06:35:57 +01:00
Ruben Fiszel
047e93f901
fix: do not depend on public schema anymore
2025-03-04 20:22:45 +01:00
Ruben Fiszel
430b56b7c7
fix: improve db loads by adding index on audit
2025-03-03 14:23:35 +01:00
Ruben Fiszel
4edcccc1f1
fix: migrations do not refer to public schema anymore ( #5400 )
2025-02-27 14:37:39 +01:00
Ruben Fiszel
da49608618
fix: improve v2 migration finalizer to avoid deadlocks
2025-02-18 13:17:10 +01:00
Ruben Fiszel
a6dcf825b4
ensure index creation of root_job_by_path
2025-02-17 23:57:38 +01:00
Ruben Fiszel
3b75187cf5
fix: improve que job indices for faster performances
2025-02-17 19:17:30 +01:00
Ruben Fiszel
84ff1981da
fix: improve que job indices for faster performances
2025-02-17 17:56:28 +01:00
Ruben Fiszel
d3a4e39bc0
fix: improve runs page load time
2025-02-14 13:30:07 +01:00
Ruben Fiszel
70371ef551
v2 list jobs
2025-02-13 23:53:00 +01:00
Ruben Fiszel
c42815c387
fix extra_perms for schedule light
2025-02-13 21:34:53 +01:00
Ruben Fiszel
0ec64ac8b4
re-enable RLS on v2_job
2025-02-13 21:04:17 +01:00
Ruben Fiszel
38ad2fcc9c
re-do the migration finalization but now with BYPASSRLS for v2_job_queue and v2_job_completed
2025-02-13 20:03:48 +01:00
Ruben Fiszel
a0d17b2075
Revert "revert last commit"
...
This reverts commit 9765884e1a .
2025-02-13 19:45:52 +01:00
Ruben Fiszel
9765884e1a
revert last commit
2025-02-13 19:38:58 +01:00
Ruben Fiszel
3b95237e1e
Revert "migration to remove unecessary triggers and fields after job v2"
...
This reverts commit 247aeaa262 .
2025-02-13 19:37:45 +01:00
Ruben Fiszel
247aeaa262
migration to remove unecessary triggers and fields after job v2
2025-02-13 19:18:32 +01:00
Ruben Fiszel
0de365776e
remove v5 migration
2025-02-13 17:51:03 +01:00
Lucas Abel
98398117f0
backend: finalize v2 migration (v2 phase 4 - final) ( #5155 )
...
* backend: finalize v2 migration (v2 phase 4 - final)
* update migration
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-02-13 17:10:30 +01:00
Lucas Abel
ecbec1fe50
fix(backend): improve schedule queries plan to leverage indices better for performance ( #5273 )
...
* backend: fix schedule queries plan
* rework
* fix skipped as non success
* update sqlx
* update
* all
* fix npm run check
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-02-12 16:34:03 +01:00
Lucas Abel
17a86e6907
backend: fix workflow as code ( #5239 )
...
* backend: improve `/get_job_update` after v2
* backend: insert missing `workflow_as_code_status` on completion
also insert `flow_status` from so we can remove the query when `_duration` is above 500
* backend: fix workflow_as_code after v2
* backend: add `workflow_as_code` worker test
2025-02-07 12:27:43 +01:00
Ruben Fiszel
47912b23c9
clarify migration lock message
2025-02-07 09:02:38 +01:00
Lucas Abel
ebc918e7c0
backend: un-queue zombies left by missing row in v2_job_runtime ( #5232 )
2025-02-06 16:46:32 +01:00
Lucas Abel
cecc19dafc
backend: migrate job tables to v2 schema (v2 phase 1) ( #5084 )
2025-02-06 12:37:11 +01:00
pyranota
f9c77dbc83
Fix otel migration error ( #5189 )
...
* Fix otel migration error
1: error returned from database: duplicate key value violates unique constraint "global_settings_pkey"
0: while executing migration 20250131115248: error returned from database: duplicate key value violates unique constraint "global_settings_pkey"
* delete migration
* add .sqlx cache + move otel_global_settings to new location
* Fix compilation error
* Move before migrating
* Add error handler
* warn -> info
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2025-01-31 19:34:23 +01:00
Ruben Fiszel
ab38215c86
fix(backend): in flows, workspace scripts should use their set tags instead of the default one
2024-10-29 07:29:39 +01:00
HugoCasa
8841180b5f
BYPASSRLS admin policy falllback ( #4493 )
...
* BYPASSRLS admin policy falllback
* use fixed list instead
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2024-10-08 20:08:29 +02:00
Ruben Fiszel
16692d5ff6
fix: fix new instance db setup
2024-10-01 16:03:58 +02:00
Ruben Fiszel
f438d1adbe
fix: skip one migration to avoid using md5 for azure support
2024-09-30 14:02:31 +02:00
HugoCasa
41ff40f777
send stats when renewing key if last >24h ( #4430 )
...
* feat: send stats when renewing key if last >24h
* nits
* fix: sqlx
* nit
* renewal reason
* stats reason
* update ee ref
* Update ee-repo-ref.txt
---------
Co-authored-by: Ruben Fiszel <ruben@windmill.dev >
2024-09-30 12:23:07 +02:00
Ruben Fiszel
84e18c73c0
fix: improve wm_labels indices + UX nits
2024-09-04 11:40:23 +02:00
wendrul
ccc86ca88b
refactor windmill concurrent index migrations using a macro ( #4275 )
...
* Add macro to run migrations
* Factor windmill migrations into the new macro
* Run formatter
2024-08-21 17:15:08 +02:00
Ruben Fiszel
25434168d8
add global created_at index
2024-08-05 13:12:15 +02:00