<#7167 [V2] Fix pod owner reference to enable watc...
# flyte-github
a
#7167 [V2] Fix pod owner reference to enable watch-triggered reconciles Pull request opened by pingsutw Summary • Set
Controller: true
on the pod owner reference so that controller-runtime's
Owns(&corev1.Pod{})
recognizes pods as controller-owned • Without this, pod status changes (Pending → Running → Succeeded) never triggered reconciles if task runtime is less than 5 seconds, and intermediate phases like RUNNING were missed in action events flyte/executor/pkg/controller/taskaction_controller.go Line 53 in</flyteorg/flyte/commit/9b5cffb0128307b6162f79d83e497112e6d3642f|9b5cffb> | TaskActionDefaultRequeueDuration = 5 * time.Second | | -------------------------------------------------- | Before: Screenshot 2026-04-07 at 5 28 42 PM After: Screenshot 2026-04-07 at 5 30 06 PM Test plan • Deploy executor and run a task that takes >2s • Verify action events in DB contain phase 4 (RUNNING) between INITIALIZING and SUCCEEDED •
main
• #6583 • [V2] Fix pod owner reference to enable watch-triggered reconciles 👈 flyteorg/flyte