-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Give generated exit-handler a more special name #78
Comments
The Argo yaml should have the information describing what the exit handlers are. Could the UI extract this information from the Argo yaml instead of relying on some special convention with the DSL? Since users will be able to specify the yaml without the DSL, this seems needed. |
IIRC, the problem is that the DSL and Argo don't have exactly the same conception of exit handlers. Argo supports exit handlers via the |
Thank you for the clarification @rileyjbauer. |
@gaoning777 can you comment on why the DSL implements exit-handling like this? |
This reverts commit b6ec6e65440e19c99637f923ac099ce716a0bceb.
UPSTREAM: <carry>: Rebase code to kfp 2.2.0
If an exit handler is specified in the DSL, the compiler currently uses a bit of a hack to ensure that it is always called before the pipeline terminates: an extra DAG is added to the compiled yaml that is named something like
exit-handler-1
which is the only task of the entrypoint DAG, and wraps all other steps within the pipeline (they are tasks within the exit handler's DAG).This works alright as a workaround, but it clutters the UI in a rather unhelpful way, so we currently hide this node by checking if the name starts with "exit-handler".
This is potentially problematic as it's not the most unlikely name for a user to pick, so maybe something like "__exit-handler" would be better until a better solution is found to the exit handler problem.
The text was updated successfully, but these errors were encountered: