iobroker.eos-admin 9.0.19 → 9.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (491) hide show
  1. package/NEXOWATT_EOS_BUILD_INFO.json +4 -4
  2. package/README.md +7 -3
  3. package/START_HIER_9.0.20.md +65 -0
  4. package/adminWww/.vite/manifest.json +39 -39
  5. package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +110 -109
  6. package/adminWww/assets/{AdapterUpdateDialog-JOf2z4Vg.js → AdapterUpdateDialog-Dxl_b7Op.js} +1 -1
  7. package/adminWww/assets/{Adapters-C9fcSdWm.js → Adapters-CVKKhXmI.js} +1 -1
  8. package/adminWww/assets/{ConfigManager-BeeLlT6D.js → ConfigManager-Bf6nTAkL.js} +1 -1
  9. package/adminWww/assets/{Enums-FqnXWl8U.js → Enums-CJHVJY7t.js} +1 -1
  10. package/adminWww/assets/{Fields-DMgrt5Pi.js → Fields-DWHbZKvm.js} +1 -1
  11. package/adminWww/assets/{Files-CIHtt12g.js → Files-a6owMTXA.js} +1 -1
  12. package/adminWww/assets/{Hosts-fPLBzvTy.js → Hosts-LtEMeXpV.js} +1 -1
  13. package/adminWww/assets/{Instances-4XaVQlrT.js → Instances-DhChziA1.js} +1 -1
  14. package/adminWww/assets/{Intro-5TKriiLO.js → Intro-Cyq9gVDC.js} +1 -1
  15. package/adminWww/assets/{Logs-33zcIds-.js → Logs-wcramXsg.js} +1 -1
  16. package/adminWww/assets/{Objects-CNQPVbNG.js → Objects-DINVHd_e.js} +1 -1
  17. package/adminWww/assets/{Overview-BskXGOc8.js → Overview-DK4R41zR.js} +1 -1
  18. package/adminWww/assets/{State-C8SJ_Iqo.js → State-DcEACXzL.js} +1 -1
  19. package/adminWww/assets/{UsedResources-CgqRa9ei.js → UsedResources-C1LcM0Rb.js} +1 -1
  20. package/adminWww/assets/{Users-0JVYWR9u.js → Users-DvDdSyDY.js} +1 -1
  21. package/adminWww/assets/{bootstrap-D16lu6rd.js → bootstrap-Dbj_GbnP.js} +3 -3
  22. package/adminWww/assets/{hostInit-C8YZJuzi.js → hostInit-BNFIx0-f.js} +1 -1
  23. package/adminWww/assets/icons/nexowatt-180.png +0 -0
  24. package/adminWww/assets/{icons-material-CiNJ_6Ur.js → icons-material-DVbdXNgr.js} +1 -1
  25. package/adminWww/assets/{index-DA9Sphgh.js → index-CoKP1NSA.js} +2 -2
  26. package/adminWww/assets/{installSVGRenderer-DPdkRa_d.js → installSVGRenderer-CMvku1F1.js} +1 -1
  27. package/adminWww/assets/{mf-entry-bootstrap-0-a7ab91de.js → mf-entry-bootstrap-0-ac330bce.js} +2 -2
  28. package/adminWww/index.html +24 -24
  29. package/adminWww/mf-manifest.json +1 -1
  30. package/adminWww/mf-stats.json +1 -1
  31. package/adminWww/{remoteEntry-eos-9.0.19.js → remoteEntry-eos-9.0.21.js} +1 -1
  32. package/adminWww/remoteEntry.js +1 -1
  33. package/build/lib/eosCustomerUpdateHttp.js +203 -0
  34. package/build/lib/eosCustomerUpdateHttp.js.map +1 -0
  35. package/build/lib/eosCustomerUpdateTransport.js +472 -0
  36. package/build/lib/eosCustomerUpdateTransport.js.map +1 -0
  37. package/build/lib/eosCustomerUpdateWorker.js +567 -0
  38. package/build/lib/eosCustomerUpdateWorker.js.map +1 -0
  39. package/build/lib/eosCustomerUpdates.js +631 -0
  40. package/build/lib/eosCustomerUpdates.js.map +1 -0
  41. package/build/lib/eosDeviceEmsPlan.js +18 -5
  42. package/build/lib/eosDeviceEmsPlan.js.map +1 -1
  43. package/build/lib/eosDeviceEmsService.js +52 -2
  44. package/build/lib/eosDeviceEmsService.js.map +1 -1
  45. package/build/lib/eosLegacyMigration.js +26 -1
  46. package/build/lib/eosLegacyMigration.js.map +1 -1
  47. package/build/lib/eosModuleConfigStore.js +12 -1
  48. package/build/lib/eosModuleConfigStore.js.map +1 -1
  49. package/build/lib/eosModuleHost.js +81 -26
  50. package/build/lib/eosModuleHost.js.map +1 -1
  51. package/build/lib/eosModuleHttp.js +8 -2
  52. package/build/lib/eosModuleHttp.js.map +1 -1
  53. package/build/lib/eosStateSubscriptions.js +59 -2
  54. package/build/lib/eosStateSubscriptions.js.map +1 -1
  55. package/build/lib/eosUpdateSnapshot.js +290 -0
  56. package/build/lib/eosUpdateSnapshot.js.map +1 -0
  57. package/build/lib/eosUploadGuard.js +124 -81
  58. package/build/lib/eosUploadGuard.js.map +1 -1
  59. package/build/lib/web.js +83 -0
  60. package/build/lib/web.js.map +1 -1
  61. package/docs/reports/unified-9.0.20/ANFORDERUNGEN_UND_INBETRIEBNAHME.md +159 -0
  62. package/docs/reports/unified-9.0.20/DEVICE_COMMAND_DELIVERY_REVIEW.md +82 -0
  63. package/docs/reports/unified-9.0.20/DEVICE_LIFECYCLE_REVIEW.md +46 -0
  64. package/docs/reports/unified-9.0.20/DEVICE_PLAN_REVIEW.md +33 -0
  65. package/docs/reports/unified-9.0.20/DEVICE_POWER_CAPABILITY_REVIEW.md +25 -0
  66. package/docs/reports/unified-9.0.20/FARM_CONTROLLER_REVIEW.md +27 -0
  67. package/docs/reports/unified-9.0.20/FARM_DIAGNOSE_UI.md +81 -0
  68. package/docs/reports/unified-9.0.20/FARM_DISPATCH_REVIEW.md +47 -0
  69. package/docs/reports/unified-9.0.20/HISTORY_REVIEW.md +68 -0
  70. package/docs/reports/unified-9.0.20/INFLUXDB2_INSTALLER_UI.md +39 -0
  71. package/docs/reports/unified-9.0.20/INFLUX_CREDENTIAL_NETWORK_REVIEW.md +38 -0
  72. package/docs/reports/unified-9.0.20/INFLUX_DIRECT_UNABHAENGIGE_PRUEFUNG.md +64 -0
  73. package/docs/reports/unified-9.0.20/INFLUX_RUNTIME_INTEGRATION_REVIEW.md +53 -0
  74. package/docs/reports/unified-9.0.20/INFLUX_RUNTIME_UNABHAENGIGE_PRUEFUNG.md +34 -0
  75. package/docs/reports/unified-9.0.20/INFLUX_TRANSPORT_ABSCHLUSSPRUEFUNG.md +55 -0
  76. package/docs/reports/unified-9.0.20/LOGIN_WEBAPP_LOGO.md +29 -0
  77. package/docs/reports/unified-9.0.20/MIGRATION_REVIEW.md +35 -0
  78. package/docs/reports/unified-9.0.20/PRUEFBERICHT.md +54 -0
  79. package/docs/reports/unified-9.0.20/PWA_ANONYMOUS_HTTPS_REVIEW.md +28 -0
  80. package/docs/reports/unified-9.0.20/PWA_ICON_UNABHAENGIGE_PRUEFUNG.md +60 -0
  81. package/docs/reports/unified-9.0.20/SERIAL_LIFECYCLE_REVIEW.md +37 -0
  82. package/docs/reports/unified-9.0.20/SOLAX_READBACK_REVIEW.md +43 -0
  83. package/docs/reports/unified-9.0.20/SOLAX_READBACK_UNABHAENGIGE_PRUEFUNG.md +34 -0
  84. package/docs/reports/unified-9.0.20/STATIC_REVIEW_DE.md +175 -0
  85. package/docs/reports/unified-9.0.20/STORAGE_COMMAND_ACK_REVIEW.md +36 -0
  86. package/docs/reports/unified-9.0.20/TARIFF_REPORT_REVIEW.md +29 -0
  87. package/docs/reports/unified-9.0.20/VISUALISIERUNG.md +64 -0
  88. package/docs/reports/unified-9.0.20/history-setup-navigation-proxy.txt +26 -0
  89. package/docs/reports/unified-9.0.20/history-setup-navigation-ssr.txt +7 -0
  90. package/docs/reports/unified-9.0.20/history-setup-ui-lint.txt +0 -0
  91. package/docs/reports/unified-9.0.20/history-setup-ui-node22.txt +102 -0
  92. package/docs/reports/unified-9.0.20/history-setup-ui-node24.txt +23 -0
  93. package/docs/reports/unified-9.0.20/history-setup-ui-security.txt +0 -0
  94. package/docs/reports/unified-9.0.20/history-setup-ui-typecheck.txt +0 -0
  95. package/docs/reports/unified-9.0.20/login-pwa-branding-hashes.txt +9 -0
  96. package/docs/reports/unified-9.0.20/login-pwa-branding-node22.txt +42 -0
  97. package/docs/reports/unified-9.0.20/login-pwa-branding-node24.txt +13 -0
  98. package/docs/reports/unified-9.0.20/raw/INDEX.json +1913 -0
  99. package/docs/reports/unified-9.0.20/raw/additional-audit/device/baseline-node22.log +16 -0
  100. package/docs/reports/unified-9.0.20/raw/additional-audit/device/baseline-node24.log +14 -0
  101. package/docs/reports/unified-9.0.20/raw/additional-audit/device/lint-after.json +1 -0
  102. package/docs/reports/unified-9.0.20/raw/additional-audit/device/lint-before.json +1 -0
  103. package/docs/reports/unified-9.0.20/raw/additional-audit/device/modbus-stop-backoff.cjs +22 -0
  104. package/docs/reports/unified-9.0.20/raw/additional-audit/device/node22-control-review.log +29 -0
  105. package/docs/reports/unified-9.0.20/raw/additional-audit/device/node22-modbus-final.json +18 -0
  106. package/docs/reports/unified-9.0.20/raw/additional-audit/device/node22-modbus-final.log +325 -0
  107. package/docs/reports/unified-9.0.20/raw/additional-audit/device/node22-modbus-review.log +278 -0
  108. package/docs/reports/unified-9.0.20/raw/additional-audit/device/node24-modbus-final.json +18 -0
  109. package/docs/reports/unified-9.0.20/raw/additional-audit/device/node24-modbus-final.log +58 -0
  110. package/docs/reports/unified-9.0.20/raw/additional-audit/device/node24-modbus-review.log +51 -0
  111. package/docs/reports/unified-9.0.20/raw/additional-audit/history/api-gaps-before.log +64 -0
  112. package/docs/reports/unified-9.0.20/raw/additional-audit/history/api-negative-before.log +46 -0
  113. package/docs/reports/unified-9.0.20/raw/additional-audit/history/chart-gaps-before.log +127 -0
  114. package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-after.log +67 -0
  115. package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-before.log +61 -0
  116. package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-eslint-js.log +0 -0
  117. package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-eslint-ts.log +0 -0
  118. package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-node22.log +442 -0
  119. package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-node24.log +78 -0
  120. package/docs/reports/unified-9.0.20/raw/additional-audit/history/fix.py +73 -0
  121. package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-eslint-final.json +7 -0
  122. package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-final-node22.log +279 -0
  123. package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-final-node24.log +52 -0
  124. package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-followup-node22.log +223 -0
  125. package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-followup-node24.log +43 -0
  126. package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-own-cache.log +17 -0
  127. package/docs/reports/unified-9.0.20/raw/additional-audit/history/negative-pricing-before.log +96 -0
  128. package/docs/reports/unified-9.0.20/raw/additional-audit/history/node22-after.log +66 -0
  129. package/docs/reports/unified-9.0.20/raw/additional-audit/history/node22-repro.log +8 -0
  130. package/docs/reports/unified-9.0.20/raw/additional-audit/history/node24-after.log +17 -0
  131. package/docs/reports/unified-9.0.20/raw/additional-audit/history/node24-repro.log +8 -0
  132. package/docs/reports/unified-9.0.20/raw/additional-audit/history/repro.cjs +39 -0
  133. package/docs/reports/unified-9.0.20/raw/additional-audit/visuals/chromium-probe.log +3 -0
  134. package/docs/reports/unified-9.0.20/raw/additional-audit/visuals/patch-live.py +101 -0
  135. package/docs/reports/unified-9.0.20/raw/additional-audit/visuals/repro-live-display.cjs +26 -0
  136. package/docs/reports/unified-9.0.20/raw/additional-audit/visuals/repro-live-display.log +36 -0
  137. package/docs/reports/unified-9.0.20/raw/audit-full.log +345 -0
  138. package/docs/reports/unified-9.0.20/raw/audit-full.result.json +14 -0
  139. package/docs/reports/unified-9.0.20/raw/audit-runtime.log +23 -0
  140. package/docs/reports/unified-9.0.20/raw/audit-runtime.result.json +15 -0
  141. package/docs/reports/unified-9.0.20/raw/backend-final.log +5 -0
  142. package/docs/reports/unified-9.0.20/raw/backend-final.result.json +14 -0
  143. package/docs/reports/unified-9.0.20/raw/baseline-919-coverage-tests-node22.result.json +20 -0
  144. package/docs/reports/unified-9.0.20/raw/baseline-919-coverage-tests-node22.tap +721 -0
  145. package/docs/reports/unified-9.0.20/raw/baseline-919-coverage-tests-node24.result.json +20 -0
  146. package/docs/reports/unified-9.0.20/raw/baseline-919-coverage-tests-node24.tap +127 -0
  147. package/docs/reports/unified-9.0.20/raw/commissioning-evidence.json +69 -0
  148. package/docs/reports/unified-9.0.20/raw/commissioning-failed-init-drain-919-before.log +14 -0
  149. package/docs/reports/unified-9.0.20/raw/commissioning-final-node22.log +882 -0
  150. package/docs/reports/unified-9.0.20/raw/commissioning-final-node24.log +149 -0
  151. package/docs/reports/unified-9.0.20/raw/commissioning-lint.log +0 -0
  152. package/docs/reports/unified-9.0.20/raw/commissioning-planner-919-before.log +70 -0
  153. package/docs/reports/unified-9.0.20/raw/commissioning-retained-readiness-before.log +34 -0
  154. package/docs/reports/unified-9.0.20/raw/commissioning-runtime-retry-919-before.log +46 -0
  155. package/docs/reports/unified-9.0.20/raw/commissioning-types-node24.log +0 -0
  156. package/docs/reports/unified-9.0.20/raw/device-farm-protocol/DEVICE_FARM_READONLY_REVIEW.md +66 -0
  157. package/docs/reports/unified-9.0.20/raw/device-farm-protocol/run-readback-tests.cjs +13 -0
  158. package/docs/reports/unified-9.0.20/raw/device-farm-protocol/solax-control-chain.test.cjs +58 -0
  159. package/docs/reports/unified-9.0.20/raw/device-lifecycle-baseline-node22.log +16 -0
  160. package/docs/reports/unified-9.0.20/raw/device-lifecycle-baseline-node24.log +14 -0
  161. package/docs/reports/unified-9.0.20/raw/device-lifecycle-evidence.json +55 -0
  162. package/docs/reports/unified-9.0.20/raw/device-lifecycle-lint-after.json +1 -0
  163. package/docs/reports/unified-9.0.20/raw/device-lifecycle-lint-before.json +1 -0
  164. package/docs/reports/unified-9.0.20/raw/device-lifecycle-modbus-stop-backoff.cjs +22 -0
  165. package/docs/reports/unified-9.0.20/raw/device-lifecycle-node22-control-review.log +29 -0
  166. package/docs/reports/unified-9.0.20/raw/device-lifecycle-node22-modbus-final.json +18 -0
  167. package/docs/reports/unified-9.0.20/raw/device-lifecycle-node22-modbus-final.log +325 -0
  168. package/docs/reports/unified-9.0.20/raw/device-lifecycle-node22-modbus-review.log +278 -0
  169. package/docs/reports/unified-9.0.20/raw/device-lifecycle-node24-modbus-final.json +18 -0
  170. package/docs/reports/unified-9.0.20/raw/device-lifecycle-node24-modbus-final.log +58 -0
  171. package/docs/reports/unified-9.0.20/raw/device-lifecycle-node24-modbus-review.log +51 -0
  172. package/docs/reports/unified-9.0.20/raw/devices-hosted-typecheck-node22.log +0 -0
  173. package/docs/reports/unified-9.0.20/raw/devices-hosted-typecheck-node22.result.json +15 -0
  174. package/docs/reports/unified-9.0.20/raw/devices-hosted-typecheck-node24.log +0 -0
  175. package/docs/reports/unified-9.0.20/raw/devices-hosted-typecheck-node24.result.json +15 -0
  176. package/docs/reports/unified-9.0.20/raw/farm-controller/controller-node22.log +110 -0
  177. package/docs/reports/unified-9.0.20/raw/farm-controller/controller-node24.log +24 -0
  178. package/docs/reports/unified-9.0.20/raw/farm-controller/evidence.json +33 -0
  179. package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-lint.txt +0 -0
  180. package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-node22.txt +113 -0
  181. package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-node24.txt +26 -0
  182. package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-security.txt +0 -0
  183. package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-typecheck.txt +0 -0
  184. package/docs/reports/unified-9.0.20/raw/farm-dispatch/allocator-baseline.jsonl +6 -0
  185. package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-before.log +138 -0
  186. package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-main-delta.patch +77 -0
  187. package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-main-lint.json +7 -0
  188. package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-node22.log +64 -0
  189. package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-node22.result.json +14 -0
  190. package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-node24.log +18 -0
  191. package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-node24.result.json +14 -0
  192. package/docs/reports/unified-9.0.20/raw/final-ui-independent-review.json +194 -0
  193. package/docs/reports/unified-9.0.20/raw/frontend-build.log +152 -0
  194. package/docs/reports/unified-9.0.20/raw/frontend-build.result.json +14 -0
  195. package/docs/reports/unified-9.0.20/raw/independent-influx/parser-after-node22.json +35 -0
  196. package/docs/reports/unified-9.0.20/raw/independent-influx/parser-after-node22.result.json +17 -0
  197. package/docs/reports/unified-9.0.20/raw/independent-influx/parser-after-node24.json +31 -0
  198. package/docs/reports/unified-9.0.20/raw/independent-influx/parser-after-node24.result.json +17 -0
  199. package/docs/reports/unified-9.0.20/raw/independent-influx/parser-before.json +31 -0
  200. package/docs/reports/unified-9.0.20/raw/independent-influx/parser-reproducer.cjs +9 -0
  201. package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra-node22.result.json +18 -0
  202. package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra-node22.tap +34 -0
  203. package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra-node24.result.json +18 -0
  204. package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra-node24.tap +11 -0
  205. package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra.test.cjs +9 -0
  206. package/docs/reports/unified-9.0.20/raw/independent-solax/node22-focused.log +165 -0
  207. package/docs/reports/unified-9.0.20/raw/independent-solax/node24-focused.log +35 -0
  208. package/docs/reports/unified-9.0.20/raw/independent-solax/review-receipt.json +57 -0
  209. package/docs/reports/unified-9.0.20/raw/independent-solax/split-response-after.log +1 -0
  210. package/docs/reports/unified-9.0.20/raw/independent-solax/split-response-before.log +1 -0
  211. package/docs/reports/unified-9.0.20/raw/independent-solax/split-response.cjs +16 -0
  212. package/docs/reports/unified-9.0.20/raw/independent-solax/stop-race-generation-guard.log +1 -0
  213. package/docs/reports/unified-9.0.20/raw/independent-solax/stop-race.cjs +13 -0
  214. package/docs/reports/unified-9.0.20/raw/influx-direct/eslint.log +0 -0
  215. package/docs/reports/unified-9.0.20/raw/influx-direct/node22.log +112 -0
  216. package/docs/reports/unified-9.0.20/raw/influx-direct/node24.log +24 -0
  217. package/docs/reports/unified-9.0.20/raw/influx-direct/typecheck.log +0 -0
  218. package/docs/reports/unified-9.0.20/raw/influx-direct-review/hosted-module-history.test.cjs +85 -0
  219. package/docs/reports/unified-9.0.20/raw/influx-direct-review/independent-node22.json +12 -0
  220. package/docs/reports/unified-9.0.20/raw/influx-direct-review/independent-node22.log +100 -0
  221. package/docs/reports/unified-9.0.20/raw/influx-direct-review/independent-node24.json +12 -0
  222. package/docs/reports/unified-9.0.20/raw/influx-direct-review/independent-node24.log +21 -0
  223. package/docs/reports/unified-9.0.20/raw/influx-direct-review/runtime-after.test.cjs +15 -0
  224. package/docs/reports/unified-9.0.20/raw/influx-direct-review/runtime-loss-before.test.cjs +9 -0
  225. package/docs/reports/unified-9.0.20/raw/influx-direct-review/security-scan.cjs +15 -0
  226. package/docs/reports/unified-9.0.20/raw/influx-direct-review/transport-extra.test.cjs +9 -0
  227. package/docs/reports/unified-9.0.20/raw/influx-independent/legacy-history-node22.log +227 -0
  228. package/docs/reports/unified-9.0.20/raw/influx-independent/legacy-history-node22.result.json +11 -0
  229. package/docs/reports/unified-9.0.20/raw/influx-independent/legacy-history-node24.log +44 -0
  230. package/docs/reports/unified-9.0.20/raw/influx-independent/legacy-history-node24.result.json +11 -0
  231. package/docs/reports/unified-9.0.20/raw/influx-independent/node22.log +112 -0
  232. package/docs/reports/unified-9.0.20/raw/influx-independent/node22.result.json +12 -0
  233. package/docs/reports/unified-9.0.20/raw/influx-independent/node24.log +23 -0
  234. package/docs/reports/unified-9.0.20/raw/influx-independent/node24.result.json +12 -0
  235. package/docs/reports/unified-9.0.20/raw/influx-independent/runtime-after.test.cjs +15 -0
  236. package/docs/reports/unified-9.0.20/raw/influx-independent/transport-extra.test.cjs +9 -0
  237. package/docs/reports/unified-9.0.20/raw/influx-runtime/evidence.json +24 -0
  238. package/docs/reports/unified-9.0.20/raw/influx-runtime/final-node22.log +326 -0
  239. package/docs/reports/unified-9.0.20/raw/influx-runtime/final-node24.log +59 -0
  240. package/docs/reports/unified-9.0.20/raw/influx-runtime/runtime-node22.log +62 -0
  241. package/docs/reports/unified-9.0.20/raw/influx-runtime/runtime-node24.log +16 -0
  242. package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-lint.log +0 -0
  243. package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-lint.result.json +17 -0
  244. package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-node22.log +112 -0
  245. package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-node22.result.json +15 -0
  246. package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-node24.log +106 -0
  247. package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-node24.result.json +15 -0
  248. package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-typecheck.log +0 -0
  249. package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-typecheck.result.json +15 -0
  250. package/docs/reports/unified-9.0.20/raw/influx-security/source-sha256.json +5 -0
  251. package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-lint-final.log +0 -0
  252. package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-lint-final.result.json +16 -0
  253. package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-node22-final.log +124 -0
  254. package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-node22-final.result.json +14 -0
  255. package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-node24-final.log +26 -0
  256. package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-node24-final.result.json +14 -0
  257. package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-type-node22-final.log +0 -0
  258. package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-type-node22-final.result.json +15 -0
  259. package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-type-node24-final.log +0 -0
  260. package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-type-node24-final.result.json +15 -0
  261. package/docs/reports/unified-9.0.20/raw/influx-ui-independent-review-final.json +285 -0
  262. package/docs/reports/unified-9.0.20/raw/influx-ui-independent-review-intermediate.json +285 -0
  263. package/docs/reports/unified-9.0.20/raw/installer-build.log +26 -0
  264. package/docs/reports/unified-9.0.20/raw/installer-build.result.json +14 -0
  265. package/docs/reports/unified-9.0.20/raw/isolation/INDEX.json +332 -0
  266. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-final.log +3 -0
  267. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-final.result.json +13 -0
  268. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-hosted.log +6 -0
  269. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-hosted.result.json +13 -0
  270. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-verified.log +1 -0
  271. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-verified.result.json +13 -0
  272. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family.log +11 -0
  273. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family.result.json +13 -0
  274. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-final.log +3 -0
  275. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-final.result.json +13 -0
  276. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-hosted.log +3 -0
  277. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-hosted.result.json +13 -0
  278. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-verified.log +1 -0
  279. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-verified.result.json +13 -0
  280. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid.log +11 -0
  281. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid.result.json +13 -0
  282. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-final-node22.log +296 -0
  283. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-final-node22.result.json +16 -0
  284. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-final-node24.log +56 -0
  285. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-final-node24.result.json +16 -0
  286. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-node24.log +54 -0
  287. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-node24.result.json +16 -0
  288. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-output-modes.log +1 -0
  289. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-output-modes.result.json +13 -0
  290. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-final-node22.log +332 -0
  291. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-final-node22.result.json +16 -0
  292. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-final-node24.log +62 -0
  293. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-final-node24.result.json +16 -0
  294. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-node22.log +342 -0
  295. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-node22.result.json +16 -0
  296. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-node24.log +72 -0
  297. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-node24.result.json +16 -0
  298. package/docs/reports/unified-9.0.20/raw/isolation/isolation-node22.log +482 -0
  299. package/docs/reports/unified-9.0.20/raw/isolation/isolation-node22.result.json +19 -0
  300. package/docs/reports/unified-9.0.20/raw/isolation/isolation-node24.log +87 -0
  301. package/docs/reports/unified-9.0.20/raw/isolation/migration-lint.log +0 -0
  302. package/docs/reports/unified-9.0.20/raw/isolation/migration-lint.result.json +16 -0
  303. package/docs/reports/unified-9.0.20/raw/isolation/migration-node22.log +330 -0
  304. package/docs/reports/unified-9.0.20/raw/isolation/migration-node22.result.json +16 -0
  305. package/docs/reports/unified-9.0.20/raw/isolation/migration-node24-before.log +72 -0
  306. package/docs/reports/unified-9.0.20/raw/isolation/migration-node24-before.result.json +16 -0
  307. package/docs/reports/unified-9.0.20/raw/isolation/migration-node24.log +60 -0
  308. package/docs/reports/unified-9.0.20/raw/isolation/migration-node24.result.json +16 -0
  309. package/docs/reports/unified-9.0.20/raw/isolation/repro-migration-start-budget.cjs +49 -0
  310. package/docs/reports/unified-9.0.20/raw/isolation/repro-serial-release.cjs +21 -0
  311. package/docs/reports/unified-9.0.20/raw/isolation/repro-sunspec-discovery.cjs +11 -0
  312. package/docs/reports/unified-9.0.20/raw/isolation/serial-before-repro.log +1 -0
  313. package/docs/reports/unified-9.0.20/raw/isolation/serial-before-repro.result.json +13 -0
  314. package/docs/reports/unified-9.0.20/raw/isolation/serial-gates-node22.log +32 -0
  315. package/docs/reports/unified-9.0.20/raw/isolation/serial-gates-node22.result.json +14 -0
  316. package/docs/reports/unified-9.0.20/raw/isolation/serial-gates-node24.log +11 -0
  317. package/docs/reports/unified-9.0.20/raw/isolation/serial-gates-node24.result.json +14 -0
  318. package/docs/reports/unified-9.0.20/raw/isolation/serial-helper-typecheck-final.log +0 -0
  319. package/docs/reports/unified-9.0.20/raw/isolation/serial-helper-typecheck-final.result.json +28 -0
  320. package/docs/reports/unified-9.0.20/raw/isolation/serial-helper-typecheck.log +2 -0
  321. package/docs/reports/unified-9.0.20/raw/isolation/serial-helper-typecheck.result.json +26 -0
  322. package/docs/reports/unified-9.0.20/raw/isolation/serial-lint.log +0 -0
  323. package/docs/reports/unified-9.0.20/raw/isolation/serial-lint.result.json +18 -0
  324. package/docs/reports/unified-9.0.20/raw/isolation/serial-node22.log +344 -0
  325. package/docs/reports/unified-9.0.20/raw/isolation/serial-node22.result.json +17 -0
  326. package/docs/reports/unified-9.0.20/raw/isolation/serial-node24.log +62 -0
  327. package/docs/reports/unified-9.0.20/raw/isolation/serial-node24.result.json +17 -0
  328. package/docs/reports/unified-9.0.20/raw/isolation/sunspec-review-after.log +3 -0
  329. package/docs/reports/unified-9.0.20/raw/isolation/sunspec-review-after.result.json +13 -0
  330. package/docs/reports/unified-9.0.20/raw/isolation/sunspec-review-before.log +3 -0
  331. package/docs/reports/unified-9.0.20/raw/isolation/sunspec-review-before.result.json +15 -0
  332. package/docs/reports/unified-9.0.20/raw/keygen-source.json +6 -0
  333. package/docs/reports/unified-9.0.20/raw/legacy-mirror-debt/check-919.log +70 -0
  334. package/docs/reports/unified-9.0.20/raw/legacy-mirror-debt/check-920.log +71 -0
  335. package/docs/reports/unified-9.0.20/raw/legacy-mirror-debt/diff.json +82 -0
  336. package/docs/reports/unified-9.0.20/raw/legacy-mirror-debt/receipt.json +48 -0
  337. package/docs/reports/unified-9.0.20/raw/lint-final.log +16 -0
  338. package/docs/reports/unified-9.0.20/raw/lint-final.result.json +14 -0
  339. package/docs/reports/unified-9.0.20/raw/main-individual-review-before-cache-boundary-fix.json +112 -0
  340. package/docs/reports/unified-9.0.20/raw/main-individual-review-before-capability-ack.json +103 -0
  341. package/docs/reports/unified-9.0.20/raw/main-individual-review-before-farm-diagnostics.json +102 -0
  342. package/docs/reports/unified-9.0.20/raw/main-individual-review-final.json +103 -0
  343. package/docs/reports/unified-9.0.20/raw/main-individual-review.json +93 -0
  344. package/docs/reports/unified-9.0.20/raw/modules-build.log +5 -0
  345. package/docs/reports/unified-9.0.20/raw/modules-build.result.json +14 -0
  346. package/docs/reports/unified-9.0.20/raw/node22-tests-final.log +12471 -0
  347. package/docs/reports/unified-9.0.20/raw/node22-tests-final.result.json +13 -0
  348. package/docs/reports/unified-9.0.20/raw/node22-typecheck-final.log +7 -0
  349. package/docs/reports/unified-9.0.20/raw/node22-typecheck-final.result.json +14 -0
  350. package/docs/reports/unified-9.0.20/raw/node22-version.log +1 -0
  351. package/docs/reports/unified-9.0.20/raw/node24-tests-final.log +2093 -0
  352. package/docs/reports/unified-9.0.20/raw/node24-tests-final.result.json +13 -0
  353. package/docs/reports/unified-9.0.20/raw/node24-typecheck-final.log +5 -0
  354. package/docs/reports/unified-9.0.20/raw/node24-typecheck-final.result.json +14 -0
  355. package/docs/reports/unified-9.0.20/raw/node24-version.log +1 -0
  356. package/docs/reports/unified-9.0.20/raw/power-capability/evidence.json +69 -0
  357. package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-existing-regressions-node24.log +94 -0
  358. package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-lint.log +0 -0
  359. package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-node22.log +304 -0
  360. package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-node24.log +56 -0
  361. package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-typecheck.log +0 -0
  362. package/docs/reports/unified-9.0.20/raw/pwa-https/evidence.json +45 -0
  363. package/docs/reports/unified-9.0.20/raw/pwa-https/node22-build.log +21 -0
  364. package/docs/reports/unified-9.0.20/raw/pwa-https/node22-source.log +23 -0
  365. package/docs/reports/unified-9.0.20/raw/pwa-https/node24-build.log +11 -0
  366. package/docs/reports/unified-9.0.20/raw/pwa-https/node24-source.log +11 -0
  367. package/docs/reports/unified-9.0.20/raw/pwa-independent/policy-boundaries.test.cjs +45 -0
  368. package/docs/reports/unified-9.0.20/raw/pwa-independent/policy-receipt.json +71 -0
  369. package/docs/reports/unified-9.0.20/raw/pwa-independent/policy-v22.23.4.tap +34 -0
  370. package/docs/reports/unified-9.0.20/raw/pwa-independent/policy-v24.22.3.tap +11 -0
  371. package/docs/reports/unified-9.0.20/raw/pwa-ui-independent-review-final.json +348 -0
  372. package/docs/reports/unified-9.0.20/raw/repro-failed-init-drain-before.cjs +15 -0
  373. package/docs/reports/unified-9.0.20/raw/repro-profile-replacement-after-unmapped.cjs +15 -0
  374. package/docs/reports/unified-9.0.20/raw/repro-runtime-retry-before.cjs +18 -0
  375. package/docs/reports/unified-9.0.20/raw/sbom-runtime.log +7 -0
  376. package/docs/reports/unified-9.0.20/raw/sbom-runtime.result.json +14 -0
  377. package/docs/reports/unified-9.0.20/raw/sbom-vendor-check.log +1 -0
  378. package/docs/reports/unified-9.0.20/raw/sbom-vendor-check.result.json +14 -0
  379. package/docs/reports/unified-9.0.20/raw/solax-readback-node22.json +30 -0
  380. package/docs/reports/unified-9.0.20/raw/solax-readback-node22.log +542 -0
  381. package/docs/reports/unified-9.0.20/raw/solax-readback-node24.json +30 -0
  382. package/docs/reports/unified-9.0.20/raw/solax-readback-node24.log +97 -0
  383. package/docs/reports/unified-9.0.20/raw/tariff-report-before.log +147 -0
  384. package/docs/reports/unified-9.0.20/raw/tariff-report-evidence.json +48 -0
  385. package/docs/reports/unified-9.0.20/raw/tariff-report-final-node22.log +151 -0
  386. package/docs/reports/unified-9.0.20/raw/tariff-report-final-node24.log +32 -0
  387. package/docs/reports/unified-9.0.20/raw/ui-docs-check.log +6 -0
  388. package/docs/reports/unified-9.0.20/raw/ui-docs-check.result.json +14 -0
  389. package/docs/reports/unified-9.0.20/raw/ui-runtime-final.log +7 -0
  390. package/docs/reports/unified-9.0.20/raw/ui-runtime-final.result.json +14 -0
  391. package/docs/reports/unified-9.0.20/raw/ui-runtime-sync.log +6 -0
  392. package/docs/reports/unified-9.0.20/raw/ui-runtime-sync.result.json +14 -0
  393. package/docs/reports/unified-9.0.20/raw/ui-sbom-check.log +6 -0
  394. package/docs/reports/unified-9.0.20/raw/ui-sbom-check.result.json +14 -0
  395. package/docs/reports/unified-9.0.20/raw/ui-sbom-final.log +6 -0
  396. package/docs/reports/unified-9.0.20/raw/ui-sbom-final.result.json +14 -0
  397. package/docs/reports/unified-9.0.20/raw/ui-secret-final.log +6 -0
  398. package/docs/reports/unified-9.0.20/raw/ui-secret-final.result.json +14 -0
  399. package/docs/reports/unified-9.0.20/raw/ui-security-final.log +8 -0
  400. package/docs/reports/unified-9.0.20/raw/ui-security-final.result.json +14 -0
  401. package/docs/reports/unified-9.0.20/raw/visuals-baseline-919.txt +36 -0
  402. package/docs/reports/unified-9.0.20/raw/visuals-browser-limit.txt +3 -0
  403. package/docs/reports/unified-9.0.20/raw/visuals-lint.txt +0 -0
  404. package/docs/reports/unified-9.0.20/raw/visuals-node22.txt +258 -0
  405. package/docs/reports/unified-9.0.20/raw/visuals-node24.txt +51 -0
  406. package/docs/reports/unified-9.0.20/raw/visuals-security.txt +0 -0
  407. package/docs/reports/unified-9.0.20/raw/visuals-typecheck.txt +0 -0
  408. package/docs/reports/unified-9.0.20/raw/wallet-freshness-after.log +19 -0
  409. package/docs/reports/unified-9.0.20/raw/wallet-freshness-after.result.json +16 -0
  410. package/docs/reports/unified-9.0.20/raw/wallet-freshness-before.log +31 -0
  411. package/docs/reports/unified-9.0.20/raw/wallet-freshness-before.result.json +14 -0
  412. package/docs/reports/unified-9.0.20/raw/wallet-freshness-independent.result.json +13 -0
  413. package/docs/reports/unified-9.0.20/raw/wallet-freshness-independent.tap +10 -0
  414. package/io-package.json +12 -12
  415. package/modules/backup/admin/index.js +4 -1
  416. package/modules/devices/admin/host-bridge.js +5 -1
  417. package/modules/devices/lib/device-alias-semantics-v1.json +22 -1
  418. package/modules/devices/lib/deviceAliasFreshness.js +1 -0
  419. package/modules/devices/lib/deviceAliasSemantics.js +13 -3
  420. package/modules/devices/lib/deviceRuntime.js +106 -12
  421. package/modules/devices/lib/drivers/modbus.js +90 -21
  422. package/modules/devices/lib/drivers/modbusAsciiBus.js +47 -31
  423. package/modules/devices/lib/drivers/modbusRtuBus.js +33 -9
  424. package/modules/devices/lib/drivers/modbusSerialLease.js +29 -0
  425. package/modules/devices/lib/drivers/mqtt.js +204 -82
  426. package/modules/devices/lib/drivers/mqttPendingOperations.js +119 -0
  427. package/modules/devices/lib/modbusReadEvidence.js +29 -0
  428. package/modules/devices/test/deviceAliasFreshness.test.js +7 -2
  429. package/modules/devices/test/modbusConnectLifecycle.test.js +148 -0
  430. package/modules/devices/test/modbusSerialLifecycle.test.js +91 -0
  431. package/modules/devices/test/mqttCommandLifecycle.test.js +255 -0
  432. package/modules/devices/test/mqttResourceBounds.test.js +98 -0
  433. package/modules/devices/test/mqttRuntimeSession.test.js +109 -0
  434. package/modules/devices/test/serialOperationGate.test.js +3 -3
  435. package/modules/devices/test/solaxReadbackContext.test.js +472 -0
  436. package/modules/devices/tsconfig.alias-semantics.json +1 -1
  437. package/modules/devices/tsconfig.mqtt-lifecycle.json +20 -0
  438. package/modules/devices/tsconfig.serial-lifecycle.json +18 -0
  439. package/modules/eebus/admin/index.js +6 -3
  440. package/package.json +9 -7
  441. package/release-manifests/unified/build-environment.cdx.json +6 -6
  442. package/release-manifests/unified/files.json +848 -169
  443. package/release-manifests/unified/frontend.cdx.json +6 -6
  444. package/release-manifests/unified/installer.cdx.json +6 -6
  445. package/release-manifests/unified/obsolete-admin-assets.json +154 -6
  446. package/release-manifests/unified/runtime.cdx.json +25 -25
  447. package/release-manifests/unified/validation.json +15 -15
  448. package/tools/eos-release-check.cjs +2 -2
  449. package/tools/eos-release-manifest.cjs +3 -3
  450. package/ui/admin/react/assets/index-BJO3q7oe.js +13 -0
  451. package/ui/admin/react/assets/{index-CuquHlsY.css → index-ofLP_Y7y.css} +1 -1
  452. package/ui/admin/react/index.html +2 -2
  453. package/ui/docs/security/eslint-reviewed-findings.json +91 -35
  454. package/ui/ems/engine.js +14 -3
  455. package/ui/ems/modules/energy-wallet.js +9 -3
  456. package/ui/ems/modules/storage-control.js +60 -19
  457. package/ui/ems/modules/tariff-provider.js +34 -10
  458. package/ui/ems/services/tariff-provider-registry.js +18 -8
  459. package/ui/io-package.json +1 -1
  460. package/ui/lib/influx-config.js +204 -0
  461. package/ui/lib/influx-direct.js +527 -0
  462. package/ui/lib/influx-history-runtime.js +326 -0
  463. package/ui/lib/influx-network-policy.js +112 -0
  464. package/ui/lib/ui-access-policy.js +2 -2
  465. package/ui/main.js +614 -255
  466. package/ui/package.json +12 -6
  467. package/ui/www/app.js +152 -203
  468. package/ui/www/ems-apps.html +2 -1
  469. package/ui/www/ems-apps.js +8 -1
  470. package/ui/www/energy-ledger.html +1 -1
  471. package/ui/www/eos-updates.css +15 -0
  472. package/ui/www/eos-updates.js +351 -0
  473. package/ui/www/evcs.html +1 -1
  474. package/ui/www/history.html +1 -1
  475. package/ui/www/history.js +114 -74
  476. package/ui/www/index.html +4 -1
  477. package/ui/www/live-display.js +115 -0
  478. package/ui/www/logic.html +1 -1
  479. package/ui/www/login.css +1 -0
  480. package/ui/www/login.html +2 -1
  481. package/ui/www/manifest.webmanifest +3 -3
  482. package/ui/www/settings.html +36 -1
  483. package/ui/www/simulation.html +1 -1
  484. package/ui/www/smarthome-config.html +1 -1
  485. package/ui/www/smarthome.html +1 -1
  486. package/ui/www/storagefarm-dispatch.js +287 -0
  487. package/ui/www/storagefarm-summary.css +15 -0
  488. package/ui/www/storagefarm.html +15 -1
  489. package/ui/www/storagefarm.js +8 -26
  490. package/ui/www/tariff-report.js +43 -25
  491. package/ui/admin/react/assets/index-Bq5IupDw.js +0 -13
