Commit Graph

457 Commits

Author SHA1 Message Date
Ruben Fiszel 12a1cb9d8c fix get_resource for oauth 2022-10-30 22:56:12 +01:00
Ruben Fiszel 23346fd18c avoid duplicate components in openapi 2022-10-30 21:53:32 +01:00
Ruben Fiszel ee91ca50cf clearer error message for unable to exchange refresh token 2022-10-30 21:35:22 +01:00
Ruben Fiszel 1f1492f341 chore(main): release 1.42.1 (#830)
* chore(main): release 1.42.1

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-30 21:29:00 +01:00
Ruben Fiszel f4cd0575c6 fix builder for python and go 2022-10-30 21:25:57 +01:00
Ruben Fiszel 5c4c091e78 chore(main): release 1.42.0 (#810)
* chore(main): release 1.42.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-30 19:09:13 +01:00
Ruben Fiszel fe61f23d6a handle errors prior to first step better 2022-10-30 19:03:22 +01:00
Ruben Fiszel ed1829da4a add flow_input to context of branch predicates and stop early 2022-10-30 18:24:23 +01:00
Ruben Fiszel e37e07ddb6 fix input transforms for resource and variable 2022-10-30 17:28:59 +01:00
Ruben Fiszel 03e9f10931 sqlx prepare 2022-10-30 17:08:03 +01:00
Ruben Fiszel 12026318b5 fix full hub script 2022-10-30 17:01:12 +01:00
Ruben Fiszel 4bd74ad723 fix(backend): fix error handler progress update 2022-10-30 13:47:28 +01:00
Ruben Fiszel 08320d16be early stop now bubble up to the top 2022-10-30 02:32:35 +02:00
Ruben Fiszel 2e8211d41f revert switching metrics to tiny-http 2022-10-30 01:55:44 +02:00
Ruben Fiszel f75823f474 handle more error edge cases 2022-10-29 13:59:50 +02:00
Ruben Fiszel 84a3fbe46b feat(python): type is automatically inferred from default parameters 2022-10-29 12:48:50 +02:00
Kai Jellinghaus 0034129a30 restructure the entire backend layout using workspaces (#815) 2022-10-29 11:58:06 +02:00
Ruben Fiszel 8475e31740 UX flow improvements + fix collecting results for loops in frontend + fix Identity behavior in backend 2022-10-27 18:50:32 +02:00
Ruben Fiszel 8a486a8a92 update resource spec 2022-10-27 00:59:25 +02:00
Ruben Fiszel 188171126c fix export to tarball 2022-10-27 00:43:51 +02:00
Ruben Fiszel 0199007d46 improve python parsing of imports 2022-10-27 00:19:17 +02:00
Ruben Fiszel 9a67607b20 feat: payload capture of json to initialize flow input (#655)
* capture table and some endpoints for json pastebin

* only retain user's most recent captures

* merge conflict

* sqlx data

* fix migration

Co-authored-by: sqwishy <somebody@froghat.ca>
2022-10-25 00:54:53 +02:00
Ruben Fiszel b7c01ceddb chore(deps): backend update 2022-10-24 21:28:25 +02:00
Ruben Fiszel 45761f8e0c approval flow with idendity of the approver 2022-10-24 16:37:09 +02:00
Ruben Fiszel aadc2a229c add identity job_kind to openapi 2022-10-24 14:51:25 +02:00
Ruben Fiszel 40bfc486c7 add resume_id to job_resume + add identity module 2022-10-24 14:48:28 +02:00
Ruben Fiszel 0f4ffd29dd fix get_suspended_job_flow module finding 2022-10-24 10:37:21 +02:00
Ruben Fiszel e7d000a6d7 fix get_suspended_job_flow 2022-10-24 10:18:23 +02:00
Ruben Fiszel ced68f35fa chore(main): release 1.41.0 (#795)
* chore(main): release 1.41.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-24 02:38:12 +02:00
Ruben Fiszel 17d9f38d30 fix(deno-client): add approver 2022-10-24 02:24:44 +02:00
Ruben Fiszel a0b2c9e77d feat: add approver to approval step 2022-10-24 01:50:39 +02:00
Ruben Fiszel 6acea35f59 chore(main): release 1.40.1 (#794)
* chore(main): release 1.40.1

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-22 16:21:10 +02:00
Ruben Fiszel 91015e089b chore(main): release 1.40.0 (#780)
* chore(main): release 1.40.0

* Update CHANGELOG.md

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-22 14:06:23 +02:00
Ruben Fiszel 884edd7715 fix: improve approval flow with approval page 2022-10-22 13:55:12 +02:00
Ruben Fiszel 90c7b0c89d fix send tx for kill 2022-10-22 00:34:36 +02:00
Ruben Fiszel cb5ed9b9a1 feat(backend): propagate cancel instantly to all flow jobs if any 2022-10-21 22:01:07 +02:00
Ruben Fiszel e0b86e958f feat(backend): propagate cancel instantly to all flow jobs if any 2022-10-21 22:00:52 +02:00
Ruben Fiszel 9ddfa9a59d fix import script from hub 2022-10-21 19:43:53 +02:00
Ruben Fiszel 8f40d3b117 fix import script from hub 2022-10-21 19:38:33 +02:00
Kai Jellinghaus ac84b76909 fix(backend): avoid mem leak on interval #786 2022-10-21 12:15:03 +02:00
Ruben Fiszel 8ec33c5e16 feat: support running and publishing go, python scripts to the hub (#779) 2022-10-20 20:16:08 +02:00
Ruben Fiszel 1c8a4b3b09 chore(main): release 1.39.0 (#747)
* chore(main): release 1.39.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-10-20 16:38:34 +02:00
Kai Jellinghaus 3fb5ec08b0 Add more tracing (#773) 2022-10-20 07:40:58 +02:00
Kai Jellinghaus 3a7ab9cbe8 Cargo config improvements (#775)
* Move cargo config to correct location

* Add --no-rosegment to build params.
This helps with stack traces, and is necessary for some profilers.
2022-10-20 07:38:49 +02:00
Kai Jellinghaus 55d3f38b8b More Metrics (#735)
* Expose Worker Tokio Metrics

* Add metrics tracking the job queue

This can be used to (approximate) the queue length
This can be used to (approximate) the running jobs

* Remove testing code

* Rename metrics to exclude TOTAL_

* Sleep in worker metrics loop

* Add jobs_executed

* Add zombie job metrics

* Add uptime metric

* Fix metric naming

* Remove poll stats

* unify worker execution metrics

* Rename jobs_* metrics

* Rename metrics to match exposed name

* Remove leftover import

* Rename variables to match further

* Fix Merge error

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-10-19 10:15:42 +02:00
Ruben Fiszel 2350a39335 remove erronous pull created_by 2022-10-19 04:10:41 +02:00
Ruben Fiszel c03c3afcb4 make get job more reliable 2022-10-19 03:54:41 +02:00
Ruben Fiszel f4ff43ec49 nits 2022-10-19 03:41:56 +02:00
Ruben Fiszel 45a6976d52 feat(backend): atomic moving queue -> complete and delete (#771)
* feat(backend): atomic move to queue + delete

* fix

* fix

* fix

* fix
2022-10-19 03:16:15 +02:00
Ruben Fiszel 955cc4104a fix(backend): reschedule flow at first step end (#746)
* fix(backend): reschedule flow at first step end

* fix

* fix

* fix

* fix

* sqlx prepare
2022-10-18 17:06:39 +02:00