4feb15182e
Rework SMART self-test sections (again)
...
- Use results from self-test log rather than self-test details
- Include more result details in more scenarios
- Only add self-test results to the report to avoid
duplicate/conflicting info
- Add check if test started but didn't finish (again?)
2023-06-10 18:59:19 -07:00
de7993c39c
Fix type hint for get_known_disk_attributes()
2023-05-29 17:47:58 -07:00
534f258846
Add some type hints
2023-05-27 20:05:03 -07:00
0126452bf1
Merge branch 'ui-split' into dev
2023-05-27 19:50:49 -07:00
f19c4b2422
Update self-test data before checking result
...
Addresses #209
2023-05-22 20:59:10 -07:00
59d89575ed
Refactor SMART self-test checks
...
- Preserve TimedOut status
- Adds last self-test result to notes (if present and result is unknown)
2023-05-21 14:52:28 -07:00
f9bcd534d4
Move ansi code into wk/ui
2023-04-08 19:20:22 -07:00
95d7159414
Move ANSI color escape sections to their own file
2023-04-02 20:46:54 -07:00
03a143488c
Adjust ui imports and calls
2023-04-02 20:12:18 -07:00
89fd647792
Split wk.std into debug, std, and ui sections
2023-04-01 22:14:03 -07:00
2706d1a9a5
Show failed SMART attributes during disk tests
2022-10-23 13:18:43 -07:00
7714b3436f
Track initial and current SMART attributes
...
Addresses issue #194
2022-10-08 19:26:20 -07:00
6880a353cc
Set known_attributes when intializing Disk()
...
This new design uses copy.deepcopy() to avoid erroneous thresholds being
applied to drives during diags. This also reduces the number of lookups
to one per Disk.
2022-10-08 14:15:32 -07:00
f008546565
Avoid crashing if a device disconnects mid-diags
2022-09-24 19:58:41 -07:00
2585ed584c
Refactor disk safety checks
2022-04-18 09:21:29 -07:00
95cd3b645d
Remove SMARTSelfTestInProgressError sections
...
Going forward this is a non-blocking error.
2022-04-11 16:50:21 -06:00
af8b2b7dd3
Refactor SMART self-test sections
2022-04-08 19:19:23 -06:00
20f91f01d1
Add type hints to hardware functions
2022-04-06 19:08:23 -06:00
46eb737dc8
Move SMART functions to their own file
2022-04-06 16:22:58 -06:00