iobroker.eos-admin 9.0.26 → 9.0.27

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 (124) hide show
  1. package/NEXOWATT_EOS_BUILD_INFO.json +12 -15
  2. package/START_HIER_9.0.27.md +33 -0
  3. package/adminWww/.vite/manifest.json +114 -114
  4. package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +13759 -13759
  5. package/adminWww/assets/{AdapterUpdateDialog-DIjnNZ5k.js → AdapterUpdateDialog-L3aqW3ID.js} +1 -1
  6. package/adminWww/assets/{Adapters-D8UOQg1q.js → Adapters-Db3kbmAj.js} +1 -1
  7. package/adminWww/assets/{ConfigManager-CAvT_4-g.js → ConfigManager-D33l1qlC.js} +1 -1
  8. package/adminWww/assets/{Enums-CrNUOX0d.js → Enums-HlPEZ4AF.js} +1 -1
  9. package/adminWww/assets/{Fields-D-0qFiqr.js → Fields-BWBgNDOp.js} +1 -1
  10. package/adminWww/assets/{Files-BL8kvaeC.js → Files-BYaJp3AG.js} +1 -1
  11. package/adminWww/assets/{Hosts-BToJLy61.js → Hosts-DimiJ78g.js} +1 -1
  12. package/adminWww/assets/{Instances-Dlrp1KGP.js → Instances-C5kAjcqw.js} +1 -1
  13. package/adminWww/assets/{Intro-5EbxvP4X.js → Intro-B8keS0Ph.js} +1 -1
  14. package/adminWww/assets/{Logs-xdFVJ6fZ.js → Logs-D9dqF5Ag.js} +1 -1
  15. package/adminWww/assets/{Objects-DhyJ5eAY.js → Objects-oliB7_Se.js} +1 -1
  16. package/adminWww/assets/{Overview-BspgcFB7.js → Overview-BmjcCFve.js} +1 -1
  17. package/adminWww/assets/{State-CJ1mKH_U.js → State-DQz1O54D.js} +1 -1
  18. package/adminWww/assets/{UsedResources-BMiCxqWH.js → UsedResources-DOAuH0-U.js} +1 -1
  19. package/adminWww/assets/{Users-DrlJHRa5.js → Users-Dv1iXiRk.js} +1 -1
  20. package/adminWww/assets/{bootstrap-BU7j1Fe_.js → bootstrap-BVw0diuj.js} +3 -3
  21. package/adminWww/assets/{hostInit-Cgee6juw.js → hostInit-C_7OBoza.js} +1 -1
  22. package/adminWww/assets/{icons-material-C0U9EKON.js → icons-material-Apny8Mbp.js} +1 -1
  23. package/adminWww/assets/{index-BUZf1ftI.js → index-DwDSxDMx.js} +2 -2
  24. package/adminWww/assets/{installSVGRenderer-CcjgaxiA.js → installSVGRenderer--VTzKbml.js} +1 -1
  25. package/adminWww/assets/{mf-entry-bootstrap-0-96d40e57.js → mf-entry-bootstrap-0-6f3e4c6b.js} +2 -2
  26. package/adminWww/index.html +23 -23
  27. package/adminWww/mf-manifest.json +1 -1
  28. package/adminWww/mf-stats.json +1 -1
  29. package/adminWww/{remoteEntry-eos-9.0.26.js → remoteEntry-eos-9.0.27.js} +1 -1
  30. package/adminWww/remoteEntry.js +1 -1
  31. package/build/lib/eosDeviceEmsPlan.js +24 -1
  32. package/build/lib/eosDeviceEmsPlan.js.map +1 -1
  33. package/build/lib/eosModuleHost.js +66 -3
  34. package/build/lib/eosModuleHost.js.map +1 -1
  35. package/docs/reports/unified-9.0.27/ABHAENGIGKEITEN.md +27 -0
  36. package/docs/reports/unified-9.0.27/PRUEFBERICHT.md +68 -0
  37. package/docs/reports/unified-9.0.27/PRUEFERGEBNISSE.json +292 -0
  38. package/docs/reports/unified-9.0.27/SICHERHEITSBETRACHTUNG.md +26 -0
  39. package/docs/reports/unified-9.0.27/TIBBER_NEUSTART.md +23 -0
  40. package/docs/reports/unified-9.0.27/UPDATE_WIEDERANLAUF.md +46 -0
  41. package/docs/reports/unified-9.0.27/raw/INDEX.json +347 -0
  42. package/docs/reports/unified-9.0.27/raw/admin-build-mirror-review.json +75 -0
  43. package/docs/reports/unified-9.0.27/raw/ajv-production-reachability.json +35 -0
  44. package/docs/reports/unified-9.0.27/raw/backend-build.log +5 -0
  45. package/docs/reports/unified-9.0.27/raw/baseline-devices.log +138 -0
  46. package/docs/reports/unified-9.0.27/raw/baseline-module-startup.log +82 -0
  47. package/docs/reports/unified-9.0.27/raw/baseline-ocpp-contract.log +93 -0
  48. package/docs/reports/unified-9.0.27/raw/baseline-ocpp-frontend.log +255 -0
  49. package/docs/reports/unified-9.0.27/raw/baseline-repository-tools.log +84 -0
  50. package/docs/reports/unified-9.0.27/raw/browser-blocked.log +38 -0
  51. package/docs/reports/unified-9.0.27/raw/controller-725-reproduction-node24.log +4 -0
  52. package/docs/reports/unified-9.0.27/raw/devices-child-rpc-diagnostic.log +34 -0
  53. package/docs/reports/unified-9.0.27/raw/devices-filter-without-readiness.log +15 -0
  54. package/docs/reports/unified-9.0.27/raw/devices-final-web-filtered-node22.log +107 -0
  55. package/docs/reports/unified-9.0.27/raw/devices-final-web-filtered-node24.log +26 -0
  56. package/docs/reports/unified-9.0.27/raw/eos-update-path-node24.log +52 -0
  57. package/docs/reports/unified-9.0.27/raw/frontend-build.log +152 -0
  58. package/docs/reports/unified-9.0.27/raw/influx/provenance.json +42 -0
  59. package/docs/reports/unified-9.0.27/raw/installer-build.log +26 -0
  60. package/docs/reports/unified-9.0.27/raw/lint.log +5 -0
  61. package/docs/reports/unified-9.0.27/raw/modules-build.log +5 -0
  62. package/docs/reports/unified-9.0.27/raw/node22-tests-final.log +16976 -0
  63. package/docs/reports/unified-9.0.27/raw/node22-version.log +1 -0
  64. package/docs/reports/unified-9.0.27/raw/node24-tests-final.log +2831 -0
  65. package/docs/reports/unified-9.0.27/raw/node24-version.log +1 -0
  66. package/docs/reports/unified-9.0.27/raw/npm-audit-development.json +398 -0
  67. package/docs/reports/unified-9.0.27/raw/npm-audit-production.json +77 -0
  68. package/docs/reports/unified-9.0.27/raw/npm-production-ajv-tree.json +33 -0
  69. package/docs/reports/unified-9.0.27/raw/npm-production-ajv-tree.stderr +1 -0
  70. package/docs/reports/unified-9.0.27/raw/npm926-dateivergleich.json +6 -0
  71. package/docs/reports/unified-9.0.27/raw/production-audit-review.json +30 -0
  72. package/docs/reports/unified-9.0.27/raw/release-targeted.log +118 -0
  73. package/docs/reports/unified-9.0.27/raw/restart-regressions-node22.log +361 -0
  74. package/docs/reports/unified-9.0.27/raw/sbom-generation.json +11 -0
  75. package/docs/reports/unified-9.0.27/raw/source-fixtures.json +30 -0
  76. package/docs/reports/unified-9.0.27/raw/targeted-ocpp-frontend.log +26 -0
  77. package/docs/reports/unified-9.0.27/raw/test-environment.json +24 -0
  78. package/docs/reports/unified-9.0.27/raw/tibber/backend/REVIEW.md +40 -0
  79. package/docs/reports/unified-9.0.27/raw/tibber/backend/appcenter-overwrite-patched-scratch.log +11 -0
  80. package/docs/reports/unified-9.0.27/raw/tibber/backend/appcenter-overwrite-repro.log +33 -0
  81. package/docs/reports/unified-9.0.27/raw/tibber/backend/customer-tariff-lint.log +0 -0
  82. package/docs/reports/unified-9.0.27/raw/tibber/backend/customer-tariff-typecheck.log +0 -0
  83. package/docs/reports/unified-9.0.27/raw/tibber/backend/process-disk-restart-node24.log +10 -0
  84. package/docs/reports/unified-9.0.27/raw/tibber/backend/roundtrip-built-diagnostic.log +58 -0
  85. package/docs/reports/unified-9.0.27/raw/tibber/backend/roundtrip-built-ipc-counts.log +45 -0
  86. package/docs/reports/unified-9.0.27/raw/tibber/backend/roundtrip-built-node24.log +42 -0
  87. package/docs/reports/unified-9.0.27/raw/tibber/backend/roundtrip-final-node22.log +134 -0
  88. package/docs/reports/unified-9.0.27/raw/tibber/backend/roundtrip-final-node24.log +28 -0
  89. package/docs/reports/unified-9.0.27/raw/tibber/backend/roundtrip-source-node22-diagnostic.log +220 -0
  90. package/docs/reports/unified-9.0.27/raw/tibber/independent/tariff-background-hydration-review.log +1 -0
  91. package/docs/reports/unified-9.0.27/raw/tibber/independent/tibber-header-object-mask-review.log +1 -0
  92. package/docs/reports/unified-9.0.27/raw/tibber/independent/tibber-independent-frontend-review.log +14 -0
  93. package/docs/reports/unified-9.0.27/raw/tibber/independent/tibber-independent-scope-review.log +1 -0
  94. package/docs/reports/unified-9.0.27/raw/tibber/independent/tibber-mapping-targeted-node24.log +2184 -0
  95. package/docs/reports/unified-9.0.27/raw/tibber/independent/tibber-parent-persistence-review.log +20 -0
  96. package/docs/reports/unified-9.0.27/raw/tibber/tariff-review/appcenter-tariff-roundtrip-baseline.log +57 -0
  97. package/docs/reports/unified-9.0.27/raw/tibber/tariff-review/customer-editor-final.log +24 -0
  98. package/docs/reports/unified-9.0.27/raw/tibber/tariff-review/frontend-guard-baseline.log +303 -0
  99. package/docs/reports/unified-9.0.27/raw/tibber/tariff-review/frontend-guard-final.log +14 -0
  100. package/docs/reports/unified-9.0.27/raw/tibber-appcenter-baseline.log +33 -0
  101. package/docs/reports/unified-9.0.27/raw/tibber-background-hydration-baseline.log +1 -0
  102. package/docs/reports/unified-9.0.27/raw/tibber-form-baseline.log +57 -0
  103. package/docs/reports/unified-9.0.27/raw/tibber-mapping-targeted-node24.log +2184 -0
  104. package/docs/reports/unified-9.0.27/raw/tibber-minimal-fix-isolation.log +11 -0
  105. package/docs/reports/unified-9.0.27/raw/typecheck.log +5 -0
  106. package/docs/reports/unified-9.0.27/raw/ui-build.log +7 -0
  107. package/io-package.json +8 -8
  108. package/modules/devices/admin/ems-assignment.js +1 -0
  109. package/package.json +7 -8
  110. package/release-manifests/unified/build-environment.cdx.json +6 -6
  111. package/release-manifests/unified/files.json +162 -73
  112. package/release-manifests/unified/obsolete-admin-assets.json +82 -0
  113. package/release-manifests/unified/runtime.cdx.json +28 -28
  114. package/release-manifests/unified/validation.json +15 -15
  115. package/tools/eos-release-manifest.cjs +1 -1
  116. package/ui/io-package.json +1 -1
  117. package/ui/lib/customer-tariff.js +73 -1
  118. package/ui/lib/installer-lifecycle.js +5 -3
  119. package/ui/lib/ocpp-auto-discovery.js +53 -6
  120. package/ui/main.js +103 -91
  121. package/ui/package.json +1 -1
  122. package/ui/www/ems-apps.js +188 -130
  123. package/ui/www/licenses/smarthome-markdown-components.json +156 -156
  124. package/ui/www/manifest.webmanifest +2 -2
