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

Fix failure cases in which abort fails for a task #138

Closed
wants to merge 1 commit into from

Conversation

kumare3
Copy link
Contributor

@kumare3 kumare3 commented May 29, 2020

TL;DR

Abort always fails for a task if task was already in a terminal state - success, failure or retryable fail. This is because the event publish fails.
This fix ensures an event is not published for terminal cases.

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

NA

Tracking Issue

flyteorg/flyte#333

Follow-up issue

NA

@kumare3 kumare3 requested a review from EngHabu as a code owner May 29, 2020 06:25
@codecov-commenter
Copy link

Codecov Report

Merging #138 into master will increase coverage by 0.03%.
The diff coverage is 100.00%.

@kumare3 kumare3 closed this May 29, 2020
@kumare3 kumare3 deleted the fix-stuck-non-deleted-tasks branch May 29, 2020 21:18
kumare3 pushed a commit to nuclyde-io/flytepropeller that referenced this pull request Feb 4, 2021
* Use state for a project to archive or activate it
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