<#6382 DeepCopy structs in TaskExecMetadata to avo...
# flyte-github
c
#6382 DeepCopy structs in TaskExecMetadata to avoid two routines modifying … Pull request opened by EngHabu …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 enhances data safety by implementing DeepCopy on resource structures in TaskExecMetadata to prevent concurrent modifications. It also improves Dask resource configuration tests by replacing obsolete expectations with clearly defined values, resulting in more reliable resource management. Unit tests added: True Estimated effort to review (1-5, lower is better): 1 flyteorg/flyte