haixuantao
196bed3454
Add support for uv within runtime node
10 months ago
haixuantao
649902783c
Fix CI/CD
10 months ago
haixuantao
1a35193ae7
Fix dependency installation on template
10 months ago
haixuantao
222e65b3e1
Fix typo
10 months ago
haixuantao
8617357fe4
Add uv at the beginning of installation instruction
11 months ago
haixuanTao
02e1bd35dd
Make priority to use uv installed packaged
11 months ago
Philipp Oppermann
e7c8048bf9
Finish coordinator connection in all error cases
Still log unexpected errors
10 months ago
Philipp Oppermann
a21510ff54
Finish coordinator connection in more error cases
10 months ago
Philipp Oppermann
a692c2ee5b
Log in coordinator when dataflow is finished
11 months ago
Philipp Oppermann
29ce4ea7e5
Introduce logger structs to forward more log messages
11 months ago
Philipp Oppermann
ec4f229094
Forward more daemon log messages to CLI
11 months ago
haixuantao
efe0cffe9d
Remove chrono pinning
10 months ago
haixuantao
0edbcf2505
Pin chrono version
10 months ago
Philipp Oppermann
68d09a1c0c
Merge branch 'main' into zenoh-daemon
11 months ago
Philipp Oppermann
39519c5ed6
Debug: Print error kind if daemon listener spawning fails
11 months ago
haixuantao
961a1dcb79
Add `uv` within start cli command
11 months ago
Philipp Oppermann
62eebe56b4
Set default log level to INFO for coordinator and daemon
but keep zenoh log level at WARN level
11 months ago
Philipp Oppermann
faf6e3ef7c
Error on daemon registration if machine ID is not unique
11 months ago
Philipp Oppermann
8f87659b4f
Don't error if local listen port is already in use
11 months 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.
11 months ago
Philipp Oppermann
bc473f7daa
Exit daemon on ctrl-c after all dataflows are stopped
Before we only stopped all dataflows, but then kept on running.
11 months ago
Philipp Oppermann
b569474c75
Remove commented-out check
11 months ago
Philipp Oppermann
adcc4756fa
Load zenoh config from `ZENOH_CONFIG` env variable if set
11 months ago
Philipp Oppermann
3495677a22
Add config option to publish all outputs to zenoh
This can be useful for debugging
11 months ago
Philipp Oppermann
87f911a719
Fix: Calculate mapping info first, then set up subscriptions
We need to loop over the nodes twice because the subscription setup requires full mapping info. Otherwise some subscriptions might be missing when we process the target node before the source node.
11 months ago
Philipp Oppermann
92bd73d01b
Log publish and subscribe topics
11 months ago
Philipp Oppermann
3fb11ee7d8
Fix typos: deamon -> daemon
11 months ago
Philipp Oppermann
0db2fff2e9
Merge branch 'main' into zenoh-daemon
11 months ago
Philipp Oppermann
934c6c4880
Fix: Record node result when spawn fails
11 months ago
Philipp Oppermann
926e8817a2
Fix node stopping when error occurs during spawn
11 months ago
Philipp Oppermann
2527ba6ff3
Improve log output
11 months ago
Philipp Oppermann
2080b4aa86
Add more logging in daemon
11 months ago
Philipp Oppermann
1c3c71b867
Log when sending AllNodesReady message
11 months ago
Philipp Oppermann
d5307b9acb
Don't check dataflow in coordinator
11 months ago
Philipp Oppermann
33163c2fe7
Subscribe to required outputs of remote nodes when spawning dataflow
11 months ago
Philipp Oppermann
fc401b0f62
Rework default daemon selection
11 months 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.
11 months ago
Philipp Oppermann
5f4902d15d
Report error context from coordinator to CLI
11 months ago
Philipp Oppermann
8b3be226e5
Use `zenoh` for inter-daemon messaging
11 months ago
haixuantao
28af216c8f
Add uv flag to enable build and run through uv run and uv pip
11 months ago
yjhmelody
ca614753a1
chore: use workspace edition
1 year ago
Haixuan Xavier Tao
69e5cd7558
Print python stdout without buffer even for script ( #761 )
Adding ** PYTHONUNBUFFERED=1** makes python script print out to stdout
without buffering.
Previously this was fixed with a python flag but that was not called
when python was used as a script.
This resolve the previous issue.
1 year ago
haixuantao
3e2613a5cd
Use env var for unbuffered python instead of argument flag as python script does not call python interpreter with dora
1 year ago
Haixuan Xavier Tao
c10eb15f68
Use UV for the CI/CD ( #757 )
uv is an altermative to pip and offer better performance as well as
being written in Rust it makes dora ecosystem in python with ruff fully
rust based which increase the overall security and deployability of
dora.
1 year ago
haixuantao
ce3c3b23af
Refactor readme
1 year ago
haixuantao
5205102ab3
Remove poetry build system
1 year ago
haixuantao
c04a73b1a4
Make requires python 3.8 to avoid resolution issues
1 year ago
haixuantao
9e3142d086
Fix license and readme and requires-python
1 year ago
haixuantao
1f15484d0d
Remove ruff and pytest from CI/CD and makes them dev dependencies of each node
1 year ago
Haixuan Xavier Tao
9fdb0746e9
Daemon: React to ctrl-c during connection setup ( #758 )
The daemon tries to connect to the coordinator before it starts up.
During that time, it didn't listen for ctrl-c signals yet. This commit
fixes this limitation by checking for ctrl-c events during the event
stream setup too.
Alternative to https://github.com/dora-rs/dora/pull/749
1 year ago