Recover a Windows maintenance setup interrupted before policy activation

This commit is contained in:
2026-11-17 17:32:17 +01:00
parent fe55995154
commit 8c39e79a79
9 changed files with 303 additions and 63 deletions
@@ -0,0 +1,58 @@
{
"schema_version": 1,
"date": "2026-11-17",
"environment": "development",
"test_command": "python3 tests/windows_update_early_abort.py --execute",
"platform": "windows-x86_64-gnu",
"agent_version": "0.1.4",
"case_id": "ef29ea93-b730-4fdc-861e-46a4ba632c25",
"enrollment": {
"agent_id": "858a27db-8ba3-4a75-af51-66f6a0909a91",
"agent_sha256": "f30ffac8b9f674c4933d50645bf93f6ee89442608ff73f597cedef3a42172292",
"asset_id": "26d4cdef-dc84-47c3-8f49-49e22ef64ea8",
"helper_binary_sha256": "eeb81736a3ddf297230d808b81f4fbf29f5ebe29723fc298455746f3e4b8f2b7",
"release_id": "3dcb2484-fb2d-418d-84f0-aa54f5c4c209",
"tenant_id": "11111111-1111-4111-8111-111111111111"
},
"prepared": {
"at": "2026-11-17T16:29:13.662531+00:00",
"signed_decision_id": "145ae67c-f6e4-46dc-85d6-fe8b24547e9e",
"checkpoint": 453,
"journal_id": "0c1ec1d3-c868-42f7-a783-70d99a4f9636",
"helper_journal_id": null,
"helper_checkpoint": 0
},
"injected_failure": {
"actual_controller_exit_code": 85,
"before_central_activation": true,
"first_observed_authenticated_scoped_heartbeat": "2026-11-17T16:30:21.655709+00:00",
"sync_ready": true,
"helper_sync_ready": true,
"signed_head": {
"checkpoint": 476,
"decision_id": "5eda9bd1-6cd8-4475-a317-25436e610312",
"helper_checkpoint": 3,
"helper_id": "aef1b629-f417-4dc3-9bd7-ef6be94ec7b8",
"journal_id": "0c1ec1d3-c868-42f7-a783-70d99a4f9636"
},
"open_jobs": 0
},
"recovery": {
"separate_process": "python3 tools/windows_update_scope.py close --case ef29ea93-b730-4fdc-861e-46a4ba632c25",
"central_tombstone_at": "2026-11-17T16:30:25.544765+00:00",
"window_candidate_persisted": false,
"new_system_jobs_or_grants_since_preparation": 0,
"native_verified_decision_id": "5eda9bd1-6cd8-4475-a317-25436e610312",
"native_archived_attempts": 0,
"central_helper_detach_committed": true,
"native_helper_detach_committed": true,
"helper_service_registered": false,
"agent_service": "Running",
"release_pull_service": "Running",
"post_close_contact": "2026-11-17T16:30:43.878785+00:00",
"sync_ready": true,
"system_caps": false,
"open_jobs": 0
},
"result": "passed"
}