saucelabs / saucectl

A command line interface for the Sauce Labs platform.
Apache License 2.0
42 stars 16 forks source link

feat: attempt to stop rdc jobs on timeout #884

Closed alexplischke closed 9 months ago

alexplischke commented 9 months ago

Proposed changes

This change introduces the ability for saucectl to automatically attempt to stop a timed out RDC job. It was already doing this for VDC.

I emphasize the word attempt here, because I also changed the wording in the implementation (both RDC/VDC), as there are too many state related edge cases where the device, be it real or virtual, seemingly cannot be stopped. Anecdotally, during my testing, the platform negatively responded to my stop request, only to actually stop the job a few moments later with the UI properly showing that the job was stopped by the user.