Commit Graph

1192 Commits

Author SHA1 Message Date
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 a34e514e4e migrating benchmark to deno client 1.38.5 2022-10-18 23:16:58 +02:00
Ruben Fiszel f468d6d870 show options 2022-10-18 22:08:37 +02:00
Ruben Fiszel 1ae7a3c325 fix benchmarks 2022-10-18 21:19:37 +02:00
Ruben Fiszel 614866d694 little benchmark console feedback 2022-10-18 20:42:16 +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
Ruben Fiszel 57600ab873 feat: add result by id to fetch result from any node (#769)
* feat: add result by id to fetch result from any node

* sqlx prepare

* fix

* fix

* review
2022-10-18 17:04:13 +02:00
Kai Jellinghaus 846462c68b feat(benchmark): Initial Benchmarking Tool (#731)
* Deno setup

* Very basic benchmarking

* Collect metrics into CSV

* Rip out CSV functionality

* export to influxdb

* remove old files

* Move into subfolder in preparation for merge

* Move settings to correct folder

* Cleanup & Fix typing

* Remove unused code

* Add JSON export of specific metrics

* Wait for all jobs to complete & check resutls

* Delete output.json

* Apply some review comments

* Simplify some truthy expressions

* Remove InfluxDB

* Rewrite Stats calculation

* Add CSV output

* Fix stdev calculations

* Add README

* Add maximum-throughput option

* Add flow option

* Remove testing changes

* Revert auto-format

* Track zombie workers
2022-10-18 14:10:04 +02:00
Ruben Fiszel af9e1f4479 feat: add ids to modules + input_transform lowered to flowmodulevalue (#768)
* feat: add ids to modules + inputTransforms from module to module value

* all

* delete obsolete input transforms
2022-10-17 22:34:12 +02:00
dependabot[bot] e1e202ad8b chore(deps-dev): bump svelte from 3.51.0 to 3.52.0 in /frontend (#766)
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.51.0 to 3.52.0.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.51.0...v3.52.0)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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-17 20:06:18 +00:00
dependabot[bot] 43be8362db chore(deps-dev): bump flowbite-svelte from 0.27.6 to 0.27.8 in /frontend (#767)
Bumps [flowbite-svelte](https://github.com/themesberg/flowbite-svelte) from 0.27.6 to 0.27.8.
- [Release notes](https://github.com/themesberg/flowbite-svelte/releases)
- [Changelog](https://github.com/themesberg/flowbite-svelte/blob/main/CHANGELOG.md)
- [Commits](https://github.com/themesberg/flowbite-svelte/compare/v0.27.6...v0.27.8)

---
updated-dependencies:
- dependency-name: flowbite-svelte
  dependency-type: direct:development
  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-17 19:52:00 +00:00
dependabot[bot] 475497c3c0 chore(deps-dev): bump @typescript-eslint/eslint-plugin in /frontend (#764)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.37.0 to 5.40.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.40.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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-17 19:40:45 +00:00
dependabot[bot] f4bbf252f0 chore(deps-dev): bump @zerodevx/svelte-toast in /frontend (#761)
Bumps [@zerodevx/svelte-toast](https://github.com/zerodevx/svelte-toast) from 0.7.2 to 0.8.0.
- [Release notes](https://github.com/zerodevx/svelte-toast/releases)
- [Commits](https://github.com/zerodevx/svelte-toast/compare/v0.7.2...v0.8.0)

---
updated-dependencies:
- dependency-name: "@zerodevx/svelte-toast"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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-17 19:39:34 +00:00
dependabot[bot] 21df74e6af chore(deps-dev): bump postcss from 8.4.17 to 8.4.18 in /frontend (#765)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.17 to 8.4.18.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.17...8.4.18)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  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-17 19:28:47 +00:00
dependabot[bot] a26be3f137 chore(deps): bump magic-crypt from 3.1.10 to 3.1.12 in /backend (#762)
Bumps [magic-crypt](https://github.com/magiclen/rust-magiccrypt) from 3.1.10 to 3.1.12.
- [Release notes](https://github.com/magiclen/rust-magiccrypt/releases)
- [Commits](https://github.com/magiclen/rust-magiccrypt/compare/v3.1.10...v3.1.12)

---
updated-dependencies:
- dependency-name: magic-crypt
  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-17 19:12:52 +00:00
dependabot[bot] a413c54b0e chore(deps-dev): bump @typescript-eslint/parser in /frontend (#759)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.40.0 to 5.40.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.40.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  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-17 18:55:16 +00:00
dependabot[bot] 49d2fd2cff chore(deps): bump swc_ecma_parser from 0.122.7 to 0.122.13 in /backend (#758)
Bumps [swc_ecma_parser](https://github.com/swc-project/swc) from 0.122.7 to 0.122.13.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits)

---
updated-dependencies:
- dependency-name: swc_ecma_parser
  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-17 18:46:00 +00:00
dependabot[bot] f3eda5023b chore(deps): bump monaco-editor from 0.34.0 to 0.34.1 in /frontend (#757)
Bumps [monaco-editor](https://github.com/microsoft/monaco-editor) from 0.34.0 to 0.34.1.
- [Release notes](https://github.com/microsoft/monaco-editor/releases)
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/microsoft/monaco-editor/commits)

---
updated-dependencies:
- dependency-name: monaco-editor
  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-17 18:37:02 +00:00
dependabot[bot] 6fdc407cca chore(deps-dev): bump @playwright/test in /frontend (#756)
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.27.0 to 1.27.1.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.27.0...v1.27.1)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  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-17 18:36:44 +00:00
Ruben Fiszel a5aad947e6 feat(backend): add branch all (#751)
* feat(backend): add branch all

* progress

* all
2022-10-17 17:31:31 +02:00
Ádám Kovács 9edb8a8e1c fix(frontend): Style fix (#755) 2022-10-17 17:22:09 +02:00
Ádám Kovács 582fc9a2ed feat(frontend): Update workspace selector (#754) 2022-10-17 17:17:31 +02:00
Ádám Kovács 99e60b1b74 fix(frontend): Fix text styling (#753) 2022-10-17 16:25:32 +02:00
Ádám Kovács 8a774e0d04 feat(frontend): Update split panes (#741) 2022-10-17 15:43:31 +02:00
Ruben Fiszel 9e0c2d759b feat: InProgress forloop_jobs -> flow_jobs to unify with branchAll 2022-10-16 16:04:24 +02:00
Ruben Fiszel b1805699c9 feat(backend): rework forloop flow job arg passing + reimplement branchone using flows 2022-10-16 15:56:41 +02:00
Ruben Fiszel b1a309b81d chore(main): release 1.38.5 (#745)
* chore(main): release 1.38.5

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.38.5
2022-10-15 18:37:41 +02:00
Ruben Fiszel bb1750fd6d fix(deno-client): use proper base url 2022-10-15 18:34:07 +02:00
Ruben Fiszel eb589db8c5 chore(main): release 1.38.4 (#744)
* chore(main): release 1.38.4

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.38.4
2022-10-15 18:27:04 +02:00
Ruben Fiszel 350d31fe06 fix: refactor deno client to use another openapi generator #743 2022-10-15 18:25:26 +02:00
Ruben Fiszel 6f629fc320 add rawscript as unique enum type on openflow 2022-10-15 16:37:18 +02:00
Jakub Kołodziejczak ed108de1b9 chore(backend): allow disabling nsjail for unit tests (#742)
UC: as a developer I want to be able to test code w/o nsjail

bug: flaky test `test_go_job`
```
running 1 test
test worker::tests::test_go_job ... FAILED

failures:

---- worker::tests::test_go_job stdout ----
received killpill for worker 0
thread 'worker::tests::test_go_job' panicked at 'assertion failed: `(left == right)`
  left: `Object {"error": String("Error during execution of the script:\n\ngo: error obtaining buildID for go tool compile: pipe2: too many open files\ngo: error obtaining buildID for go tool compile: pipe2: too many open files\ngo: error obtaining buildID for go tool compile: pipe2: too many open files")}`,
 right: `String("hello world")`', src/worker.rs:2434:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```

workaround: disable nsjail
2022-10-15 16:08:05 +02:00
Ruben Fiszel a2050d3edd chore(main): release 1.38.3 (#740)
* chore(main): release 1.38.3

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.38.3
2022-10-15 11:35:49 +02:00
Ruben Fiszel 8d37e40fce fix(go-client): go-client README 2022-10-15 11:23:10 +02:00
Ruben Fiszel b27e660365 chore(main): release 1.38.2 (#737) v1.38.2 2022-10-15 11:19:42 +02:00
Ruben Fiszel fffcb5ec2a fix(go-client): improve go-client variable and resource handling 2022-10-15 11:18:17 +02:00
Ruben Fiszel 1f7ef3006f fix(go-client): return error 2022-10-15 10:29:01 +02:00
Jakub Kołodziejczak e4cd931ab5 fix(python-client): provide backwards compatibility down to python3.7 (#738) (#739)
this reverts b46d0ff11d introducing
alternative way of avoiding bug described in
https://github.com/windmill-labs/windmill/issues/736#issuecomment-1279679730

the improvement here is that we're able to support more python versions
now
2022-10-15 10:27:07 +02:00
Jakub Kołodziejczak b46d0ff11d chore(python-client): update minimal python version (#738) 2022-10-15 09:42:19 +02:00
Ruben Fiszel 467ff105db fix(go-client): improve go-client error handling 2022-10-15 09:08:13 +02:00
Ruben Fiszel 8783cfcddf add apache 2.0 to go client 2022-10-15 09:02:34 +02:00
Ruben Fiszel 45484b327a chore(main): release 1.38.1 (#734)
* chore(main): release 1.38.1

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.38.1
2022-10-15 08:49:34 +02:00
Ruben Fiszel afefe1603d fix(python-client): not publishinf windmill-api 2022-10-15 08:48:54 +02:00
Ruben Fiszel 9d38d66d2b fix(go-client): pass bearer token to requests 2022-10-14 20:35:19 +02:00
Ruben Fiszel be0c434349 go client ci deployment 2022-10-14 20:24:22 +02:00
Ruben Fiszel ef904aa9d0 chore(main): release 1.38.0 (#700)
* chore(main): release 1.38.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
v1.38.0
2022-10-14 20:06:04 +02:00
Ruben Fiszel d354746e65 go client v0 2022-10-14 19:45:16 +02:00
Ruben Fiszel c3e705318c go client v0 2022-10-14 17:06:42 +02:00
Ruben Fiszel 64014f1795 remove some frontend warnings 2022-10-14 16:32:15 +02:00