Hi, cards don't render when the task fails. Would ...
# dev-metaflow
h
Hi, cards don't render when the task fails. Would it be a big lift to fix this? Just wondering if there is some fundamental limitation to getting this to work
d
I don’t think so — this is probably the line to change although I suspect some cards may assume that the task succeeded so there may be some breakage on some cards: https://github.com/Netflix/metaflow/blob/master/metaflow/plugins/cards/card_decorator.py#L324
s
we wouldn't always have the possibility to execute card render (when the container dies)
d
yes — that is true, but here we do not try (we could). Of course it wouldn’t work if the container totally died but we could get it working if the task failed (for another reason). It does make cards a bit harder though in some cases. What’s the use case @hundreds-rainbow-67050?
h
https://netflix.enterprise.slack.com/archives/C7P782J02/p1750776054898429 Basically the resource metrics don’t show up when the task OOMs