mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 20:53:06 +00:00
51f2dabc8c
The timeline showed WiFi segments with an SSID and no signal, and an "Avg WiFi signal" stat that simply vanished — on a location-gated device that reads as a product defect rather than the Windows 24H2 gate that caused it. No agent change was needed: buildSegments already merges every wifi_signal_info into the WiFi segment covering its timestamp, so wifiDataLimitedReason rides in with the sample that was already being read. - NetSegment.dataLimitedReason, filled from the sample. - Segments that never got a sample of their own (a mid-session reconnect emits no wifi_signal_info) inherit it: the gate is a device-level setting and cannot flip during an enrollment. A segment WITH a real reading is never overwritten — pinned by a test. - Tooltip: "Signal: unavailable — Location services off on this device" where the percentage would be. - Stats row: "Avg WiFi signal: n/a (Location services off)" instead of dropping the row. network_state_change is deliberately left alone. That event has never carried signalPercent or radioType — NetworkChangeDetector collects them into its snapshot for change detection, but only before_/after_wifiSsid reaches the payload — so there is no absent field there for a reason to explain, and the SSID it does carry is unaffected by the gate. Adding it would ship a field nothing reads. Verified: web tsc + eslint (0 warnings) + vitest 893/893. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>