Commit Graph

70 Commits

Author SHA1 Message Date
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
Ruben Fiszel
c956ecd1a8 feat: improve indices of completed_runs for faster load 2024-08-05 12:46:07 +02:00
Ruben Fiszel
69e400563c feat: variables created by password fields expire after 7 days 2024-08-01 16:05:03 +02:00
Ruben Fiszel
78c115c68c fix: improve index usage and runs page performance 2024-07-31 13:08:28 +02:00
Ruben Fiszel
135f57eb5a fix: improve runs page performance through pg indices 2024-07-27 12:16:13 +02:00
Ruben Fiszel
be7e7ba05c fix: fix migration for instances starting from scratch 2024-07-11 02:12:51 +02:00
Ruben Fiszel
9e27ee8b57 improve try migration lock 2024-07-11 01:15:12 +02:00
Ruben Fiszel
33ca9bd101 fix: improve completed_job index 2024-07-10 23:43:02 +02:00
HugoCasa
bbcaec9769 fix: improve flow version fix migration (#4050) 2024-07-09 11:02:53 +02:00
HugoCasa
ff8d51a8db fix: always run flow versioning edge case fix migration (#4047) 2024-07-08 22:52:04 +02:00
HugoCasa
0a613b76c8 fix: flow versioning edge case (#4037) 2024-07-07 20:04:42 +02:00
Ruben Fiszel
6a332bc30f fix: make all error strings more verbose 2024-05-25 22:15:15 +02:00