Commit Graph

37 Commits

Author SHA1 Message Date
Kai Jellinghaus d45e6c94ab feat(backend): Redis based queue (#1324)
* Merge?

* Fix V8 breaking change

* WIP

* WIP

* Cleanup

* Move to git reference

* Fix Merge conflict

* update

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-04-11 12:24:13 +02:00
Ruben Fiszel 0718931616 fix tests + scheduled_for uses now instead of system time 2023-04-11 11:48:14 +02:00
Ruben Fiszel 2b003c684f make create_token_for_owner not a transaction anymore 2023-04-09 21:47:05 +02:00
Ruben Fiszel 1ffed41cf9 fix backend tests 2023-04-09 11:20:15 +02:00
Ruben Fiszel f217a2c368 fix input_transform -> input_transforms tests 2023-03-31 11:27:37 +02:00
Ruben Fiszel 2e7871439a consistent sort + minor nits 2023-03-30 17:27:21 +02:00
Ruben Fiszel 32ef18bffe fix tests 2023-03-28 21:40:36 +02:00
Ruben Fiszel 8497d1d1c0 fix autogen script names 2023-03-28 21:07:21 +02:00
Ruben Fiszel 58300eb6ac introduce root_job and leaf_jobs for efficient result_by_id 2023-03-03 12:44:44 +01:00
Ruben Fiszel c0b87cc7d7 send a webhook on new user + lazy static refactor (#1203)
* supercharge

* supercharge

* progress

* progress

* display config

* display config

* display config

* display config

* fix extensions

* fix build

* disable nsjail = false for test
2023-02-15 10:59:50 +01:00
Ruben Fiszel 98bf9355dc implement MAX_FREE_CONCURRENT_RUNS 2023-01-25 12:58:29 +01:00
Ruben Fiszel 8ad2344ec6 improve cancel approval error message 2023-01-24 12:11:39 +01:00
Ruben Fiszel 9b89df9ecf various fixes 2023-01-17 11:30:22 +01:00
Ruben Fiszel 954cc1bb95 fix tests wrt to new error handling 2023-01-14 18:47:37 +01:00
Ruben Fiszel 6949516e63 improve error handling 2023-01-14 15:08:47 +01:00
Ruben Fiszel dbd632375c fix backend tests 2023-01-11 14:56:05 +01:00
Ruben Fiszel daf8e2e8be fix backend tests 2023-01-09 14:51:27 +01:00
Ruben Fiszel d3e2cf0779 fix backend tests 2023-01-09 14:00:17 +01:00
Ruben Fiszel 09e38981ed add visible_to_owner 2022-12-15 16:01:17 +01:00
Ruben Fiszel d3d2a8bc7d fix fixtures 2022-12-12 22:33:24 +01:00
Ruben Fiszel fd871093f0 feat: implement usage tracker + quotas 2022-12-11 18:47:39 +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 31c317b358 feat: add include_header to pass request headers to script 2022-12-05 23:36:31 +01:00
Ruben Fiszel e3edec0951 fix deno_flow_same_worker test 2022-11-27 00:50:09 +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 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
Kai Jellinghaus 47c9ff1edc feat(backend): Flow lock (#868)
* Add lockfile information

* Allow Lockfiles to be pushed to queue

* Handle raw_lock on worker

* Flow Lock Job

* Allow RawScript path

* Simplify handle_code_execution_job

* Regenerate SQLX

* Fix tests

* fix test

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-11-13 18:31:08 +01:00
Ruben Fiszel 6fe5c99af4 tweak identity to extract previous_result 2022-11-10 08:48:06 +01:00
Ruben Fiszel 40183ce4e4 feat: deprecate previous_result in favor of results per id 2022-11-10 01:58:52 +01:00
Ruben Fiszel 3c09275960 feat: support bash as 4th language (#865)
* bash support

* bash backend working

* frontend part

* bash backend working
2022-11-06 23:48:18 +01:00
Ruben Fiszel 753a66488c nit UX on FlowPreviewContent 2022-11-06 18:16:55 +01:00
Ruben Fiszel 01701882dc feat(backend): use result_by_id in branchone (#857)
* progress

* fix result by id
2022-11-04 12:06:08 +01:00
Ruben Fiszel 39937e6a83 feat(backend): add parallel option for forloop and branchall (#840)
* parallel

* parallel

* fix 1

* fix 2

* fix 3

* fix 3

* fix 4

* sqlx

* add parallel toggle on frontend

* parallel in frontend

* serde

* fix everything

* fix everything
2022-11-01 06:09:00 +01:00
Ruben Fiszel 12a1cb9d8c fix get_resource for oauth 2022-10-30 22:56:12 +01:00
Ruben Fiszel fe61f23d6a handle errors prior to first step better 2022-10-30 19:03:22 +01:00
Ruben Fiszel 4bd74ad723 fix(backend): fix error handler progress update 2022-10-30 13:47:28 +01:00
Kai Jellinghaus 0034129a30 restructure the entire backend layout using workspaces (#815) 2022-10-29 11:58:06 +02:00