@@ -0,0 +1,20 @@
1
+ ✔ 9.0.21 tibber provider selection, credentials and tariff settings survive upgrade and two restarts (96.712957ms)
2
+ ✔ 9.0.21 entsoe provider selection, credentials and tariff settings survive upgrade and two restarts (55.551166ms)
3
+ ✔ 9.0.21 energyzero provider selection, credentials and tariff settings survive upgrade and two restarts (33.368605ms)
4
+ ✔ 9.0.21 market-profile provider selection, credentials and tariff settings survive upgrade and two restarts (18.314593ms)
5
+ ✔ 9.0.21 custom-rest provider selection, credentials and tariff settings survive upgrade and two restarts (20.577846ms)
6
+ ✔ 9.0.21 manual-dp provider selection, credentials and tariff settings survive upgrade and two restarts (20.814617ms)
7
+ ✔ UI handover and persisted migration restart retain the original tariff namespace, secret state and protected native configuration (23.439701ms)
8
+ ✔ existing EOS update without a handover journal reloads protected UI config and preserves tariffs while external OCPP remains separate (7.620084ms)
9
+ ✔ unreadable or corrupt existing provider storage never becomes fresh defaults or an older backup (6.955638ms)
10
+ ✔ AES and legacy envelopes round-trip in both directions against the actual controller SDK (42.026688ms)
11
+ ✔ missing system secret and malformed ciphertext fail without plaintext fallback (0.297982ms)
12
+ ✔ existing encrypted Influx config works through the actual child owner codec; absent secret quarantines credentials (199.506277ms)
13
+ ℹ tests 12
14
+ ℹ suites 0
15
+ ℹ pass 12
16
+ ℹ fail 0
17
+ ℹ cancelled 0
18
+ ℹ skipped 0
19
+ ℹ todo 0
20
+ ℹ duration_ms 986.812778
@@ -0,0 +1,57 @@
1
+ {"before":"tibber","installerContainsProvider":false,"submittedProvider":"manual-dp","submittedEnabled":false,"submittedSecretEmpty":true}
2
+ {"persistedProvider":"manual-dp","persistedEnabled":false,"persistedSecretEmpty":true}
3
+ {"case":"absent-controls","provider":"tibber","submittedSecretEmpty":true,"submittedHomeEmpty":true}
4
+ ✖ unrelated App-Center save must preserve a previously saved Tibber provider and secret (115.659182ms)
5
+ ✖ absent tariff controls must not clear a loaded masked credential or home during an unrelated save (2.849126ms)
6
+ ℹ tests 2
7
+ ℹ suites 0
8
+ ℹ pass 0
9
+ ℹ fail 2
10
+ ℹ cancelled 0
11
+ ℹ skipped 0
12
+ ℹ todo 0
13
+ ℹ duration_ms 1099.006706
14
+
15
+ ✖ failing tests:
16
+
17
+ test at ../tariff-review/appcenter-tariff-roundtrip.test.cjs:40:1
18
+ ✖ unrelated App-Center save must preserve a previously saved Tibber provider and secret (115.659182ms)
19
+ AssertionError [ERR_ASSERTION]: unrelated settings save must not replace tariff with UI defaults
20
+ + actual - expected
21
+
22
+ + 'manual-dp'
23
+ - 'tibber'
24
+
25
+ at TestContext.<anonymous> (/workspace/scratch/b0b00b64c39c/tariff-review/appcenter-tariff-roundtrip.test.cjs:74:12)
26
+ at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
27
+ at async Test.run (node:internal/test_runner/test:1409:7)
28
+ at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
29
+ generatedMessage: false,
30
+ code: 'ERR_ASSERTION',
31
+ actual: 'manual-dp',
32
+ expected: 'tibber',
33
+ operator: 'strictEqual',
34
+ diff: 'simple'
35
+ }
36
+
37
+ test at ../tariff-review/appcenter-tariff-roundtrip.test.cjs:81:1
38
+ ✖ absent tariff controls must not clear a loaded masked credential or home during an unrelated save (2.849126ms)
39
+ AssertionError [ERR_ASSERTION]: absent secret field is not an explicit clear request
40
+
41
+ '' !== '__KEEP__'
42
+
43
+ at TestContext.<anonymous> (/workspace/scratch/b0b00b64c39c/tariff-review/appcenter-tariff-roundtrip.test.cjs:88:12)
44
+ at Test.runInAsyncScope (node:async_hooks:227:14)
45
+ at Test.run (node:internal/test_runner/test:1402:25)
46
+ at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
47
+ at Test.postRun (node:internal/test_runner/test:1542:19)
48
+ at Test.run (node:internal/test_runner/test:1467:12)
49
+ at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
50
+ at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
51
+ generatedMessage: false,
52
+ code: 'ERR_ASSERTION',
53
+ actual: '',
54
+ expected: '__KEEP__',
55
+ operator: 'strictEqual',
56
+ diff: 'simple'
57
+ }
@@ -0,0 +1,24 @@
1
+ ✔ tariff editor loads lazily and renders secret presence without copying secret values (20.41195ms)
2
+ ✔ single setting sends only its revisioned tariff delta, never full AppCenter data or blank secret (5.074377ms)
3
+ ✔ source switch requires its own token and clears typed token from the previous source (6.4719ms)
4
+ ✔ actual frontend and backend require a fresh token on provider change even with the same ENTSO-E source (3.675001ms)
5
+ ✔ revision conflict preserves edited values and token and never automatically retries (2.118212ms)
6
+ ✔ source/provider options contain no custom endpoint choice and preserve installer provider until deliberate switch (1.433156ms)
7
+ ✔ a known provider name with an external endpoint remains installer-managed until deliberately selected again (2.081788ms)
8
+ ✔ country change cannot post a hidden stale sourceId for a direct provider (2.020888ms)
9
+ ✔ formula and use-for-tariff consent are targeted explicit changes (2.314413ms)
10
+ ✔ failed initial load remains locked; untrusted error text is never displayed (1.632051ms)
11
+ ✔ authentication failure on save preserves form without replaying writes (1.847331ms)
12
+ ✔ reload asks before discarding an edit and pagehide clears a typed secret (1.953137ms)
13
+ ✔ provider labels are rendered as plain text and unrelated server fields never enter a save (1.73959ms)
14
+ ✔ startup loading retries initial GET only, confirms Tibber and stops its single timer (1.837486ms)
15
+ ✔ startup retries are bounded and closing or leaving the panel cancels the single pending timer (3.462141ms)
16
+ ✔ hydration failure has no retry and an existing draft is never replaced by startup reads (2.980231ms)
17
+ ℹ tests 16
18
+ ℹ suites 0
19
+ ℹ pass 16
20
+ ℹ fail 0
21
+ ℹ cancelled 0
22
+ ℹ skipped 0
23
+ ℹ todo 0
24
+ ℹ duration_ms 432.694421
@@ -0,0 +1,303 @@
1
+ ✖ absent tariff controls must not clear a loaded masked credential or home during an unrelated save (5.007728ms)
2
+ ✖ unconfirmed or unrendered tariff data never injects defaults into generic EMS saves (3.012118ms)
3
+ ✖ missing numeric, flag and formula controls preserve stored values without granting tariff activation (1.655926ms)
4
+ ✖ explicit rendered field clearing and source changes remain intentional tariff edits (1.744908ms)
5
+ ✖ unrendered custom request fields retain masked headers, body and deliberately empty JSON paths (1.602847ms)
6
+ ✖ editing one tariff field does not persist rendered defaults for other untouched fields (1.983222ms)
7
+ ℹ tests 6
8
+ ℹ suites 0
9
+ ℹ pass 0
10
+ ℹ fail 6
11
+ ℹ cancelled 0
12
+ ℹ skipped 0
13
+ ℹ todo 0
14
+ ℹ duration_ms 835.442873
15
+
16
+ ✖ failing tests:
17
+
18
+ test at test/eos-customer-tariff-appcenter-roundtrip.test.cjs:99:1
19
+ ✖ absent tariff controls must not clear a loaded masked credential or home during an unrelated save (5.007728ms)
20
+ AssertionError [ERR_ASSERTION]: absent secret field is not an explicit clear request
21
+
22
+ '' !== '__KEEP__'
23
+
24
+ at TestContext.<anonymous> (/workspace/scratch/b0b00b64c39c/work-restart-review/test/eos-customer-tariff-appcenter-roundtrip.test.cjs:104:12)
25
+ at Test.runInAsyncScope (node:async_hooks:227:14)
26
+ at Test.run (node:internal/test_runner/test:1402:25)
27
+ at Test.start (node:internal/test_runner/test:1262:17)
28
+ at startSubtestAfterBootstrap (node:internal/test_runner/harness:387:17) {
29
+ generatedMessage: false,
30
+ code: 'ERR_ASSERTION',
31
+ actual: '',
32
+ expected: '__KEEP__',
33
+ operator: 'strictEqual',
34
+ diff: 'simple'
35
+ }
36
+
37
+ test at test/eos-customer-tariff-appcenter-roundtrip.test.cjs:109:1
38
+ ✖ unconfirmed or unrendered tariff data never injects defaults into generic EMS saves (3.012118ms)
39
+ AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
40
+ + actual - expected
41
+
42
+ + {
43
+ + tariffProvider: {
44
+ + activateTariffLogic: true,
45
+ + autoCoupleDatapoints: true,
46
+ + automaticMode: true,
47
+ + country: 'DE',
48
+ + credentials: {
49
+ + accessToken: '',
50
+ + apiKey: '',
51
+ + bearerToken: '',
52
+ + clientId: '',
53
+ + clientSecret: '',
54
+ + password: '',
55
+ + securityToken: '',
56
+ + tokenUrl: '',
57
+ + username: ''
58
+ + },
59
+ + customRest: {
60
+ + apiKeyHeader: 'x-api-key',
61
+ + arrayPath: '',
62
+ + authMode: 'none',
63
+ + endPath: 'endsAt',
64
+ + headersJson: '',
65
+ + method: 'GET',
66
+ + pricePath: 'total',
67
+ + startPath: 'startsAt',
68
+ + unit: 'EUR/kWh',
69
+ + url: ''
70
+ + },
71
+ + enabled: false,
72
+ + feedInEurPerKwh: 0,
73
+ + formula: {
74
+ + gridVariableEurPerKwh: 0,
75
+ + marketMultiplier: 1,
76
+ + otherVariableEurPerKwh: 0,
77
+ + priceIncludesVat: false,
78
+ + supplierMarkupEurPerKwh: 0,
79
+ + taxEurPerKwh: 0,
80
+ + vatPct: 0
81
+ + },
82
+ + homeId: '',
83
+ + postalCode: '',
84
+ + priceComponent: 'total',
85
+ + pricesUrl: '',
86
+ + providerId: 'manual-dp',
87
+ + providerProfileId: 'local-provider',
88
+ + refreshMinutes: 15,
89
+ + resolutionMinutes: 15,
90
+ + sourceId: 'entsoe',
91
+ + timeZone: 'Europe/Berlin',
92
+ + tokenUrl: ''
93
+ + }
94
+ + }
95
+ - {}
96
+
97
+ at TestContext.<anonymous> (/workspace/scratch/b0b00b64c39c/work-restart-review/test/eos-customer-tariff-appcenter-roundtrip.test.cjs:111:12)
98
+ at Test.runInAsyncScope (node:async_hooks:227:14)
99
+ at Test.run (node:internal/test_runner/test:1402:25)
100
+ at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
101
+ at Test.postRun (node:internal/test_runner/test:1542:19)
102
+ at Test.run (node:internal/test_runner/test:1467:12)
103
+ at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
104
+ generatedMessage: true,
105
+ code: 'ERR_ASSERTION',
106
+ actual: { tariffProvider: { enabled: false, providerId: 'manual-dp', sourceId: 'entsoe', providerProfileId: 'local-provider', activateTariffLogic: true, automaticMode: true, autoCoupleDatapoints: true, country: 'DE', timeZone: 'Europe/Berlin', resolutionMinutes: 15, refreshMinutes: 15, priceComponent: 'total', homeId: '', postalCode: '', tokenUrl: '', pricesUrl: '', credentials: [Object], formula: [Object], feedInEurPerKwh: 0, customRest: [Object] } },
107
+ expected: {},
108
+ operator: 'deepStrictEqual',
109
+ diff: 'simple'
110
+ }
111
+
112
+ test at test/eos-customer-tariff-appcenter-roundtrip.test.cjs:117:1
113
+ ✖ missing numeric, flag and formula controls preserve stored values without granting tariff activation (1.655926ms)
114
+ AssertionError [ERR_ASSERTION]: activateTariffLogic
115
+
116
+ true !== false
117
+
118
+ at TestContext.<anonymous> (/workspace/scratch/b0b00b64c39c/work-restart-review/test/eos-customer-tariff-appcenter-roundtrip.test.cjs:132:166)
119
+ at Test.runInAsyncScope (node:async_hooks:227:14)
120
+ at Test.run (node:internal/test_runner/test:1402:25)
121
+ at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
122
+ at Test.postRun (node:internal/test_runner/test:1542:19)
123
+ at Test.run (node:internal/test_runner/test:1467:12)
124
+ at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
125
+ generatedMessage: false,
126
+ code: 'ERR_ASSERTION',
127
+ actual: true,
128
+ expected: false,
129
+ operator: 'strictEqual',
130
+ diff: 'simple'
131
+ }
132
+
133
+ test at test/eos-customer-tariff-appcenter-roundtrip.test.cjs:137:1
134
+ ✖ explicit rendered field clearing and source changes remain intentional tariff edits (1.744908ms)
135
+ AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
136
+ + actual - expected
137
+
138
+ + {
139
+ + tariffProvider: {
140
+ + activateTariffLogic: true,
141
+ + autoCoupleDatapoints: true,
142
+ + automaticMode: true,
143
+ + country: 'DE',
144
+ + credentials: {
145
+ + accessToken: '__KEEP__',
146
+ + apiKey: '',
147
+ + bearerToken: '',
148
+ + clientId: '',
149
+ + clientSecret: '',
150
+ + password: '',
151
+ + securityToken: '',
152
+ + tokenUrl: '',
153
+ + username: ''
154
+ + },
155
+ + customRest: {
156
+ + apiKeyHeader: 'x-api-key',
157
+ + arrayPath: '',
158
+ + authMode: 'none',
159
+ + endPath: 'endsAt',
160
+ + headersJson: '',
161
+ + method: 'GET',
162
+ + pricePath: 'total',
163
+ + startPath: 'startsAt',
164
+ + unit: 'EUR/kWh',
165
+ + url: ''
166
+ + },
167
+ + enabled: true,
168
+ + feedInEurPerKwh: 0,
169
+ + formula: {
170
+ + gridVariableEurPerKwh: 0,
171
+ + marketMultiplier: 1,
172
+ + otherVariableEurPerKwh: 0,
173
+ + priceIncludesVat: true,
174
+ + supplierMarkupEurPerKwh: 0,
175
+ + taxEurPerKwh: 0,
176
+ + vatPct: 0
177
+ + },
178
+ + homeId: 'home',
179
+ + postalCode: '',
180
+ + priceComponent: 'total',
181
+ + pricesUrl: '',
182
+ + providerId: 'tibber',
183
+ + providerProfileId: 'local-provider',
184
+ + refreshMinutes: 15,
185
+ + resolutionMinutes: 15,
186
+ + sourceId: '',
187
+ + timeZone: 'Europe/Berlin',
188
+ + tokenUrl: ''
189
+ + }
190
+ + }
191
+ - {}
192
+
193
+ at TestContext.<anonymous> (/workspace/scratch/b0b00b64c39c/work-restart-review/test/eos-customer-tariff-appcenter-roundtrip.test.cjs:140:12)
194
+ at Test.runInAsyncScope (node:async_hooks:227:14)
195
+ at Test.run (node:internal/test_runner/test:1402:25)
196
+ at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
197
+ at Test.postRun (node:internal/test_runner/test:1542:19)
198
+ at Test.run (node:internal/test_runner/test:1467:12)
199
+ at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
200
+ generatedMessage: true,
201
+ code: 'ERR_ASSERTION',
202
+ actual: { tariffProvider: { enabled: true, providerId: 'tibber', sourceId: '', country: 'DE', homeId: 'home', credentials: [Object], providerProfileId: 'local-provider', activateTariffLogic: true, automaticMode: true, autoCoupleDatapoints: true, timeZone: 'Europe/Berlin', resolutionMinutes: 15, refreshMinutes: 15, priceComponent: 'total', postalCode: '', tokenUrl: '', pricesUrl: '', formula: [Object], feedInEurPerKwh: 0, customRest: [Object] } },
203
+ expected: {},
204
+ operator: 'deepStrictEqual',
205
+ diff: 'simple'
206
+ }
207
+
208
+ test at test/eos-customer-tariff-appcenter-roundtrip.test.cjs:155:1
209
+ ✖ unrendered custom request fields retain masked headers, body and deliberately empty JSON paths (1.602847ms)
210
+ AssertionError [ERR_ASSERTION]: headersJson
211
+
212
+ '' !== '__KEEP__'
213
+
214
+ at TestContext.<anonymous> (/workspace/scratch/b0b00b64c39c/work-restart-review/test/eos-customer-tariff-appcenter-roundtrip.test.cjs:163:76)
215
+ at Test.runInAsyncScope (node:async_hooks:227:14)
216
+ at Test.run (node:internal/test_runner/test:1402:25)
217
+ at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
218
+ at Test.postRun (node:internal/test_runner/test:1542:19)
219
+ at Test.run (node:internal/test_runner/test:1467:12)
220
+ at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
221
+ generatedMessage: false,
222
+ code: 'ERR_ASSERTION',
223
+ actual: '',
224
+ expected: '__KEEP__',
225
+ operator: 'strictEqual',
226
+ diff: 'simple'
227
+ }
228
+
229
+ test at test/eos-customer-tariff-appcenter-roundtrip.test.cjs:169:1
230
+ ✖ editing one tariff field does not persist rendered defaults for other untouched fields (1.983222ms)
231
+ AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
232
+ + actual - expected
233
+
234
+ {
235
+ + activateTariffLogic: true,
236
+ + autoCoupleDatapoints: true,
237
+ + automaticMode: true,
238
+ + country: 'DE',
239
+ credentials: {
240
+ + accessToken: '',
241
+ + apiKey: '',
242
+ bearerToken: '__KEEP__',
243
+ + clientId: '',
244
+ + clientSecret: '',
245
+ + password: '',
246
+ + securityToken: '',
247
+ + tokenUrl: '',
248
+ + username: ''
249
+ },
250
+ customRest: {
251
+ + apiKeyHeader: 'x-api-key',
252
+ + arrayPath: '',
253
+ + authMode: 'none',
254
+ body: '__KEEP__',
255
+ + endPath: 'endsAt',
256
+ - endPath: '',
257
+ headersJson: '__KEEP__',
258
+ + method: 'GET',
259
+ + pricePath: 'total',
260
+ + startPath: 'startsAt',
261
+ + unit: 'EUR/kWh',
262
+ + url: ''
263
+ - pricePath: '',
264
+ - startPath: ''
265
+ },
266
+ enabled: true,
267
+ + feedInEurPerKwh: 0,
268
+ + formula: {
269
+ + gridVariableEurPerKwh: 0,
270
+ + marketMultiplier: 1,
271
+ + otherVariableEurPerKwh: 0,
272
+ + priceIncludesVat: false,
273
+ + supplierMarkupEurPerKwh: 0,
274
+ + taxEurPerKwh: 0,
275
+ + vatPct: 0
276
+ + },
277
+ + homeId: '',
278
+ + postalCode: '',
279
+ + priceComponent: 'total',
280
+ + pricesUrl: '',
281
+ providerId: 'custom-rest',
282
+ + providerProfileId: 'local-provider',
283
+ refreshMinutes: 60,
284
+ + resolutionMinutes: 15,
285
+ sourceId: 'custom-rest',
286
+ + timeZone: 'Europe/Berlin',
287
+ + tokenUrl: ''
288
+ }
289
+
290
+ at TestContext.<anonymous> (/workspace/scratch/b0b00b64c39c/work-restart-review/test/eos-customer-tariff-appcenter-roundtrip.test.cjs:176:12)
291
+ at Test.runInAsyncScope (node:async_hooks:227:14)
292
+ at Test.run (node:internal/test_runner/test:1402:25)
293
+ at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
294
+ at Test.postRun (node:internal/test_runner/test:1542:19)
295
+ at Test.run (node:internal/test_runner/test:1467:12)
296
+ at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
297
+ generatedMessage: true,
298
+ code: 'ERR_ASSERTION',
299
+ actual: { enabled: true, providerId: 'custom-rest', sourceId: 'custom-rest', credentials: { bearerToken: '__KEEP__', accessToken: '', securityToken: '', clientId: '', clientSecret: '', tokenUrl: '', apiKey: '', username: '', password: '' }, customRest: { headersJson: '__KEEP__', body: '__KEEP__', startPath: 'startsAt', endPath: 'endsAt', pricePath: 'total', url: '', method: 'GET', authMode: 'none', apiKeyHeader: 'x-api-key', arrayPath: '', unit: 'EUR/kWh' }, providerProfileId: 'local-provider', activateTariffLogic: true, automaticMode: true, autoCoupleDatapoints: true, country: 'DE', timeZone: 'Europe/Berlin', resolutionMinutes: 15, refreshMinutes: 60, priceComponent: 'total', homeId: '', postalCode: '', tokenUrl: '', pricesUrl: '', formula: { marketMultiplier: 1, supplierMarkupEurPerKwh: 0, gridVariableEurPerKwh: 0, taxEurPerKwh: 0, otherVariableEurPerKwh: 0, vatPct: 0, priceIncludesVat: false }, feedInEurPerKwh: 0 },
300
+ expected: { enabled: true, providerId: 'custom-rest', sourceId: 'custom-rest', credentials: { bearerToken: '__KEEP__' }, customRest: { headersJson: '__KEEP__', body: '__KEEP__', startPath: '', endPath: '', pricePath: '' }, refreshMinutes: 60 },
301
+ operator: 'deepStrictEqual',
302
+ diff: 'simple'
303
+ }
@@ -0,0 +1,14 @@
1
+ ✔ absent tariff controls must not clear a loaded masked credential or home during an unrelated save (7.014796ms)
2
+ ✔ unconfirmed or unrendered tariff data never injects defaults into generic EMS saves (7.052501ms)
3
+ ✔ missing numeric, flag and formula controls preserve stored values without granting tariff activation (3.400345ms)
4
+ ✔ explicit rendered field clearing and source changes remain intentional tariff edits (6.917011ms)
5
+ ✔ unrendered custom request fields retain masked headers, body and deliberately empty JSON paths (6.632299ms)
6
+ ✔ editing one tariff field does not persist rendered defaults for other untouched fields (59.467181ms)
7
+ ℹ tests 6
8
+ ℹ suites 0
9
+ ℹ pass 6
10
+ ℹ fail 0
11
+ ℹ cancelled 0
12
+ ℹ skipped 0
13
+ ℹ todo 0
14
+ ℹ duration_ms 1304.93627
@@ -0,0 +1,33 @@
1
+ ROUNDTRIP_VIEW {"tariffPresent":false,"submittedProvider":"manual-dp","submittedEnabled":false,"tokenPresent":false}
2
+ ROUNDTRIP_RESTART {"provider":"manual-dp","enabled":false,"tokenPresent":false}
3
+ ✖ Tibber save reaches parent state and survives UI plus whole owner restart (native namespace) (2920.420572ms)
4
+ ℹ tests 1
5
+ ℹ suites 0
6
+ ℹ pass 0
7
+ ℹ fail 1
8
+ ℹ cancelled 0
9
+ ℹ skipped 0
10
+ ℹ todo 0
11
+ ℹ duration_ms 3499.549712
12
+
13
+ ✖ failing tests:
14
+
15
+ test at ../ocpp-review-evidence/tibber-restart/appcenter-overwrite-repro.test.cjs:41:34
16
+ ✖ Tibber save reaches parent state and survives UI plus whole owner restart (native namespace) (2920.420572ms)
17
+ AssertionError [ERR_ASSERTION]: an unrelated AppCenter edit must retain customer Tibber after owner restart
18
+ + actual - expected
19
+
20
+ + 'manual-dp'
21
+ - 'tibber'
22
+
23
+ at TestContext.<anonymous> (/workspace/scratch/b0b00b64c39c/ocpp-review-evidence/tibber-restart/appcenter-overwrite-repro.test.cjs:164:12)
24
+ at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
25
+ at async Test.run (node:internal/test_runner/test:1409:7)
26
+ at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
27
+ generatedMessage: false,
28
+ code: 'ERR_ASSERTION',
29
+ actual: 'manual-dp',
30
+ expected: 'tibber',
31
+ operator: 'strictEqual',
32
+ diff: 'simple'
33
+ }
@@ -0,0 +1 @@
1
+ {"hydrated":false,"startup":{"state":"degraded","error":"EOS_UI_STARTUP_FAILED"},"shuttingDown":false,"plannerCalls":1,"result":{"changed":false,"statuses":[]}}
@@ -0,0 +1,57 @@
1
+ {"before":"tibber","installerContainsProvider":false,"submittedProvider":"manual-dp","submittedEnabled":false,"submittedSecretEmpty":true}
2
+ {"persistedProvider":"manual-dp","persistedEnabled":false,"persistedSecretEmpty":true}
3
+ {"case":"absent-controls","provider":"tibber","submittedSecretEmpty":true,"submittedHomeEmpty":true}
4
+ ✖ unrelated App-Center save must preserve a previously saved Tibber provider and secret (115.659182ms)
5
+ ✖ absent tariff controls must not clear a loaded masked credential or home during an unrelated save (2.849126ms)
6
+ ℹ tests 2
7
+ ℹ suites 0
8
+ ℹ pass 0
9
+ ℹ fail 2
10
+ ℹ cancelled 0
11
+ ℹ skipped 0
12
+ ℹ todo 0
13
+ ℹ duration_ms 1099.006706
14
+
15
+ ✖ failing tests:
16
+
17
+ test at ../tariff-review/appcenter-tariff-roundtrip.test.cjs:40:1
18
+ ✖ unrelated App-Center save must preserve a previously saved Tibber provider and secret (115.659182ms)
19
+ AssertionError [ERR_ASSERTION]: unrelated settings save must not replace tariff with UI defaults
20
+ + actual - expected
21
+
22
+ + 'manual-dp'
23
+ - 'tibber'
24
+
25
+ at TestContext.<anonymous> (/workspace/scratch/b0b00b64c39c/tariff-review/appcenter-tariff-roundtrip.test.cjs:74:12)
26
+ at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
27
+ at async Test.run (node:internal/test_runner/test:1409:7)
28
+ at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
29
+ generatedMessage: false,
30
+ code: 'ERR_ASSERTION',
31
+ actual: 'manual-dp',
32
+ expected: 'tibber',
33
+ operator: 'strictEqual',
34
+ diff: 'simple'
35
+ }
36
+
37
+ test at ../tariff-review/appcenter-tariff-roundtrip.test.cjs:81:1
38
+ ✖ absent tariff controls must not clear a loaded masked credential or home during an unrelated save (2.849126ms)
39
+ AssertionError [ERR_ASSERTION]: absent secret field is not an explicit clear request
40
+
41
+ '' !== '__KEEP__'
42
+
43
+ at TestContext.<anonymous> (/workspace/scratch/b0b00b64c39c/tariff-review/appcenter-tariff-roundtrip.test.cjs:88:12)
44
+ at Test.runInAsyncScope (node:async_hooks:227:14)
45
+ at Test.run (node:internal/test_runner/test:1402:25)
46
+ at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
47
+ at Test.postRun (node:internal/test_runner/test:1542:19)
48
+ at Test.run (node:internal/test_runner/test:1467:12)
49
+ at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
50
+ at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
51
+ generatedMessage: false,
52
+ code: 'ERR_ASSERTION',
53
+ actual: '',
54
+ expected: '__KEEP__',
55
+ operator: 'strictEqual',
56
+ diff: 'simple'
57
+ }