Philipp Oppermann
450002ed92
Fix number of consequential errors and improve message
1 year ago
Philipp Oppermann
94fecd61c5
Print all non-cascading errors (instead of only first one)
1 year ago
Haixuan Xavier Tao
42255f5a70
Merge pull request #557 from dora-rs/convert-pyevent-into-dictionary
Transform custom PyEvent into standard python dictionary for easier d…
1 year ago
haixuanTao
a8d4c070d2
Fix CI opencv-python install
1 year ago
Philipp Oppermann
43b128f67a
Print lines before and after stderr for easier readability
1 year ago
Philipp Oppermann
b231df1b82
Report last 10 stderr lines on node failure
1 year ago
haixuanTao
c4263e6c8f
Remove bound from definition of .to_py_dict
1 year ago
haixuanTao
c4983fa822
Fix python dependencies
1 year ago
haixuanTao
00a83b9355
Do not upgrade to numpy 2.0.0
1 year ago
haixuanTao
525dfa19e3
Make kind generic for both type
1 year ago
haixuanTao
ae9aea24e0
update stubs definition
1 year ago
haixuanTao
b2eace277d
Transform custom PyEvent into standard python dictionary for easier debuggability.
Currently having a custom PyEvent make debugging very hard as fields are hidden within the class PyEvent that is defined within Rust Code.
Python user are getting really confused about this obscure class.
This PR transforms the class into a standard python dictionary.
1 year ago
Philipp Oppermann
39164b9634
Remove old formatting methods
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
62d1343b1b
Merge pull request #556 from dora-rs/fix_cxx_read_input_bug
fix event_as_input bug
1 year ago
XxChang
2488d0916c
fix event_as_input bug
1 year ago
Haixuan Xavier Tao
a346f355a5
Merge pull request #553 from XxChang/update_dora_new
Update dora new
1 year ago
EricLBuehler
8ff6d39a84
Use the new crate
1 year ago
XxChang
7cca18f726
minor
1 year ago
XxChang
7e9c589e56
resolve suggestion
1 year ago
Philipp Oppermann
4e69495012
Fix: Pass `cascading_errors` as arg to ensure that it is always applied
Before this commit, there were some cases where the returned `DataflowStatus` was ignored and the reported `cascading_errors` were never applied.
1 year ago
Philipp Oppermann
9425e4a540
Merge branch 'main' into better-errors
1 year ago
Philipp Oppermann
71ea44ad01
Mark node failures as cascading on init errors caused by other nodes
The init function returns an error if another node exited before initialization. In this case, we consider the subsequent error as a cascading error and skip it when printing the error message to the user.
1 year ago
XxChang
60b86fdfad
resolve suggestion
1 year ago
XxChang
02c5228756
resolve suggestion
1 year ago
XxChang
f6816e60c7
fix review
1 year ago
Philipp Oppermann
8056c23db7
List failed and finished dataflows in `dora list`
1 year ago
XxChang
d9ed1dc251
Merge branch 'main' of https://github.com/dora-rs/dora into update_dora_new
1 year ago
Haixuan Xavier Tao
f34cbe2ffc
Merge pull request #517 from dora-rs/detached-python-process
Run dynamic node
1 year ago
XxChang
818886c4ce
add internal-create-with-path-dependence flag to c/cxx
1 year ago
XxChang
04279ed8ae
minor
1 year ago
XxChang
436577ddc7
add c template test
1 year ago
XxChang
b4c6e12f45
add c template test
1 year ago
XxChang
51695b2e89
add c template
1 year ago
EricLBuehler
50bd86d09f
Better format?
1 year ago
XxChang
5191f92d0f
fmt
1 year ago
XxChang
e69ccc02eb
add cxx template
1 year ago
EricLBuehler
1c47b2b202
Typo
1 year ago
EricLBuehler
ef476b0c87
Add str and repr derives
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
Philipp Oppermann
eda09cb9c8
Merge pull request #550 from dora-rs/quiet-up
Spawn daemon and coordinator in quiet mode on `dora up`
1 year ago
Philipp Oppermann
14ee0b6fbb
Merge pull request #549 from dora-rs/file-logging
Implement file-based logging in daemon and coordinator
1 year ago
Philipp Oppermann
d04af76668
Merge pull request #548 from dora-rs/less-verbose-daemon
Add `--quiet` flag to daemon and coordinator
1 year ago
XxChang
5ea31fc69b
add rust template
1 year ago
XxChang
351929ca81
Merge branch 'main' of https://github.com/dora-rs/dora into update_dora_new
1 year ago
XxChang
f2e49bdd80
add python template
1 year ago
haixuanTao
7d3a5de1c5
Make rust flexible logic and make sure to always use env variables DORA_NODE_CONFIG if it exists.
This remove the complexity of having to rename the node id when used within a yaml configuration.
1 year ago
Philipp Oppermann
e81473f223
Include machine ID in daemon log file name if set
1 year ago
Philipp Oppermann
77f9ba903e
Use compact formatting for stdout logs
We now have the full logs in the output file.
1 year ago