<#6381 DeepCopy structs in TaskExecMetadata to avo...
# flyte-github
c
#6381 DeepCopy structs in TaskExecMetadata to avoid two routines modifying … Pull request opened by eapolinario …the same object (#701) DeepCopy OverrideResources Run ArrayNodes with task-level resource overrides. Deploy Should this change be upstreamed to OSS (flyteorg/flyte)? If not, please uncheck this box, which is used for auditing. Note, it is the responsibility of each developer to actually upstream their changes. See this guide. • To be upstreamed to OSS fixes https://linear.app/unionai/issue/ENG-19/deepcopy-overrideresources-to-avoid-two-routines-modifying-the-same • Added tests • Ran a deploy dry run and shared the terraform plan • Added logging and metrics • Updated dashboards and alerts • Updated documentation ## Tracking issue ## Why are the changes needed? ## What changes were proposed in this pull request? ## How was this patch tested? ### 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 ### Screenshots ## Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. ## Related PRs ## Docs link ### Summary by Bito This PR implements DeepCopy for resource structures in task execution metadata to prevent conflicts from concurrent modifications. The changes focus on the container helper file with comprehensive test updates for Dask resource requirements, ensuring both default and custom resource scenarios are properly validated. Unit tests added: True Estimated effort to review (1-5, lower is better): 1 flyteorg/flyte