Philipp Oppermann
94b1d02ca7
Wip
1 year ago
Philipp Oppermann
0abd3a0280
Wip
1 year ago
Philipp Oppermann
83baae6ccb
Wip
1 year ago
Philipp Oppermann
b22e8a1411
Wip
1 year ago
Philipp Oppermann
1d55ffb6b5
Wip
1 year ago
Philipp Oppermann
c7473182ad
Wip
1 year ago
Philipp Oppermann
ed224d62e7
Wip
1 year ago
Philipp Oppermann
baa163f335
Wip
1 year ago
Philipp Oppermann
effff21173
Wip
1 year ago
Philipp Oppermann
95709b44b4
Refactor spawn result recording to fix `WaitForSpawnResult` handling
1 year ago
Philipp Oppermann
c9a720d7ae
Error if coordinator doesn't reply properly
Instead of sending `CoordinatorStopped`.
This should make it easier to debug when a reply is not sent as expected.
1 year ago
Philipp Oppermann
90733aabeb
Send build output to CLI
The coordinator now sends an immediate `DataflowStartTriggered` reply when receiving a `DataflowStart` command. This enables the CLI to directly attach to the dataflow and observe the build output.
To wait until the build/spawning is done, this commit introduces a new `WaitForSpawn` command, to which the coordinator replies with a `DataflowSpawned` message once the node has been started. We use this command for the `dora build` command.
1 year ago
Philipp Oppermann
bcb861932c
Make `dora build` command behave like `dora start` without spawning
Instead of running all the build commands directly, run them on their intended target machines through the coordinator.
This commit is a breaking change because a coordinator connection is now required for `dora build`.
1 year ago
Philipp Oppermann
20a1ade6ad
Only use event kind in latency warning (instead of debug output)
Avoid performance overhead.
Add comments on why we check the handling time.
1 year ago
Philipp Oppermann
740ca7494a
Remove unused function
1 year ago
Philipp Oppermann
49b87daeae
Handle dataflow spawn asynchronously in coordinator too
1 year ago
Philipp Oppermann
63c548991f
Warn if event handling takes too long in daemon or coordinator
1 year ago
Philipp Oppermann
e7c8048bf9
Finish coordinator connection in all error cases
Still log unexpected errors
1 year ago
Philipp Oppermann
a21510ff54
Finish coordinator connection in more error cases
1 year ago
Philipp Oppermann
a692c2ee5b
Log in coordinator when dataflow is finished
1 year ago
Philipp Oppermann
68d09a1c0c
Merge branch 'main' into zenoh-daemon
1 year ago
haixuantao
961a1dcb79
Add `uv` within start cli command
1 year ago
Philipp Oppermann
faf6e3ef7c
Error on daemon registration if machine ID is not unique
1 year ago
Philipp Oppermann
b2af5a0af0
Properly disconnect daemons that exited in coordinator
Send an exit message from the daemon to the coordinator on exit. This enables the coordinator to disconnect the daemon properly instead of waiting for a missed heartbeat signal.
1 year ago
Philipp Oppermann
b569474c75
Remove commented-out check
1 year ago
Philipp Oppermann
3fb11ee7d8
Fix typos: deamon -> daemon
1 year ago
Philipp Oppermann
0db2fff2e9
Merge branch 'main' into zenoh-daemon
1 year ago
Philipp Oppermann
2527ba6ff3
Improve log output
1 year ago
Philipp Oppermann
1c3c71b867
Log when sending AllNodesReady message
1 year ago
Philipp Oppermann
d5307b9acb
Don't check dataflow in coordinator
1 year ago
Philipp Oppermann
fc401b0f62
Rework default daemon selection
1 year ago
Philipp Oppermann
0f3c0fb2fe
Assign unique ID to each daemon
The previous machine ID is still used, but optional. Users don't need to ensure that the chosen machine IDs are unique anymore because they are augmented with a UUID.
1 year ago
Philipp Oppermann
5f4902d15d
Report error context from coordinator to CLI
1 year ago
Philipp Oppermann
8b3be226e5
Use `zenoh` for inter-daemon messaging
1 year ago
haixuantao
28af216c8f
Add uv flag to enable build and run through uv run and uv pip
1 year ago
Philipp Oppermann
7c44e7a2e6
Move more types from `dora-core` to `dora-message` to avoid dependency
Make `dora-message` a dependency of `dora-core`, instead of the other way around. This way, we can continue to freely bump the version of `dora-core` with the other workspace crates, without introducing errors such as #708 .
1 year ago
Philipp Oppermann
3d6360ddab
Fix dora list listing twice a stopping dataflow when using multiple daemon. ( #668 )
Previously, When a daemon stop it sends a message to the coordinator
which will log it as an archived dataflow even though not every daemon
has stopped within the dataflow.
This PR should fix this issue.
1 year ago
haixuanTao
07ed728a45
Remove dataflow from appearing twice within `dora list` when stopping
1 year ago
haixuanTao
768241cfd1
Fix error hanged coordinator when failing to connect or get a response from the daemon, that can happen when the daemon unexpectedly stop working.
1 year ago
Enzo Le Van
232d72a623
Coordinator stopped on bad control command ( #650 )
* fix issue and more
1 year ago
Michael-J-Ward
011d610703
rustfmt
1 year ago
Michael-J-Ward
18e4620e55
apply clippy refactoring for idiomatic insert-if-not-present
1 year ago
Michael-J-Ward
15bbacc3d9
fix clippy lints in binaries
1 year ago
Philipp Oppermann
6a3dcecf33
Refactor: Move message definitions to `dora-message` crate
First step towards versioning the message definitions indepedently.
2 years ago
Philipp Oppermann
4e2d85e3b0
Fix or silence clippy warnings
2 years ago
Philipp Oppermann
a29189a040
Close log subscribers that cannot keep up
We need to avoid blocking the coordinator for too long.
2 years ago
Philipp Oppermann
1f32b29afe
Close log subscriber connection if send fails (instead of erroring)
2 years ago
Philipp Oppermann
2d0f0dcf5e
Merge branch 'main' into error-logging
2 years ago
Philipp Oppermann
2680e61404
Change default log level to info and consider `RUST_LOG`
Allows to override the log level through the `RUST_LOG` env variable.
2 years ago
Philipp Oppermann
e90ffd0b7f
Merge branch 'main' into list-failed-dataflows
2 years ago