<#7031 feat(runs): wire AbortRun and AbortAction t...
# flyte-github
a
#7031 feat(runs): wire AbortRun and AbortAction through to ActionsService Pull request opened by AdilFayyaz Why are the changes needed? AbortRun and AbortAction previously only updated the run phase in the database, leaving the TaskAction CR and its pod still running in Kubernetes. This connects the abort path to ActionsService.Abort so execution is actually stopped. What changes were proposed in this pull request? • AbortRun now calls actionsClient.Abort() with the root action ID after the DB update, triggering K8s-side CR deletion and cascade to all descendants • AbortAction similarly calls actionsClient.Abort() for the specific action after the DB update How was this patch tested? • Start the manager (make -C manager run) against a local sandbox • Submit a run via uv run flyte run ... and confirm pods appear in [namespace] • Run kubectl -n [namespace] get taskactions to confirm the CR exists • Abort with uv run flyte abort run • Verify TaskAction CR is deleted: kubectl -n [namespace] get taskactions • Verify run phase is ABORTED: uv run flyte get run • Verify manager logs show "Aborted run..." and "Deleted TaskAction ... (descendants will be cascade deleted by K8s)" • Added tests to run_service_test.go 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 •
main
• #6583 • #7031 👈 flyteorg/flyte