Commit Graph

1290 Commits

Author SHA1 Message Date
Ruben Fiszel 82aa28b794 fix build 2023-07-16 16:08:38 +02:00
Ruben Fiszel cfa956dcbd Revert "refactor(backend): alternative approach for sqlx ^0.7 upgrade (#1884)" (#1885)
This reverts commit fa0fc7a4e2.
2023-07-16 16:57:12 +03:00
Ruben Fiszel ff0048afab feat: add whitelist envs to passthrough the workers 2023-07-16 10:47:24 +02:00
Ruben Fiszel 1956c43705 feat: add schedule to syncable resources 2023-07-16 10:47:24 +02:00
Jakub Kołodziejczak fa0fc7a4e2 refactor(backend): alternative approach for sqlx ^0.7 upgrade (#1884)
related to
* https://github.com/launchbadge/sqlx/pull/2617#issuecomment-1636808249
  * https://github.com/launchbadge/sqlx/pull/2617#issuecomment-1637005378
2023-07-16 11:12:50 +03:00
Jakub Kołodziejczak 72d0d8a7f5 chore(backend): upgrade sqlx to ^0.7 (#1865)
* DRAFT chore(backend): upgrade sqlx to ^0.7

related to:
* https://github.com/windmill-labs/windmill/pull/1858
* https://github.com/launchbadge/sqlx/issues/1163#issuecomment-1627685514

* (vol. 2) in 0.7, `Transaction` can no longer implement `Executor` directly

ref: https://github.com/launchbadge/sqlx/blob/afb6b1066e61f8e3875f530d96cfb5a299f13fda/examples/postgres/transaction/src/main.rs#L14-L17

notice that I'm temporarly using my custom patch
https://github.com/mrl5/sqlx/commit/16e4c9a8f380214ad61b1744d3e1f5fa866ffbcc
it's related to https://github.com/launchbadge/sqlx/issues/2611

* post git rebase chores

* use upstream fix from 0.7.1

* fix compile

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-07-15 14:06:20 +02:00
Ruben Fiszel aaaf85af43 chore(main): release 1.131.0 (#1876)
* chore(main): release 1.131.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-07-14 17:12:13 +02:00
Ruben Fiszel 6c3a9ae62e exclude bun from global cache 2023-07-14 16:48:15 +02:00
Ruben Fiszel 04fc0290ed make unwrap resilient for global cache 2023-07-14 16:20:35 +02:00
Ruben Fiszel 51e1447ec7 use --copy-links 2023-07-14 16:13:12 +02:00
Ruben Fiszel da9c6340a2 fix: global cache now cache symlinks 2023-07-14 11:25:45 +02:00
Ruben Fiszel 70bc56a68b fix: fix REST job potential double execution 2023-07-14 10:51:42 +02:00
Ruben Fiszel 580b720874 chore(main): release 1.130.0 (#1873)
* chore(main): release 1.130.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-07-14 00:45:23 +02:00
Ruben Fiszel 62bc962240 fix typo 2023-07-13 18:30:09 +02:00
Ruben Fiszel 39894bdfa8 fix tests 2023-07-13 17:57:55 +02:00
Ruben Fiszel e78ac4c10a chore(main): release 1.129.0 (#1861)
* chore(main): release 1.129.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-07-13 17:32:59 +02:00
Guillaume Bouvignies 4f292419de feat: Front end for script concurrency limit (#1863)
* Front end for script concurrency limit

* Fix frontend

* sqlx prepare

* fix compile

* add flow inline scripts

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-07-13 17:32:08 +02:00
Ruben Fiszel da1d065014 fix forking workspace scripts on app incorrect path 2023-07-13 11:25:06 +02:00
Ruben Fiszel 9fcd37cf43 feat: add jumpcloud support for sso 2023-07-12 19:29:40 +02:00
Ruben Fiszel 512a14aa3e fix tests 2023-07-12 17:31:12 +02:00
HugoCasa 012ea2dc0a feat: generate and fix scripts using Autopilot powered by OpenAI #1827)
* feat(frontend): generate simple script from prompt

* feat(backend): add OpenAI key workspace settings

* feat(frontend): add OpenAI key workplace settings

* feat: proxy to backend + support all languages

* fix: openapi spec

* feat: ScriptGen new UI + gpt 4

* fix: openai key sqlx data

* fix: diffEditor optional

* feat: beta + minor improvements

* feat: resource type support

* feat: edit with AI

* feat: AI fix

* feat: minor improvements
content max length, format, env info

* fix: minor
2023-07-12 17:07:45 +02:00
Ruben Fiszel 2be0714822 fix: Other schedules only display schedules related to script/flow 2023-07-12 12:33:06 +02:00
Ruben Fiszel 08e3502126 fix: make workers bind their http servers on any available port for OCI compliance 2023-07-12 11:19:01 +02:00
Ruben Fiszel 3c6c6f421c trim docker image 2023-07-12 02:26:44 +02:00
Ruben Fiszel 1fc36c9b07 fix: improve bash flushing 2023-07-12 00:48:41 +02:00
Guillaume Bouvignies e2fb35a487 feat: Per script concurrency limit with time window (#1816)
* Add concurrency a per-script concurrency limit

* Add a per-script per time window concurrency limit

* Improve feature with a better estimation of the next schedule timestamp

* Add concurrency limits for inline scripts

* Fix tests

* run sqlx prepare

* Add requeue event to job logs
2023-07-11 23:35:26 +02:00
Ruben Fiszel 2c9d9f6766 chore(main): release 1.128.0 (#1852)
* chore(main): release 1.128.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-07-11 23:07:17 +02:00
Ruben Fiszel a048e0d7e2 feat: add mysql as native integration (#1859) 2023-07-11 22:53:02 +02:00
Guillaume Bouvignies 66bddb6db6 Force sqlx version to remain <0.7.0 (#1858) 2023-07-11 21:35:08 +02:00
Ruben Fiszel 951fedf740 chore(main): release 1.127.1 (#1823)
* chore(main): release 1.127.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-07-10 21:14:12 +02:00
Guillaume Bouvignies 96df8900cb Specific NOOP jobs benchmark (#1810)
* Refactor and fix NOOP benchmark

* Add endpoint to toggle workers on/off when compiled in benchmark mode

* Improve noop benchmark
2023-07-10 14:16:34 +02:00
Ruben Fiszel fee60a1dda fix raw_app_update 2023-07-10 13:53:58 +02:00
Ruben Fiszel 9e6aea6eee chore(main): release 1.127.0 (#1817)
* chore(main): release 1.127.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-07-10 09:06:04 +02:00
Ruben Fiszel dc7a291410 handle date in postgresql 2023-07-10 00:59:23 +02:00
Ruben Fiszel eaeb767f72 chore(main): release 1.126.0 (#1801)
* fix docker-compose

* chore(main): release 1.126.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-07-09 22:53:10 +02:00
Ruben Fiszel 91d4664aaa improve schedule section of run page 2023-07-09 22:35:33 +02:00
Ruben Fiszel 3618f8037b improve page runs history 2023-07-09 20:45:37 +02:00
Ruben Fiszel 45d89496c0 fix docker-compose 2023-07-09 09:52:53 +02:00
Ruben Fiszel 3d999007f5 improve docker-compose 2023-07-08 09:58:45 +02:00
Ruben Fiszel 79bc1da5ea feat: add support for pg uuid 2023-07-08 00:50:20 +02:00
Ruben Fiszel 795ec836f1 fix pgsql early handle abort 2023-07-07 16:50:41 +02:00
Ruben Fiszel 783588f98d fix errors parsing for native jobs + add timestamp support for pg 2023-07-07 05:20:00 +02:00
Ruben Fiszel 157a7f76d5 use fs to fix EBAD issue with bun 2023-07-06 23:27:30 +02:00
Ruben Fiszel b45c3d1132 bun fixes 2023-07-06 22:29:00 +02:00
HugoCasa 54cd5ce569 feat: workspace error handler (#1799)
* feat: add workspace error handler

* feat: run error handler as group

* fix: handler picker initial path

* fix(backend): separate global / workspace handlers

* fix(frontend): error handler picker tab change

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-07-06 21:43:15 +02:00
Ruben Fiszel 2921649c3c feat: bun support (#1800)
* feat: bun support

* feat: bun support

* add bun support

* add bun support

* add bun support

* add bun
2023-07-06 21:19:07 +02:00
Ruben Fiszel 37b0af5566 chore(main): release 1.125.1 (#1798)
* chore(main): release 1.125.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2023-07-05 11:56:29 +02:00
Ruben Fiszel 5b7c7965e5 fix: fix go and py resolution cache overlap 2023-07-05 11:50:19 +02:00
Ruben Fiszel 2f8fd060e6 select + drawer fix + explicit hash 2023-07-05 10:01:27 +02:00
Ruben Fiszel 4beba96724 select + drawer fix + explicit hash 2023-07-05 10:01:07 +02:00