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

Pass along enhanced task events. #244

Merged
merged 18 commits into from
Mar 24, 2021
Merged

Pass along enhanced task events. #244

merged 18 commits into from
Mar 24, 2021

Conversation

katrogan
Copy link
Contributor

@katrogan katrogan commented Mar 22, 2021

TL;DR

Adds the following to TaskExecutionMetadata

  • reason
  • task type
  • resource pool (flyte resource manager) information
  • generated task name

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/flyte#325

Follow-up issue

NA

Signed-off-by: Katrina Rogan <[email protected]>
Signed-off-by: Katrina Rogan <[email protected]>
Signed-off-by: Katrina Rogan <[email protected]>
@codecov
Copy link

codecov bot commented Mar 22, 2021

Codecov Report

Merging #244 (356f80d) into master (979fabe) will increase coverage by 0.34%.
The diff coverage is 77.96%.

go.mod Outdated
github.com/flyteorg/flyteidl v0.18.20
github.com/flyteorg/flyteplugins v0.5.38
github.com/flyteorg/flyteidl v0.18.25
github.com/flyteorg/flyteplugins v0.5.39-0.20210322202107-51b9713edaba
Copy link
Contributor Author

Choose a reason for hiding this comment

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

will update before merging

@@ -14,9 +14,9 @@ import (
)

// A CompositeWorkQueue can be used in cases where the work is enqueued by two sources. It can be enqueued by either
// 1. Informer for the Primary Object itself. In case of FlytePropeller, this is the workflow object
// 1. Informer for the Primary Object itself. InputReader case of FlytePropeller, this is the workflow object
Copy link
Contributor

Choose a reason for hiding this comment

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

Unintended renames?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

goland you're 2 clever

pkg/controller/nodes/task/transformer.go Show resolved Hide resolved
katrogan and others added 6 commits March 22, 2021 17:51
Signed-off-by: Katrina Rogan <[email protected]>
Signed-off-by: Katrina Rogan <[email protected]>
Signed-off-by: Katrina Rogan <[email protected]>
Signed-off-by: Katrina Rogan <[email protected]>
go.mod Outdated
github.com/flyteorg/flyteidl v0.18.24
github.com/flyteorg/flyteplugins v0.5.38
github.com/flyteorg/flyteidl v0.18.25
github.com/flyteorg/flyteplugins v0.5.39-0.20210323171635-da37ae79061e
Copy link
Contributor Author

Choose a reason for hiding this comment

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

will update before merging

@katrogan
Copy link
Contributor Author

PTAL @EngHabu @kumare3

Signed-off-by: Katrina Rogan <[email protected]>
Signed-off-by: Katrina Rogan <[email protected]>
@katrogan
Copy link
Contributor Author

@EngHabu mind taking another look?

Signed-off-by: Katrina Rogan <[email protected]>
Signed-off-by: Katrina Rogan <[email protected]>
Signed-off-by: Katrina Rogan <[email protected]>
Signed-off-by: Katrina Rogan <[email protected]>
Signed-off-by: Katrina Rogan <[email protected]>
Signed-off-by: Katrina Rogan <[email protected]>
@katrogan katrogan merged commit d728d8e into master Mar 24, 2021
kumare3 pushed a commit that referenced this pull request May 25, 2021
eapolinario pushed a commit to eapolinario/flytepropeller that referenced this pull request Aug 9, 2023
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.

2 participants