forked from flyteorg/flyte
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to clear past errors from workflow state #6
Draft
Tom-Newton
wants to merge
29
commits into
master
Choose a base branch
from
tomnewton/remove_error_messages_from_crd
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 tasks
Tom-Newton
force-pushed
the
tomnewton/remove_error_messages_from_crd
branch
from
December 21, 2023 19:32
62f6154
to
2b76a91
Compare
Tom-Newton
force-pushed
the
tomnewton/collapse_sub_nodes_on_failures
branch
from
January 12, 2024 18:12
05208ec
to
64d7fa2
Compare
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
This reverts commit dab428d. Signed-off-by: Thomas Newton <[email protected]>
…rrors Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Tom-Newton
force-pushed
the
tomnewton/remove_error_messages_from_crd
branch
from
January 16, 2024 20:42
2b76a91
to
216e1a3
Compare
Tom-Newton
changed the base branch from
tomnewton/collapse_sub_nodes_on_failures
to
master
January 16, 2024 20:42
Signed-off-by: Thomas Newton <[email protected]>
Tom-Newton
force-pushed
the
tomnewton/remove_error_messages_from_crd
branch
from
January 16, 2024 20:56
852f527
to
6c5650c
Compare
Signed-off-by: Thomas Newton <[email protected]>
Tom-Newton
force-pushed
the
tomnewton/remove_error_messages_from_crd
branch
from
January 17, 2024 09:57
f7c5f80
to
2cea075
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tracking issue
flyteorg#4569
Why are the changes needed?
Reduce un-needed information stored in etcd when using
failure_policy=WorkflowFailurePolicy.FAIL_AFTER_EXECUTABLE_NODES_COMPLETE
. This allows flyte to scale to larger workflows before hitting etcd size limits.What changes were proposed in this pull request?
FAIL_AFTER_EXECUTABLE_NODES_COMPLETE
delete the previous error from the workflow state every time a new error occurs.clear-previous-error
which defaults tofalse
(maintaining the original behaviour).TestWorkflowExecutor_HandleFlyteWorkflow_Failing
test so that more than one node fails.TestWorkflowExecutor_HandleFlyteWorkflow_Failing
for all the combinations ofOnFailurePolicy
andclear-previous-error
.How was this patch tested?
Updated unittests
Setup process
Screenshots
Check all the applicable boxes
clear-state-on-any-termination
andclear-previous-error
in https://docs.flyte.org/en/latest/deployment/configuration/performance.html#improving-etcd-performanceRelated PRs
This is part 2
Part 1 was implemented by flyteorg#4596
Docs link