Philipp Oppermann
e29c58d403
Save daemon events to text file if recording is enabled
2 years ago
Philipp Oppermann
ca917be94e
Add option to record events when spawning dataflows
This commit does not implement event logging yet.
2 years ago
Haixuan Xavier Tao
dc2ed6e1db
Merge pull request #303 from dora-rs/update-rust
Update to Rust v1.70
2 years ago
Haixuan Xavier Tao
076fdd7f6f
Merge pull request #305 from dora-rs/remove-feature
Remove deprecated `proc_macros` feature from `safer-ffi` dependency
2 years ago
Haixuan Xavier Tao
2ef61c9f87
Merge pull request #304 from dora-rs/avoid-recompile
Don't recompile the `dora-operator-api-c` crate on every build/run
2 years ago
Philipp Oppermann
0ce219630c
Remove deprecated `proc_macros` feature from `safer-ffi` dependency
The `proc-macro` feature is now a built-in.
2 years ago
Philipp Oppermann
8c0146eac6
Don't recompile the `dora-operator-api-c` crate on every build/run
By default, cargo reruns build scripts whenever any file of the package changes. This led to lots of unnecessary rebuilds of the `dora-operator-api-c` crate. The reason is that crate has a build script that updates the `operator_types.h` file, which is considered as a modification by cargo. So it reruns the build script on the next `cargo build` or `cargo run` command, which leads to subsequent rebuilds of all crates that depend on `dora-operator-api-c`.
This commit fixes this issue by instructing cargo to never rerun the build script (through a special `println`). This way the package is considered 'fresh' on rebuilds. Cargo will still rerun the build script when the `dora_operator_api_types` crate changes, so the `operator_types.h` file still stays up-to-date.
2 years ago
Philipp Oppermann
ce6c7b6648
Update to Rust v1.70
2 years ago
Haixuan Xavier Tao
caf0bd3bea
Merge pull request #302 from dora-rs/event-timestamps
Add timestamps generated by hybrid logical clocks to all sent events
2 years ago
haixuanTao
ff66581156
Merge branch 'meua/main'
2 years ago
haixuanTao
224d1b4c81
Add python3 as default interpreter
2 years ago
Philipp Oppermann
4da34d82d9
Merge branch 'main' into event-timestamps
2 years ago
Philipp Oppermann
13726eed96
Fix c dataflow example: data string is not null-terminated
2 years ago
Philipp Oppermann
5139c85a87
Use timestamps for coordinator messages and inter daemon events
2 years ago
Philipp Oppermann
984ee364e4
Fill in timestamps when sending events from node to daemon
2 years ago
Philipp Oppermann
e0559b031e
Add HLC clock to daemon and to all event types
2 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
2 years ago
Philipp Oppermann
482b282d92
Document `dataflow_descriptor` methods
2 years ago
Philipp Oppermann
447559ddbc
Merge pull request #300 from dora-rs/fix-cli-test-errors
Return dataflow result to CLI on `dora stop`
2 years ago
Philipp Oppermann
0bf31b750e
WIP: Add `uhlc` timestamps to all events and update HLC clocks
2 years ago
Philipp Oppermann
049e5e1e43
Make runtime pass dataflow descriptor to Python operators
2 years ago
Philipp Oppermann
07689b9404
Make dataflow descriptor available to Python nodes
2 years ago
Philipp Oppermann
8a439c3411
Pass dataflow descriptor to Rust nodes via API
2 years ago
Philipp Oppermann
dff0d82f52
Fix adding of `.exe` extension
The `with_extension` method returns a new path, it does not modify the existing path.
2 years ago
Philipp Oppermann
295614fac0
Return dataflow result when trying to stop stopped dataflow
The dataflow might be finished already when `dora stop` is invoked, which caused an error previously. This commit changes this behavior to return the dataflow result instead in this case.
2 years ago
Philipp Oppermann
35b21c1919
CI: fail-fast by using bash shell explictly
2 years ago
Philipp Oppermann
6ecbf4cfdc
Improve formatting of collected log messages
2 years ago
Philipp Oppermann
868bee5897
Wait for dataflow finish on `dora stop`
2 years ago
meua
84041868b7
For consistency with other examples, modify python -> python3
2 years ago
Philipp Oppermann
3bb665ae00
Pass dataflow result to CLI
2 years ago
Philipp Oppermann
57110fa9ca
Report node errors to coordinator on stop
2 years ago
Philipp Oppermann
aa6de7bb24
Don't break up multi-line log messages of nodes
2 years ago
haixuanTao
0e02823d77
Merge remote-tracking branch 'meua/main'
2 years ago
meua
a809be8f83
Remove useless commands.
2 years ago
navyjia
607663efa3
remove dora branch in bug_report.md and revert dora-example version to 0.0.0
2 years ago
Haixuan Xavier Tao
0090331244
Merge pull request #279 from dora-rs/support-aarch64
Release v0.2.3 with aarch64 support
2 years ago
haixuanTao
33e12a7e27
Bump version to `0.2.3`
2 years ago
haixuanTao
51b35aa463
Fix doc test by adding imports
2 years ago
haixuanTao
f9d8fac8e5
Adding Rust docstring documentation
2 years ago
haixuanTao
5d9605ec84
Add command description
2 years ago
haixuanTao
2c52891438
Place documentation as docstring
2 years ago
Philipp Oppermann
e46ea2f6f6
Make coordinator's `start_inner` function `Send` again
The name generator uses a thread-local random number generator internally, which makes it `!Send`. So we should not keep it across await points because our `multiple_daemons` example needs to spawn it in the tokio runtime, which requires `Send`.
2 years ago
Philipp Oppermann
baebc49396
Autogenerate a name for started dataflows if none is given
2 years ago
haixuanTao
2c130da484
Bump to version 0.2.3-rc6
2 years ago
haixuanTao
3b6ffce489
Add pypi release to github release
2 years ago
haixuanTao
c5f23a5441
Bump to version `0.2.3-rc5`
2 years ago
haixuanTao
083a4c24c3
fix cargo.lock
2 years ago
haixuanTao
f242fa0f46
Minor fix in pip-release
2 years ago
haixuanTao
0d6f15f6d1
Set working directory when building
2 years ago
haixuanTao
18592db1da
Fix minor CI release issue
2 years ago