Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Pass dynamic workflow closure in node execution events #141

Merged
merged 3 commits into from
Apr 13, 2021

Conversation

katrogan
Copy link
Contributor

Signed-off-by: Katrina Rogan katroganGH@gmail.com

TL;DR

Pass dynamic workflow closure in node execution events and also serialize as part of NodeExecutions in flyteadmin.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

How did you fix the bug, make the feature etc. Link to any design docs etc

Tracking Issue

flyteorg/flyteconsole#295

Follow-up issue

NA

Signed-off-by: Katrina Rogan <katroganGH@gmail.com>
core.Identifier id = 1;

// Represents the compiled representation of the embedded dynamic workflow.
core.CompiledWorkflowClosure compiled_workflow = 2;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if we want this, might just save and return the workflow id only

EngHabu
EngHabu previously approved these changes Apr 13, 2021
core.Identifier id = 1;

// Represents the compiled representation of the embedded dynamic workflow.
core.CompiledWorkflowClosure compiled_workflow = 2;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this what a regular workflow is also represented as?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kumare3
kumare3 previously approved these changes Apr 13, 2021
Signed-off-by: Katrina Rogan <katroganGH@gmail.com>
@katrogan katrogan dismissed stale reviews from kumare3 and EngHabu via c80306d April 13, 2021 21:25
EngHabu
EngHabu previously approved these changes Apr 13, 2021
@@ -150,6 +151,18 @@ message TaskNodeMetadata {
core.CatalogCacheStatus cache_status = 1;
// This structure carries the catalog artifact information
core.CatalogMetadata catalog_key = 2;

// In the case this task launched a dynamic workflow we capture its structure here.
DynamicWorkflowNodeMetadata dynamic_workflow_node_metadata = 16;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit

Suggested change
DynamicWorkflowNodeMetadata dynamic_workflow_node_metadata = 16;
DynamicWorkflowNodeMetadata dynamic_workflow = 16;

@@ -91,8 +92,19 @@ message TaskNodeMetadata {
core.CatalogCacheStatus cache_status = 1;
// This structure carries the catalog artifact information
core.CatalogMetadata catalog_key = 2;

// In the case this task launched a dynamic workflow we capture its structure here.
DynamicWorkflowNodeMetadata dynamic_workflow_node_metadata = 16;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:

Suggested change
DynamicWorkflowNodeMetadata dynamic_workflow_node_metadata = 16;
DynamicWorkflowNodeMetadata dynamic_workflow = 16;

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@EngHabu done (didn't use your suggestion b/c DCO :( )

Signed-off-by: Katrina Rogan <katroganGH@gmail.com>
@katrogan katrogan merged commit bd97959 into master Apr 13, 2021
milton0825 pushed a commit to milton0825/flyteidl that referenced this pull request Apr 14, 2021
Signed-off-by: Chao-Han Tsai <milton0825@gmail.com>
milton0825 pushed a commit to milton0825/flyteidl that referenced this pull request Apr 14, 2021
Signed-off-by: Chao-Han Tsai <milton0825@gmail.com>
EngHabu pushed a commit that referenced this pull request Apr 20, 2021
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
samhita-alla added a commit that referenced this pull request Apr 21, 2021
* dark theme updates (#134)

Signed-off-by: cosmicBboy <niels.bantilan@gmail.com>

* Added workflow for updating flyteidl version in all component (#132)

* Added workflow for updating flyte comopnent version

Signed-off-by: yuvraj <evalsocket@gmail.com>

* Added a single workflow for release flyteidl

Signed-off-by: yuvraj <evalsocket@gmail.com>

* revert workflow changes

Signed-off-by: yuvraj <evalsocket@gmail.com>

* bug fix in ci (#135)

Signed-off-by: yuvraj <evalsocket@gmail.com>

* Enable flyteidl update version for all component (#136)

* enable flyteidl update version for all component

Signed-off-by: yuvraj <evalsocket@gmail.com>

* Added more component

Signed-off-by: yuvraj <evalsocket@gmail.com>

* remove flytekit from component

Signed-off-by: yuvraj <evalsocket@gmail.com>

* Pass dynamic workflow closure in node execution events (#141)

* Documentation for Datacatalog (#143)

Datacatalog service documentation

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>

* Fix Datacatalog title.rst in docs (#145)

* missing blank line in title.rst

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>

* generated docs

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>

* Docs Staging

Signed-off-by: Samhita Alla <aallasamhita@gmail.com>

Co-authored-by: Niels Bantilan <niels.bantilan@gmail.com>
Co-authored-by: Yuvraj <10830562+evalsocket@users.noreply.github.com>
Co-authored-by: Katrina Rogan <katrina@nuclyde.io>
Co-authored-by: Ketan Umare <16888709+kumare3@users.noreply.github.com>
samhita-alla added a commit that referenced this pull request Apr 23, 2021
* dark theme updates (#134)

Signed-off-by: cosmicBboy <niels.bantilan@gmail.com>

* Added workflow for updating flyteidl version in all component (#132)

* Added workflow for updating flyte comopnent version

Signed-off-by: yuvraj <evalsocket@gmail.com>

* Added a single workflow for release flyteidl

Signed-off-by: yuvraj <evalsocket@gmail.com>

* revert workflow changes

Signed-off-by: yuvraj <evalsocket@gmail.com>

* bug fix in ci (#135)

Signed-off-by: yuvraj <evalsocket@gmail.com>

* Enable flyteidl update version for all component (#136)

* enable flyteidl update version for all component

Signed-off-by: yuvraj <evalsocket@gmail.com>

* Added more component

Signed-off-by: yuvraj <evalsocket@gmail.com>

* remove flytekit from component

Signed-off-by: yuvraj <evalsocket@gmail.com>

* Pass dynamic workflow closure in node execution events (#141)

* Documentation for Datacatalog (#143)

Datacatalog service documentation

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>

* Fix Datacatalog title.rst in docs (#145)

* missing blank line in title.rst

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>

* generated docs

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>

* Docs Staging

Signed-off-by: Samhita Alla <aallasamhita@gmail.com>

* Docs Restructure

Signed-off-by: Samhita Alla <aallasamhita@gmail.com>

Co-authored-by: Niels Bantilan <niels.bantilan@gmail.com>
Co-authored-by: Yuvraj <10830562+evalsocket@users.noreply.github.com>
Co-authored-by: Katrina Rogan <katrina@nuclyde.io>
Co-authored-by: Ketan Umare <16888709+kumare3@users.noreply.github.com>
EngHabu pushed a commit that referenced this pull request Apr 26, 2021
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
EngHabu pushed a commit that referenced this pull request Apr 26, 2021
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
samhita-alla added a commit that referenced this pull request Apr 29, 2021
* dark theme updates (#134)

Signed-off-by: cosmicBboy <niels.bantilan@gmail.com>

* Added workflow for updating flyteidl version in all component (#132)

* Added workflow for updating flyte comopnent version

Signed-off-by: yuvraj <evalsocket@gmail.com>

* Added a single workflow for release flyteidl

Signed-off-by: yuvraj <evalsocket@gmail.com>

* revert workflow changes

Signed-off-by: yuvraj <evalsocket@gmail.com>

* bug fix in ci (#135)

Signed-off-by: yuvraj <evalsocket@gmail.com>

* Enable flyteidl update version for all component (#136)

* enable flyteidl update version for all component

Signed-off-by: yuvraj <evalsocket@gmail.com>

* Added more component

Signed-off-by: yuvraj <evalsocket@gmail.com>

* remove flytekit from component

Signed-off-by: yuvraj <evalsocket@gmail.com>

* Pass dynamic workflow closure in node execution events (#141)

* Documentation for Datacatalog (#143)

Datacatalog service documentation

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>

* Fix Datacatalog title.rst in docs (#145)

* missing blank line in title.rst

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>

* generated docs

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>

* Docs Staging

Signed-off-by: Samhita Alla <aallasamhita@gmail.com>

* Docs Restructure

Signed-off-by: Samhita Alla <aallasamhita@gmail.com>

* updated main sidebar

Signed-off-by: Samhita Alla <aallasamhita@gmail.com>

Co-authored-by: Niels Bantilan <niels.bantilan@gmail.com>
Co-authored-by: Yuvraj <10830562+evalsocket@users.noreply.github.com>
Co-authored-by: Katrina Rogan <katrina@nuclyde.io>
Co-authored-by: Ketan Umare <16888709+kumare3@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants