Commit Graph

6714 Commits

Author SHA1 Message Date
Ruben Fiszel
f1bb7cfcbd fix(backend): improve memory usage by making schema RawValue instead of serde_json::Value 2024-05-20 10:11:47 +02:00
Ruben Fiszel
4a49dc6df4 chore(main): release 1.333.0 (#3769)
* chore(main): release 1.333.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.333.0
2024-05-19 22:31:57 +02:00
Ruben Fiszel
f63c8349f4 sleep handle f64 2024-05-19 22:21:18 +02:00
Ruben Fiszel
5eeadb9240 handle early stop for simple flows 2024-05-19 22:07:06 +02:00
Ruben Fiszel
7a1808e951 feat: reduce memory usage (#3768)
* all

* all

* optimize deserialize

* all

* all

* fix issue

* fix compile

* fix compile

* fix compile

* fix compile

* fix compile

* fix compile

* fix compile

* fix compile

* fix compile

* fix compile
2024-05-19 21:58:38 +02:00
Ruben Fiszel
03519f5cac chore(main): release 1.332.1 (#3766)
* chore(main): release 1.332.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.332.1
2024-05-18 10:12:45 +02:00
Ruben Fiszel
32bf061627 fix(cli): improve handling of schema for script bundles 2024-05-18 10:00:19 +02:00
HugoCasa
f0b3527e53 fix(frontend): improve json display for large table objects (#3765)
* fix(frontend): fix check for displaying table-col

* fix: improve display result json limit for tables

* fix: nit

* Update frontend/src/lib/components/DisplayResult.svelte

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

* fix: nit

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2024-05-17 18:45:13 +02:00
Ruben Fiszel
ed54974ebd chore: fix tag_latest to wait for build 2024-05-17 01:05:50 +02:00
Ruben Fiszel
583e132da9 chore(main): release 1.332.0 (#3755)
* chore(main): release 1.332.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.332.0
2024-05-17 00:35:22 +02:00
Faton Ramadani
e11a3751c3 feat(frontend): Fix App Select component initial value (#3752)
* feat(frontend): Fix App Select component initial value

* Update AppSelect.svelte

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-05-17 00:31:32 +02:00
Ruben Fiszel
2b06d9ae79 fix: fix args interpolation for tag and concurrency key for non string values 2024-05-17 00:27:38 +02:00
Ruben Fiszel
de4e1d82a8 chore(main): release 1.331.2 (#3754)
* chore(main): release 1.331.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.331.2
2024-05-16 23:46:36 +02:00
Ruben Fiszel
9e86177142 fix: improve support for non existing key in concurrency_key table 2024-05-16 23:43:30 +02:00
Ruben Fiszel
5d110bbf8b chore(main): release 1.331.1 (#3753)
* chore(main): release 1.331.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.331.1
2024-05-16 21:41:32 +02:00
Ruben Fiszel
812575bbe5 jemalloc image 2024-05-16 21:38:17 +02:00
Ruben Fiszel
27d5cd00a3 nits 2024-05-16 20:34:15 +02:00
HugoCasa
f3b8e01981 fix(backend): prevent immediate cancellation of the error handler when a job is forcibly cancelled (#3751) 2024-05-16 16:53:27 +02:00
HugoCasa
2da00f19af fix(frontend): improve queue metrics graphs performance (#3749)
* fix(frontend): improve queue metrics graphs performance

* fix: check
2024-05-16 16:47:39 +02:00
Ruben Fiszel
ac0a397e76 chore(main): release 1.331.0 (#3737)
* chore(main): release 1.331.0

* Apply automatic changes

* Update CHANGELOG.md

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.331.0
2024-05-15 21:06:57 +02:00
wendrul
d3942097df Add concurrency limits observability (#3586)
* Add concurrency_key table and field to payload

Add a new table custom_concurrency_key for storing concurrency keys on a
per job basis. Add the field to the job payload to populate the table on
creation of a new job.

* Rename to custom_concurrency_key

Be more explicit about the nature of the option variable by calling it
a more appropriate name.

* Delete concurrency_keys on delete_expire_items

* Propagate db errors up

* Add ref to EE changes

* update sqlx

* Add concurrency_key to tests

* Revert renaming of FlowValue field

FlowValue field concurrency_key must be named concurrency_key for
serialization purposes.

* Remove debug print statement

* Get concurrency_key from Job

Whether it is a Completed job or a queued one, add a ways to get the
associated concurrency key

* Add endpoint to get concurrency_key

* Add endpoint and button to get job concurrency_key

Add a line with a link on the FlowMetadata that goes to the
concurrency_groups page. add endpoint to get the concurrency_key of a
job

* Merge concurrency_key tables into one

migration + change all related querrys

* Add concurrency plot to the runs page

* Prepare sqlx

* Add concurrency Key filter on UI

* Prepare sqlx

* Prepare sqlx

* Fix filter and order query

The limit makes more sense if we cut the older rows, so order by
started_at

* Factor interpolation to reuse on concurrency key

Factor the arg interpolation logic into a function and finish the
processing of concurrency key before insertion

* Remove old concurrency key processing logic

* Second transaction with userdb

To send all concurrency intervals but revealing only uuids of accessible
jobs, make a second transaction with the userdb.

* Remove old second endpoint

the intervals endpoint now also gets the concurrencyt key information
for all jobs

* Show external jobs

* Put filters into a dropdown

Create a ToggleButtonMore and put elements into a dropdown

* Add toggle between two graphs

* Add filter functionality to concurrency graph

* Improve concurrency graph front

* Fix concurrency groups page

* Prepare sqlx

* Add ref to ee

* Change migration to create new table instead

Instead of renaming the custom_concurrency_key_ended atble, we create a
new table and we will delete custom_concurrency_key_ended in the future
when it is no longer linked to any jobs

* Do small UI improvements

* Fix range fusion by not filtering past jobs

Instead of filtering jobs in the backend on a startedAfter value, limit
the query to 1000 and query all possible towards the past to get a good
context for the graph in most sane situations

* Improve frontend UI
2024-05-15 20:15:14 +02:00
Faton Ramadani
cadc758fc7 feat(frontend): add nullable arg (#3729)
* feat(frontend): add nullable arg

* feat(frontend): Limit nullable toggle for strings and numbers

* feat(frontend): Limit nullable toggle to strings

* feat(frontend): fix validation

* feat(frontend): Disable nullable when required + add missing config in script editor
2024-05-15 17:30:40 +02:00
Ruben Fiszel
b0a33df362 fix workspace redirect bug 2024-05-15 16:20:02 +02:00
Faton Ramadani
0191dca347 feat(frontend): Add context section (#3745)
* feat(frontend): Add context section

* feat(frontend): Add missing tooltip
2024-05-15 16:09:48 +02:00
Lucian Buzzo
9d0f643dfd fix: resolve typo in bun_executor.rs error message (#3744) 2024-05-15 15:30:26 +02:00
Faton Ramadani
6ff6a603f7 feat(frontend): full height component (#3676)
* feat(frontend): wip

* feat(frontend): Full Height component

* feat(frontend): wip

* feat(frontend): add fullHeight indicator

* feat(frontend): add indicator for component that won't render

* feat(frontend): update collision algo

* fix(frontend): Full height component done

* fix(frontend): Remove the hidden check from preview

* feat(frontend): code cleanup

* feat(frontend): code cleanup

* feat(frontend): code cleanup

* feat(frontend): code cleanup

* feat(frontend): Fix height issue + fix toggle display

* feat(frontend): Fix insertNewGridITem

* feat(frontend): code cleanup

* feat(frontend): mobile fullHeigt

* feat(frontend): fix wording

* feat(frontend): add missing constants

* feat(frontend): fix typo

* feat(frontend): remove dead code

* feat(frontend): improve the structure

* feat(frontend): done

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-05-15 14:52:05 +02:00
Ruben Fiszel
001c010974 Revert "fix(backend): remove email constraints from DB (#3739)" (#3743)
This reverts commit fa6c531fda.
2024-05-15 14:45:11 +02:00
HugoCasa
fa6c531fda fix(backend): remove email constraints from DB (#3739)
* fix(backend): allow underscore in email domain name

* fix: remove email constraint
2024-05-15 14:43:36 +02:00
HugoCasa
bcefc20d34 fix(frontend): improve auto data table headers when array of arrays (#3738) 2024-05-15 12:29:31 +02:00
HugoCasa
db143c38b1 fix(frontend): rename correctly delete workspace button (#3736) 2024-05-15 11:55:50 +02:00
HugoCasa
428697782e fix(cli): add php support for the cli (#3735) 2024-05-15 11:49:47 +02:00
Ruben Fiszel
5e0259531e chore(main): release 1.330.1 (#3733)
* chore(main): release 1.330.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.330.1
2024-05-15 10:35:42 +02:00
HugoCasa
14e9c22c07 fix: php worker tag migration (#3732) 2024-05-15 10:24:50 +02:00
Ruben Fiszel
da4e5ccca3 chore(main): release 1.330.0 (#3731)
* chore(main): release 1.330.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.330.0
2024-05-15 08:30:25 +02:00
HugoCasa
6e805d8252 feat: add php (#3725)
* feat: add php

* fix: nsjail + frontend build
2024-05-15 08:12:11 +02:00
Ruben Fiszel
4c70c6a4e6 fix: remove schemas from typescript client 2024-05-15 08:10:29 +02:00
Ruben Fiszel
1cf0bda6d2 fix(bun): improve relative path type assistant in monaco for bun 2024-05-15 07:58:01 +02:00
Ruben Fiszel
a807fd03a3 chore(main): release 1.329.0 (#3722)
* chore(main): release 1.329.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.329.0
2024-05-15 06:33:47 +02:00
Ruben Fiszel
503659b36a improve agcharts2 2024-05-15 06:30:42 +02:00
Ruben Fiszel
1fdbc64fe5 fix: fix agchart rendering 2024-05-15 06:27:34 +02:00
Ruben Fiszel
c044d188da nit workspace selection 2024-05-15 06:11:44 +02:00
Ruben Fiszel
28cc563df8 fix: improve display result output limit 2024-05-15 05:59:31 +02:00
Ruben Fiszel
d99f83015a improve log display 2024-05-14 23:22:11 +02:00
Faton Ramadani
86d958e7ed feat(frontend): Add date format (#3675)
* feat(frontend): Add date format

* feat(frontend): Add date format

* feat(frontend): add missing case

* feat(frontend): add date format

* fix(frontend): added missing tooltip + added default value to the date component
2024-05-14 22:15:16 +02:00
wendrul
b656236af7 Use userDB instead of DB (#3723) 2024-05-14 22:14:12 +02:00
Ruben Fiszel
6fe050b8c5 feat: improve log storage + expand all logs in a flow 2024-05-14 22:11:52 +02:00
Faton Ramadani
da5eabdfbf fix(frontend): Fix FileInput state when hidden (#3730) 2024-05-14 17:12:09 +02:00
Ruben Fiszel
b1a13bea20 fix: bun loader with nsjail 2024-05-14 01:17:13 +02:00
Ruben Fiszel
c3fb407c7d chore(main): release 1.328.0 (#3716)
* chore(main): release 1.328.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.328.0
2024-05-13 22:52:57 +02:00
Faton Ramadani
ef0eba7c33 fix(frontend): fix slider component styling (#3720) 2024-05-13 22:48:23 +02:00