canonical / testflinger

https://testflinger.readthedocs.io/en/latest/
GNU General Public License v3.0
11 stars 17 forks source link

Display the number of consecutive failed provsion attempts on the agents page #306

Closed plars closed 2 months ago

plars commented 2 months ago

Description

Display a warning icon, count, and tooltip for the icon with details if the agent has failed more than 1 consecutive provision attempt for the most recent runs.

Also, columns are sortable now, including the one for the failure counts.

image

Resolved issues

CERTTF-354

Documentation

N/A

Web service API changes

N/A

Tests

Tested locally (see screenshot) and also added unit tests

plars commented 2 months ago

I've added some additional things that were asked for when this story was expanded. Specifically:

Here's a screen shot with the date range picker and new field on the details page. The date pickers automatically get filled in with the current date as the stop and 2 days ago as the start. If you specify a new date range and hit refresh, it will reload the page with the new values. The specified date range will also be applied to the table of provision results, so that you see the same data that is considered in the provision success rate.

image