copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

Get success/failure return codes from Copilot Job

Open vshah11 opened this issue 1 year ago • 4 comments

I have a copilot job that runs on a set schedule. I need to know if there is any way to detect success or failure from within the job run.

vshah11 avatar Feb 12 '24 20:02 vshah11

The existing issue that I could find on this topic - #4939 Would be helpful to know if there has been any update after this.

vshah11 avatar Feb 12 '24 20:02 vshah11

Hey @vshah11 ! Can you use the workaround shared by @bvtujo in this comment

Does this work in your case

KollaAdithya avatar Feb 13 '24 01:02 KollaAdithya

The work around does work in my case, but it would be nice to track the job execution status without having to access the state machine and its ARN.

vshah11 avatar Feb 13 '24 18:02 vshah11

Agree on this. Definitely it would be nice to have command like copilot job status that will log the status of the recently executed jobs/state machine.

KollaAdithya avatar Feb 13 '24 18:02 KollaAdithya