<#7611 [flytepropeller] Preserve deck URI when a n...
# flyte-github
a
#7611 [flytepropeller] Preserve deck URI when a node is aborted Pull request opened by moldhouse Why are the changes needed? Aborting a running node wipes its Flyte Deck from the UI, even though the deck was showing a moment earlier and
deck.html
still exists in blob storage. Abort takes a different path than the other terminal states:
nodeExecutor.Abort
builds its own
NodeExecutionEvent
with no deck URI, and flyteadmin then overwrites the stored URI with that empty value. This is a hard blocker for eager workflows. Each eager child is its own execution, and the eager task's deck is the only place the UI surfaces the children and their links. Aborting the parent, the normal way to stop a run, wipes the deck and with it the trail to every child execution. What changes were proposed in this pull request? On abort, re-attach the deck URI to the ABORTED event when the deck file exists, using the same
GetDeckPath()
the running task writes to. This mirrors the recovery path, which already checks the deck file and re-attaches it. It only sets the URI when the file is present, so it never resurrects a deck for a disabled or never-published task, and a
Head
error is tolerated so abort always proceeds. How was this patch tested? Added a unit test that drives
Abort
and asserts the emitted event carries the deck URI; confirmed it fails without the change and passes with it. The full
flytepropeller/pkg/controller/nodes
suite passes. Fixes #7610 flyteorg/flyte