Commit Graph

73 Commits

Author SHA1 Message Date
Ruben Fiszel 2aeab245a1 schedule next job in transaction to avoid race condition 2022-12-23 06:53:26 +01:00
Ruben Fiszel 43732d2fb5 require ownership to move items && automatically edit schedule paths 2022-12-18 18:45:32 +01:00
Ruben Fiszel d2ab628122 fix setting timeout duration error 2022-12-17 13:41:33 +01:00
Ruben Fiszel 09e38981ed add visible_to_owner 2022-12-15 16:01:17 +01:00
Ruben Fiszel 3485b07b25 feat: add operator mode 2022-12-13 20:16:57 +01:00
Ruben Fiszel d813c007c0 add more metrics 2022-12-13 00:25:27 +01:00
Ruben Fiszel 48ca1e939c add more metrics 2022-12-12 23:10:53 +01:00
Ruben Fiszel 4daf5c18fa usage tracker v3 2022-12-12 01:11:44 +01:00
Ruben Fiszel ac6f9e90f0 usage tracker v2 2022-12-11 22:48:09 +01:00
Ruben Fiszel fd871093f0 feat: implement usage tracker + quotas 2022-12-11 18:47:39 +01:00
Ruben Fiszel 8616570bce get schedule from the database directly instead of the client 2022-12-09 16:36:36 +01:00
Kai Jellinghaus abc0ca3a5b feat(backend): Input transform errors (#1006)
* Add pre run error & propagate input transforms there

* Handle pre-run errors

* Update SQLX data

* Update SQLX data
2022-12-08 23:56:49 +01:00
Ruben Fiszel 8bcf4952a2 display errors much better in the error handler 2022-12-08 11:07:44 +01:00
Ruben Fiszel 8c1c508358 feat: implement flow as a flow step 2022-12-06 23:38:06 +01:00
Ruben Fiszel 3b46eb643c early stop now bubble up to the top 2022-12-06 17:39:07 +01:00
Ruben Fiszel 799fa925b3 feat: add lockable version to scripts inside flows (#972)
* add it to openflow

* push

* push

* final
2022-12-06 13:11:11 +01:00
Ruben Fiszel c318cb255a handle more waiting case as base case for special primitives in flows 2022-12-06 00:05:02 +01:00
Ruben Fiszel 31c317b358 feat: add include_header to pass request headers to script 2022-12-05 23:36:31 +01:00
Ruben Fiszel 372f2da5b9 remove flow_input from sleep expression 2022-12-04 01:31:59 +01:00
Ruben Fiszel e7e79bbaf7 UX improvements 2022-12-04 01:03:38 +01:00
Ruben Fiszel 04d2e3f316 add path env to python req 2022-12-02 23:48:42 +01:00
Ruben Fiszel 519247740a fix PIP_INDEX_URL when nsjail is disabled 2022-12-02 23:45:51 +01:00
Ruben Fiszel 304508fd5c quicker log feedback on resolving dependencies 2022-11-28 23:57:02 +01:00
Ruben Fiszel 12f967726b fix(backend): support PIP_INDEX_URL 2022-11-28 23:48:42 +01:00
Ruben Fiszel 9761cb3a8c increase failure loglines capture 2022-11-28 17:52:32 +01:00
Ruben Fiszel 37967a7950 feat: refactor variable + resource linkage + OAuth visibility 2022-11-27 17:26:37 +01:00
Ruben Fiszel 890ec2cb4e fix no color without nsjail 2022-11-26 19:06:36 +01:00
Ruben Fiszel 53fb0ce2ee fix same_worker/shared to work with and without nsjail 2022-11-26 19:02:49 +01:00
Ruben Fiszel b9cb9e9987 fix adding nsjail based on arg 2022-11-26 17:13:14 +01:00
Ruben Fiszel 8a4282ef6a disable nsjail by default 2022-11-25 16:31:15 +01:00
Kai Jellinghaus 4ddb3ec276 fix(backend): bash flow lock & add flow lock tests (#933)
* Fix Bash flow lock

* Tests w/ fixes

* Add Sequence privileges
2022-11-23 19:17:19 +01:00
Kai Jellinghaus af3a62a443 Fix Python flow lock (#931) 2022-11-22 22:56:06 +01:00
Ruben Fiszel 16166df490 fix enterprise code 2022-11-21 19:19:42 +01:00
Ruben Fiszel c6a7313c26 distribute the sync from workers more evenly 2022-11-21 18:30:58 +01:00
Ruben Fiszel c6dc07007c fix tarring the entire cache back to s3 + UX nits 2022-11-21 09:25:22 +01:00
Ruben Fiszel a3529759ad fix(caching): preserve permissions 2022-11-20 21:39:57 +01:00
Ruben Fiszel 7af345e5e5 fix(caching): add a second caching mechanism by tarring the entire cache for fast startup 2022-11-20 19:46:01 +01:00
Ruben Fiszel b62f1a4502 better logging for worker 2022-11-20 18:06:53 +01:00
Ruben Fiszel b571da5356 improve distributed caching 2022-11-20 17:48:46 +01:00
Ruben Fiszel 838a92a0db feat(go): improve cold start of 200ms by building outside of nsjail 2022-11-20 14:40:29 +01:00
Ruben Fiszel 8a71625c52 fix enterprise sync 2022-11-20 11:12:53 +01:00
Ruben Fiszel 61dd5e7e26 resync even for later steps 2022-11-20 04:34:38 +01:00
Ruben Fiszel b08fe63998 add resolver backtracking to silence error 2022-11-19 10:17:36 +01:00
Ruben Fiszel 75b1ae83c4 force creating initial cache dirs after resync 2022-11-18 21:17:38 +01:00
Ruben Fiszel 2923226cfb cleanup logs 2022-11-18 21:08:29 +01:00
Ruben Fiszel 8846ca5856 feat: supercache extended to all version 2022-11-18 20:17:23 +01:00
Kai Jellinghaus bd09884955 feat(backend): sync cache features on all workers [enterprise] (#907)
* Periodic Job

* Add write lock & bash execution

* Use env for bash script

* Enterprise Feature

* Only time based

* Cleanup

* Move code

* Use rclone sync

* WIP

* Use buildarg

* Remove unecessary deps

* 10 Minute Intervals

* Revert testing change

* Manually pull rclone

* fix rclone

* Initial sync

* Update worker.rs

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-11-18 17:20:39 +01:00
Ruben Fiszel 0b50e2b9ce improve same_worker UX clarity 2022-11-17 18:03:07 +01:00
Ruben Fiszel 5f83655daa add build-essential to base image + pip install has path as env variable 2022-11-16 18:47:11 +01:00
Faton Ramadani cc5f629a7b fix(frontend): App Editor v0 (#886) 2022-11-14 17:30:49 +01:00