Yong He
cede796088
Update License / copyright section
2 years ago
Weijun Lee
56012d62dd
Update LICENSE ( #186 )
Edit line 189: Copyright [2022] [Futurewei Technologies Inc.]
2 years ago
Philipp Oppermann
dd5177eb0e
Merge pull request #183 from dora-rs/manage-node-failure
Manage node failure: Await all nodes to finish before marking dataflow as finished
2 years ago
Philipp Oppermann
b910951bfa
Merge pull request #182 from dora-rs/refactor/template_python
Use `DoraStatus` from dora library in template
2 years ago
haixuanTao
933dadc68b
Expand `env` value when possible
This commit enables users to pass environment variable as composition
of env variable such as:
```yaml
- id: yolov5
operator:
outputs:
- bbox
- ready
inputs:
image: oasis_agent/image
check: oasis_agent/yolov5_check
python: ../../operators/yolov5_op.py
env:
YOLOV5_PATH: $HOME/Documents/dependencies/yolov5
YOLOV5_WEIGHT_PATH: $DORA_DEP_HOME/dependencies/yolov5/yolov5n.pt
```
Note that this is only for the env field. Expanding env variable for
source path might conflict with using url as source path.
2 years ago
haixuanTao
917303f948
Await all nodes to finish before marking dataflow as finished
Previouly, if one node failed we would immidiately mark the dataflow as
finished even though other nodes might still be running.
This meant that if one node failed, it would not be possible to stop the
dataflow through the cli as it is marked as finished.
This commit will just warn the user that one node failed but will keep
await that all nodes within the dataflow finishes.
2 years ago
haixuanTao
c0f25ea4be
Fix typo in dataflow template for yaml creation
2 years ago
haixuanTao
ce77e17d8b
Use `DoraStatus` from dora library in template
2 years ago
Philipp Oppermann
40b715e677
Merge pull request #181 from dora-rs/dependabot/cargo/tokio-1.24.2
Bump tokio from 1.23.1 to 1.24.2
3 years ago
dependabot[bot]
b74a524031
Bump tokio from 1.23.1 to 1.24.2
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.23.1 to 1.24.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Philipp Oppermann
1e61f573ec
Merge pull request #177 from dora-rs/dependabot/cargo/bumpalo-3.12.0
Bump bumpalo from 3.9.1 to 3.12.0
3 years ago
dependabot[bot]
e7d7718ef4
Bump bumpalo from 3.9.1 to 3.12.0
Bumps [bumpalo](https://github.com/fitzgen/bumpalo ) from 3.9.1 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases )
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.9.1...3.12.0 )
---
updated-dependencies:
- dependency-name: bumpalo
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Philipp Oppermann
6d70a505eb
Merge pull request #176 from dora-rs/dependabot/cargo/webbrowser-0.8.3
Bump webbrowser from 0.8.0 to 0.8.3
3 years ago
dependabot[bot]
f76071205f
Bump webbrowser from 0.8.0 to 0.8.3
Bumps [webbrowser](https://github.com/amodm/webbrowser-rs ) from 0.8.0 to 0.8.3.
- [Release notes](https://github.com/amodm/webbrowser-rs/releases )
- [Changelog](https://github.com/amodm/webbrowser-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/amodm/webbrowser-rs/compare/v0.8.0...v0.8.3 )
---
updated-dependencies:
- dependency-name: webbrowser
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
haixuantao
0043891640
Update Changelog
3 years ago
haixuantao
1beb2e80c0
prefix version with a v
3 years ago
haixuantao
4ee2659474
Update `[workspace.dependencies]` version and template version
3 years ago
=
6f64298484
Release dora-rs version 0.1.3
3 years ago
Philipp Oppermann
5ce7118ff1
Merge pull request #174 from dora-rs/changelog
Create a changelog file
3 years ago
Philipp Oppermann
531052439b
Create a changelog file
3 years ago
=
f1dcdf27ff
fix typo
3 years ago
haixuanTao
9f66ac1706
Remove self defined `DoraStatus` in example
3 years ago
haixuanTao
160472ee0c
Package `DoraStatus` into dora python package.
To prepare for future feature, this commit initiate a `__init__.py` file
that makes the dora python node api, a mixed python/rust project.
Any python function or variable included in the `__init__.py` will be
distributed along rust function declared in `src/lib.rs`.
https://github.com/dora-rs/dora/issues/163 has shown the limitation on
depending too much on `pyo3`.
3 years ago
haixuanTao
a841577e10
add documentation of scoped unsage `GILPool`
3 years ago
haixuanTao
d45f9373fd
Use `py.new_pool()` to bound pyo3 variable
To alievate the unbounded memory growth, we're replacing variable dereferencing
with scoped `GILPool` as described in the pyo3 documentation recently updated. See:
https://github.com/PyO3/pyo3/pull/2864
3 years ago
haixuanTao
5ad69cda87
Update requirements and fix `malloc` in plot
3 years ago
haixuanTao
71078bd9f2
Force removal of Pyo3 Object to avoid memory leak
This commit fix the memory leak happening in the dora API operator. This
is seemingly due to pyo3 leaking memory on object created in Rust.
Using standard `drop` did not drop the memory on the `PyBytes` included in
the `PyDict`.
See: https://github.com/PyO3/pyo3/issues/1801
Fixes https://github.com/dora-rs/dora/issues/163
3 years ago
Philipp Oppermann
f6008f432d
Merge pull request #171 from dora-rs/dependabot/cargo/tokio-1.23.1
Bump tokio from 1.21.2 to 1.23.1
3 years ago
dependabot[bot]
ae161e644c
Bump tokio from 1.21.2 to 1.23.1
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.21.2 to 1.23.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.2...tokio-1.23.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Haixuan Xavier Tao
55605c73b1
Rename task in CI
Co-authored-by: Philipp Oppermann <dev@phil-opp.com>
3 years ago
haixuanTao
68c689094a
Change folder of process
3 years ago
haixuanTao
100a4396b7
use cargo install to fix path issue in GH runner
3 years ago
haixuanTao
a01be88a7c
Remove dora check
3 years ago
haixuanTao
05eca0c8ab
Removing `up` command due to path issues
3 years ago
haixuanTao
e4fc0a8a6b
Improve CI/CD by checking the CLI commands
This commit improve the CI/CD by testing the newly added CLI commands:
- `up`
- `list`
- `check`
- `destroy`
- `start`
- `stop`
This commit also removes not needed anymore capnp dependencies to simplify
the CI.
Use python as source for `python` example
add binaries to `$GITHUB_PATH`
Add up command in test
Remove not necessary change
Add CLI start and stop test
Add removed iceoryx test
3 years ago
haixuanTao
cf16734aa2
Minor documentation update
3 years ago
haixuanTao
15e42c19ae
Bumping dora version
3 years ago
haixuanTao
01f85ca7cb
Use generic linux version when distributing dora
3 years ago
Philipp Oppermann
d3914cca60
Merge pull request #157 from dora-rs/release
Simplify release process
3 years ago
Philipp Oppermann
33c4cc0b60
Fix: enable required node-api features for examples
3 years ago
dependabot[bot]
2ba6b1c41c
Bump capnp from 0.14.9 to 0.14.11 ( #158 )
Bumps [capnp](https://github.com/capnproto/capnproto-rust ) from 0.14.9 to 0.14.11.
- [Release notes](https://github.com/capnproto/capnproto-rust/releases )
- [Commits](https://github.com/capnproto/capnproto-rust/compare/capnp-v0.14.9...capnp-v0.14.11 )
---
updated-dependencies:
- dependency-name: capnp
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Philipp Oppermann
ce4fd8b027
Set dora subcrate dependencies as workspace dependencies
3 years ago
Philipp Oppermann
d8260d5d2c
Inherit package version from workspace root
This way, we don't need to update the version manually in all sub-crates on every release.
3 years ago
Philipp Oppermann
182206b737
Merge pull request #155 from dora-rs/fix-cpu-usage
Fix high CPU usage in coordinator by properly handling closed connections
3 years ago
Philipp Oppermann
7ce86a3cfb
Log received control events
3 years ago
Philipp Oppermann
00e6bb8192
Fix high CPU usage in coordinator by properly handling closed connections
We forgot to handle closed control connections in the `handle_requests` loop. So instead of breaking out of that loop, we continued polling the connection for new messages again and again.
3 years ago
Xavier Tao
d9efa6791b
Merge pull request #153 from dora-rs/release-v0.1.1
Release v0.1.1
3 years ago
haixuanTao
222cb80b54
change version name to be able to republish package in pypi
3 years ago
haixuanTao
0fd38ceedd
Remove windows and macOS as they are not well supported
3 years ago
haixuanTao
35b70f0e3b
Add warning about low support of MacOS and Windows
3 years ago