pipelines icon indicating copy to clipboard operation
pipelines copied to clipboard

[feature] Exposing experiment name as a macro.

Open zygm0nt opened this issue 2 years ago • 4 comments

Feature Area

/area frontend /area backend

What feature would you like to see?

When in pipeline code I can use macros like {{workflow.annotations.pipelines.kubeflow.org/run_name}} or {{workflow.name}} to get those values, and potentially use them in some context, eg. passing to some component.

What I'd like to do is get current experiment name, that the run is assigned to. I'd like to pass it on to components for logging purposes.

Is this property exposed?

What is the use case or pain point?

I would like to use that for consistent logging of run results. Now I need to copy and paste this value to a property in my pipeline.

Is there a workaround currently?

Stated above - copy-pasting.


Love this idea? Give it a 👍. We prioritize fulfilling features with the most 👍.

zygm0nt avatar Apr 10 '22 11:04 zygm0nt

/cc @chensun WDYT?

connor-mccarthy avatar Apr 14 '22 22:04 connor-mccarthy

/assign @chensun

jlyaoyuli avatar Apr 28 '22 22:04 jlyaoyuli

{{workflow.annotations.*}} and {{workflow.name}} aren't really part of KFP but Argo placeholders (https://argoproj.github.io/argo-workflows/variables/#global). And KFP experiments is not an Argo concept, so I don't think this is that easy to support.

chensun avatar May 12 '22 21:05 chensun

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar May 03 '24 07:05 github-actions[bot]

This issue has been automatically closed because it has not had recent activity. Please comment "/reopen" to reopen it.

github-actions[bot] avatar May 24 '24 07:05 github-actions[bot]