<#6374 Making ArrayNode taskPhaseVersion increment...
# flyte-github
c
#6374 Making ArrayNode taskPhaseVersion increment retries configurable (#698) Pull request opened by hamersaw ## Tracking issue N/A ## Why are the changes needed? This PR makes the ArrayNode
taskPhaseVersion
increment retries configurable. This value is used to resend
TaskExecutionEvents
in the case of ArrayNode eventing failures. It is necessary because ArrayNode uses the
ExternalResourceInfo
fields to populate subNode execution metadata, all of these are included in a singular event. So the
TaskPhaseVersion
is not necessarily correlated to a single phase (as subNode phases can change). To ensure these are populated we need to increment. ## What changes were proposed in this pull request? ^^^ ## How was this patch tested? The default value is the current value (ie. 3) so there should be no concerns about merging. ### Labels Please add one or more of the following labels to categorize your PR: • added: For new features. • changed: For changes in existing functionality. • deprecated: For soon-to-be-removed features. • removed: For features being removed. • fixed: For any bug fixed. • security: In case of vulnerabilities This is important to improve the readability of release notes. ### Setup process N/A ### Screenshots N/A ## Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. ## Related PRs N/A ## Docs link N/A ### Summary by Bito This PR refactors ArrayNode configuration to make taskPhaseVersion increment retries configurable, replacing hard-coded constants with dynamic values. It updates configuration structures, CLI flag registration, and handler logic. New unit tests verify flag registration and parsing functionality. Unit tests added: True Estimated effort to review (1-5, lower is better): 1 flyteorg/flyte