-
Notifications
You must be signed in to change notification settings - Fork 800
[BUG] with_overrides(pod_template=...) silently ignored for map_task #7076
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workinguntriagedThis issues has not yet been looked at by the MaintainersThis issues has not yet been looked at by the Maintainers
Description
Flyte & Flytekit version
flytekit: 1.16.15
Python: 3.13.7
Describe the bug
map_task(...).with_overrides(pod_template=PodTemplate(...)) silently drops the pod_template override during serialization. The override is accepted and stored on the Node object, but never serialized into the TaskNodeOverrides for array node map tasks.
This is a separate issue from #6463 / PR #3270, which fixed pod_template serialization for regular tasks (conditional should_fast_serialize() logic in get_serializable_task). The map_task serialization path has the same class of bug but in a different location.
Expected behavior
Correctly override the map_task pod template
Additional context to reproduce
No response
Screenshots
No response
Are you sure this issue hasn't been raised already?
- Yes
Have you read the Code of Conduct?
- Yes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinguntriagedThis issues has not yet been looked at by the MaintainersThis issues has not yet been looked at by the Maintainers