Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce new Unhealthy status for device #483

Closed
vdelendik opened this issue May 27, 2022 · 4 comments
Closed

introduce new Unhealthy status for device #483

vdelendik opened this issue May 27, 2022 · 4 comments
Milestone

Comments

@vdelendik
Copy link
Contributor

vdelendik commented May 27, 2022

during the automation runs we might detect device status when it is available for remote manual usage but can't be used by automation, for example: too low disk space, some network/wifi connectivity issues etc.
in this case we wanna to have:

  1. new status Unhealthy (5) which allow to do remote connect but without possibility to execute test automation (1 - offline; 2 - unauthorized; 3 - use, 4 - connected)
    Note: exact state name TBD
  2. api end-point to change the status (take a look to deliver enhanced api to manipulate devices #300 howto change status)
  3. change UI to highlight this status. Using from Unauthorized should be good enough but with ability to use device manually.
@vdelendik vdelendik added this to the 2.3 milestone May 27, 2022
@vdelendik vdelendik changed the title introduce new Unhealthy state for device introduce new Unhealthy status for device May 27, 2022
@vdelendik vdelendik modified the milestones: 2.3, 2.4 Aug 1, 2022
@vdelendik vdelendik modified the milestones: 2.4, 2.5 Dec 12, 2022
@vdelendik vdelendik removed this from the 2.6 milestone Aug 15, 2023
@ignacionar ignacionar added this to the 2.6 milestone Oct 24, 2023
vdelendik added a commit that referenced this issue Oct 25, 2023
#483 Adding new Unhealthy status to STF
@ignacionar
Copy link
Collaborator

Done: #798

Changes are available in public.ecr.aws/zebrunner/stf:2.6-beta1

@vdelendik
Copy link
Contributor Author

closing, @dhreben - find a way to validate. ideally I'd like to see api call to change state to unhalthy

@dhreben
Copy link
Contributor

dhreben commented Nov 28, 2023

It will be verified after the execution #825

@dhreben
Copy link
Contributor

dhreben commented Dec 1, 2023

Verified.

Curl -X PUT -H "Authorization: Bearer <token>" -H 'Content-Type: application/json' -d '{ "device": { "status": "Unhealthy" } }' https://demo.zebrunner.farm/api/v1/devices/<udid> | jq .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants