Commit Graph

460 Commits

Author SHA1 Message Date
dependabot[bot] 97bfdd1583 chore(deps): bump hyper from 0.14.20 to 0.14.22 in /backend (#838)
Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.20 to 0.14.22.
- [Release notes](https://github.com/hyperium/hyper/releases)
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.22/CHANGELOG.md)
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.20...v0.14.22)

---
updated-dependencies:
- dependency-name: hyper
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-31 18:57:24 +00:00
Ruben Fiszel 759f3578ac UX nits 2022-10-31 12:46:07 +01:00
Ruben Fiszel 3b329ee323 fix account as integer II 2022-10-31 09:34:55 +01:00
Ruben Fiszel 35a836b81a fix get_resource for oauth 2022-10-30 22:56:12 +01:00
Ruben Fiszel ca5bad7ad4 avoid duplicate components in openapi 2022-10-30 21:53:32 +01:00
Ruben Fiszel 9a4bb545cd clearer error message for unable to exchange refresh token 2022-10-30 21:35:22 +01:00
Ruben Fiszel 331bce472a 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 07582bc748 fix builder for python and go 2022-10-30 21:25:57 +01:00
Ruben Fiszel f38448e494 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 afd8ce8797 handle errors prior to first step better 2022-10-30 19:03:22 +01:00
Ruben Fiszel fc61e9674e add flow_input to context of branch predicates and stop early 2022-10-30 18:24:23 +01:00
Ruben Fiszel e8bbda8a5b fix input transforms for resource and variable 2022-10-30 17:28:59 +01:00
Ruben Fiszel 9a06c06cbd sqlx prepare 2022-10-30 17:08:03 +01:00
Ruben Fiszel c1265c4fe3 fix full hub script 2022-10-30 17:01:12 +01:00
Ruben Fiszel b02521d7ff fix(backend): fix error handler progress update 2022-10-30 13:47:28 +01:00
Ruben Fiszel e96c5ca670 early stop now bubble up to the top 2022-10-30 02:32:35 +02:00
Ruben Fiszel bb4a620645 revert switching metrics to tiny-http 2022-10-30 01:55:44 +02:00
Ruben Fiszel 12de3e700f handle more error edge cases 2022-10-29 13:59:50 +02:00
Ruben Fiszel 6ceac4280e feat(python): type is automatically inferred from default parameters 2022-10-29 12:48:50 +02:00
Kai Jellinghaus 6263e90735 restructure the entire backend layout using workspaces (#815) 2022-10-29 11:58:06 +02:00
Ruben Fiszel 1936a60b4a 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 dc103696a7 update resource spec 2022-10-27 00:59:25 +02:00
Ruben Fiszel 574df78421 fix export to tarball 2022-10-27 00:43:51 +02:00
Ruben Fiszel 256612bbc5 improve python parsing of imports 2022-10-27 00:19:17 +02:00
Ruben Fiszel 14fb4551f4 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 786e59af1f chore(deps): backend update 2022-10-24 21:28:25 +02:00
Ruben Fiszel 16afde6806 approval flow with idendity of the approver 2022-10-24 16:37:09 +02:00
Ruben Fiszel eae96274e3 add identity job_kind to openapi 2022-10-24 14:51:25 +02:00
Ruben Fiszel 02f4113234 add resume_id to job_resume + add identity module 2022-10-24 14:48:28 +02:00
Ruben Fiszel 3ad64ba6eb fix get_suspended_job_flow module finding 2022-10-24 10:37:21 +02:00
Ruben Fiszel da71358090 fix get_suspended_job_flow 2022-10-24 10:18:23 +02:00
Ruben Fiszel 1353c7b8da 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 77c114f037 fix(deno-client): add approver 2022-10-24 02:24:44 +02:00
Ruben Fiszel 7a4bcd98f6 feat: add approver to approval step 2022-10-24 01:50:39 +02:00
Ruben Fiszel b942f0b603 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 81549837ba 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 a9359dada7 fix: improve approval flow with approval page 2022-10-22 13:55:12 +02:00
Ruben Fiszel f8fce1fa78 fix send tx for kill 2022-10-22 00:34:36 +02:00
Ruben Fiszel 960b701cf6 feat(backend): propagate cancel instantly to all flow jobs if any 2022-10-21 22:01:07 +02:00
Ruben Fiszel 68a0376fc3 feat(backend): propagate cancel instantly to all flow jobs if any 2022-10-21 22:00:52 +02:00
Ruben Fiszel a9bf7a4835 fix import script from hub 2022-10-21 19:43:53 +02:00
Ruben Fiszel 26cd5ec6f2 fix import script from hub 2022-10-21 19:38:33 +02:00
Kai Jellinghaus 93b1432625 fix(backend): avoid mem leak on interval #786 2022-10-21 12:15:03 +02:00
Ruben Fiszel 6d4d8e2d64 feat: support running and publishing go, python scripts to the hub (#779) 2022-10-20 20:16:08 +02:00
Ruben Fiszel 71a75a57b6 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 438563d5ea Add more tracing (#773) 2022-10-20 07:40:58 +02:00
Kai Jellinghaus 1537a1b756 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 bce59a197e 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 d2fd81e542 remove erronous pull created_by 2022-10-19 04:10:41 +02:00
Ruben Fiszel dd33179d70 make get job more reliable 2022-10-19 03:54:41 +02:00