Commit 793ca45
fix(translator): serialize pod_spec for node overrides regardless of fast_serialize
The pod_spec in TaskNodeOverrides was only serialized when
should_fast_serialize() was True. This meant dynamic tasks with
pod_template overrides (via with_overrides) would produce an empty
pod_spec in the DynamicJobSpec when fast_serialize was disabled,
causing the propeller to fail to schedule the child task (UNKNOWN status).
Aligns with upstream flytekit behavior: always serialize pod_spec when
a pod_template override exists; only gate set_command_fn behind
should_fast_serialize().
Co-Authored-By: benchan@exa.ai <ben@vervious.com>1 parent f31e414 commit 793ca45
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
458 | | - | |
459 | 458 | | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
| 459 | + | |
| 460 | + | |
464 | 461 | | |
465 | 462 | | |
466 | 463 | | |
| |||
0 commit comments