Philipp Oppermann
d610140e68
Refactor dora library: Add `DoraConnection` struct
1 year ago
chang xu
bccb1ae27d
Add domain unix socket supports ( #594 )
1 year ago
Philipp Oppermann
b570cc314d
Remove some extra newlines in error message
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
12049c4039
Fix: Add `DataflowDaemonResult::is_ok` method
1 year ago
Philipp Oppermann
e90ffd0b7f
Merge branch 'main' into list-failed-dataflows
1 year ago
Philipp Oppermann
5bda3338af
Only add `[...]` omission marker if stderr buffer is full
1 year ago
Philipp Oppermann
ece3f72a39
Shorten grace duration error message to one line
1 year ago
Philipp Oppermann
ee394361e9
Add error cause for grace duration kills
1 year ago
Philipp Oppermann
24e6c9c30a
Add space
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
252746a203
Fix: Move ellipsis marker to the beginning of the stderr output
1 year ago
Philipp Oppermann
262f39fb98
Refactor: Report dataflow list as one `Vec`
1 year ago
Philipp Oppermann
94fecd61c5
Print all non-cascading errors (instead of only first one)
1 year ago
Philipp Oppermann
43b128f67a
Print lines before and after stderr for easier readability
1 year ago
Philipp Oppermann
72bc9cd74e
Print error causes and include node that caused error
1 year ago
Philipp Oppermann
ba865638dd
Print errors as formatted string
1 year ago
Philipp Oppermann
9425e4a540
Merge branch 'main' into better-errors
1 year ago
Philipp Oppermann
8056c23db7
List failed and finished dataflows in `dora list`
1 year ago
Haixuan Xavier Tao
f34cbe2ffc
Merge pull request #517 from dora-rs/detached-python-process
Run dynamic node
1 year ago
Philipp Oppermann
3019eba371
Print only first node error and report more metadata in dataflow results
Allows us to mark certain node errors as cascading, which will deprioritize them when printed.
Also updates the error printing code to only print the error that happened first.
1 year 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
1 year ago
haixuanTao
a0a95b730c
Rename dynamic node listener -> local listener
1 year ago
haixuanTao
3ad402ce45
Add dynamic node event loop and dynamic node connection
1 year ago
Philipp Oppermann
80671c8133
Add more details when dropping node inputs
1 year ago
Philipp Oppermann
2ccba2b953
Allow setting custom control port in coordinator
1 year ago
Haixuan Xavier Tao
f50478b1a7
Merge pull request #513 from Gege-Wang/multiple-daemon
Make dora cli connect to remote coordinator
1 year ago
Gege-Wang
49e6994cda
fix: add dora coordinator control port
1 year ago
Philipp Oppermann
73648603f5
Regenerate dataflow JSON schemas
1 year ago
Philipp Oppermann
29bdc49455
Merge `env` and `envs` fields
As discussed in https://github.com/dora-rs/dora/pull/478#discussion_r1610005764
1 year 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.
1 year 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.
1 year ago
haixuanTao
31aea47cf3
Fix typo in json schema links
1 year ago
Philipp Oppermann
ef214d1689
Merge pull request #497 from dora-rs/json-schemas
Json schemas for VSCode YAML Support
1 year ago
haixuanTao
6e7826aee2
Fix typo in documentation
1 year ago
haixuanTao
73ff6a08e1
Add schemars skip on unstable features
1 year ago
haixuanTao
1b35346f24
Add documentation about additional property fix
1 year ago
haixuanTao
558fa14907
Add a readme in getting started with VSCode YAML Support
1 year ago
haixuanTao
d15bb61b1f
Adding documentation to the yaml description
1 year ago
haixuanTao
83779045e6
Add schema generator
1 year ago
haixuanTao
8a210637f9
Adding `schemars` to generate json schema for vscode yaml autocompletion
1 year ago
Haixuan Xavier Tao
d6f13d08bd
Merge pull request #493 from dora-rs/python-ide-linting
Adding python IDE typing
1 year ago
haixuanTao
b9f67a2855
Add grace duration and kill process
1 year ago
haixuanTao
4adc0889ba
Adding python IDE typing
1 year ago
Michael-J-Ward
dfe298eb1e
lint: fix clippy lints
1 year 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).
1 year 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()"
```
1 year ago