Philipp Oppermann
262f39fb98
Refactor: Report dataflow list as one `Vec`
2 years ago
Philipp Oppermann
8056c23db7
List failed and finished dataflows in `dora list`
2 years ago
Haixuan Xavier Tao
f34cbe2ffc
Merge pull request #517 from dora-rs/detached-python-process
Run dynamic node
2 years ago
chang xu
799a3a6363
Refuse relative path for remote in coordinator ( #538 )
* refuse pass relative path to remote daemon
* add local ip checker in dora start
* delete some additional packages on CI to make enough space available
* add coodinator_is_remote argument
2 years ago
haixuanTao
a0a95b730c
Rename dynamic node listener -> local listener
2 years ago
haixuanTao
3ad402ce45
Add dynamic node event loop and dynamic node connection
2 years ago
Philipp Oppermann
80671c8133
Add more details when dropping node inputs
2 years ago
Philipp Oppermann
2ccba2b953
Allow setting custom control port in coordinator
2 years ago
Haixuan Xavier Tao
f50478b1a7
Merge pull request #513 from Gege-Wang/multiple-daemon
Make dora cli connect to remote coordinator
2 years ago
Gege-Wang
49e6994cda
fix: add dora coordinator control port
2 years ago
Philipp Oppermann
29bdc49455
Merge `env` and `envs` fields
As discussed in https://github.com/dora-rs/dora/pull/478#discussion_r1610005764
2 years ago
Philipp Oppermann
7eccab94f7
Allow declaring node fields at top level to reduce nesting
We want to treat the nodes like custom nodes in this case since we plan to deprecate operators.
2 years ago
Philipp Oppermann
22ba6e02a5
Adjust dataflow node parsing to be more flexible
We plan to (soft-)remove operators and simplify the dataflow YAML file by removing the additional nesting caused by the `custom` field. This commit prepares for that. See #474 for context.
2 years ago
Philipp Oppermann
ef214d1689
Merge pull request #497 from dora-rs/json-schemas
Json schemas for VSCode YAML Support
2 years ago
haixuanTao
6e7826aee2
Fix typo in documentation
2 years ago
haixuanTao
73ff6a08e1
Add schemars skip on unstable features
2 years ago
haixuanTao
1b35346f24
Add documentation about additional property fix
2 years ago
haixuanTao
558fa14907
Add a readme in getting started with VSCode YAML Support
2 years ago
haixuanTao
d15bb61b1f
Adding documentation to the yaml description
2 years ago
haixuanTao
83779045e6
Add schema generator
2 years ago
haixuanTao
8a210637f9
Adding `schemars` to generate json schema for vscode yaml autocompletion
2 years ago
Haixuan Xavier Tao
d6f13d08bd
Merge pull request #493 from dora-rs/python-ide-linting
Adding python IDE typing
2 years ago
haixuanTao
b9f67a2855
Add grace duration and kill process
2 years ago
haixuanTao
4adc0889ba
Adding python IDE typing
2 years ago
Michael-J-Ward
dfe298eb1e
lint: fix clippy lints
2 years ago
Philipp Oppermann
01707fc14d
Fix: Use `peer_addr` of incoming daemon register request for listen socket
We are not interested in the local bind address of the daemon. Instead, we want to use the IP address under which the daemon is available from other machines.
This should also avoids the issue that connecting to 0.0.0.0 is not possible on Windows (we want to use 0.0.0.0 as default bind address).
2 years ago
haixuanTao
15af539729
Adding customizing `conda_env` within Python operator
This commit makes it possible to specify the conda env that we want to use in
a specific operator.
```yaml
- id: robot
operator:
python:
source: ../operators/robot.py
conda_env: robomaster
```
This will call:
```bash
conda run -n robomaster python -c "import dora; dora.start_runtime()"
```
2 years ago
Philipp Oppermann
14bb4fbfb7
Merge pull request #429 from dora-rs/out_dir
Send runs artefacts into a dedicated `out` folder
2 years ago
haixuanTao
f0db125499
Use `Uuid::v7` to have chronological Uuid
2 years ago
haixuanTao
b32a7e4924
Make `send_stdout_as` fail if there is more than one entry for a runtime node
2 years ago
haixuanTao
aa81da0142
Add possibility to send stdout for operators and add warnings when there is multiple operators
2 years ago
Philipp Oppermann
daa694ad98
Add new `send_stdout_as` key for capturing stdout of custom nodes
2 years ago
Philipp Oppermann
cb69a033f0
Wait until `DestroyResult` is sent before exiting dora-daemon
Tokio background tasks are canceled when the program exits, so we need some additional synchronization to ensure that the `DestroyResult` is actually sent out.
2 years ago
haixuanTao
afcfec81f1
Fix path by using ; instead of :
2 years ago
haixuanTao
ea1259da20
Bump which version
2 years ago
haixuanTao
82f2794916
Only use python for windows and python3 for linux
2 years ago
haixuanTao
20c02089b6
Fix Python CI on windows
2 years ago
haixuanTao
46e56da469
Uses python 3.10 that fixes an error on windows: https://github.com/actions/runner-images/issues/2690
2 years ago
haixuanTao
5616986272
Run windows program using cmd.exe to wrapped_args) to instantiate powershell. This is required for python environment
2 years ago
haixuanTao
0a60246038
Make `run` a helper function and use OsStr to search for path
2 years ago
haixuanTao
68ecf89b61
Remove explicit statement to `python3`and resolve it instead
2 years ago
haixuanTao
7aa1d615dd
Remove envapsulation of operator when there is only one operator
2 years ago
Philipp Oppermann
ad3f0482ac
Avoid alignment errors by aligning raw data on deseralization
Ensures that all raw data has at least an alignment of 128.
2 years ago
Philipp Oppermann
6140681ab9
Rename and reexport `Data` enums
Makes the distinction between raw data and data messages clearer.
2 years ago
haixuanTao
eb515c7755
Removing lifetime to the Metadata struct
3 years ago
haixuanTao
504910c350
Use `serde_bytes` to serialize `Vec<u8>`
Seializing Vec<u8> by default iterate over each element instead of copying
the byte array.
See: https://github.com/rust-lang/rust/issues/31844
3 years ago
haixuanTao
2f0300076f
Search for binaries in path when validating a dataflow
3 years ago
Philipp Oppermann
4da34d82d9
Merge branch 'main' into event-timestamps
3 years ago
Philipp Oppermann
984ee364e4
Fill in timestamps when sending events from node to daemon
3 years ago
Haixuan Xavier Tao
2e9108e894
Merge pull request #301 from dora-rs/pass-dataflow-to-nodes
Make dataflow descriptor available to Python nodes and operators
3 years ago