## Command ```sh RUN_NAME='run-xxxxx' bash runs/test/scripts/abort_run.sh ``` ## Description We need to call `Abort` in action service from run service's `AbortRun` and `AbortAction` to actually abort the action. https://github.com/flyteorg/flyte/blob/5ebc9033162f021b57bd0038efa57f6c1d9108d6/actions/service/actions_service.go#L173-L173 ### How to verify After modification, you can follow these steps to verify you changes: 1. Follow the description in parent issue to start Flyte locally and execute an action (Step 1 ~ 4) 2. During the executing, execute the command below to abort the run or action ```sh RUN_NAME='run-xxxxx' bash runs/test/scripts/abort_run.sh RUN_NAME='run-xxxxx' ACTION='action-name' bash runs/test/scripts/abort_action.sh ``` 3. Use following to check the run/action status (Also copy from https://github.com/flyteorg/flyte/pull/6983), you should see `ACTION_PHASE_ABORTED` status ```sh RUN_NAME=run-XXX bash runs/test/scripts/get_run_details.sh RUN_NAME=run-XXX ACTION=run-XXX bash runs/test/scripts/get_action_details.sh ```
Command
RUN_NAME='run-xxxxx' bash runs/test/scripts/abort_run.shDescription
We need to call
Abortin action service from run service'sAbortRunandAbortActionto actually abort the action.flyte/actions/service/actions_service.go
Line 173 in 5ebc903
How to verify
After modification, you can follow these steps to verify you changes:
ACTION_PHASE_ABORTEDstatus