@@ -0,0 +1,442 @@
1
+ (node:5) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
2
+ (Use `node --trace-warnings ...` to show where the warning was created)
3
+ TAP version 13
4
+ # (node:12) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
5
+ # (Use `node --trace-warnings ...` to show where the warning was created)
6
+ # Subtest: without a browser, raw, legacy and AliasV1 commands reach real hosted DeviceRuntime
7
+ # Subtest: EOS namespace
8
+ ok 1 - EOS namespace
9
+ ---
10
+ duration_ms: 138.803228
11
+ type: 'test'
12
+ ...
13
+ # Subtest: retained namespace
14
+ ok 2 - retained namespace
15
+ ---
16
+ duration_ms: 22.951438
17
+ type: 'test'
18
+ ...
19
+ 1..2
20
+ ok 1 - without a browser, raw, legacy and AliasV1 commands reach real hosted DeviceRuntime
21
+ ---
22
+ duration_ms: 163.033923
23
+ type: 'test'
24
+ ...
25
+ # Subtest: browser subscribe/unsubscribe cannot enable or disable physical command delivery
26
+ ok 2 - browser subscribe/unsubscribe cannot enable or disable physical command delivery
27
+ ---
28
+ duration_ms: 54.362935
29
+ type: 'test'
30
+ ...
31
+ # Subtest: revoked device ownership rejects commands and stop preserves an independent host observer
32
+ ok 3 - revoked device ownership rejects commands and stop preserves an independent host observer
33
+ ---
34
+ duration_ms: 15.426889
35
+ type: 'test'
36
+ ...
37
+ # (node:13) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
38
+ # (Use `node --trace-warnings ...` to show where the warning was created)
39
+ # Subtest: one central entitlement starts the integrated module without a second adapter or license
40
+ ok 4 - one central entitlement starts the integrated module without a second adapter or license
41
+ ---
42
+ duration_ms: 29.675683
43
+ type: 'test'
44
+ ...
45
+ # Subtest: disabled and unlicensed modules create no runtime; metadata remains available
46
+ ok 5 - disabled and unlicensed modules create no runtime; metadata remains available
47
+ ---
48
+ duration_ms: 9.86915
49
+ type: 'test'
50
+ ...
51
+ # Subtest: license loss denies existing operation closures synchronously and stops transports
52
+ ok 6 - license loss denies existing operation closures synchronously and stops transports
53
+ ---
54
+ duration_ms: 14.357979
55
+ type: 'test'
56
+ ...
57
+ # Subtest: normal host heartbeat preserves a running module and generation
58
+ ok 7 - normal host heartbeat preserves a running module and generation
59
+ ---
60
+ duration_ms: 8.17603
61
+ type: 'test'
62
+ ...
63
+ # Subtest: legacy enable revokes immediately; confirmed stop creates a new valid generation
64
+ ok 8 - legacy enable revokes immediately; confirmed stop creates a new valid generation
65
+ ---
66
+ duration_ms: 9.799064
67
+ type: 'test'
68
+ ...
69
+ # Subtest: a race during legacy inventory cannot renew an invalidated operation lease
70
+ ok 9 - a race during legacy inventory cannot renew an invalidated operation lease
71
+ ---
72
+ duration_ms: 11.293905
73
+ type: 'test'
74
+ ...
75
+ # Subtest: facade constrains namespaces and suppresses stale telemetry after lifecycle end
76
+ ok 10 - facade constrains namespaces and suppresses stale telemetry after lifecycle end
77
+ ---
78
+ duration_ms: 8.918408
79
+ type: 'test'
80
+ ...
81
+ # Subtest: secret masking and restoration follow device IDs when rows move
82
+ ok 11 - secret masking and restoration follow device IDs when rows move
83
+ ---
84
+ duration_ms: 0.953826
85
+ type: 'test'
86
+ ...
87
+ # Subtest: saved configurations are encrypted and API views never return device credentials
88
+ ok 12 - saved configurations are encrypted and API views never return device credentials
89
+ ---
90
+ duration_ms: 7.731201
91
+ type: 'test'
92
+ ...
93
+ # Subtest: configuration cannot reopen a runtime after failed transport shutdown
94
+ ok 13 - configuration cannot reopen a runtime after failed transport shutdown
95
+ ---
96
+ duration_ms: 14.373823
97
+ type: 'test'
98
+ ...
99
+ # Subtest: config rejects prototype keys and excessive depth before persistence
100
+ ok 14 - config rejects prototype keys and excessive depth before persistence
101
+ ---
102
+ duration_ms: 0.309997
103
+ type: 'test'
104
+ ...
105
+ # Subtest: integrated licenses preserve NWL2 adapter scope and fail closed on expired core entitlement
106
+ ok 15 - integrated licenses preserve NWL2 adapter scope and fail closed on expired core entitlement
107
+ ---
108
+ duration_ms: 10.26097
109
+ type: 'test'
110
+ ...
111
+ # Subtest: concurrent HTTP-close and adapter-unload share transport cleanup, and late startup never installs a timer
112
+ ok 16 - concurrent HTTP-close and adapter-unload share transport cleanup, and late startup never installs a timer
113
+ ---
114
+ duration_ms: 25.983193
115
+ type: 'test'
116
+ ...
117
+ # Subtest: preserved legacy EEBus namespace keeps state IDs while private bridge remains tied to EOS owner
118
+ ok 17 - preserved legacy EEBus namespace keeps state IDs while private bridge remains tied to EOS owner
119
+ ---
120
+ duration_ms: 15.358916
121
+ type: 'test'
122
+ ...
123
+ # Subtest: backup secret fields stay redacted and restored by unique endpoint rather than row index
124
+ ok 18 - backup secret fields stay redacted and restored by unique endpoint rather than row index
125
+ ---
126
+ duration_ms: 0.406272
127
+ type: 'test'
128
+ ...
129
+ # Subtest: backup notifications use only configured validated target and lose authority on revocation
130
+ ok 19 - backup notifications use only configured validated target and lose authority on revocation
131
+ ---
132
+ duration_ms: 3.721353
133
+ type: 'test'
134
+ ...
135
+ # Subtest: backup downloads clean late file streams after timeout or stop and bound concurrent opens
136
+ ok 20 - backup downloads clean late file streams after timeout or stop and bound concurrent opens
137
+ ---
138
+ duration_ms: 24.164065
139
+ type: 'test'
140
+ ...
141
+ # Subtest: backup data-folder inventory exposes only bounded paths and rejects revoked or malformed reads
142
+ ok 21 - backup data-folder inventory exposes only bounded paths and rejects revoked or malformed reads
143
+ ---
144
+ duration_ms: 5.477798
145
+ type: 'test'
146
+ ...
147
+ # Subtest: device view exposes an explicit commissioning bridge status before binding instead of an empty placeholder
148
+ ok 22 - device view exposes an explicit commissioning bridge status before binding instead of an empty placeholder
149
+ ---
150
+ duration_ms: 1.433508
151
+ type: 'test'
152
+ ...
153
+ # Subtest: active profile admission rejection occurs before persistent changes and preserves the existing runtime
154
+ ok 23 - active profile admission rejection occurs before persistent changes and preserves the existing runtime
155
+ ---
156
+ duration_ms: 9.935329
157
+ type: 'test'
158
+ ...
159
+ # Subtest: profile changes require the bridge, while a stopped controller can reserve and persist a replacement
160
+ ok 24 - profile changes require the bridge, while a stopped controller can reserve and persist a replacement
161
+ ---
162
+ duration_ms: 13.449522
163
+ type: 'test'
164
+ ...
165
+ # (node:14) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
166
+ # (Use `node --trace-warnings ...` to show where the warning was created)
167
+ # (node:14) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
168
+ # (Use `node --trace-warnings ...` to show where the warning was created)
169
+ # (node:14) ExperimentalWarning: The MockTimers API is an experimental feature and might change at any time
170
+ # Subtest: stop during command subscription acquisition never opens hardware and drains coverage
171
+ ok 25 - stop during command subscription acquisition never opens hardware and drains coverage
172
+ ---
173
+ duration_ms: 259.456654
174
+ type: 'test'
175
+ ...
176
+ # Subtest: a later factory failure after a successful stop releases its new command subscription
177
+ ok 26 - a later factory failure after a successful stop releases its new command subscription
178
+ ---
179
+ duration_ms: 17.504987
180
+ type: 'test'
181
+ ...
182
+ # Subtest: failed command subscription prevents factory creation and device writes
183
+ ok 27 - failed command subscription prevents factory creation and device writes
184
+ ---
185
+ duration_ms: 2.210158
186
+ type: 'test'
187
+ ...
188
+ # Subtest: hung command subscription times out fail-closed and late completion is drained
189
+ ok 28 - hung command subscription times out fail-closed and late completion is drained
190
+ ---
191
+ duration_ms: 23.173743
192
+ type: 'test'
193
+ ...
194
+ # Subtest: module presence does not report active until its original start promise succeeds
195
+ ok 29 - module presence does not report active until its original start promise succeeds
196
+ ---
197
+ duration_ms: 3.058705
198
+ type: 'test'
199
+ ...
200
+ # Subtest: concurrent stop waits for late startup and closes newly opened transports before resolving
201
+ ok 30 - concurrent stop waits for late startup and closes newly opened transports before resolving
202
+ ---
203
+ duration_ms: 15.441161
204
+ type: 'test'
205
+ ...
206
+ # Subtest: a rejected pending startup still receives final cleanup before stop confirmation
207
+ ok 31 - a rejected pending startup still receives final cleanup before stop confirmation
208
+ ---
209
+ duration_ms: 7.458951
210
+ type: 'test'
211
+ ...
212
+ # Subtest: timeout is sticky unconfirmed shutdown; late startup cleanup cannot authorize a rollback
213
+ ok 32 - timeout is sticky unconfirmed shutdown; late startup cleanup cannot authorize a rollback
214
+ ---
215
+ duration_ms: 27.425455
216
+ type: 'test'
217
+ ...
218
+ # Subtest: a failing final cleanup remains unconfirmed even when the first cleanup succeeded
219
+ ok 33 - a failing final cleanup remains unconfirmed even when the first cleanup succeeded
220
+ ---
221
+ duration_ms: 1.755043
222
+ type: 'test'
223
+ ...
224
+ # Subtest: a failed running transport shutdown cannot be hidden by host stop or reconfiguration
225
+ ok 34 - a failed running transport shutdown cannot be hidden by host stop or reconfiguration
226
+ ---
227
+ duration_ms: 1.452156
228
+ type: 'test'
229
+ ...
230
+ # Subtest: shutdown during configuration read cannot create a delayed module or subscription
231
+ ok 35 - shutdown during configuration read cannot create a delayed module or subscription
232
+ ---
233
+ duration_ms: 0.799163
234
+ type: 'test'
235
+ ...
236
+ # Subtest: a late facade subscription is immediately removed after its generation was revoked
237
+ ok 36 - a late facade subscription is immediately removed after its generation was revoked
238
+ ---
239
+ duration_ms: 0.997211
240
+ type: 'test'
241
+ ...
242
+ # Subtest: confirmed stop waits for every accepted state/create/extend mutation to settle
243
+ ok 37 - confirmed stop waits for every accepted state/create/extend mutation to settle
244
+ ---
245
+ duration_ms: 3.830748
246
+ type: 'test'
247
+ ...
248
+ # Subtest: pending mutation timeout stays unconfirmed; bounded capacity and revoked calls never forward or retry
249
+ ok 38 - pending mutation timeout stays unconfirmed; bounded capacity and revoked calls never forward or retry
250
+ ---
251
+ duration_ms: 71.72662
252
+ type: 'test'
253
+ ...
254
+ # (node:20) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
255
+ # (Use `node --trace-warnings ...` to show where the warning was created)
256
+ # Subtest: original socket-classes 2.10.0 reproduces the reported unhandled rejection before any browser subscription
257
+ ok 39 - original socket-classes 2.10.0 reproduces the reported unhandled rejection before any browser subscription
258
+ ---
259
+ duration_ms: 421.369454
260
+ type: 'test'
261
+ ...
262
+ # Subtest: startup burst without browser enters and recovers threshold without exception
263
+ ok 40 - startup burst without browser enters and recovers threshold without exception
264
+ ---
265
+ duration_ms: 380.033619
266
+ type: 'test'
267
+ ...
268
+ # Subtest: the configured threshold and three consecutive intervals remain enforced
269
+ ok 41 - the configured threshold and three consecutive intervals remain enforced
270
+ ---
271
+ duration_ms: 53.611524
272
+ type: 'test'
273
+ ...
274
+ # Subtest: browser unsubscribe and recovery use the current subscription map, including a newly connected client
275
+ ok 42 - browser unsubscribe and recovery use the current subscription map, including a newly connected client
276
+ ---
277
+ duration_ms: 71.927332
278
+ type: 'test'
279
+ ...
280
+ # Subtest: threshold suppresses browser traffic still delivered to EMS while keeping system events under upstream ACLs
281
+ ok 43 - threshold suppresses browser traffic still delivered to EMS while keeping system events under upstream ACLs
282
+ ---
283
+ duration_ms: 76.240797
284
+ type: 'test'
285
+ ...
286
+ # Subtest: closing before either delayed threshold transition cancels all work and repeated close is safe
287
+ ok 44 - closing before either delayed threshold transition cancels all work and repeated close is safe
288
+ ---
289
+ duration_ms: 94.215932
290
+ type: 'test'
291
+ ...
292
+ # Subtest: stop during an awaited unsubscribe prevents subsequent transition requests
293
+ ok 45 - stop during an awaited unsubscribe prevents subsequent transition requests
294
+ ---
295
+ duration_ms: 86.541933
296
+ type: 'test'
297
+ ...
298
+ # Subtest: explicit browser threshold command preserves permission checks and uses the cancellable lifecycle
299
+ ok 46 - explicit browser threshold command preserves permission checks and uses the cancellable lifecycle
300
+ ---
301
+ duration_ms: 34.382891
302
+ type: 'test'
303
+ ...
304
+ # Subtest: subscription rejection and notification exceptions are handled locally without process-level suppression
305
+ ok 47 - subscription rejection and notification exceptions are handled locally without process-level suppression
306
+ ---
307
+ duration_ms: 31.604518
308
+ type: 'test'
309
+ ...
310
+ # (node:32) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
311
+ # (Use `node --trace-warnings ...` to show where the warning was created)
312
+ # Subtest: module command leases retain other module, host and socket ownership independently
313
+ ok 48 - module command leases retain other module, host and socket ownership independently
314
+ ---
315
+ duration_ms: 4.279173
316
+ type: 'test'
317
+ ...
318
+ # Subtest: module lease failure is retryable and socket close cannot release device commands
319
+ ok 49 - module lease failure is retryable and socket close cannot release device commands
320
+ ---
321
+ duration_ms: 1.556814
322
+ type: 'test'
323
+ ...
324
+ # (node:32) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
325
+ # (Use `node --trace-warnings ...` to show where the warning was created)
326
+ # Subtest: close drains pending command lease acquisition and late release is harmless
327
+ ok 50 - close drains pending command lease acquisition and late release is harmless
328
+ ---
329
+ duration_ms: 12.144025
330
+ type: 'test'
331
+ ...
332
+ # Subtest: module leases reject implicit global coverage and bound concurrent owners
333
+ ok 51 - module leases reject implicit global coverage and bound concurrent owners
334
+ ---
335
+ duration_ms: 22.807562
336
+ type: 'test'
337
+ ...
338
+ # Subtest: simultaneous module acquisitions cannot bypass the distinct-pattern bound
339
+ ok 52 - simultaneous module acquisitions cannot bypass the distinct-pattern bound
340
+ ---
341
+ duration_ms: 106.821383
342
+ type: 'test'
343
+ ...
344
+ # Subtest: browser threshold unsubscription cannot remove a matching EMS subscription
345
+ ok 53 - browser threshold unsubscription cannot remove a matching EMS subscription
346
+ ---
347
+ duration_ms: 0.632812
348
+ type: 'test'
349
+ ...
350
+ # Subtest: socket-first and host-first subscribers share the service bus, with no user escalation on other methods
351
+ ok 54 - socket-first and host-first subscribers share the service bus, with no user escalation on other methods
352
+ ---
353
+ duration_ms: 0.363968
354
+ type: 'test'
355
+ ...
356
+ # Subtest: duplicates are idempotent and wildcard removal is exact, not a global unsubscribe
357
+ ok 55 - duplicates are idempotent and wildcard removal is exact, not a global unsubscribe
358
+ ---
359
+ duration_ms: 5.542585
360
+ type: 'test'
361
+ ...
362
+ # Subtest: own-state async and callback methods share ownership with absolute socket patterns
363
+ ok 56 - own-state async and callback methods share ownership with absolute socket patterns
364
+ ---
365
+ duration_ms: 1.044453
366
+ type: 'test'
367
+ ...
368
+ # Subtest: subscription failure rolls back and a retry can establish and release the bus
369
+ ok 57 - subscription failure rolls back and a retry can establish and release the bus
370
+ ---
371
+ duration_ms: 1.106546
372
+ type: 'test'
373
+ ...
374
+ # Subtest: unsubscribe failure retains tracked ownership until a successful retry
375
+ ok 58 - unsubscribe failure retains tracked ownership until a successful retry
376
+ ---
377
+ duration_ms: 0.564059
378
+ type: 'test'
379
+ ...
380
+ # Subtest: concurrent subscribe/unsubscribe operations serialize without stale removal
381
+ ok 59 - concurrent subscribe/unsubscribe operations serialize without stale removal
382
+ ---
383
+ duration_ms: 0.457188
384
+ type: 'test'
385
+ ...
386
+ # Subtest: closing socket scope preserves EMS and blocks late timer and browser activity
387
+ ok 60 - closing socket scope preserves EMS and blocks late timer and browser activity
388
+ ---
389
+ duration_ms: 1.194198
390
+ type: 'test'
391
+ ...
392
+ # Subtest: late disconnect callbacks after shutdown succeed without touching the controller or logging noise
393
+ ok 61 - late disconnect callbacks after shutdown succeed without touching the controller or logging noise
394
+ ---
395
+ duration_ms: 0.810341
396
+ type: 'test'
397
+ ...
398
+ # Subtest: stop drains a backend subscribe already in flight, then removes it without resurrection
399
+ ok 62 - stop drains a backend subscribe already in flight, then removes it without resurrection
400
+ ---
401
+ duration_ms: 8.059194
402
+ type: 'test'
403
+ ...
404
+ # Subtest: invalid requests do not mutate bus interests and callback failures are handled
405
+ ok 63 - invalid requests do not mutate bus interests and callback failures are handled
406
+ ---
407
+ duration_ms: 2.349167
408
+ type: 'test'
409
+ ...
410
+ # Subtest: real SocketCommands publication still enforces user-specific state denial and ACL revocation on the shared bus
411
+ ok 64 - real SocketCommands publication still enforces user-specific state denial and ACL revocation on the shared bus
412
+ ---
413
+ duration_ms: 92.86611
414
+ type: 'test'
415
+ ...
416
+ # Subtest: controller-7 absent-object semantics are unchanged: no DB refusal is treated as readable by upstream
417
+ ok 65 - controller-7 absent-object semantics are unchanged: no DB refusal is treated as readable by upstream
418
+ ---
419
+ duration_ms: 1.14231
420
+ type: 'test'
421
+ ...
422
+ # Subtest: controller promisify captures original callback APIs and does not recurse into installed wrappers
423
+ ok 66 - controller promisify captures original callback APIs and does not recurse into installed wrappers
424
+ ---
425
+ duration_ms: 708.256841
426
+ type: 'test'
427
+ ...
428
+ # Subtest: controller foreign omitted-pattern defaults and own empty-pattern behavior remain compatible
429
+ ok 67 - controller foreign omitted-pattern defaults and own empty-pattern behavior remain compatible
430
+ ---
431
+ duration_ms: 0.73708
432
+ type: 'test'
433
+ ...
434
+ 1..67
435
+ # tests 69
436
+ # suites 0
437
+ # pass 69
438
+ # fail 0
439
+ # cancelled 0
440
+ # skipped 0
441
+ # todo 0
442
+ # duration_ms 1511.138866
@@ -0,0 +1,78 @@
1
+ ▶ without a browser, raw, legacy and AliasV1 commands reach real hosted DeviceRuntime
2
+ ✔ EOS namespace (202.173837ms)
3
+ ✔ retained namespace (35.989681ms)
4
+ ✔ without a browser, raw, legacy and AliasV1 commands reach real hosted DeviceRuntime (240.139883ms)
5
+ ✔ browser subscribe/unsubscribe cannot enable or disable physical command delivery (43.690686ms)
6
+ ✔ revoked device ownership rejects commands and stop preserves an independent host observer (37.507797ms)
7
+ ✔ one central entitlement starts the integrated module without a second adapter or license (17.133383ms)
8
+ ✔ disabled and unlicensed modules create no runtime; metadata remains available (9.37076ms)
9
+ ✔ license loss denies existing operation closures synchronously and stops transports (3.293229ms)
10
+ ✔ normal host heartbeat preserves a running module and generation (3.197264ms)
11
+ ✔ legacy enable revokes immediately; confirmed stop creates a new valid generation (5.873233ms)
12
+ ✔ a race during legacy inventory cannot renew an invalidated operation lease (1.117814ms)
13
+ ✔ facade constrains namespaces and suppresses stale telemetry after lifecycle end (1.256932ms)
14
+ ✔ secret masking and restoration follow device IDs when rows move (0.479402ms)
15
+ ✔ saved configurations are encrypted and API views never return device credentials (2.19884ms)
16
+ ✔ configuration cannot reopen a runtime after failed transport shutdown (1.343253ms)
17
+ ✔ config rejects prototype keys and excessive depth before persistence (0.211568ms)
18
+ ✔ integrated licenses preserve NWL2 adapter scope and fail closed on expired core entitlement (2.267023ms)
19
+ ✔ concurrent HTTP-close and adapter-unload share transport cleanup, and late startup never installs a timer (9.583089ms)
20
+ ✔ preserved legacy EEBus namespace keeps state IDs while private bridge remains tied to EOS owner (2.880237ms)
21
+ ✔ backup secret fields stay redacted and restored by unique endpoint rather than row index (0.673724ms)
22
+ ✔ backup notifications use only configured validated target and lose authority on revocation (1.810576ms)
23
+ ✔ backup downloads clean late file streams after timeout or stop and bound concurrent opens (24.021694ms)
24
+ ✔ backup data-folder inventory exposes only bounded paths and rejects revoked or malformed reads (2.480505ms)
25
+ ✔ device view exposes an explicit commissioning bridge status before binding instead of an empty placeholder (5.740203ms)
26
+ ✔ active profile admission rejection occurs before persistent changes and preserves the existing runtime (7.911002ms)
27
+ ✔ profile changes require the bridge, while a stopped controller can reserve and persist a replacement (14.680795ms)
28
+ ✔ stop during command subscription acquisition never opens hardware and drains coverage (276.078307ms)
29
+ ✔ a later factory failure after a successful stop releases its new command subscription (2.231991ms)
30
+ ✔ failed command subscription prevents factory creation and device writes (1.207939ms)
31
+ ✔ hung command subscription times out fail-closed and late completion is drained (5.003344ms)
32
+ ✔ module presence does not report active until its original start promise succeeds (3.795394ms)
33
+ ✔ concurrent stop waits for late startup and closes newly opened transports before resolving (5.670188ms)
34
+ ✔ a rejected pending startup still receives final cleanup before stop confirmation (3.824379ms)
35
+ ✔ timeout is sticky unconfirmed shutdown; late startup cleanup cannot authorize a rollback (29.817877ms)
36
+ ✔ a failing final cleanup remains unconfirmed even when the first cleanup succeeded (1.316823ms)
37
+ ✔ a failed running transport shutdown cannot be hidden by host stop or reconfiguration (1.478886ms)
38
+ ✔ shutdown during configuration read cannot create a delayed module or subscription (1.118013ms)
39
+ ✔ a late facade subscription is immediately removed after its generation was revoked (2.854207ms)
40
+ ✔ confirmed stop waits for every accepted state/create/extend mutation to settle (1.655072ms)
41
+ ✔ pending mutation timeout stays unconfirmed; bounded capacity and revoked calls never forward or retry (144.463791ms)
42
+ ✔ original socket-classes 2.10.0 reproduces the reported unhandled rejection before any browser subscription (400.631873ms)
43
+ ✔ startup burst without browser enters and recovers threshold without exception (659.540267ms)
44
+ ✔ the configured threshold and three consecutive intervals remain enforced (36.616544ms)
45
+ ✔ browser unsubscribe and recovery use the current subscription map, including a newly connected client (32.120445ms)
46
+ ✔ threshold suppresses browser traffic still delivered to EMS while keeping system events under upstream ACLs (33.895818ms)
47
+ ✔ closing before either delayed threshold transition cancels all work and repeated close is safe (69.725917ms)
48
+ ✔ stop during an awaited unsubscribe prevents subsequent transition requests (33.302114ms)
49
+ ✔ explicit browser threshold command preserves permission checks and uses the cancellable lifecycle (17.924459ms)
50
+ ✔ subscription rejection and notification exceptions are handled locally without process-level suppression (34.159194ms)
51
+ ✔ module command leases retain other module, host and socket ownership independently (4.136919ms)
52
+ ✔ module lease failure is retryable and socket close cannot release device commands (0.966656ms)
53
+ ✔ close drains pending command lease acquisition and late release is harmless (17.246558ms)
54
+ ✔ module leases reject implicit global coverage and bound concurrent owners (17.923648ms)
55
+ ✔ simultaneous module acquisitions cannot bypass the distinct-pattern bound (95.972207ms)
56
+ ✔ browser threshold unsubscription cannot remove a matching EMS subscription (0.858803ms)
57
+ ✔ socket-first and host-first subscribers share the service bus, with no user escalation on other methods (0.422086ms)
58
+ ✔ duplicates are idempotent and wildcard removal is exact, not a global unsubscribe (0.372871ms)
59
+ ✔ own-state async and callback methods share ownership with absolute socket patterns (0.52528ms)
60
+ ✔ subscription failure rolls back and a retry can establish and release the bus (19.390777ms)
61
+ ✔ unsubscribe failure retains tracked ownership until a successful retry (0.254914ms)
62
+ ✔ concurrent subscribe/unsubscribe operations serialize without stale removal (0.199921ms)
63
+ ✔ closing socket scope preserves EMS and blocks late timer and browser activity (0.377669ms)
64
+ ✔ late disconnect callbacks after shutdown succeed without touching the controller or logging noise (0.3649ms)
65
+ ✔ stop drains a backend subscribe already in flight, then removes it without resurrection (8.242441ms)
66
+ ✔ invalid requests do not mutate bus interests and callback failures are handled (1.347209ms)
67
+ ✔ real SocketCommands publication still enforces user-specific state denial and ACL revocation on the shared bus (79.437085ms)
68
+ ✔ controller-7 absent-object semantics are unchanged: no DB refusal is treated as readable by upstream (8.064272ms)
69
+ ✔ controller promisify captures original callback APIs and does not recurse into installed wrappers (452.753639ms)
70
+ ✔ controller foreign omitted-pattern defaults and own empty-pattern behavior remain compatible (1.356422ms)
71
+ ℹ tests 69
72
+ ℹ suites 0
73
+ ℹ pass 69
74
+ ℹ fail 0
75
+ ℹ cancelled 0
76
+ ℹ skipped 0
77
+ ℹ todo 0
78
+ ℹ duration_ms 1555.967769
@@ -0,0 +1,73 @@
1
+ from pathlib import Path
2
+ p=Path('/workspace/scratch/741f792566ea/source-920/iobroker.eos-admin/ui/src-ts/runtime-executables/main.ts')
3
+ s=p.read_text()
4
+ start=s.index(" async updateHistorieExportStates(reason = 'timer') {")
5
+ end=s.index('\n /**\n * Code-Teil: scheduleRfidPolicyApply', start)
6
+ m=s[start:end]
7
+ m=m.replace(" const historyCoreMaxAgeMs = Math.max(30000, Number(this.config?.settings?.deviceStaleTimeoutSec || 60) * 1000);", """ const historyCoreMaxAgeMs = Math.max(30000, Number(this.config?.settings?.deviceStaleTimeoutSec || 60) * 1000);
8
+ // History samples are observations, not a refresh of the last cached value.
9
+ // Missing timestamps, stale values and missing measurements remain gaps.
10
+ const readHistory = (key, maxAgeMs = historyCoreMaxAgeMs) => {
11
+ const rec = this.stateCache && this.stateCache[key];
12
+ const stamp = rec ? numericMeasurement(rec.ts) : null;
13
+ if (stamp === null || stamp <= 0 || stamp > now || now - stamp > maxAgeMs) return null;
14
+ return numericMeasurement(rec.value);
15
+ };""")
16
+ m=m.replace("this._nwGetNumberFromCacheFresh('derived.core.pv.totalW', historyCoreMaxAgeMs, null, now)","readHistory('derived.core.pv.totalW')")
17
+ m=m.replace("this._nwGetNumberFromCache('pvPower') ?? this._nwGetNumberFromCache('productionTotal')", "readHistory('pvPower') ?? readHistory('productionTotal')")
18
+ m=m.replace("this._nwGetNumberFromCacheFresh('derived.core.building.loadTotalW', historyCoreMaxAgeMs, null, now)","readHistory('derived.core.building.loadTotalW')")
19
+ m=m.replace("Number.isFinite(Number(loadDerivedW)) ? Number(loadDerivedW) : this._nwGetNumberFromCache('consumptionTotal')", "loadDerivedW !== null ? loadDerivedW : readHistory('consumptionTotal')")
20
+ m=m.replace("const storageFlowHist = this._nwResolveBatteryFlowFromCache({ now });\n let chgW = Number(storageFlowHist.chargeW);\n let dchgW = Number(storageFlowHist.dischargeW);", """const storageFlowHist = this._nwResolveBatteryFlowFromCache({ now, strictStale: true });
21
+ const storageMissing = ['missing', 'mapped-missing', 'storageFarm-missing-power', 'storageFarm-unavailable'].includes(storageFlowHist.src);
22
+ const farmPowerAge = storageFlowHist.staleMs && numericMeasurement(storageFlowHist.staleMs.farmPower);
23
+ const farmPowerStale = selectedStorageTopologyHist === 'farm'
24
+ && (farmPowerAge === null || farmPowerAge === undefined || farmPowerAge > historyCoreMaxAgeMs);
25
+ const chgW = storageMissing || farmPowerStale ? null : numericMeasurement(storageFlowHist.chargeW);
26
+ const dchgW = storageMissing || farmPowerStale ? null : numericMeasurement(storageFlowHist.dischargeW);""")
27
+ m=m.replace("this._nwGetNumberFromCache('storageSoc')", "readHistory('storageSoc')")
28
+ m=m.replace("const evW = this._nwGetNumberFromCache('evcs.totalPowerW');", "const evW = readHistory('evcs.totalPowerW');")
29
+ m=m.replace("const gridBuy = Number.isFinite(gridBuyW) ? Math.max(0, gridBuyW) : 0;\n const gridSell = Number.isFinite(gridSellW) ? Math.max(0, gridSellW) : 0;\n const gridNet = gridBuy - gridSell;", """const gridBuy = Number.isFinite(gridBuyW) ? Math.max(0, gridBuyW) : null;
30
+ const gridSell = Number.isFinite(gridSellW) ? Math.max(0, gridSellW) : null;
31
+ const gridNet = gridBuy !== null && gridSell !== null ? gridBuy - gridSell : null;""")
32
+ m=m.replace("let pvTotal = Number.isFinite(Number(pvDerivedW))\n ? Math.max(0, Number(pvDerivedW))\n : (Number.isFinite(Number(pvW)) ? Math.max(0, Number(pvW)) : null);\n const pvTotalFromDerived = Number.isFinite(Number(pvDerivedW));", """let pvTotal = pvDerivedW !== null
33
+ ? Math.max(0, pvDerivedW)
34
+ : (pvW !== null ? Math.max(0, pvW) : null);
35
+ const pvTotalFromDerived = pvDerivedW !== null;""")
36
+ m=m.replace("if (!pvTotalFromDerived && sfEnabled && typeof this._nwMergeStorageFarmPvWithBase === 'function')", "if (!pvTotalFromDerived && sfEnabled && readHistory('storageFarm.totalPvPowerW') !== null\n && typeof this._nwMergeStorageFarmPvWithBase === 'function')")
37
+ m=m.replace("} else if (singleStorageDcEnabled) {\n const dcValueW = this._nwGetNumberFromCache('speicher.dcPvPowerW');", "} else if (!pvTotalFromDerived && singleStorageDcEnabled) {\n const dcValueW = readHistory('speicher.dcPvPowerW');")
38
+ old=""" const socFarm = farmMetricsHist && Number.isFinite(Number(farmMetricsHist.soc))
39
+ ? Number(farmMetricsHist.soc)
40
+ : this._nwGetNumberFromCache('storageFarm.totalSocOnline');
41
+ const socFarmFallback = Number.isFinite(Number(socFarm))
42
+ ? Number(socFarm)
43
+ : this._nwGetNumberFromCache('storageFarm.totalSoc');
44
+ soc = Number.isFinite(Number(socFarmFallback))
45
+ ? Math.max(0, Math.min(100, Number(socFarmFallback)))
46
+ : null;"""
47
+ new=""" const socFarm = readHistory('storageFarm.totalSocOnline') ?? readHistory('storageFarm.totalSoc');
48
+ soc = socFarm !== null ? Math.max(0, Math.min(100, socFarm)) : null;"""
49
+ assert old in m;m=m.replace(old,new)
50
+ m=m.replace("const chg = Number.isFinite(chgW) ? Math.max(0, chgW) : 0;\n const dchg = Number.isFinite(dchgW) ? Math.max(0, dchgW) : 0;\n const evAbs = Number.isFinite(evW) ? Math.abs(evW) : 0;", """const chg = Number.isFinite(chgW) ? Math.max(0, chgW) : null;
51
+ const dchg = Number.isFinite(dchgW) ? Math.max(0, dchgW) : null;
52
+ const evAbs = Number.isFinite(evW) ? Math.abs(evW) : null;""")
53
+ m=m.replace("if (loadTotal === null) {\n const pvUse = pvTotal || 0;\n loadTotal = Math.max(0, pvUse + gridBuy + dchg - gridSell - chg);\n }", """if (loadTotal === null && pvTotal !== null && gridBuy !== null && gridSell !== null && chg !== null && dchg !== null) {
54
+ loadTotal = Math.max(0, pvTotal + gridBuy + dchg - gridSell - chg);
55
+ }""")
56
+ m=m.replace("const v = this._nwGetNumberFromCache(`consumer${i}Power`);", "const v = readHistory(`consumer${i}Power`);")
57
+ m=m.replace("const loadRest = Math.max(0, (loadTotal || 0) - evAbs - extrasConsumersSum);", "const loadRest = loadTotal !== null && evAbs !== null ? Math.max(0, loadTotal - evAbs - extrasConsumersSum) : null;")
58
+ m=m.replace("const n = Number(_rawCacheValue(key));\n return Number.isFinite(n) ? n : fallback;", "const n = numericMeasurement(_rawCacheValue(key));\n return n !== null ? n : fallback;")
59
+ m=m.replace("const providerPrice = _numOr('tarif.preisAktuellEurProKwh', null);\n const providerAveragePrice = _numOr('tarif.preisDurchschnittEurProKwh', null);", """const tariffMaxAgeMs = Math.max(15 * 60000, Math.min(360 * 60000, _numOr('tarif.currentPriceMaxAgeMs', 90 * 60000)));
60
+ const providerPrice = _rawCacheValue('tarif.currentPriceFresh') === false
61
+ ? null : readHistory('tarif.preisAktuellEurProKwh', tariffMaxAgeMs);
62
+ const providerAveragePrice = _rawCacheValue('tarif.curveFresh') === false
63
+ ? null : readHistory('tarif.preisDurchschnittEurProKwh', tariffMaxAgeMs);""")
64
+ m=m.replace("'historie.core.pv.totalW', pvTotal || 0", "'historie.core.pv.totalW', pvTotal")
65
+ m=m.replace("'historie.core.building.loadTotalW', loadTotal || 0", "'historie.core.building.loadTotalW', loadTotal")
66
+ m=m.replace("'historie.core.building.loadRestW', loadRest || 0", "'historie.core.building.loadRestW', loadRest")
67
+ m=m.replace("const v = this._nwGetNumberFromCache(`evcs.${i}.powerW`);", "const v = readHistory(`evcs.${i}.powerW`);")
68
+ m=m.replace("const v = this._nwGetNumberFromCache(info.stateKey || info.key || `consumer${i}Power`);", "const v = readHistory(info.stateKey || info.key || `consumer${i}Power`);")
69
+ m=m.replace("const v = this._nwGetNumberFromCache(info.stateKey || info.key || `producer${i}Power`);", "const v = readHistory(info.stateKey || info.key || `producer${i}Power`);")
70
+ s=s[:start]+m+s[end:]
71
+ start=s.index(' _nwSetHistorieValue(localId, val, ts, tolAbs = 1) {');end=s.index('\n /**',start)
72
+ x=s[start:end];x=x.replace('const n = Number(val);\n if (!Number.isFinite(n)) return;', 'const n = numericMeasurement(val);\n if (n === null) return;');s=s[:start]+x+s[end:]
73
+ p.write_text(s)
@@ -0,0 +1,7 @@
1
+ {
2
+ "eslint": "10.13.0",
3
+ "file": "/workspace/scratch/741f792566ea/source-920/iobroker.eos-admin/ui/src-ts/runtime-executables/www/history.ts",
4
+ "findings": 76,
5
+ "blocked": [],
6
+ "carried": 76
7
+ }