Merge live Windows agent 0.1.27 source into the deployed server state
Rust development slice / linux (push) Failing after 14s

main now matches what runs on discovery.ease-technologies.de on 2026-11-20:
- Server, gateway, public API and WebUI: image rmm-dev-server:79f236b
  (schema 47), plus the follow-up docs commit fb35dbd.
- Windows agent and helper 0.1.27: signed release build 28 from 52c352c;
  hashes verified on the Windows test guest.
- Linux agent 0.1.0-mvp.14 (62cb52b) and OPNsense agent 0.1.0-opnsense.6
  are already ancestors of 79f236b.

Conflict in crates/agent-windows/src/native.rs resolved to the released
Windows side (os_inventory with missing DisplayVersion handling).
cargo check passes for the Linux workspace and for rmm-agent-windows on
x86_64-pc-windows-gnu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-20 10:50:18 +01:00
co-authored by Claude Opus 5.5
21 changed files with 1411 additions and 124 deletions
@@ -0,0 +1,201 @@
{
"native_method": "Three windows with process CPU and logical I/O counters from Win32_Process, plus existing readiness observations. Percentages use both Windows logical processors. I/O counts include cached reads. The data shows the combined effect of each release.",
"source_findings": {
"baseline_revision": "9e957e6d8d4254a01fe215b32ecd6bc8c31b6947",
"agent": "20 ms timer did journal queries and qualified clock reads even with no accepted attempt. Every sync prepared with a complete SQLite integrity scan.",
"helper": "Every snapshot ran a complete SQLite integrity scan. Every ready response rebuilt a denial anchor and revalidated the entire historical decision chain. ORDER BY checkpoint had no supporting index for that replay.",
"idle_runtime_tick_ms": 250,
"active_runtime_tick_ms": 20,
"idle_integrity_audit_interval_seconds": 300,
"full_audits_before_new_system_effect": true,
"full_lineage_audit_before_no_start_record": true
},
"local_sqlite_query_plan": {
"baseline": [
"SCAN helper_sync_decisions",
"USE TEMP B-TREE FOR ORDER BY"
],
"with_checkpoint_index": [
"SCAN helper_sync_decisions USING INDEX helper_sync_decisions_checkpoint"
]
},
"measurements": [
{
"start": "2026-11-19T09:05:49.2782989Z",
"end": "2026-11-19T09:07:20.7135402Z",
"version": "0.1.22",
"cpu_count": 2,
"duration_seconds": 91.127271,
"journal_bytes": 452415488,
"ledger_bytes": 335908864,
"processes": {
"rmm-updater-windows.exe": {
"pid": 2384,
"cpu_seconds": 0.03125,
"cpu_percent": 0.0171,
"read_mib_s": 0.0003,
"write_mib_s": 0.0
},
"rmm-helper-windows.exe": {
"pid": 4700,
"cpu_seconds": 21.546875,
"cpu_percent": 11.8224,
"read_mib_s": 102.0242,
"write_mib_s": 34.4732
},
"rmm-agent-windows.exe": {
"pid": 1908,
"cpu_seconds": 5.75,
"cpu_percent": 3.1549,
"read_mib_s": 38.1056,
"write_mib_s": 0.0482
}
},
"idle_job_authorizations": 0,
"readiness_samples": 19,
"signed_decisions_observed": 6,
"ready_samples": 14
},
{
"start": "2026-11-19T09:13:22.8803140Z",
"end": "2026-11-19T09:14:54.0077643Z",
"version": "0.1.23",
"cpu_count": 2,
"duration_seconds": 90.93767,
"journal_bytes": 455192576,
"ledger_bytes": 337829888,
"processes": {
"rmm-updater-windows.exe": {
"pid": 2384,
"cpu_seconds": 0.015625,
"cpu_percent": 0.0086,
"read_mib_s": 0.0,
"write_mib_s": 0.0
},
"rmm-helper-windows.exe": {
"pid": 8036,
"cpu_seconds": 10.015625,
"cpu_percent": 5.5069,
"read_mib_s": 63.7249,
"write_mib_s": 13.9068
},
"rmm-agent-windows.exe": {
"pid": 832,
"cpu_seconds": 2.640625,
"cpu_percent": 1.4519,
"read_mib_s": 26.3846,
"write_mib_s": 0.0204
}
},
"idle_job_authorizations": 0,
"readiness_samples": 18,
"signed_decisions_observed": 3,
"ready_samples": 10
},
{
"start": "2026-11-19T09:18:45.8146916Z",
"end": "2026-11-19T09:20:16.8017398Z",
"version": "0.1.24",
"cpu_count": 2,
"duration_seconds": 90.814144,
"journal_bytes": 456974336,
"ledger_bytes": 339193856,
"processes": {
"rmm-updater-windows.exe": {
"pid": 2384,
"cpu_seconds": 0.0,
"cpu_percent": 0.0,
"read_mib_s": 0.0,
"write_mib_s": 0.0
},
"rmm-helper-windows.exe": {
"pid": 4168,
"cpu_seconds": 1.53125,
"cpu_percent": 0.8431,
"read_mib_s": 16.1736,
"write_mib_s": 0.0126
},
"rmm-agent-windows.exe": {
"pid": 404,
"cpu_seconds": 1.28125,
"cpu_percent": 0.7054,
"read_mib_s": 12.3686,
"write_mib_s": 0.0294
}
},
"idle_job_authorizations": 0,
"readiness_samples": 19,
"signed_decisions_observed": 4,
"ready_samples": 18
}
],
"candidate_0_1_23_revision": "478ee1fc1a8141845427011e566f5225eeebadd0",
"final_build_revision": "f01e81418e7b36a86bfb686542bd2f5380ecfe82",
"release": {
"release_id": "2032b236-4ab7-4dad-8e74-1144c5a5d165",
"version": "0.1.24",
"platform": "x86_64-pc-windows-gnu",
"manifest_sha256": "311e5df4979904907e54d5d1e08205decaf78fa3e3c6e34a68215f4873c2782d"
},
"activation": {
"method": "Signed automatic Windows GNU release pull in Development A",
"sequence": 25,
"agent_id": "239ffa87-642f-40cd-9cbf-d48557dc0193",
"asset_id": "fab8b229-4eea-4af8-9362-a3aea4a8f709",
"services": [
{
"name": "RmmDiscoveryReleasePull",
"pid": 2384,
"state": "Running",
"sha256": "575ceb6a0b76c835d28646a498dfa73e88fb5de6343b77bf11d5eefea3fc68b1"
},
{
"name": "RmmDiscoverySystemHelper",
"pid": 4168,
"state": "Running",
"sha256": "bcff281db15549381f1fbe530af74ad4b44cefaa94a7c1c30e1f5a6a673ea556"
},
{
"name": "RmmDiscoveryWindows",
"pid": 404,
"state": "Running",
"sha256": "3c4727fd08ffecf3147221826087f125c6d835201b182b8ad1a4280c98ea0954"
}
],
"observed_at_utc": "2026-11-19T09:18:43.8141692Z",
"fresh_gateway_contact": "2026-11-19T09:18:40.275768+00:00"
},
"system_test": {
"operation_id": "e6d139c0-7f29-478d-87e8-38f466d8634f",
"job_id": "512f9311-4ace-4b64-9c60-24bb40719312",
"attempt_id": "d6e4a74a-4a56-4d95-b640-db4267c437eb",
"plan_hash": "7aeffea215d916810af3b7748fb3fb7bc715e5d9470d85e7f669bd20526ff2e7",
"stdout": "Windows-Konto S-1-5-18",
"exit_code": 0,
"state": "succeeded",
"observed_at": "2026-11-19T09:20:39.711Z",
"script_sha256": "8a0c76004a480aa11f6c768b2984e2cf2c01431009ccdbfb1607825133fcbc4f",
"approval": {
"principal": "simulated-testprincipal-a",
"approval_origin": "dev_test_browser_simulation",
"testsimulation": true,
"plan_hash": "7aeffea215d916810af3b7748fb3fb7bc715e5d9470d85e7f669bd20526ff2e7"
},
"preapproval": {
"jobs": 0,
"outbox": 0,
"grants": 0
},
"grants": 1
},
"final_health": {
"auth_contact": "2026-11-19T09:20:39.525258+00:00",
"contact": "2026-11-19T09:20:26.027274+00:00",
"generation": 80,
"active_jobs": 0,
"helper_ready": true,
"ready": true,
"system_run_script": true
},
"targeted_core_tests_passed": 70
}
@@ -0,0 +1,99 @@
{
"device": "discwindowstest",
"agent_id": "239ffa87-642f-40cd-9cbf-d48557dc0193",
"service_account_sid": "S-1-5-19",
"approval_origin": "dev_test_browser_simulation",
"testsimulation": true,
"probes": [
{
"probe": "event_log_access",
"operation_id": "a1c51c29-691e-4b70-aa94-d2967ffece45",
"job_id": "a94170e7-97e4-4092-9cfb-76394f43b891",
"attempt_id": "d01accc7-cb36-4a92-b31a-0a34e5642bd9",
"plan_hash": "09b0d80a2ce0c68300f4a2a2639af2dc7a40a7a75b3011e26ae0e0de7e30bded",
"observed_at": "2026-11-19T10:25:20.806Z"
},
{
"probe": "w32tm_exit_and_event_260_fields",
"operation_id": "9354d97c-dc14-436b-9da5-5c665dbf5ee4",
"job_id": "4a2fd66e-2ba8-4414-a19e-38911e08a1ad",
"attempt_id": "5e1cb739-aac4-48e1-9a7a-72c52aa3a366",
"plan_hash": "e18a81044b5f249709cf18c90df01e6d8a904f9e714ba736341e89a7d3546f14",
"observed_at": "2026-11-19T10:26:17.521Z"
},
{
"probe": "w32tm_status_and_instance_creation_acl",
"operation_id": "174c88c2-bbf9-4f94-9ac3-c2421205b36c",
"job_id": "93546a51-9a55-444d-8a51-0a28b72868a2",
"attempt_id": "4767c1d0-574d-4867-abaf-c4fe5540f5f3",
"plan_hash": "63a34cfa84f8b6cb2c97685ea4cdf3c5a4833d4f47536d5a9b784cb814657ef2",
"observed_at": "2026-11-19T10:27:49.448Z"
},
{
"probe": "w32tm_status_and_pipe_owner_pid",
"operation_id": "f5398a75-358b-41df-8891-41a294f03865",
"job_id": "e38e9eaf-f987-4fcf-8fe6-38b3e1f213f5",
"attempt_id": "89d476f3-de30-48da-8fe9-1259634daa04",
"plan_hash": "d37cbf6ff3b705e1d2b9637cc4f357989e774a8b1201892084abfecd42b82399",
"observed_at": "2026-11-19T10:29:10.112Z"
}
],
"first_w32tm_invocation_exit_observed": false,
"w32time_running": true,
"last_w32tm_query_exit_code": 0,
"last_w32tm_query": {
"leap": 0,
"stratum": 5,
"state": 2,
"root_delay_seconds": 0.0171354,
"root_dispersion_seconds": 1.1443877,
"phase_offset_seconds": 0.0090787,
"last_successful_sync_age_seconds": 6310.7259763
},
"newest_operational_status_event_260": {
"id": 260,
"count": 10,
"last_age_seconds": 28666,
"fields": [
"Configuration",
"TimeProviders",
"LeapIndicator",
"Stratum",
"Precision",
"RootDelay",
"RootDispersion",
"ReferenceId",
"LastSuccessfulSyncTime",
"Source",
"PollInterval",
"PhaseOffset",
"ClockRate",
"StateMachine",
"TimeSourceFlags",
"ServerRole",
"LastSyncError",
"TimeSinceLastGoodSync",
"TickCount"
]
},
"direct_local_w32time_alt_pipe": {
"owner_sid": "S-1-5-19",
"owner_rights": "READ_CONTROL",
"create_instance_sid_matches_w32time": true,
"peer_pid_matches_service_manager": true
},
"existing_native_adapter_max_sync_age_seconds": 3600,
"native_job_clock_accepted": false,
"agent_or_helper_released": false,
"workspace_base_revision": "5a9eafbff17b782081bf0ebe67a75b93122e5eac",
"w32tm_rpc_peer_identity_verified_in_probe": false,
"post_diagnostics": {
"checked_at": "2026-11-19T10:32:09.314887+00:00",
"release_version": "0.1.24",
"release_id": "2032b236-4ab7-4dad-8e74-1144c5a5d165",
"active_jobs": 0,
"agent_ready": true,
"helper_ready": true,
"system_script_capability": true
}
}
@@ -0,0 +1,217 @@
{
"device": "discwindowstest",
"agent_id": "239ffa87-642f-40cd-9cbf-d48557dc0193",
"asset_id": "fab8b229-4eea-4af8-9362-a3aea4a8f709",
"source_revision": "b002202d625720694a3792c3e15d3a94719b7099",
"release": {
"version": "0.1.25",
"id": "2a41f8c8-dd1a-46d9-bef1-9ad5cddf5966",
"sequence": 26,
"signing_key_id": "0cd5b3f3e2ddf7669df05e759f48e6398548112fc5c6fd9b9128ef3243561b10",
"authenticated_contact_at": "2026-11-19T10:54:12.386781+00:00",
"local_service_readiness": {
"observed_at": "2026-11-19T10:54:13.672532300Z",
"ready": true,
"helper_ready": true,
"clock_qualified": true,
"counts": {
"accepted": 0,
"requesting": 0,
"running": 0,
"verifying": 0,
"unknown": 0,
"awaiting_reboot": 0,
"events": 0,
"legacy_events": 0
}
},
"running_images": {
"RmmDiscoverySystemHelper": "b7a6a451647bd840524067270ed96fdfea84cd5b2a60d84445eacc90d544c9f1",
"RmmDiscoveryWindows": "a687961919ab30d539105ad7e693666bcd38d26515a11d8d486364ffb156fcf5"
}
},
"direct_pipe_probe_as_localservice": {
"job_id": "e6cad92f-6474-4693-bf1a-73cf72ad81bb",
"state": 2,
"stratum": 5,
"sync_age_seconds": 7203.0809513,
"root_dispersion_seconds": 1.1443877
},
"native_clock_tests_passed": 17,
"job_approval_origin": "dev_test_browser_simulation",
"system_job": {
"operation_id": "fee07cb4-a708-41e9-9690-e84a9b960f64",
"job_id": "49536eaa-dd7a-4f7e-910d-34a120e5c404",
"attempt_id": "cd00f3db-6f57-411f-ad1b-c89e4f83c37d",
"plan_hash": "3115b232e66a0766b075f223165e5e32824329ff2fcefd77e09adb7c91eb6920",
"stdout": "Windows-Konto S-1-5-18",
"exit_code": 0,
"observed_at": "2026-11-19T10:54:54.535Z"
},
"localservice_job": {
"operation_id": "3a82b9f8-6b90-403b-bc07-af3fd5577765",
"job_id": "ea8fc366-cea5-44e5-aea2-92a614b3d584",
"attempt_id": "41915f64-0c33-43b9-a6c2-abe4b5daf2fd",
"plan_hash": "61310d106e488185f8dad1490dde0a21878d744b2e3ceefafef8cad98794399b",
"stdout": "Windows-Konto S-1-5-19",
"exit_code": 0,
"observed_at": "2026-11-19T10:55:15.164Z"
},
"idle_cpu": {
"method": "Deltas of accumulated user and kernel CPU time, normalized to all guest logical CPUs. No active jobs at either endpoint of each measurement.",
"before": [
{
"start": "2026-11-19T10:34:46.3830134Z",
"end": "2026-11-19T10:36:17.5961401Z",
"version": "0.1.24",
"cpu_count": 2,
"duration_seconds": 90.878517,
"journal_bytes": 490684416,
"ledger_bytes": 364482560,
"processes": {
"rmm-updater-windows.exe": {
"pid": 2384,
"cpu_seconds": 0.0,
"cpu_percent": 0.0,
"read_mib_s": 0.0,
"write_mib_s": 0.0
},
"rmm-helper-windows.exe": {
"pid": 4168,
"cpu_seconds": 1.71875,
"cpu_percent": 0.9456,
"read_mib_s": 19.5365,
"write_mib_s": 0.0099
},
"rmm-agent-windows.exe": {
"pid": 404,
"cpu_seconds": 1.46875,
"cpu_percent": 0.8081,
"read_mib_s": 12.3542,
"write_mib_s": 0.0265
}
},
"signed_sync_decisions": 3,
"readiness_samples": 19,
"clock_and_both_processes_ready_samples": 18
},
{
"start": "2026-11-19T10:48:29.8083475Z",
"end": "2026-11-19T10:50:00.9952167Z",
"version": "0.1.24",
"cpu_count": 2,
"duration_seconds": 90.893371,
"journal_bytes": 501288960,
"ledger_bytes": 371404800,
"processes": {
"rmm-updater-windows.exe": {
"pid": 2384,
"cpu_seconds": 0.015625,
"cpu_percent": 0.0086,
"read_mib_s": 0.0,
"write_mib_s": 0.0
},
"rmm-helper-windows.exe": {
"pid": 4168,
"cpu_seconds": 1.609375,
"cpu_percent": 0.8853,
"read_mib_s": 16.8442,
"write_mib_s": 0.015
},
"rmm-agent-windows.exe": {
"pid": 404,
"cpu_seconds": 2.015625,
"cpu_percent": 1.1088,
"read_mib_s": 18.2974,
"write_mib_s": 0.0426
}
},
"signed_sync_decisions": 5,
"readiness_samples": 19,
"clock_and_both_processes_ready_samples": 17
}
],
"after": [
{
"start": "2026-11-19T10:55:17.1079639Z",
"end": "2026-11-19T10:56:48.1011210Z",
"version": "0.1.25",
"cpu_count": 2,
"duration_seconds": 90.804969,
"journal_bytes": 505876480,
"ledger_bytes": 375373824,
"processes": {
"rmm-updater-windows.exe": {
"pid": 2384,
"cpu_seconds": 0.0,
"cpu_percent": 0.0,
"read_mib_s": 0.0,
"write_mib_s": 0.0
},
"rmm-helper-windows.exe": {
"pid": 7736,
"cpu_seconds": 0.453125,
"cpu_percent": 0.2495,
"read_mib_s": 3.5594,
"write_mib_s": 0.0106
},
"rmm-agent-windows.exe": {
"pid": 6660,
"cpu_seconds": 0.515625,
"cpu_percent": 0.2839,
"read_mib_s": 2.0611,
"write_mib_s": 0.0297
}
},
"signed_sync_decisions": 3,
"readiness_samples": 19,
"clock_and_both_processes_ready_samples": 19
},
{
"start": "2026-11-19T10:56:51.2093465Z",
"end": "2026-11-19T10:58:22.2709313Z",
"version": "0.1.25",
"cpu_count": 2,
"duration_seconds": 90.875229,
"journal_bytes": 507482112,
"ledger_bytes": 376291328,
"processes": {
"rmm-updater-windows.exe": {
"pid": 2384,
"cpu_seconds": 0.015625,
"cpu_percent": 0.0086,
"read_mib_s": 0.0003,
"write_mib_s": 0.0
},
"rmm-helper-windows.exe": {
"pid": 7736,
"cpu_seconds": 0.984375,
"cpu_percent": 0.5416,
"read_mib_s": 10.2012,
"write_mib_s": 0.0206
},
"rmm-agent-windows.exe": {
"pid": 6660,
"cpu_seconds": 0.671875,
"cpu_percent": 0.3697,
"read_mib_s": 3.283,
"write_mib_s": 0.0803
}
},
"signed_sync_decisions": 5,
"readiness_samples": 19,
"clock_and_both_processes_ready_samples": 18
}
],
"weighted_mean_percent": {
"agent": {
"before": 0.9584,
"after": 0.3268
},
"system_helper": {
"before": 0.9155,
"after": 0.3956
}
}
}
}
@@ -0,0 +1,36 @@
{
"source_revision": "037b5e39fa5c23689984061efded0628e6914dab",
"platform": "x86_64-pc-windows-gnu",
"release": {
"version": "0.1.26",
"sequence": 27,
"release_id": "979ff20e-e412-402f-85ea-fa6c50ae4b7b",
"manifest_sha256": "31d22becc730eb4a2817dcd9b6aee2924b3416d3956c9a8b1bc6d2f79749499e",
"minimum_updater_version": 2,
"published_to_affected_customer": true,
"official_windows_starter": true
},
"native_windows_tests": {
"display_version_has_priority": "passed",
"missing_display_version_uses_release_id": "passed",
"missing_version_labels_keep_product_and_build": "passed",
"existing_windows_inventory_collection": "passed"
},
"native_test_vm_self_update": {
"previous_sequence": 26,
"installed_sequence": 27,
"same_agent_identity": true,
"new_heartbeat_at_utc": "2026-11-19T15:35:18.825174Z",
"updater_status": "ok",
"updater_status_at_utc": "2026-11-19T15:35:21.661912200Z",
"running_agent_sha256": "a23edbe35c089e1788939c42274dba58ad5b33bf344997fb85b023355b97de64",
"running_helper_sha256": "68a952a4d42375bc4119486c72f4714ca47e72348e15ef013eda9892614f088d"
},
"affected_device": {
"enrollment_accepted": true,
"last_observed_version": "0.1.22",
"local_error": "OS_REGISTRY",
"display_version_missing_confirmed_by_operator": true,
"updated_and_reported_first_heartbeat": "not yet observed"
}
}