From 959667e6b5978504d645ec13d39404686480b024 Mon Sep 17 00:00:00 2001 From: diffwireauto <330573775+diffwireauto@users.noreply.github.com> Date: Mon, 30 Nov 2026 22:52:48 -0500 Subject: [PATCH] fix(#808): classify the not-a-radio device store in the scoping inventory The #853 inventory gate landed after #808 was written, so the new non_radio_device_ids key was undeclared and scoping_inventory_test failed. It is global on purpose: it records Bluetooth devices this phone proved are not radios, learned before any radio is connected. Co-Authored-By: Claude Opus 5.5 --- lib/storage/scoping_inventory.dart | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/storage/scoping_inventory.dart b/lib/storage/scoping_inventory.dart index 3b49cfe7..13f5d4f3 100644 --- a/lib/storage/scoping_inventory.dart +++ b/lib/storage/scoping_inventory.dart @@ -266,6 +266,16 @@ const List storageSurfaces = [ 'connected, and per-radio caching would multiply the download', owner: 'lib/services/map_tile_cache_service.dart', ), + StorageSurface( + 'non_radio_device_ids', + verdict: ScopingVerdict.globalOnPurpose, + reason: + 'Bluetooth ids of devices this phone proved are not radios (no ' + 'MeshCore UART service on a user-initiated attach, #808). It is a ' + 'fact about the device, learned before any radio is connected, so ' + 'there is no radio to scope it to', + owner: 'lib/storage/non_radio_device_store.dart', + ), StorageSurface( 'radio_presets_v1_', verdict: ScopingVerdict.globalOnPurpose,