Commit Graph
3472 Commits
Author SHA1 Message Date
Ruben Fiszel c3fc2a06bd delete venv folder if pip install didn't succeed 2024-11-15 01:11:17 +01:00
04e2ef5809 feat: Handle pip install by uv (#4517)
* feat: Handle `pip install` by `uv`

Dirty and untested, but already something working

* Integrate with NSJAIL and prepare fallbacks

* Refactor fallback
no_uv disable compile and install
where no_uv_install and no_uv_compile are a bit more specific

* Remove `--disable-pip-version-check`
Reason:
   warning: pip's `--disable-pip-version-check` has no effect

* Fix backend compilation error

* Pip fallback overwrite UV's cache

* Initially refactor cache (No S3)

* Support S3

* Remove unused import

* Handle flags for NSJAIL

* Return deleted flag

* Update Dockerfile

* Update docker-image.yml

* Update docker-image.yml

* Add --link-mode=copy and remove -v

* Fix NSJAIL INDEX_URL

* Fix flock and windows

* Update python_executor.rs

* Remove line from Dockerfile

We dont need it and to trigger build

* fixing for windows

* Dont pin python to specific version

* Change TMP for windows

* Revert docker-image.yml

* Disable UV for ansible

Will be enabled later.
Needs proper testing and its better to split onto 2 PRs with first modifying python and second ansible

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Alexander Petric <petric.al@gmail.com>
2024-11-15 00:12:56 +01:00
Ruben Fiszelandrubenfiszel fd510a5ed1 chore(main): release 1.424.0 (#4709)
* chore(main): release 1.424.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-11-14 21:28:20 +01:00
Ruben Fiszel 9cdda95003 fix: deployment callbacks have a concurrency limit of 1 on same path 2024-11-14 21:15:26 +01:00
Ruben Fiszel 285c9b93b0 fix: add countCompletedJobs api 2024-11-14 20:44:29 +01:00
Ruben Fiszel 24886f5400 update openapi 2024-11-14 16:21:07 +01:00
Ruben Fiszel d73c4f0bf7 fix: autoscaling when count < min worker set to min_workers 2024-11-14 16:09:34 +01:00
bcc96d7e6a feat: Support mistral anthropic for ai (#4692)
* wip: openai proxy and other ai proxy integration

* fixing migration script

* wip: support different ai provider in front, fix proxy openai

* wip: adding frontend ai provider

* updated copilot types

* wip: working on anthropic integration

* done AI proxy front

* adding new type and support for anthropic

* updating gitignore

* adding streaming response

* added streaming prompt

* push lib/gen

* wip: fixing anthropic

* anthropic fully supported

* fix backend missing var error and fully support stream event for anthropic

* remove gen directory

* fixing openapi file

* add support for mistral, and update create workspace components

* remove deref.json

* remove package-json

* openapi

* fix ui enable code

* added utility function for init workspace ai provider

* fix workspace switch bug

* update anthropic property and fixed frontend error

* fix workspace settings

* update error message and fix typo migration file

* chore: update openapi file

* fix dev file

* add .sqlx

* all

* update sqlx

---------

Co-authored-by: dieriba <t.dieriba@gmail.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2024-11-14 14:24:35 +01:00
Ruben Fiszel 0be1a3a09d feat: allow setting password and login type from superadmin UI 2024-11-14 13:22:48 +01:00
Lucas Abel 47424b1446 feat(backend): monitor minimal version of living workers (#4704) 2024-11-14 12:33:50 +01:00
Lucas Abel 231dcbb470 api: cleanup job data structure (#4705) 2024-11-14 12:25:30 +01:00
Lucas Abel 247eb5dd90 nit: cleanup raw_flow usage (#4707)
* nit: cleanup `raw_flow` usage

* nit: refactor two queries into one
2024-11-14 12:23:27 +01:00
Ruben Fiszel b1555ed4e5 fix: add queue_couts api 2024-11-14 11:03:26 +01:00
Lucas Abel 483283894e nix: nit fixes + bench script (#4703) 2024-11-14 09:08:11 +01:00
Lucas Abel d7b688d352 nit: generalize usage of has_failure_module (#4706) 2024-11-14 08:49:12 +01:00
Ruben Fiszelandrubenfiszel 014b5cad99 chore(main): release 1.423.2 (#4701)
* chore(main): release 1.423.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-11-14 00:35:12 +01:00
Ruben Fiszel 68cf3a4cf6 fix: fix intempestive expr type change in flow transform 2024-11-14 00:24:02 +01:00
Ruben Fiszel 3af8840cdd add LOGS_TO_STDOUT to ee 2024-11-13 23:30:52 +01:00
Ruben Fiszel a6d2a20e42 split more ee log logic 2024-11-13 18:49:41 +01:00
Ruben Fiszel c7050cb7cb fix getUser openapi 2024-11-13 16:54:58 +01:00
Lucas Abel 2529161f3c more benchmark methods (#4695)
* feat(backend): add `rawscript` to `add_batch_jobs` API

* bonus: improve `add_batch_jobs` API performances for `flow` kind

* add `bigrawscript` and `bigscriptinflow` to `benchmark_oneoff.ts`

* add `bigrawscript` and `bigscriptinflow` to the bench suite
2024-11-13 15:53:01 +01:00
Ruben Fiszelandrubenfiszel 640a0ca7f9 chore(main): release 1.423.1 (#4693)
* chore(main): release 1.423.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-11-13 11:23:44 +01:00
Ruben Fiszel da0cbfe258 fix(autoscaling): autoscaling thresholds to be >= and not > 2024-11-13 00:21:45 +01:00
Ruben Fiszelandrubenfiszel 5efc94be52 chore(main): release 1.423.0 (#4691)
* chore(main): release 1.423.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-11-12 23:41:33 +01:00
Ruben Fiszel 1af2ec6c72 fix: support multiple pip-extra-index-url with commas 2024-11-12 23:31:00 +01:00
Ruben Fiszel 4a64e5c9a7 fix: prevent underflow for autoscaling scalein 2024-11-12 22:34:54 +01:00
HugoCasa 5799d72f5b feat: s3 input available for public apps (#4685) 2024-11-12 20:07:59 +01:00
Ruben Fiszelandrubenfiszel 7b3a9fc491 chore(main): release 1.422.1 (#4688)
* chore(main): release 1.422.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-11-12 10:44:41 +01:00
Ruben Fiszelandrubenfiszel 768ce7171b chore(main): release 1.422.0 (#4678)
* chore(main): release 1.422.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-11-11 10:37:17 +01:00
Alexander Petric f870518d94 feat(frontend): critical alerts UI (#4653) 2024-11-09 00:42:10 +01:00
Ruben Fiszelandrubenfiszel 5076ae3030 chore(main): release 1.421.2 (#4675)
* chore(main): release 1.421.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-11-08 16:57:09 +01:00
Ruben Fiszel b6f5be8d0e propagate exit code in error result when relevant 2024-11-08 16:37:58 +01:00
Ruben Fiszel 72f70d5ab5 fix(bash): correctly propagate exit errors 2024-11-08 16:33:01 +01:00
Ruben Fiszelandrubenfiszel 2ad23be387 chore(main): release 1.421.1 (#4674)
* chore(main): release 1.421.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-11-08 15:43:28 +01:00
VuRsd 37eb8dfbf1 add pysocks import handling
add PySocks dependency mapping
2024-11-08 09:56:28 +01:00
Ruben Fiszelandrubenfiszel dbe502a81e chore(main): release 1.421.0 (#4668)
* chore(main): release 1.421.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-11-07 20:54:42 +01:00
HugoCasa c686cc437d feat: http custom routes for static assets (#4666)
* feat: http custom routes for static assets

* update ee ref + fix build

* fix build

* nit
2024-11-07 20:16:14 +01:00
Ruben Fiszelandrubenfiszel c1e200dc0a chore(main): release 1.420.1 (#4665)
* chore(main): release 1.420.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-11-07 17:59:15 +01:00
Ruben Fiszelandrubenfiszel d260484b1e chore(main): release 1.420.0 (#4659)
* chore(main): release 1.420.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-11-07 17:18:20 +01:00
Lucas Abel 7417e157d7 add flake.nix and package windmill backend (#4660) 2024-11-07 12:23:19 +01:00
Ruben Fiszelandrubenfiszel 4e2fd31a50 chore(main): release 1.419.0 (#4649)
* chore(main): release 1.419.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-11-06 20:29:19 +01:00
Ruben Fiszel fe79927cdf fix: clarify error messages when job timeout or cancelled with more details 2024-11-06 19:18:34 +01:00
HugoCasa 4da8726eee allow no tls for instance settings smtp (#4656)
* allow no tls for instance settings smtp

* update ee ref
2024-11-06 16:58:24 +01:00
Ruben Fiszel 6e8b9b5725 fix main 2024-11-06 16:34:09 +01:00
HugoCasa 7d5d0202b2 fix: display logs in native mode when script fails (#4655)
* fix: display logs in native mode when script fails

* oups

* oups
2024-11-06 16:26:23 +01:00
HugoCasa 5f1f16f1a0 feat: websocket authentication (#4635)
* feat: websocket authentication

* npm check, sqlx and preprocessor template

* better run job

* nit
2024-11-05 11:54:08 +01:00
wendrulandRuben Fiszel 36ea8a21d6 feat: Add full-text search on windmill service logs (#4576)
* Add service_log indexer file (ee)

* Rename to completed_run

* rename to service_logs

* Update lib.rs

* Make indexing of logs and simple frontend

* Add common ee file

* Update lib.rs

* Make log search global to fix openapi unused path param

* Prepare sqlx

* Show last indexed also when no jobs are found

* Adapt feature flags to service logs indexer

* Update api and main

* Build service log search page

* scope query to the min and max time

* Migrate modal, bug fixes

* Remove unused import

* Make the service logs page take the full screen

* improve quick access menu to service_logs, fix date stuff, hide 0 matches

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-11-05 09:52:07 +01:00
Ruben Fiszelandrubenfiszel 95f635bf12 chore(main): release 1.418.0 (#4648)
* chore(main): release 1.418.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2024-11-05 01:23:22 +01:00
Ruben Fiszel cee0e9f615 fix(prometheus): improve queue_count when tags have no more jobs 2024-11-05 00:22:06 +01:00
Alexander PetricandRuben Fiszel 776cdf8a95 feat(oauth): add snowflake oauth support (#4622)
* feat(oauth): add snowflake oauth support

* fixes

* fix keypair auth

* avoid loop when changing settings

* including account id doc link in the settings ui

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-11-04 23:35:27 +01:00