-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Is it possible for an ExitHandler to retrieve details about the exiting run? #1900
Comments
That's the limitation of the underlying Argo orchestrator. Exit handler only gets the pipeline parameters and global variables (not supported by KFP). |
/unassign @gaoning777 |
The ExitHandler can only use the pipeline arguments. You can pass it |
@Ark-kun So there's no way to handle failure of a specific task? For example, if I want to do some garbage collection based on some values generated during the pipeline execution. |
@Ark-kun So,,, there's still no way until now ? or any other plan or something? |
Hi, guys i'm not sure you already have solution about this, but i wanna share mine. As we can use Argo parameter in KFP such as It shows me like below as an example
It could not give us enough debugging information, but at least it can give us some message of the pod with errors. Related Issue |
I'm currently writing a pipeline that takes a while to complete. I'd like to create an exit handler that sends a notification once done. I'd like this notification to include details specific to the run being exited (e.g. the URL to the UI, total run time, output from steps, etc). Additionally, I'd like to be able to run cleanup logic in an exit handler, which would potentially need to know about resources created within the handler's
OpsGroup
.I can't seem to make this happen since an
ExitHandler
can have no dependencies. I'm wondering if I'm missing something here, as for all intents and purposes, it seemsExitHandlers
are completely out-of-band of the executing pipeline?Please let me know if clarification is needed.
The text was updated successfully, but these errors were encountered: