Commit Graph

1785 Commits

Author SHA1 Message Date
Ruben Fiszel 917e0f7549 reduce verbosity of cache sync 2023-04-08 15:55:09 +02:00
Ruben Fiszel 1b15de87a3 reduce verbosity of cache sync 2023-04-08 15:48:07 +02:00
Ruben Fiszel 198dd9e8ff remove deno nsjail in favor of deno sandboxing 2023-04-08 15:25:10 +02:00
Ruben Fiszel 0a06e89ff0 add GOPATH to go mod tidy 2023-04-07 00:49:57 +02:00
Ruben Fiszel 796632abb5 fix(frontend): make croninput a builder rather than a tab 2023-04-06 23:57:42 +02:00
Ruben Fiszel 8864593eed set schema on script template change 2023-04-06 23:28:03 +02:00
Ruben Fiszel 48046f631b fix(backend): inline script app python fix 2023-04-05 18:26:27 +02:00
Oliver Veal 0b444ce395 feat: improved cron/schedule editor (#1362)
* basic cron schedule editing ui

* schedules run in a user-specified timezone

* fix other uses of CronInput component

* use now() from database to schedule next job

* offset -> IANA timezone conversion on db migration

* sqlx ci

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-04-05 16:37:24 +02:00
Ruben Fiszel b81868e025 do no keep tar around and move it from the tmp folder 2023-04-05 15:02:37 +02:00
Ruben Fiszel b64c9f6569 feat(backend): add /ready endpoint for workers 2023-04-05 10:34:25 +02:00
Ruben Fiszel ca8e6c0da8 initialize cache if from tar 2023-04-04 16:31:47 +02:00
Ruben Fiszel 970f8ea6da fix polar handling 2023-04-04 14:25:27 +02:00
Ruben Fiszel c08d8c4d9d kill the background bucket sync if necessary 2023-04-04 11:33:07 +02:00
Ruben Fiszel 13cfef1a05 only sync after the cache has been initialized 2023-04-04 11:03:25 +02:00
Ruben Fiszel 13c1fc3f0a create the first dirs properly 2023-04-04 09:29:08 +02:00
Ruben Fiszel 873af06911 first sync of the cache is at least after the first sync duration 2023-04-04 09:06:19 +02:00
Ruben Fiszel 43a7b7b4b9 log the entirecache.tar length 2023-04-04 08:32:20 +02:00
Ruben Fiszel 6e2d99ead3 only copy cache from bucket in background the first time 2023-04-04 08:24:02 +02:00
Ruben Fiszel 0bec54edfd feat: do cache bucket syncing in background + check tar before pushing it (#1360)
* all

* improve tar caching
2023-04-04 01:34:11 +02:00
Ruben Fiszel 4307c2b957 fix(backend): always flush bash output 2023-04-03 20:07:43 +02:00
Ruben Fiszel 820a4c83d2 fix(backend): always flush bash output 2023-04-03 19:56:55 +02:00
Ruben Fiszel 8f496e83b6 fix(backend): improve handling subflow with many depth using tailrec 2023-04-03 08:37:24 +02:00
Ruben Fiszel 76a809e035 improve mem handling for update_flow_status 2023-04-03 01:13:39 +02:00
Ruben Fiszel 0b70212c6d fix(backend): improve subflow processing 2023-04-03 00:32:13 +02:00
Ruben Fiszel 3f1fd31e1b remove backend warnings & fix test 2023-04-02 13:56:16 +02:00
Ruben Fiszel 1f8513b937 remove unecessary deno lock file 2023-03-31 11:53:31 +02:00
Ryan Rich f89487cf90 fix(backend): backend compatability on macos (#1340) 2023-03-31 09:00:54 +02:00
Ruben Fiszel 77079b4b68 consistent sort + minor nits 2023-03-30 17:27:21 +02:00
Ruben Fiszel f3f29ec24c feat(backend): reduce memory allocation for big forloops of flows 2023-03-30 11:52:54 +02:00
Ruben Fiszel 58a46cce1d truncate file too big 2023-03-29 20:04:31 +02:00
Ruben Fiszel 4fe2477940 handle space and uppercase in script_path 2023-03-29 16:16:14 +02:00
Ruben Fiszel 2dfbf5ffcf fix autogen script names 2023-03-28 21:07:21 +02:00
Ruben Fiszel fa37d4c3f6 fix autogen script names 2023-03-28 20:43:51 +02:00
Ruben Fiszel e40f790d01 fix autogen script names 2023-03-28 20:39:58 +02:00
Ruben Fiszel 904d74187e feat(backend): allow relative imports for python 2023-03-28 20:27:40 +02:00
Ruben Fiszel 8e524f284e more flow logs 2023-03-28 14:01:47 +02:00
Ruben Fiszel 8f7082d5ff improve logging to trace job from root_job and fetching flow details from a separate workspace 2023-03-28 07:58:35 +02:00
Ruben Fiszel 0a9c8d9df6 minor backend fixes 2023-03-27 22:57:29 +02:00
Ruben Fiszel 1a6e7b6208 feat(backend): execute /bin/bash instead of /bin/sh for bash scripts 2023-03-27 13:08:34 +02:00
Ruben Fiszel 781da7ec60 feat(backend): improve relative importsfor deno 2023-03-27 08:45:35 +02:00
Ruben Fiszel 8ad321da42 feat(backend): increase timeout for premium workspace 2023-03-26 18:56:40 +02:00
Ruben Fiszel 5aa0be8112 make superadmin_email permission be inherited by ephemeral tokens 2023-03-24 13:22:56 +01:00
Ruben Fiszel cd0ca8d662 fix backend compile 2023-03-24 12:54:20 +01:00
Ruben Fiszel caa970a02e fix(backend): do not consider FlowPreview as potential zombie job 2023-03-24 12:12:51 +01:00
Ruben Fiszel dadcaa3a5b fix backend timeout issues 2023-03-23 17:22:35 +01:00
Ruben Fiszel 792e3c27de fix backend timeout issues 2023-03-23 15:59:28 +01:00
Ruben Fiszel cc6cde1f9b fix same worker query 2023-03-23 15:57:52 +01:00
Ruben Fiszel 07d3bb6977 feat(backend): introduce RESTART_ZOMBIE_JOBS and ZOMBIE_JOB_TIMEOUT 2023-03-23 12:47:49 +01:00
Ruben Fiszel 63bd0cfb28 fix(backend): increase dynamic js timeout + improve client passing 2023-03-23 10:32:09 +01:00
Ruben Fiszel 445f2de714 fix compile error after deno upgrade 2023-03-17 21:45:54 +01:00