https://dagster.io/ logo
Title
m

Michel Rouly

06/29/2021, 4:21 PM
Is there a way to have a fixed fan-in solid proceed despite failed inputs? e.g., if I have solids
a
and
b
that feed into solid
fan_in
, and
b
fails, I'd still like
fan_in
to run with
b
excluded from its input array.
a

alex

06/29/2021, 4:25 PM
not currently you could sort of approximate it by using an optional output and not yielding it on “failure”, but you would have to try-catch in the solid and it wouldn’t report as a failure, just as no outputs retuned. You could
context.log.error
the error so its in the log but the overview would still show it as green
m

Michel Rouly

06/29/2021, 4:26 PM
yeah, we'd talked about wrapping the contents in a try/catch. it's the fact that the solid is still a "success" despite failing which is annoying about that workaround.