Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Lazy evaluate workflow only in case of task is successful. #3655

Merged
v1r3n merged 3 commits intoNetflix:mainfrom
manan164:join_task_fix2
Jun 21, 2023
Merged

Lazy evaluate workflow only in case of task is successful. #3655
v1r3n merged 3 commits intoNetflix:mainfrom
manan164:join_task_fix2

Conversation

@manan164
Copy link
Contributor

@manan164 manan164 commented Jun 15, 2023

Pull Request type

  • Bugfix

NOTE: Please remember to run ./gradlew spotlessApply to fix any format violations.

Changes in this PR

When the task is updated we have put a performance improvement where we lazy evaluate the workflow state. This change was introduced in #3146 . Now when one of the forked tasks fails we should evaluate the workflow state immediately since the task can have a retry which is not exhausted.

Describe the new behavior from this PR, and why it's needed
Issue #
Lazily evaluate workflow only in case the task is successful.

Alternatives considered

Describe alternative implementation you have considered
Alternative #3640 was raised

@manan164 manan164 marked this pull request as draft June 15, 2023 13:45
@manan164 manan164 changed the title Lazy evaluate workflow only in case of task is successful. Lazy evaluate workflow only in case of task is successful. Jun 15, 2023
@manan164 manan164 marked this pull request as ready for review June 15, 2023 14:27
@v1r3n v1r3n merged commit f07dc36 into Netflix:main Jun 21, 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