Meng Zhang
5c52a71f77
refactor: extract ServiceLocator interface ( #933 )
...
* refactor: cleanup the dependency chain - ServerContext should be the only thing being public in server mod
* refactor ServiceLocator
* refactor: extract worker.rs
* refactor: move db as private repo of server
* rename server -> service
2023-12-01 22:16:59 +08:00
Meng Zhang
3bd3a3304d
feat: implement worker unregistration ( #872 )
...
* feat: implement worker unregisteration logic
* refactor: rename HubError -> RegisterWorkerError
2023-11-23 06:22:04 +00:00
Meng Zhang
a12f741565
feat: use remote code search in workers ( #833 )
...
* refactor: lift tabby::api::code to tabby_common::api::code
* feat: use remote code search in workers
* update
* handle errors
2023-11-18 23:45:00 +00:00
Meng Zhang
b862d9d100
feat: support worker events logging ( #831 )
...
* refactor: lift tabby::api::event to tabby_common::api::event
* feat: allow worker write logs to webserver::api::Hub service
* refactor: implement RawEventLogger on HubClient directly
* fix: build context in request's scope
2023-11-18 23:17:54 +00:00
Eric
ce338c7436
feat: validate token during worker registration ( #803 )
...
* feat: validate token during worker registration
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* resolve comments
* reslove comments
* format file, update schema file
* resolve comment
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-16 23:05:39 -08:00
Meng Zhang
618009373b
refactor: use tarpc for easier worker <-> hub communication ( #781 )
...
* temp
* generic
* adapt client
* rename to api
* Revert "rename to api"
This reverts commit 8a51b24fecd76a78e6df576ec51605b8d8418975.
* refactor: remove uselss mutation
* remove useless connection
* cleanup api structure
* restructure
* add webserver api error
* webserver.rs -> server.rs
* rename service to Hub
* update schema
* update naming
* shrink features
* update
* mv worker.rs -> server/worker.rs
2023-11-14 12:48:20 -08:00