-
Help
DescriptionHi! As requested, I managed to create a reprex for #1329 and #1340. Can you check whether it reproduces for you?
Only running the third downstream target makes it hang.
While curiously, the others seem to work (i.e. correctly conclude with an error)
It might be possible to trim it down further - but this is a good starting point I think! Session Info
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Thanks for the reprex! Now that I can reproduce the hanging on my end, I can step through a debugger to figure out what's going on, and now it's clear that the pipeline forgets to call I have a couple test cases: library(targets)
tar_option_set(
error = "trim",
controller = crew::crew_controller_sequential()
)
list(
tar_target(erroring_target, stop()),
tar_target(downstream_1, erroring_target),
tar_target(downstream_2, downstream_1),
tar_target(downstream_3, downstream_2),
tar_target(dynamic, downstream_3, pattern = map(downstream_3)),
tar_target(aggregate, dynamic)
) library(targets)
tar_option_set(
error = "trim",
controller = crew::crew_controller_sequential()
)
list(
tar_target(a, seq_len(2)),
tar_target(erroring_target, stop(), pattern = map(a)),
tar_target(downstream_1, erroring_target, pattern = map(erroring_target)),
tar_target(downstream_2, downstream_1, pattern = map(downstream_1)),
tar_target(downstream_3, downstream_2),
tar_target(dynamic, downstream_3, pattern = map(downstream_3)),
tar_target(aggregate, dynamic)
) Both fail with the current version of |
Beta Was this translation helpful? Give feedback.
Fixed in dfa6eb9