Commit Graph

8191 Commits

Author SHA1 Message Date
Ruben Fiszel
b81bf99cc2 prettify cache msg 2024-11-29 13:01:54 +01:00
Ruben Fiszel
6891bf604c nit pip install 2024-11-29 12:37:52 +01:00
Ruben Fiszel
1b74cbaebb add total time 2024-11-29 12:35:10 +01:00
Ruben Fiszel
e700016780 small uv s3 pull fix 2024-11-29 12:31:50 +01:00
Ruben Fiszel
404ff25f8c improve oauth popup flows using localstorage as fallback 2024-11-29 12:24:12 +01:00
Ruben Fiszel
7dc6328bf6 chore(main): release 1.433.0 (#4819)
* chore(main): release 1.433.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-11-29 10:21:39 +01:00
Ruben Fiszel
dbfc8a2783 fix: fix windows build 2024-11-29 09:53:05 +01:00
Lucas Abel
0a65b90049 feat(cache): implement flow node caching (#4808)
* feat(cache): implement flow node caching

* feat(cache): implement script caching

* feat(cache): improve cache
2024-11-29 09:35:00 +01:00
Ruben Fiszel
e04a2069d9 chore(main): release 1.432.0 (#4818)
* chore(main): release 1.432.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-11-29 09:12:46 +01:00
Ruben Fiszel
8338efa685 skip s3 python cache on windows and pro 2024-11-29 08:35:08 +01:00
pyranota
a1dd641466 feat: Parallelize uv install (#4774)
* Implement MVP of Parallel uv installation

* Implement PY_CONCURRENT_DOWNLOADS

* Remove Flock for uv installs

* Make S3 pull/push parallel

* Refactor and allow to Cancel installation

* Dont print S3 in output if disabled

* Implement better error handling

* Polishing

* More polishing

* Implement error-handler for kill_tx_2.send()

* Fix and Format prev merge

* Presubscribe to all kill_tx's

We do it now before first event could fire
Meaning no events can be lost anymore

* Early print errors and safer error handling

* Return Err if installation failed

* Final changes

* Return error instead of just printing it

* Safer the way to acquire permit

* Fix compilation error

* Remove double error logs
2024-11-29 08:21:51 +01:00
Ruben Fiszel
e3a45b6fd1 window openeer nits 2024-11-29 07:48:37 +01:00
Ruben Fiszel
fb9846b1a8 nit exportable whitelabel 2024-11-28 19:56:19 +01:00
Ruben Fiszel
4fa65c1e02 chore(main): release 1.431.1 (#4816)
* chore(main): release 1.431.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-11-28 17:36:52 +01:00
Lucas Abel
995edad334 fix: invalid null comparison while inserting flow node (#4815) 2024-11-28 17:29:16 +01:00
Ruben Fiszel
874881d9e7 chore(main): release 1.431.0 (#4788)
* chore(main): release 1.431.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-11-28 17:22:24 +01:00
Ruben Fiszel
e1ccffde74 fix: fix OAuth being stuck if following a public app login 2024-11-28 16:40:18 +01:00
Ruben Fiszel
98eae8a990 fix: global timeout not set correctly on load 2024-11-28 16:02:52 +01:00
Lucas Abel
7079b030eb fix: invalid jsonb comparison while inserting flow node (#4814) 2024-11-28 14:43:54 +01:00
wendrul
41e0d912b7 fix: add missing export tab on mobile view of flow detail (#4812) 2024-11-28 13:25:44 +01:00
pyranota
1323adb345 Remove flock (#4809) 2024-11-28 12:42:25 +01:00
Ruben Fiszel
82149db2e4 save to workspace handle trigger scripts 2024-11-28 10:30:23 +01:00
Ruben Fiszel
db5f01371f fix apply migration to current_user 2024-11-27 19:07:31 +01:00
wendrul
db4172439c fix: service logs: aggregation query + killpill on index pull + retention period for logs on s3 (#4795)
* Search across all hosts in index. killpill on index pull

* Add retention period for service logs

* Remove console log

* monitor log_file when older than biggest retention period (job / log)

* Retention period deletes service and job logs

* Add setting to monitor logs out of s3

* Prepare sqlx

* Update ee repo ref

* Prepare sqlx

* Unused variables
2024-11-27 18:57:23 +01:00
Ruben Fiszel
66fdd8723f simplify logic to check for license key on workers 2024-11-27 18:51:06 +01:00
Alexander Petric
4f83684ed6 adding sqlx migration to grant windmill permissions to db user (#4806) 2024-11-27 18:27:06 +01:00
Ruben Fiszel
838c68600a add more links to operators menu 2024-11-27 17:53:45 +01:00
Lucas Abel
4e52e54314 feat(backend): store flow inner modules into flow_node table (#4778) 2024-11-27 16:08:31 +01:00
Lucas Abel
ca68bfb846 fix simple step flow rendering for while loop (#4804) 2024-11-27 16:07:16 +01:00
pyranota
5e20824367 Fix tar prefix (#4781)
* Fix tar prefix

* Use TAR_PIP(PYTHON_311)_CACHE_DIR instead

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-11-27 15:54:47 +01:00
Henri Courdent
5ce105ba1a Gi syntax docker compose (#4803) 2024-11-27 14:29:41 +01:00
Lucas Abel
60f2e9e242 enable is_simple optimization for FlowScript (#4799)
* backend: remove some allocations in `worker_flow.rs`

* feat(backend): enable `is_simple` optimization for `FlowScript`

* fix: fix node retrieval for `flowscript` inner step
2024-11-27 10:06:19 +01:00
Lucas Abel
41a7fbb80f fix: disable flow_version_lite in dedicated workers (#4800) 2024-11-27 10:02:44 +01:00
Ruben Fiszel
d896b4a170 fix: improve default formatters for deno 2024-11-27 09:01:06 +01:00
pyranota
41c8a22830 fix(python): Merge to site-packages packages with same name (#4793)
* (python) Initially implement merge

Iterate overall all python paths and if same folder has same name multiple times,
then merge the content and put to <job_dir>/site-packages

Solves problem with imports for some dependencies.

Default layout (/windmill/cache/):

dep==x.y.z
└── X
   └── A
dep-ext==x.y.z
└── X
   └── B

In this case python would be confused with finding B module.

This function will convert it to (/<job_id>):

site-packages
└── X
   ├── A
   └── B

This way python has no problems with finding correct module

* Better error-handling

* Optimize and fix bug

* Update backend/windmill-worker/src/python_executor.rs

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update backend/windmill-worker/src/python_executor.rs

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Polish

* Add path to PathBuf

* Add & before PathBuf

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2024-11-26 18:24:26 +01:00
Ruben Fiszel
0531030895 fix darkMode theme on apps 2024-11-26 17:44:28 +01:00
Ruben Fiszel
dcbc2f6924 first row fix 2024-11-26 17:07:27 +01:00
Ruben Fiszel
84caddc0ec feat: expose settable col id for app aggrid tables 2024-11-26 16:38:15 +01:00
Ruben Fiszel
60f5f8370c feat: allow forcing dark/light theme on apps 2024-11-26 13:38:31 +01:00
Ruben Fiszel
9e9fc9fb52 nit schema form resource type change 2024-11-26 12:48:28 +01:00
Ruben Fiszel
121dd83a46 fix: improve flow status viwer iteration picker 2024-11-26 12:38:34 +01:00
Ruben Fiszel
90cdb7c0ca app nits 2024-11-26 10:00:55 +01:00
Ruben Fiszel
41049b153e app nits 2024-11-26 09:39:03 +01:00
Ruben Fiszel
a5be11090b improve app editor context panel performance for large apps 2024-11-26 09:28:11 +01:00
Ruben Fiszel
e3ee592a2f nit 2024-11-25 23:32:14 +01:00
Lucas Abel
ce121fcf37 feat(backend): implement flow scripts (#4748)
* feat(backend): implement flow scripts

* conditionally resolve reduced flow value

* conditionally use flow scripts based on the min worker version

* grant all to `flow_{version_lite,node}`

* do not silently discard errors

* env: add flow script feature flag

* flow script on cloud automatically

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2024-11-25 23:20:51 +01:00
Ruben Fiszel
95101f222d nit UX 2024-11-25 23:14:34 +01:00
Ruben Fiszel
a268bbf2cd email quotas only apply to top-level job 2024-11-25 16:20:55 +01:00
Ruben Fiszel
1dbcae953d fix: fix getting logs locally for ee without instance settings 2024-11-25 12:02:35 +01:00
Ruben Fiszel
ac525ec73c improve error message for log file not found on ee 2024-11-25 11:07:48 +01:00