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

Check for TerminateExecution error and eat Precondition status #553

Merged
merged 4 commits into from
Apr 16, 2023

Conversation

EngHabu
Copy link
Contributor

@EngHabu EngHabu commented Apr 11, 2023

TL;DR

Fix error check for TerminateExecution to eat errors with Precondition on AlreadyInTerminal.

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

Tracking Issue

fixes flyteorg/flyte#3582

@codecov
Copy link

codecov bot commented Apr 11, 2023

Codecov Report

Merging #553 (e83fc95) into master (b9d1f62) will increase coverage by 0.28%.
The diff coverage is 75.00%.

❗ Current head e83fc95 differs from pull request most recent head 4226801. Consider uploading reports for the commit 4226801 to get more accurate results

@EngHabu EngHabu marked this pull request as ready for review April 14, 2023 02:03
@EngHabu EngHabu requested review from katrogan and removed request for kumare3 April 14, 2023 02:03
@EngHabu EngHabu enabled auto-merge (squash) April 16, 2023 16:48
@EngHabu EngHabu merged commit 6cb7322 into master Apr 16, 2023
@EngHabu EngHabu deleted the terminate-workflow-error branch April 16, 2023 17:06
pradithya pushed a commit to pradithya/flytepropeller that referenced this pull request Apr 18, 2023
…org#553)

* Check for TerminateExecution error and eat Precondition status

Signed-off-by: Haytham Abuelfutuh <[email protected]>

* lint

Signed-off-by: Haytham Abuelfutuh <[email protected]>

---------

Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Pradithya Aria <[email protected]>
hamersaw added a commit that referenced this pull request Apr 19, 2023
…ng Vault Secret Manager (#556)

* Implement ability to specify additional annotations when using Vault secret manager

Signed-off-by: Pradithya Aria <[email protected]>

* Infer GOOS and GOARCH from environment (#552)

Signed-off-by: Jeev B <[email protected]>
Signed-off-by: Pradithya Aria <[email protected]>

* fix makefile to read variables from environment and overrides (#554)

Signed-off-by: Jeev B <[email protected]>
Signed-off-by: Pradithya Aria <[email protected]>

* Remove BarrierTick (#545)

* removed barrier logic

Signed-off-by: Daniel Rammer <[email protected]>

* deprecated TransitionTypeBarrier

Signed-off-by: Daniel Rammer <[email protected]>

* removed barrier tests

Signed-off-by: Daniel Rammer <[email protected]>

* bumping flyteplugins

Signed-off-by: Daniel Rammer <[email protected]>

---------

Signed-off-by: Daniel Rammer <[email protected]>
Signed-off-by: Pradithya Aria <[email protected]>

* Check for TerminateExecution error and eat Precondition status (#553)

* Check for TerminateExecution error and eat Precondition status

Signed-off-by: Haytham Abuelfutuh <[email protected]>

* lint

Signed-off-by: Haytham Abuelfutuh <[email protected]>

---------

Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Pradithya Aria <[email protected]>

* Rename to annotation

Signed-off-by: Pradithya Aria <[email protected]>

* Inline merging annotations

Signed-off-by: Pradithya Aria <[email protected]>

---------

Signed-off-by: Pradithya Aria <[email protected]>
Signed-off-by: Jeev B <[email protected]>
Signed-off-by: Daniel Rammer <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Co-authored-by: Jeev B <[email protected]>
Co-authored-by: Dan Rammer <[email protected]>
Co-authored-by: Haytham Abuelfutuh <[email protected]>
eapolinario pushed a commit to eapolinario/flytepropeller that referenced this pull request Aug 9, 2023
…org#553)

* Check for TerminateExecution error and eat Precondition status

Signed-off-by: Haytham Abuelfutuh <[email protected]>

* lint

Signed-off-by: Haytham Abuelfutuh <[email protected]>

---------

Signed-off-by: Haytham Abuelfutuh <[email protected]>
eapolinario pushed a commit to eapolinario/flytepropeller that referenced this pull request Aug 9, 2023
…ng Vault Secret Manager (flyteorg#556)

* Implement ability to specify additional annotations when using Vault secret manager

Signed-off-by: Pradithya Aria <[email protected]>

* Infer GOOS and GOARCH from environment (flyteorg#552)

Signed-off-by: Jeev B <[email protected]>
Signed-off-by: Pradithya Aria <[email protected]>

* fix makefile to read variables from environment and overrides (flyteorg#554)

Signed-off-by: Jeev B <[email protected]>
Signed-off-by: Pradithya Aria <[email protected]>

* Remove BarrierTick (flyteorg#545)

* removed barrier logic

Signed-off-by: Daniel Rammer <[email protected]>

* deprecated TransitionTypeBarrier

Signed-off-by: Daniel Rammer <[email protected]>

* removed barrier tests

Signed-off-by: Daniel Rammer <[email protected]>

* bumping flyteplugins

Signed-off-by: Daniel Rammer <[email protected]>

---------

Signed-off-by: Daniel Rammer <[email protected]>
Signed-off-by: Pradithya Aria <[email protected]>

* Check for TerminateExecution error and eat Precondition status (flyteorg#553)

* Check for TerminateExecution error and eat Precondition status

Signed-off-by: Haytham Abuelfutuh <[email protected]>

* lint

Signed-off-by: Haytham Abuelfutuh <[email protected]>

---------

Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Pradithya Aria <[email protected]>

* Rename to annotation

Signed-off-by: Pradithya Aria <[email protected]>

* Inline merging annotations

Signed-off-by: Pradithya Aria <[email protected]>

---------

Signed-off-by: Pradithya Aria <[email protected]>
Signed-off-by: Jeev B <[email protected]>
Signed-off-by: Daniel Rammer <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Co-authored-by: Jeev B <[email protected]>
Co-authored-by: Dan Rammer <[email protected]>
Co-authored-by: Haytham Abuelfutuh <[email protected]>
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.

[BUG] Potential race condition in Flyte Propeller
2 participants