Commit 7994b3d
authored
Daemon server rust port (vercel/turborepo#4306)
### Description
This ports the daemon server to rust, leaving only run an prune in
go-land. This needs some polish but I would like to get some feedback
now. I have also added a flag for running the grpc server over http
instead, which is useful for debugging. It has support for reflection,
so can be used via postman or grpcurl.
For code reviews, it should be ok to go in commit-order.
Outstanding parts:
- [x] incomplete tests in glob watch
- [x] error handling for watch errors
- [ ] logging / log rotation
Out of scope (for now):
- startup performance pass
### Testing Instructions
This is a drop-in replacement for the go server, so `turbo run` in any
repo should work identically.1 parent e1b0543 commit 7994b3d
File tree
8 files changed
+765
-97
lines changed- crates
- glob-match
- benches
- src
- globwatch
- examples
- src
- pidlock
- src
8 files changed
+765
-97
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
0 commit comments