haixuanTao
1d080a6edb
Split pip and github release
3 years ago
haixuanTao
9ec9d22620
wait for stop thread to finish before stopping runtime
3 years ago
haixuanTao
e7172bec8f
refactor debugging change
3 years ago
haixuanTao
9f0a0e6957
Fix GIL race condition
By making the stopping loop the first loop, we can avoid using `pyo3/allow_threads`, which
seems buggy.
3 years ago
haixuanTao
992b8251c2
DRAFT: Fixing Python linking error
This commit is an initial draft at fixing #147 . The error is due to the
fact that pyo3 has linked the libpython from the compilation and not
trying to use libpython that is available in `LD_LIBRARY_PATH`.
The current only solution to disable the linking is to use the `extension-module` flag.
This requires to make the python `runtime-node` packaged in a python library.
The python `runtime-node` should also be fully compatible with the other operators in case we want hybrid runtime.
The issue that i'm facing is that. Due to the packaging, I have to deal with the `GIL` that is present from the start of
`dora-runtime` node. This however makes the process single threaded wich is impossible.
So, I have to disable it, but when I do, I have a race condition:
```bash
Exception ignored in: <module 'threading' from '/usr/lib/python3.8/threading.py'>
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 1373, in _shutdown
assert tlock.locked()
AssertionError:
```
The issue is the same as https://github.com/PyO3/pyo3/issues/1274
To fix this issue, I'm going to look again at the different step to make this work.
But this is my current investigation.
3 years ago
Yong He
c9f4a1ab84
Update README.md
Add iceoryx binary to the $PATH
3 years ago
Yong He
00ed5bae81
Update README.md
fix some typos and instructions
3 years ago
Xavier Tao
86db6c007e
Implement an interactive `dora stop` command ( #143 )
3 years ago
Philipp Oppermann
bc2bfb634e
Merge branch 'request-reply-com-layer' into interactive-cli
3 years ago
Philipp Oppermann
5f86a104f6
Fix `coordinator_running` check
3 years ago
Philipp Oppermann
92af6439c4
Tweak display implementation of DataflowId
3 years ago
Philipp Oppermann
a124fb11c9
Ensure that dataflow names are unique if set
3 years ago
Philipp Oppermann
3c2a2dd6da
Allow optional naming of dataflows
3 years ago
Philipp Oppermann
7da63b89ce
Merge branch 'request-reply-com-layer' into interactive-cli
3 years ago
Philipp Oppermann
4a9a82875e
Merge pull request #126 from dora-rs/c++-templates
Implement C++ template in dora CLI
3 years ago
Philipp Oppermann
5aa39a5fef
Merge pull request #141 from dora-rs/cache_download
Use cache instead of downloading file each time
3 years ago
Haixuan Xavier Tao
8f6ed9266b
Change cache log level
3 years ago
Xavier Tao
20262c12ea
Update libraries/extensions/download/src/lib.rs
Co-authored-by: Philipp Oppermann <dev@phil-opp.com>
3 years ago
Philipp Oppermann
c9241d2930
Don't consider control channel errors as fatal
3 years ago
Philipp Oppermann
f686d3fe2a
Fix: Spawn control listener threads using `std` API
The `tokio::task::spawn_blocking` function will try to join them at the end of `main`, which hangs forever since the listener never finishes.
3 years ago
Philipp Oppermann
03d9c05eab
Use TCP-based request/reply communication layer for control messages
Use the new request/reply communcation layer and its TCP-based implementation for sending control messages from the CLI to the dora coordinator.
3 years ago
Philipp Oppermann
fc50a8232f
Create a request/reply communication layer abstraction
And a TCP-based implemenation.
3 years ago
Philipp Oppermann
94ecacdfee
Implement an interactive `dora stop` command
Queries the list of running dataflows from the coordinator and prompts the user to choose one.
3 years ago
Philipp Oppermann
63c404a1af
Create a C++ dataflow template
3 years ago
Philipp Oppermann
ffa490cc8f
Implement C++ template in dora CLI
3 years ago
Philipp Oppermann
17ea34f295
Merge pull request #142 from dora-rs/ci
CI: Switch Rust problem matcher back to upstream
3 years ago
Philipp Oppermann
6985950751
Update Rust problem matcher to v1.1.0
3 years ago
Philipp Oppermann
5de3a90138
Revert "Temporarily replace problem matchers with fork to avoid warning"
This reverts commit e5a825b11f .
3 years ago
Philipp Oppermann
8e64c60105
Merge pull request #121 from dora-rs/c++-operator-api
Implement a C++ operator API
3 years ago
Philipp Oppermann
7325fc13f8
Merge pull request #140 from dora-rs/ci-update
CI: Set up caching and update actions to fix deprecation warnings
3 years ago
haixuanTao
399f1dcfad
Use cache instead of downloading file each time
This is particularly useful if internet is down.
3 years ago
Philipp Oppermann
78c24616dd
Enable caching for Python example too
3 years ago
Philipp Oppermann
e5a825b11f
Temporarily replace problem matchers with fork to avoid warning
3 years ago
Philipp Oppermann
36c09a21ce
Set up caching on CI
3 years ago
Philipp Oppermann
ff179c3b93
Early-exit the c++ example on Windows
3 years ago
Philipp Oppermann
1e7940b0a7
Replace unmaintained actions-rs/cargo action with separate problem matcher
The problem matcher adds compiler errors/warnings as inline annotations in the 'Files Changed' in the GitHub PR GUI.
3 years ago
Philipp Oppermann
a8eb676478
Merge pull request #130 from dora-rs/dora-up-env-file
Allow configuring the `dora up` behavior through a `dora-config.yml` file
3 years ago
Philipp Oppermann
cffe508a7f
Merge pull request #134 from dora-rs/stop-all-status
Allow operators to stop the full dataflow
3 years ago
Philipp Oppermann
a7ef05a6f7
Update checkout action to v3
Fixes CI warning about deprecated node.js version
3 years ago
Philipp Oppermann
fe93b12611
Merge pull request #135 from dora-rs/fix-clippy
Fix clippy warnings
3 years ago
Xavier Tao
2d1ac25220
Add getting started section in `README` ( #131 )
* Add getting started section in `README`
* Update README.md
Co-authored-by: Philipp Oppermann <dev@phil-opp.com>
* Update README.md
Co-authored-by: Philipp Oppermann <dev@phil-opp.com>
* Update README.md
Co-authored-by: Philipp Oppermann <dev@phil-opp.com>
Co-authored-by: Philipp Oppermann <dev@phil-opp.com>
3 years ago
Philipp Oppermann
9f99dabdc9
Allow let unit value in conditional `tracer` binding
3 years ago
Philipp Oppermann
6623329261
Set Rust version to 1.65
3 years ago
Philipp Oppermann
db8453ae90
Fix clippy warnings
3 years ago
Philipp Oppermann
5375628930
Allow operators to stop the full dataflow
Useful in case of emergencies.
3 years ago
Philipp Oppermann
309a98059e
Merge pull request #129 from dora-rs/refactor_custom_node_source
Make command line argument program usable as custom node source.
3 years ago
haixuanTao
c921e04350
Fix clippy
3 years ago
haixuanTao
ae2af3f5bb
Use shell keyword to execute command line program
3 years ago
haixuanTao
13b0a37a1f
Replace `source_is_path` by `resolve_path`
3 years ago
Philipp Oppermann
3eb1144952
Don't consider the c++-operator-api library for unit tests
3 years ago