Commit Graph

48 Commits

Author SHA1 Message Date
Ruben Fiszel aa6bf4027f fix base_internal_url 2023-11-20 02:03:41 +01:00
Ruben Fiszel fa3efd3f60 fix: handle console logs in dedicated workers 2023-11-11 13:39:06 +01:00
Ruben Fiszel b9e41d066d fix: support digit prefixed script in python 2023-11-10 20:51:28 +01:00
Ruben Fiszel 4661dd2cea feat: exit dedicated worker upon new deployment 2023-11-10 20:41:43 +01:00
Guillaume Bouvignies 0d846b310d fix: Pythong script in dedicated worker fails with more than 1 arg (#2588) 2023-11-08 10:08:42 +01:00
Guillaume Bouvignies 83f9ef34e6 feat: Add toggle to optionally mute error handler for cancelled jobs (#2567)
* fix: Fix canceled flag in completed_job table

* Add toggle to workspace settings
2023-11-06 18:24:51 +01:00
Ruben Fiszel b8883481f4 feat: refactor metrics and add performance debug metrics (#2520)
* all

* feat: add debug metrics
2023-10-27 21:00:28 +02:00
Ruben Fiszel 39f30785a0 feat: dedicated worker for python (#2492)
* update

* all
2023-10-23 20:21:16 +02:00
Ruben Fiszel cef2949497 fix: allow superadmin to run inline scripts in repo they are not part of 2023-10-21 14:48:51 +02:00
Ruben Fiszel 656cb83d6b fix: fix app reactivity 2023-10-21 14:33:07 +02:00
Ruben Fiszel 9314d38bf1 feat: refactor entirely json processing in favor or rawjson to handle larger payloads (#2446)
* raw json

* raw json

* raw json

* raw json

* the big rawjson rewrite

* resolve merge conflicts

* all

* progress

* progress

* all compile

* remove mut

* remove mut

* remove mut

* arc queuedjob

* finish

* finish

* finish

* fixes

* progress

* fix result

* small fixes

* small fixes

* fix tests

* fix tests

* fix tests

* optimize eval timeout

* optimize eval timeout

* optimize eval timeout

* handle big args and result in get jobs

* improve args

* fix

* fix

* fix tests

* fix tests

* done

* add bigquery to native picker

* add bigquery

---------

Co-authored-by: gbouv <guillaume@windmill.dev>
2023-10-16 10:46:55 +02:00
Guillaume Bouvignies e960efb499 Better error when executable not found (#2407)
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-10-09 18:06:05 +02:00
Ruben Fiszel 2c9ae41706 feat: manage cache and init scripts from worker group UI (#2396)
* cache & inits

* cache & inits

* cache & inits

* all

* fix tests

* improve
2023-10-05 19:42:15 +02:00
HugoCasa e7165f3357 fix: add reserved variables in args (#2371)
* fix: add reserved variables in args

* fix: only get job when necessary
2023-10-03 18:14:37 +02:00
Ruben Fiszel c42b8750f1 feat: add npm_config_registry support for bun, deno and being settable from UI (#2373)
* foo

* foo

* npm config
2023-10-02 14:45:29 +02:00
Ruben Fiszel f40bbba519 feat: attempt to SIGTERM before SIGKILL for bash 2023-09-11 18:55:19 +02:00
Ruben Fiszel 75a149009a fix: pass TZ from env to runtimes 2023-09-07 12:20:29 +02:00
Ruben Fiszel b35ffd435d fix: fix datetime handling for python 2023-09-03 11:19:22 +02:00
Ruben Fiszel 9efca50541 refactor worker-common 2023-08-20 16:44:22 +02:00
Ruben Fiszel da036b2a19 refactor workers 2023-08-20 15:58:43 +02:00
Ruben Fiszel 4c870272d4 feat: add step's custom timeout 2023-07-30 20:42:24 +02:00
Ruben Fiszel c22d2b91a1 feat: use flock to avoid concurrency issues on pip and shared volume 2023-07-26 20:17:26 +02:00
Ruben Fiszel d91ac5c77b initial python imports relative dependency resolver 2023-07-26 17:33:46 +02:00
Ruben Fiszel a48edf435f fix: handle pip requirements to git commits 2023-07-20 08:32:44 +02:00
Ruben Fiszel da1d065014 fix forking workspace scripts on app incorrect path 2023-07-13 11:25:06 +02:00
Ruben Fiszel 5b7c7965e5 fix: fix go and py resolution cache overlap 2023-07-05 11:50:19 +02:00
Ruben Fiszel 4beba96724 select + drawer fix + explicit hash 2023-07-05 10:01:07 +02:00
Ruben Fiszel 54c6aed31c fix: fix go and python cache resolution conflict 2023-07-05 00:43:17 +02:00
Ruben Fiszel cfc7857e6c remove warnings 2023-06-29 12:42:09 +02:00
Ruben Fiszel ebb631190d fix: pip install repsect proxy settings 2023-06-10 22:02:21 +02:00
Ruben Fiszel b6a037aa04 fix: add NO_PROXY and make pip respect proxy args 2023-06-09 21:46:56 +02:00
Ruben Fiszel 67b3b0635b fix: add support for http_proxy and https_proxy 2023-06-09 19:14:02 +02:00
Ruben Fiszel 9cd73ab32b fix: be more specific about replacing nan in python deser 2023-06-09 08:40:58 +02:00
Ruben Fiszel 5bdf7171e6 migrate all jsonschema parser to wasms 2023-06-06 10:52:04 +02:00
Ruben Fiszel 98e1fdd898 feat: support custom env variables (#1675)
* custom envs

* feat: custom envs

* only on non cloud

* remove unecessary imports
2023-06-05 17:42:57 +02:00
Ruben Fiszel 3e19be1003 fix(python): fix python execution 2023-05-24 18:43:32 +02:00
Ruben Fiszel de4042e9dc fix(python): handle nan 2023-05-23 18:36:59 +02:00
Ruben Fiszel 632be3b8fb feat: expose a react sdk to integrate windmill into react apps (#1605)
* expose react sdk

* expose react sdk

* iterate

* iterate

* iterate

* nit

* update example

* update example

* small fixes

* update all
2023-05-19 20:44:07 +02:00
Ruben Fiszel 6b5ceed652 feat(backend): in python, if a value is bytes, it is encoded to base64 automaticaly 2023-05-09 09:36:07 +02:00
Ruben Fiszel 2a958a9d1d fix default value in python 2023-05-05 10:03:28 +02:00
Ruben Fiszel 8791a86a93 feat(backend): default parameters are used in python if missing from args 2023-05-05 09:44:53 +02:00
Ruben Fiszel a07e3e8438 fix(backend): fix python transformers 2023-05-03 23:27:14 +02:00
Ruben Fiszel 670ba51d9b feat(backend): workers are instantly ready and sync with global cache in background 2023-04-21 09:45:25 +02:00
Ruben Fiszel 369dd0dac6 feat(backend): global cache refactor for pip using tar for each dependency (#1443)
* cache refactor

* exclude tar from being synced to bucket

* run

* update

* update
2023-04-20 20:05:12 +02:00
Ruben Fiszel 7f886a673b fix python install on save with nsjail 2023-04-20 10:33:11 +02:00
Ruben Fiszel 6954d0882e log how much time took each command child 2023-04-18 08:55:26 +02:00
Ruben Fiszel cb7e686dd9 feat(backend): install python scripts on save 2023-04-13 22:57:53 +02:00
Ruben Fiszel 34f48aa1e3 split worker.rs into more files 2023-04-13 17:44:47 +02:00