haixuanTao
9ae7467f95
Make pip-release workflow release cli as well
1 year ago
Haixuan Xavier Tao
a254d7007c
Enable multiline build for better packaging of dora node. ( #683 )
It is necessary to make build multiline in order to build certain node.
This allow users to do the following:
```bash
nodes:
- id: dora-microphone
build: |
pip install -e ../../node-hub/dora-microphones
pip install -e ../../node-hub/dora-vad
path: dora-microphone
```
or
```bash
nodes:
- id: dora-microphone
build: |
sudo apt install abc
pip install bar
path: dora-microphone
```
1 year ago
haixuanTao
c30d9cda91
Enable multi-line build for more explicit packaging
1 year ago
haixuanTao
b494a47d85
use `download_file` when calling build or start for a url dataflow
1 year ago
Haixuan Xavier Tao
54d1bc52be
Fix hanged coordinator when failing to connect to the daemon on destroy command ( #664 )
This PR fixes one error that happen when the coordinator fail to connect
to the daemon and ultimately hangs indefinetely.
## To reproduce previous behaviour:
```bash
dora up
kill <DAEMON PID> && dora destroy
dora destroy # <- This hangs
```
Fix: https://github.com/dora-rs/dora/issues/253
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
haixuanTao
25666ce342
Remove cli dataflow path check as it is too hard to manage with multiple daemon and remote coordinator
1 year ago
haixuanTao
e0e2c56433
use long version for port to avoid conflict
1 year ago
haixuanTao
1855800fec
fix multi daemon example
1 year ago
haixuanTao
3fec093c6b
Split coordinator addr and coordinator port to make using the daemon connection easier to remember
1 year ago
haixuanTao
bda9545a99
shorten coordinator addr for faster remote connection.
## Before
dora daemon --coordinator-addr 127.0.0.1:53290
dora daemon -c 127.0.0.1:53290
1 year ago
Haixuan Xavier Tao
e823ecc43e
Raise error if dora-coordinator is not connected when calling `dora destroy` ( #655 )
When checking the CI:
https://github.com/dora-rs/dora/actions/runs/10806599829/job/29975721567
It appears that trying to destroy a coordinator that is not connected
does not raise an error. This makes it hard to debug as we do not catch
early stopping of the coordinator in that case.
1 year ago
haixuanTao
d010c9d61a
Raise error if dora-coordinator is not connected when calling `dora destroy`
1 year ago
haixuanTao
0ca209a106
Fix not-null terminated string print within C template
1 year ago
XxChang
3db6744e36
fix typo
1 year ago
XxChang
6be57ab920
changes to template
1 year ago
Philipp Oppermann
8e8034d103
Set `repository` metadata for all our crates
1 year ago
Philipp Oppermann
6a3dcecf33
Refactor: Move message definitions to `dora-message` crate
First step towards versioning the message definitions indepedently.
1 year ago
XxChang
1f23470d8b
minor
1 year ago
Philipp Oppermann
4e2d85e3b0
Fix or silence clippy warnings
1 year ago
Philipp Oppermann
2d0f0dcf5e
Merge branch 'main' into error-logging
1 year ago
Philipp Oppermann
1aaf5ef1a2
Improve log output
1 year 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.
1 year ago
Philipp Oppermann
e90ffd0b7f
Merge branch 'main' into list-failed-dataflows
1 year ago
Philipp Oppermann
8d2d88c69d
Merge pull request #561 from dora-rs/attach-as-default
Make `dora start` attach by default, add `--detach` to opt-out
1 year ago
Philipp Oppermann
f91c9e44b2
Make `dora start` attach by default, add `--detach` to opt-out
1 year ago
Philipp Oppermann
2e0419b100
Add basic log forwarding from daemon to CLI
Forwarded by coordinator
1 year ago
Philipp Oppermann
361ea27485
Slightly tweak error printing
1 year ago
Philipp Oppermann
4fb5a96390
Use `handle_dataflow_result for attach too
1 year ago
Philipp Oppermann
0423155b54
Refactor: move dataflow result handling to a separate function
1 year ago
Philipp Oppermann
a0e8fff411
Include dataflow UUID in error message
Co-authored-by: Haixuan Xavier Tao <tao.xavier@outlook.com>
1 year ago
Philipp Oppermann
d2e2eef99e
Slightly adjust how status is printed
1 year ago
Philipp Oppermann
262f39fb98
Refactor: Report dataflow list as one `Vec`
1 year ago
Philipp Oppermann
cdb3123fa8
Format dora list output as table
1 year ago
Philipp Oppermann
5a210b688f
Merge branch 'main' into better-errors
1 year ago
Philipp Oppermann
450002ed92
Fix number of consequential errors and improve message
1 year ago
Philipp Oppermann
94fecd61c5
Print all non-cascading errors (instead of only first one)
1 year ago
XxChang
2488d0916c
fix event_as_input bug
1 year ago
XxChang
7cca18f726
minor
1 year ago
XxChang
7e9c589e56
resolve suggestion
1 year ago
Philipp Oppermann
9425e4a540
Merge branch 'main' into better-errors
1 year ago
XxChang
60b86fdfad
resolve suggestion
1 year ago
XxChang
02c5228756
resolve suggestion
1 year ago
XxChang
f6816e60c7
fix review
1 year ago
Philipp Oppermann
8056c23db7
List failed and finished dataflows in `dora list`
1 year ago
XxChang
d9ed1dc251
Merge branch 'main' of https://github.com/dora-rs/dora into update_dora_new
1 year ago
Haixuan Xavier Tao
f34cbe2ffc
Merge pull request #517 from dora-rs/detached-python-process
Run dynamic node
1 year ago
XxChang
818886c4ce
add internal-create-with-path-dependence flag to c/cxx
1 year ago
XxChang
b4c6e12f45
add c template test
1 year ago
XxChang
51695b2e89
add c template
1 year ago