Complete Galaxy Description and Recovery Coverage

This commit is contained in:
firestar5683
2026-10-27 12:13:27 -05:00
parent cf4301b16e
commit ff161633bf
4 changed files with 393 additions and 3 deletions
@@ -61,6 +61,7 @@ DESCRIPTIONS = {
'SLCFallback': 'Keeps the previously accepted speed limit when sources are unavailable, until another limit is accepted.',
'slc_adopt': 'Keeps the current speed-limit offset schedule fixed when display units change.',
'slc_reset': 'Resets saved speed-limit offsets while retaining valid configured speed ranges.',
'reset_driver_monitoring': 'Clear saved wheel-side detection. Automatic detection restarts on the next drive.',
'AlwaysAllowUploads': 'Allows queued full logs and videos to upload over metered networks. This uses mobile data.',
'UseVOACC': ('Use vision-only adaptive cruise control instead of radar-assisted lead detection. ' +
'Requires StarPilot longitudinal control. Applies next drive; radar faults and safety checks remain active.'),
File diff suppressed because one or more lines are too long
@@ -41,13 +41,17 @@ class HistoryRecoveryTest(unittest.TestCase):
current = owner()
current._run()
self.assertEqual(len(calls), MAX_RETRY_ATTEMPTS)
self.assertEqual(current._snapshot_locked()['analysis']['state'], 'ready')
self.assertEqual(current._snapshot_locked()['analysis']['state'], 'failed')
self.assertEqual(current._snapshot_locked()['analysis']['failed'], 1)
self.assertTrue(current._snapshot_locked()['analysis']['failures'][0]['retryStopped'])
self.assertEqual(current._snapshot_locked()['analysis']['failures'][0]['attempts'], MAX_RETRY_ATTEMPTS)
self.assertEqual(current._snapshot_locked()['analysis']['quarantined'], 1)
source.write_bytes(b'repaired')
current._run()
self.assertEqual(len(calls), MAX_RETRY_ATTEMPTS + 1)
self.assertEqual(current._snapshot_locked()['totals']['drives'], 1)
self.assertFalse(current._failures)
self.assertEqual(current._snapshot_locked()['analysis']['state'], 'ready')
current.close()
def test_interruption_does_not_consume_failure_budget(self):
+1 -1
View File
@@ -1 +1 @@
{"protected_inventory_sha256": "5bb60e47fbb92c2f7f2f9e13434339faeec65a3a051bb9fb33d70676bc485d8c", "schema_version": 1}
{"protected_inventory_sha256": "787a2aa5992f611d9f12f7058e40cca93d80bcc8f266b866a0205cccb9cd08ac", "schema_version": 1}