#7076 [BUG] with_overrides(pod_template=...) silently ignored for map_task
Issue created by
zen-xu
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
flyteorg/flyte