iobroker.eos-admin 9.0.21 → 9.0.24
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.
- package/NEXOWATT_EOS_BUILD_INFO.json +17 -11
- package/README.md +32 -8
- package/START_HIER_9.0.21.md +53 -0
- package/START_HIER_9.0.22.md +48 -0
- package/START_HIER_9.0.23.md +47 -0
- package/START_HIER_9.0.24.md +70 -0
- package/adminWww/.vite/manifest.json +55 -55
- package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +13760 -13760
- package/adminWww/assets/{AdapterUpdateDialog-Dxl_b7Op.js → AdapterUpdateDialog-D7sI5VRm.js} +1 -1
- package/adminWww/assets/{Adapters-CVKKhXmI.js → Adapters-DS6ITaEH.js} +1 -1
- package/adminWww/assets/{ConfigManager-Bf6nTAkL.js → ConfigManager-_iFDSXuD.js} +1 -1
- package/adminWww/assets/{Enums-CJHVJY7t.js → Enums-Bdv7Tqmf.js} +1 -1
- package/adminWww/assets/{Fields-DWHbZKvm.js → Fields-CWUY1AnV.js} +1 -1
- package/adminWww/assets/{Files-a6owMTXA.js → Files-BveV1b_F.js} +1 -1
- package/adminWww/assets/{Hosts-LtEMeXpV.js → Hosts-B1HWZLGl.js} +1 -1
- package/adminWww/assets/{Instances-DhChziA1.js → Instances-DYvbOlj7.js} +1 -1
- package/adminWww/assets/{Intro-Cyq9gVDC.js → Intro-pYT2FzIK.js} +1 -1
- package/adminWww/assets/{Logs-wcramXsg.js → Logs-D2ZbCY3Z.js} +1 -1
- package/adminWww/assets/{Objects-DINVHd_e.js → Objects-CTUxbXJM.js} +1 -1
- package/adminWww/assets/{Overview-DK4R41zR.js → Overview-i6PsoN_F.js} +1 -1
- package/adminWww/assets/{State-DcEACXzL.js → State-BEQXNcI3.js} +1 -1
- package/adminWww/assets/{UsedResources-C1LcM0Rb.js → UsedResources-CLc1afk1.js} +1 -1
- package/adminWww/assets/{Users-DvDdSyDY.js → Users-DG6i7iqC.js} +1 -1
- package/adminWww/assets/{bootstrap-Dbj_GbnP.js → bootstrap-4KhX67tn.js} +4 -4
- package/adminWww/assets/{hostInit-BNFIx0-f.js → hostInit-B08JmaAP.js} +1 -1
- package/adminWww/assets/{icons-material-DVbdXNgr.js → icons-material-sOCHi6x9.js} +1 -1
- package/adminWww/assets/{index-CoKP1NSA.js → index-DHSNS0v8.js} +2 -2
- package/adminWww/assets/{installSVGRenderer-CMvku1F1.js → installSVGRenderer-CWaaO5tF.js} +1 -1
- package/adminWww/assets/{mf-entry-bootstrap-0-ac330bce.js → mf-entry-bootstrap-0-e7c54f7f.js} +2 -2
- package/adminWww/index.html +23 -23
- package/adminWww/mf-manifest.json +1 -1
- package/adminWww/mf-stats.json +1 -1
- package/adminWww/{remoteEntry-eos-9.0.21.js → remoteEntry-eos-9.0.24.js} +1 -1
- package/adminWww/remoteEntry.js +1 -1
- package/build/lib/eosHistoryBackupScope.js +73 -0
- package/build/lib/eosHistoryBackupScope.js.map +1 -0
- package/build/lib/eosKiosk.js +348 -0
- package/build/lib/eosKiosk.js.map +1 -0
- package/build/lib/eosLegacyMigration.js +14 -3
- package/build/lib/eosLegacyMigration.js.map +1 -1
- package/build/lib/eosLicenseService.js +1 -1
- package/build/lib/eosLicenseService.js.map +1 -1
- package/build/lib/eosModuleConfigStore.js +1 -1
- package/build/lib/eosModuleConfigStore.js.map +1 -1
- package/build/lib/eosModuleHost.js +241 -21
- package/build/lib/eosModuleHost.js.map +1 -1
- package/build/lib/eosModuleHttp.js +40 -6
- package/build/lib/eosModuleHttp.js.map +1 -1
- package/build/lib/eosModuleProcess.js +317 -0
- package/build/lib/eosModuleProcess.js.map +1 -0
- package/build/lib/eosModuleProcessProtocol.js +213 -0
- package/build/lib/eosModuleProcessProtocol.js.map +1 -0
- package/build/lib/eosModuleProcessWorker.js +279 -0
- package/build/lib/eosModuleProcessWorker.js.map +1 -0
- package/build/lib/eosPostgresProvisioning.js +189 -0
- package/build/lib/eosPostgresProvisioning.js.map +1 -0
- package/build/lib/eosRuntimeHealth.js +155 -0
- package/build/lib/eosRuntimeHealth.js.map +1 -0
- package/build/lib/eosUiProcess.js +689 -0
- package/build/lib/eosUiProcess.js.map +1 -0
- package/build/lib/eosUiProcessRpc.js +279 -0
- package/build/lib/eosUiProcessRpc.js.map +1 -0
- package/build/lib/eosUiProcessWorker.js +399 -0
- package/build/lib/eosUiProcessWorker.js.map +1 -0
- package/build/lib/eosUiSecretCodec.js +64 -0
- package/build/lib/eosUiSecretCodec.js.map +1 -0
- package/build/lib/eosUnifiedBoundary.js +28 -4
- package/build/lib/eosUnifiedBoundary.js.map +1 -1
- package/build/lib/eosUpdateSnapshot.js +32 -1
- package/build/lib/eosUpdateSnapshot.js.map +1 -1
- package/build/lib/web.js +104 -7
- package/build/lib/web.js.map +1 -1
- package/docs/reports/unified-9.0.21/CRA_NACHWEISSTAND.md +159 -0
- package/docs/reports/unified-9.0.21/CUSTOMER_UPDATE_BACKEND_REVIEW.md +30 -0
- package/docs/reports/unified-9.0.21/CUSTOMER_UPDATE_UI_REVIEW.md +44 -0
- package/docs/reports/unified-9.0.21/CUSTOMER_UPDATE_WORKER_REVIEW.md +147 -0
- package/docs/reports/unified-9.0.21/CUSTOMER_WORKER_ZWEITPRUEFUNG.md +108 -0
- package/docs/reports/unified-9.0.21/DEVICE_STABILITY_REVIEW.md +50 -0
- package/docs/reports/unified-9.0.21/EMS_STABILITAET.md +41 -0
- package/docs/reports/unified-9.0.21/HISTORY_TARIFF_STABILITY_REVIEW.md +48 -0
- package/docs/reports/unified-9.0.21/MQTT_ZWEITPRUEFUNG_EMS.md +47 -0
- package/docs/reports/unified-9.0.21/PERSISTENZ_STABILITAET.md +76 -0
- package/docs/reports/unified-9.0.21/PRUEFBERICHT.md +64 -0
- package/docs/reports/unified-9.0.21/SECURITY_STABILITY_REVIEW.md +118 -0
- package/docs/reports/unified-9.0.21/UI_SECURITY_GATE_REVIEW.md +62 -0
- package/docs/reports/unified-9.0.21/UPDATE_HTTP_SNAPSHOT_PRUEFUNG.md +46 -0
- package/docs/reports/unified-9.0.21/raw/INDEX.json +1307 -0
- package/docs/reports/unified-9.0.21/raw/audit-full.log +345 -0
- package/docs/reports/unified-9.0.21/raw/audit-full.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/audit-runtime.log +23 -0
- package/docs/reports/unified-9.0.21/raw/audit-runtime.result.json +15 -0
- package/docs/reports/unified-9.0.21/raw/backend-final.log +5 -0
- package/docs/reports/unified-9.0.21/raw/backend-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/cra/frontend-installer-sbom.json +32 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-glue/root-glue-focused-node24.tap +34 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-service/lint.log +0 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-service/real920-archive-inspection.json +20 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-service/service-node22.log +110 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-service/service-node24.log +24 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-service/service-verification.json +54 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-service/typecheck.log +0 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/customer-worker-lint.log +0 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/customer-worker-node22.tap +86 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/customer-worker-node24.tap +20 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/customer-worker-strict-typecheck.log +0 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/customer-worker-typecheck.log +0 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/independent-worker-probes.cjs +109 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/node22.tap +86 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/node24.tap +20 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/probes-node22.tap +44 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/probes-node24.tap +13 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/receipt.json +89 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/receipt.json +42 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-before-drain-catch-node22.log +1959 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-before-drain-test-update-node22.log +1968 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-before-drain-test-update-node24.log +337 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-before-runtime-review-node22.log +1895 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-before-runtime-review-node24.log +317 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-final-node22.log +1959 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-final-node24.log +327 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-final-message-test-node22.log +36 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-final-message-test-node24.log +28 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-message-session-node22.log +36 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-message-session-node24.log +28 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-mqtt-command-replay-repro-node22.log +15 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-mqtt-command-replay-repro-node24.log +13 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-mqtt-shutdown-repro-node22.log +16 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-mqtt-shutdown-repro-node24.log +14 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-resources-node22.log +74 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-resources-node24.log +46 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/commands-before-drain-test-update.json +206 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/commands-before-runtime-review.json +150 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/commands-final.json +275 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/commands.json +134 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/env-node22.log +3 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/env-node24.log +1 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-before-drain-test-update-node22.log +2 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-before-drain-test-update-node24.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-before-runtime-review-node22.log +2 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-before-runtime-review-node24.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-final-node22.log +2 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-final-node24.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/mqtt-command-replay-repro.cjs +38 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/mqtt-shutdown-repro.cjs +31 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/regression-node22.log +322 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/regression-node24.log +55 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/run-evidence.py +23 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/run-final-evidence.py +20 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/runtime-lint-920.json +1 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/runtime-lint-921.json +1 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/source-hashes.json +16 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/types-before-drain-test-update-node22.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/types-before-drain-test-update-node24.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/types-before-runtime-review-node22.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/types-before-runtime-review-node24.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/types-final-node22.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/types-final-node24.log +0 -0
- package/docs/reports/unified-9.0.21/raw/ems/baseline-files-eslint.json +1 -0
- package/docs/reports/unified-9.0.21/raw/ems/changed-files-eslint.json +1 -0
- package/docs/reports/unified-9.0.21/raw/ems/engine.patch +38 -0
- package/docs/reports/unified-9.0.21/raw/ems/eslint-delta.json +6 -0
- package/docs/reports/unified-9.0.21/raw/ems/evidence.json +171 -0
- package/docs/reports/unified-9.0.21/raw/ems/farm-concurrency-baseline-node24.log +124 -0
- package/docs/reports/unified-9.0.21/raw/ems/farm-concurrency-node22.log +56 -0
- package/docs/reports/unified-9.0.21/raw/ems/farm-concurrency-node24.log +15 -0
- package/docs/reports/unified-9.0.21/raw/ems/farm-owned-methods.patch +133 -0
- package/docs/reports/unified-9.0.21/raw/ems/generated-regression-node22.log +460 -0
- package/docs/reports/unified-9.0.21/raw/ems/generated-regression-node24.log +82 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-frozen-node22.log +170 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-frozen-node24.log +33 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-review-node22.log +153 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-review-node24.log +39 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-reviewed-node22.log +170 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-reviewed-node24.log +33 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-queue-inheritance-before.log +28 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-review-baseline-node24.log +64 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-review-initial-timing.log +32 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-review-node22.log +44 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-review-node24.log +13 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-session-review.cjs +23 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-session-review.log +119 -0
- package/docs/reports/unified-9.0.21/raw/ems/nvp-baseline-node22.log +170 -0
- package/docs/reports/unified-9.0.21/raw/ems/nvp-baseline-node24.log +121 -0
- package/docs/reports/unified-9.0.21/raw/ems/nvp-node22.log +68 -0
- package/docs/reports/unified-9.0.21/raw/ems/nvp-node24.log +17 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-code-delta-inventory.json +32 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-docs-check.log +6 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-farm-fingerprint-moves.json +74 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-lint-policy-tests.log +6 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-lint-security-final-node22.log +5 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-lint-security-final-node24.log +8 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-lint-security-initial.log +6 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-main-full-delta.patch +135 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-reviewed-changes.json +93 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-reviewed-findings-before.json +3185 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-security-final-node22.json +28833 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-security-final-node24.json +28833 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-security-inventory-before.json +28991 -0
- package/docs/reports/unified-9.0.21/raw/ems/update-ui-reviewed-findings.cjs +59 -0
- package/docs/reports/unified-9.0.21/raw/frontend-build.log +152 -0
- package/docs/reports/unified-9.0.21/raw/frontend-build.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/frontend-installer-sbom.json +32 -0
- package/docs/reports/unified-9.0.21/raw/history/baseline920-influx-sequence-node24.log +12 -0
- package/docs/reports/unified-9.0.21/raw/history/baseline920-outage-node24.log +64 -0
- package/docs/reports/unified-9.0.21/raw/history/cra-tariff-source-node22.log +38 -0
- package/docs/reports/unified-9.0.21/raw/history/cra-tariff-source-node24.log +36 -0
- package/docs/reports/unified-9.0.21/raw/history/lint-baseline-comparison.json +83 -0
- package/docs/reports/unified-9.0.21/raw/history/lint-scope.cjs +29 -0
- package/docs/reports/unified-9.0.21/raw/history/regression-node22.log +438 -0
- package/docs/reports/unified-9.0.21/raw/history/regression-node24.log +75 -0
- package/docs/reports/unified-9.0.21/raw/history/results-node22.json +37 -0
- package/docs/reports/unified-9.0.21/raw/history/results-node24.json +66 -0
- package/docs/reports/unified-9.0.21/raw/history/run-checks.py +18 -0
- package/docs/reports/unified-9.0.21/raw/history/source-evidence.json +83 -0
- package/docs/reports/unified-9.0.21/raw/installer-build.log +26 -0
- package/docs/reports/unified-9.0.21/raw/installer-build.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/keygen-source.json +6 -0
- package/docs/reports/unified-9.0.21/raw/lint-final.log +16 -0
- package/docs/reports/unified-9.0.21/raw/lint-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/modules-build.log +5 -0
- package/docs/reports/unified-9.0.21/raw/modules-build.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/node22-tests-final.log +13274 -0
- package/docs/reports/unified-9.0.21/raw/node22-tests-final.result.json +13 -0
- package/docs/reports/unified-9.0.21/raw/node22-typecheck-final.log +7 -0
- package/docs/reports/unified-9.0.21/raw/node22-typecheck-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.21/raw/node24-tests-final.log +2223 -0
- package/docs/reports/unified-9.0.21/raw/node24-tests-final.result.json +13 -0
- package/docs/reports/unified-9.0.21/raw/node24-typecheck-final.log +5 -0
- package/docs/reports/unified-9.0.21/raw/node24-typecheck-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.21/raw/persistence/920-http-draft-revision-node24.log +50 -0
- package/docs/reports/unified-9.0.21/raw/persistence/920-late-commit-overwrite-node24.log +30 -0
- package/docs/reports/unified-9.0.21/raw/persistence/920-save-lifecycle-node24.log +59 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-backend-types.log +0 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-editor-lint.log +0 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-eebus-editor-typecheck.log +0 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-final-format-review.json +24 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-lint.log +0 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-new-update-http-before.log +177 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-new-update-snapshot-before.log +80 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-persistence-final-node22.log +1019 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-persistence-final-node22.receipt.json +28 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-persistence-final-node24.log +174 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-persistence-final-node24.receipt.json +28 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-eslint-final.log +0 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-final-node22.log +137 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-final-node22.receipt.json +21 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-final-node24.log +30 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-final-node24.receipt.json +21 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-strict-typecheck.log +0 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-typecheck-final.log +0 -0
- package/docs/reports/unified-9.0.21/raw/persistence/http-slowbody-after.log +3 -0
- package/docs/reports/unified-9.0.21/raw/persistence/http-slowbody-before-observation.json +25 -0
- package/docs/reports/unified-9.0.21/raw/persistence/http-slowbody-repro.cjs +7 -0
- package/docs/reports/unified-9.0.21/raw/persistence/source-files.pre-final-format.sha256 +14 -0
- package/docs/reports/unified-9.0.21/raw/persistence/source-files.sha256 +14 -0
- package/docs/reports/unified-9.0.21/raw/release-overlay/obsolete-assets-920-added.json +94 -0
- package/docs/reports/unified-9.0.21/raw/release-overlay/publish-catalog-regression.log +49 -0
- package/docs/reports/unified-9.0.21/raw/release-overlay/publish-catalog-regression.result.json +15 -0
- package/docs/reports/unified-9.0.21/raw/sbom-runtime.log +7 -0
- package/docs/reports/unified-9.0.21/raw/sbom-runtime.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/sbom-vendor-check.log +1 -0
- package/docs/reports/unified-9.0.21/raw/sbom-vendor-check.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/backend-typecheck.log +0 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/boundaries-node22.tap +495 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/boundaries-node24.tap +88 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/coexistence-node22.tap +179 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/coexistence-node24.tap +36 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/results.json +118 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/upload-admission-before-node22.tap +63 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/upload-admission-before-node24.tap +47 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/upload-lint.log +0 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/upload-node22.tap +148 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/upload-node24.tap +30 -0
- package/docs/reports/unified-9.0.21/raw/ui-docs-check.log +6 -0
- package/docs/reports/unified-9.0.21/raw/ui-docs-check.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/ui-runtime-final.log +7 -0
- package/docs/reports/unified-9.0.21/raw/ui-runtime-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/ui-runtime-sync.log +1 -0
- package/docs/reports/unified-9.0.21/raw/ui-runtime-sync.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/ui-sbom-check.log +6 -0
- package/docs/reports/unified-9.0.21/raw/ui-sbom-check.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/ui-sbom-final.log +6 -0
- package/docs/reports/unified-9.0.21/raw/ui-sbom-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/ui-secret-final.log +6 -0
- package/docs/reports/unified-9.0.21/raw/ui-secret-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/ui-security-final.log +8 -0
- package/docs/reports/unified-9.0.21/raw/ui-security-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/baseline-ui.log +280 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/browser-preview.test.cjs +170 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/draft-regression.log +214 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/eos-updates-before.ts +171 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/lint.log +0 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/results.json +90 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/source-evidence.json +30 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/type-node22.log +0 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/type-node24.log +0 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/ui-node22.log +98 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/ui-node24.log +22 -0
- package/docs/reports/unified-9.0.22/BACKUP_POSTGRES_FOLLOWUP.md +44 -0
- package/docs/reports/unified-9.0.22/ENERGIEFLUSS_BROWSERPRUEFUNG.md +40 -0
- package/docs/reports/unified-9.0.22/ENERGY_FLOW_BACKEND.md +44 -0
- package/docs/reports/unified-9.0.22/FLOW_TARIFF_INDEPENDENT_REVIEW.md +33 -0
- package/docs/reports/unified-9.0.22/OCPP_STOP_WRITER_REVIEW.md +27 -0
- package/docs/reports/unified-9.0.22/POSTGRESQL_SYSTEM_SETUP.md +34 -0
- package/docs/reports/unified-9.0.22/PRUEFBERICHT.md +85 -0
- package/docs/reports/unified-9.0.22/flow/PRUEFVERMERK.md +42 -0
- package/docs/reports/unified-9.0.22/flow/frontend-cadence-tests.log +37 -0
- package/docs/reports/unified-9.0.22/flow/frontend-source-hashes.json +13 -0
- package/docs/reports/unified-9.0.22/flow/frontend-tests.log +31 -0
- package/docs/reports/unified-9.0.22/postgres-history-review.md +43 -0
- package/docs/reports/unified-9.0.22/postgres-real-review.tap +21 -0
- package/docs/reports/unified-9.0.22/postgres-review-lint.log +0 -0
- package/docs/reports/unified-9.0.22/postgres-review-typecheck.log +0 -0
- package/docs/reports/unified-9.0.22/postgres-review-unit-api.tap +25 -0
- package/docs/reports/unified-9.0.22/raw/INDEX.json +43 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/eslint-backup.log +0 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/evcs-stop-writer-after.tap +13 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/evcs-stop-writer-before.tap +54 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/evcs-stop-writer-test-eslint.log +0 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/influx-real-node24.tap +11 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/scope-hashes.json +51 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/storage-nullable-before.tap +96 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/storage-nullable-flow.tap +12 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/tests-node24.tap +116 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/typecheck-backup-scope.log +0 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/typecheck-backup.log +0 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/typecheck-postgres-setup.log +0 -0
- package/docs/reports/unified-9.0.22/raw/current/admin-build.log +152 -0
- package/docs/reports/unified-9.0.22/raw/current/availability-final.log +1 -0
- package/docs/reports/unified-9.0.22/raw/current/backend-build.log +5 -0
- package/docs/reports/unified-9.0.22/raw/current/baseline-repairs.log +60 -0
- package/docs/reports/unified-9.0.22/raw/current/baseline-unified.log +1675 -0
- package/docs/reports/unified-9.0.22/raw/current/combined-fixes.log +65 -0
- package/docs/reports/unified-9.0.22/raw/current/control-final.log +25 -0
- package/docs/reports/unified-9.0.22/raw/current/energyflow-browser.json +244 -0
- package/docs/reports/unified-9.0.22/raw/current/energyflow-browser.stderr +0 -0
- package/docs/reports/unified-9.0.22/raw/current/energyflow-cadence-browser.json +63 -0
- package/docs/reports/unified-9.0.22/raw/current/energyflow-cadence-browser.stderr +0 -0
- package/docs/reports/unified-9.0.22/raw/current/lint-final.log +5 -0
- package/docs/reports/unified-9.0.22/raw/current/lint.log +5 -0
- package/docs/reports/unified-9.0.22/raw/current/markdown-build.log +1 -0
- package/docs/reports/unified-9.0.22/raw/current/modules-build.log +5 -0
- package/docs/reports/unified-9.0.22/raw/current/pre-ocpp-full.log +2337 -0
- package/docs/reports/unified-9.0.22/raw/current/production-audit.json +22 -0
- package/docs/reports/unified-9.0.22/raw/current/production-audit.stderr +1 -0
- package/docs/reports/unified-9.0.22/raw/current/runtime-build-final.log +8 -0
- package/docs/reports/unified-9.0.22/raw/current/runtime-build.log +32 -0
- package/docs/reports/unified-9.0.22/raw/current/runtime-sync.log +1 -0
- package/docs/reports/unified-9.0.22/raw/current/safety-envelope-final.log +1 -0
- package/docs/reports/unified-9.0.22/raw/current/sbom-lock-graph.log +1 -0
- package/docs/reports/unified-9.0.22/raw/current/sbom.log +6120 -0
- package/docs/reports/unified-9.0.22/raw/current/station-permission-final.log +1 -0
- package/docs/reports/unified-9.0.22/raw/current/storage-feedforward-final.log +1 -0
- package/docs/reports/unified-9.0.22/raw/current/typecheck-final.log +5 -0
- package/docs/reports/unified-9.0.22/raw/current/typecheck.log +5 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/eslint.txt +0 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node22-availability.txt +1 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node22-safety.txt +1 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node22-station.txt +1 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node22-tests.tap +124 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node24-availability.txt +1 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node24-safety.txt +1 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node24-station.txt +1 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node24-tests.tap +26 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/typecheck.txt +0 -0
- package/docs/reports/unified-9.0.22/raw/flow-backend/core-pv-node22.tap +30 -0
- package/docs/reports/unified-9.0.22/raw/flow-backend/core-pv-node24.tap +11 -0
- package/docs/reports/unified-9.0.22/raw/flow-backend/environment.json +7 -0
- package/docs/reports/unified-9.0.22/raw/flow-backend/lint.log +0 -0
- package/docs/reports/unified-9.0.22/raw/flow-backend/node22.tap +164 -0
- package/docs/reports/unified-9.0.22/raw/flow-backend/node24.tap +33 -0
- package/docs/reports/unified-9.0.22/raw/flow-backend/typecheck.log +0 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/browser-runtime.json +11 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/browser-smoke.json +49 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/browser-smoke.stderr +0 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/build.log +18 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/environment.json +38 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/lint.log +0 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/node22.tap +144 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/node24.tap +30 -0
- package/docs/reports/unified-9.0.22/raw/node22-tests-final.log +14086 -0
- package/docs/reports/unified-9.0.22/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.22/raw/node24-tests-final.log +2356 -0
- package/docs/reports/unified-9.0.22/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.22/raw/postgresql-system/setup-eslint.log +0 -0
- package/docs/reports/unified-9.0.22/raw/postgresql-system/setup-node22.tap +72 -0
- package/docs/reports/unified-9.0.22/raw/postgresql-system/setup-node24.tap +70 -0
- package/docs/reports/unified-9.0.22/raw/postgresql-system/status-eslint.log +0 -0
- package/docs/reports/unified-9.0.22/raw/postgresql-system/typecheck.log +0 -0
- package/docs/reports/unified-9.0.23/MODULE_PROCESS_IMPLEMENTATION.md +43 -0
- package/docs/reports/unified-9.0.23/OCPP_0.4.3_ERGEBNIS.json +24 -0
- package/docs/reports/unified-9.0.23/OCPP_0.4.3_PRUEFBERICHT.md +50 -0
- package/docs/reports/unified-9.0.23/OCPP_AUTOMATISCHE_ZUORDNUNG.md +49 -0
- package/docs/reports/unified-9.0.23/OCPP_CM_INTEGRATION.md +31 -0
- package/docs/reports/unified-9.0.23/PROZESSDIAGNOSE.md +35 -0
- package/docs/reports/unified-9.0.23/PRUEFBERICHT.md +75 -0
- package/docs/reports/unified-9.0.23/UI_EMS_PROZESSGRENZE.md +36 -0
- package/docs/reports/unified-9.0.23/UI_PROCESS_INDEPENDENT_FOLLOWUP.md +33 -0
- package/docs/reports/unified-9.0.23/module-process-contract-review-node22.tap +86 -0
- package/docs/reports/unified-9.0.23/module-process-contract-review-node24.tap +20 -0
- package/docs/reports/unified-9.0.23/module-process-contract-review.md +39 -0
- package/docs/reports/unified-9.0.23/module-process-contract-review.tap +20 -0
- package/docs/reports/unified-9.0.23/module-process-final.tap +27 -0
- package/docs/reports/unified-9.0.23/module-process-static.json +57 -0
- package/docs/reports/unified-9.0.23/raw/INDEX.json +43 -0
- package/docs/reports/unified-9.0.23/raw/build-backend-final.log +5 -0
- package/docs/reports/unified-9.0.23/raw/build-frontend.log +152 -0
- package/docs/reports/unified-9.0.23/raw/build-installer.log +26 -0
- package/docs/reports/unified-9.0.23/raw/build-ui-final.log +7 -0
- package/docs/reports/unified-9.0.23/raw/current/evcs-stop-writer-ocpp043.txt +20 -0
- package/docs/reports/unified-9.0.23/raw/current/ocpp-runtime-feedback-lint.txt +1 -0
- package/docs/reports/unified-9.0.23/raw/current/ocpp-runtime-feedback-tests.txt +28 -0
- package/docs/reports/unified-9.0.23/raw/current/runtime-health-browser.json +49 -0
- package/docs/reports/unified-9.0.23/raw/current/runtime-health-browser.stderr.txt +0 -0
- package/docs/reports/unified-9.0.23/raw/current/runtime-health-lint.txt +1 -0
- package/docs/reports/unified-9.0.23/raw/current/runtime-health-tests.txt +27 -0
- package/docs/reports/unified-9.0.23/raw/current/runtime-health-types.txt +1 -0
- package/docs/reports/unified-9.0.23/raw/eos-production-audit.json +22 -0
- package/docs/reports/unified-9.0.23/raw/idle-pwa-node22.log +75 -0
- package/docs/reports/unified-9.0.23/raw/idle-pwa-node24.log +22 -0
- package/docs/reports/unified-9.0.23/raw/lint-final.log +5 -0
- package/docs/reports/unified-9.0.23/raw/node22-tests-final.log +14612 -0
- package/docs/reports/unified-9.0.23/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.23/raw/node24-tests-final.log +2443 -0
- package/docs/reports/unified-9.0.23/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.23/raw/ocpp-auto-discovery.log +21 -0
- package/docs/reports/unified-9.0.23/raw/ocpp-discovery-browser.json +55 -0
- package/docs/reports/unified-9.0.23/raw/ocpp-discovery-lifecycle-regression.log +48 -0
- package/docs/reports/unified-9.0.23/raw/ocpp-production-audit.json +69 -0
- package/docs/reports/unified-9.0.23/raw/typecheck-final.log +5 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/discovery-review.tap +21 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/lint.log +0 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/node22.tap +118 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/node24.tap +112 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/root-typecheck.log +0 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/typecheck.log +0 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/unified-listen-build-node24.tap +196 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/unified-listen-node22.tap +200 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/web-lint.log +0 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/web-pipeline-node22.tap +92 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/web-pipeline-node24.tap +90 -0
- package/docs/reports/unified-9.0.23/ui-process-contract-review.md +30 -0
- package/docs/reports/unified-9.0.23/ui-process-final-review-node22.tap +50 -0
- package/docs/reports/unified-9.0.23/ui-process-final-review-node24.tap +14 -0
- package/docs/reports/unified-9.0.23/ui-process-followup-hashes.json +13 -0
- package/docs/reports/unified-9.0.23/ui-process-operational-review-node22.tap +30 -0
- package/docs/reports/unified-9.0.23/ui-process-operational-review-node24.tap +11 -0
- package/docs/reports/unified-9.0.23/ui-process-review-node22.tap +48 -0
- package/docs/reports/unified-9.0.23/ui-process-review-node24.tap +46 -0
- package/docs/reports/unified-9.0.24/BACKUP_INTEROP_PRUEFBERICHT.md +48 -0
- package/docs/reports/unified-9.0.24/KIOSK_FRONTEND_BROWSERPRUEFUNG.md +49 -0
- package/docs/reports/unified-9.0.24/KIOSK_UNABHAENGIGER_REVIEW.md +21 -0
- package/docs/reports/unified-9.0.24/OCPP_HOST_MIGRATION.md +41 -0
- package/docs/reports/unified-9.0.24/OCPP_NAMESPACE_REGELPFAD.md +55 -0
- package/docs/reports/unified-9.0.24/OCPP_UNABHAENGIGER_REVIEW.md +37 -0
- package/docs/reports/unified-9.0.24/OCPP_VERWALTUNG.md +33 -0
- package/docs/reports/unified-9.0.24/PRUEFBERICHT.md +54 -0
- package/docs/reports/unified-9.0.24/PUBLISH_OVERLAY_9_0_21.md +23 -0
- package/docs/reports/unified-9.0.24/raw/INDEX.json +43 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/ems-independence-node24.tap +9 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/final-node22.tap +175 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/final-node24.tap +35 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/focused-node22.tap +132 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/focused-node24.tap +27 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/kiosk-review-node24.tap +13 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/kiosk-update-snapshot-node24.tap +22 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/lint-source.txt +0 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/lint-tests.txt +0 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/ocpp-backup-node24.tap +10 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/own-source-hashes.json +12 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/types.txt +0 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/update-snapshot-node24.tap +20 -0
- package/docs/reports/unified-9.0.24/raw/build.log +200 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-browser-node22.json +69 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-browser-node22.stderr.txt +3 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-browser.json +69 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-browser.stderr.txt +2 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-http-node22.txt +253 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-http-node24.txt +52 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-lint.txt +0 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-types.txt +0 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-lease-registration-before.txt +28 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-namespace-independent-node22.txt +302 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-namespace-independent-node24.txt +55 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-native-generic-before.txt +25 -0
- package/docs/reports/unified-9.0.24/raw/current/runtime-health-browser.json +49 -0
- package/docs/reports/unified-9.0.24/raw/current/runtime-health-browser.stderr.txt +0 -0
- package/docs/reports/unified-9.0.24/raw/current/runtime-health-types.txt +0 -0
- package/docs/reports/unified-9.0.24/raw/eos-production-audit.json +77 -0
- package/docs/reports/unified-9.0.24/raw/kiosk-auth-profiles-node22.log +16 -0
- package/docs/reports/unified-9.0.24/raw/kiosk-auth-profiles-node24.log +14 -0
- package/docs/reports/unified-9.0.24/raw/kiosk-browser-node22.json +57 -0
- package/docs/reports/unified-9.0.24/raw/kiosk-browser-node24.json +57 -0
- package/docs/reports/unified-9.0.24/raw/kiosk-idle-node22.log +215 -0
- package/docs/reports/unified-9.0.24/raw/kiosk-idle-node24.log +42 -0
- package/docs/reports/unified-9.0.24/raw/lint.log +45 -0
- package/docs/reports/unified-9.0.24/raw/node22-tests-final.log +15517 -0
- package/docs/reports/unified-9.0.24/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.24/raw/node24-tests-final.log +2595 -0
- package/docs/reports/unified-9.0.24/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.24/raw/ocpp-host-node22.tap +105 -0
- package/docs/reports/unified-9.0.24/raw/ocpp-host-node24.tap +24 -0
- package/docs/reports/unified-9.0.24/raw/ocpp-host-regression-node22.tap +818 -0
- package/docs/reports/unified-9.0.24/raw/ocpp-host-regression-node24.tap +140 -0
- package/docs/reports/unified-9.0.24/raw/ocpp-hosted-mapping-browser.log +2 -0
- package/docs/reports/unified-9.0.24/raw/ocpp-legacy-mapping-browser.log +2 -0
- package/docs/reports/unified-9.0.24/raw/ocpp-namespace-control.log +49 -0
- package/docs/reports/unified-9.0.24/raw/publish-overlay-node22.tap +278 -0
- package/docs/reports/unified-9.0.24/raw/publish-overlay-node24.tap +52 -0
- package/docs/reports/unified-9.0.24/raw/publish-overlay-provenance-922-923.json +32 -0
- package/docs/reports/unified-9.0.24/raw/publish-overlay-provenance.json +19 -0
- package/docs/reports/unified-9.0.24/raw/typecheck.log +5 -0
- package/docs/unified/EMS_BEDIEN_DATENPUNKTE_9_0_22.md +51 -0
- package/docs/unified/HISTORY_UI_9_0_22.md +75 -0
- package/docs/unified/POSTGRESQL_9_0_22.md +89 -0
- package/io-package.json +16 -17
- package/modules/backup/README.md +10 -0
- package/modules/backup/RECOVERY-9.0.22.md +59 -0
- package/modules/backup/admin/index.html +2 -1
- package/modules/backup/admin/index.js +17 -1
- package/modules/backup/build/config.js +2 -0
- package/modules/backup/build/coverage.js +64 -0
- package/modules/backup/build/creators.js +22 -17
- package/modules/backup/build/databaseTargets.js +42 -0
- package/modules/backup/build/index.js +47 -4
- package/modules/backup/build/influxIntegrity.js +159 -0
- package/modules/backup/build/postgresHistory.js +91 -0
- package/modules/backup/build/preflight.js +3 -8
- package/modules/backup/build/publicTrust.js +46 -0
- package/modules/backup/build/restore-cli.js +72 -1
- package/modules/backup/build/storageRetention.js +26 -0
- package/modules/backup/build/worker.js +18 -1
- package/modules/backup/src/config.ts +2 -0
- package/modules/backup/src/coverage.ts +50 -0
- package/modules/backup/src/creators.ts +20 -17
- package/modules/backup/src/databaseTargets.ts +45 -0
- package/modules/backup/src/index.ts +37 -4
- package/modules/backup/src/influxIntegrity.ts +125 -0
- package/modules/backup/src/postgresHistory.ts +66 -0
- package/modules/backup/src/preflight.ts +3 -10
- package/modules/backup/src/publicTrust.ts +34 -0
- package/modules/backup/src/restore-cli.ts +55 -4
- package/modules/backup/src/storageRetention.ts +20 -0
- package/modules/backup/src/types.ts +5 -0
- package/modules/backup/src/worker.ts +18 -2
- package/modules/backup/test/completeness.test.cjs +193 -0
- package/modules/backup/test/hosted.test.cjs +43 -3
- package/modules/backup/test/influx-real.test.cjs +75 -0
- package/modules/backup/test/lifecycle.test.cjs +7 -5
- package/modules/backup/test/ocpp-coverage.test.cjs +152 -0
- package/modules/devices/admin/index.html +1 -1
- package/modules/eebus/admin/index.html +1 -1
- package/modules/ocpp/LICENSE +21 -0
- package/modules/ocpp/README.md +61 -0
- package/modules/ocpp/admin/config-fields.json +353 -0
- package/modules/ocpp/admin/index.html +52 -0
- package/modules/ocpp/admin/index.js +228 -0
- package/modules/ocpp/admin/style.css +27 -0
- package/modules/ocpp/build/index.js +401 -0
- package/modules/ocpp/build/operationGuard.js +26 -0
- package/modules/ocpp/build/server.js +155 -0
- package/modules/ocpp/eslint.config.mjs +13 -0
- package/modules/ocpp/index.js +3 -0
- package/modules/ocpp/native-defaults.json +44 -0
- package/modules/ocpp/ocpp/common.js +646 -0
- package/modules/ocpp/ocpp/compact.js +332 -0
- package/modules/ocpp/ocpp/configuration.js +364 -0
- package/modules/ocpp/ocpp/eos-contract.js +149 -0
- package/modules/ocpp/ocpp/freshness.d.ts +10 -0
- package/modules/ocpp/ocpp/freshness.js +272 -0
- package/modules/ocpp/ocpp/schemas/NOTICE.md +17 -0
- package/modules/ocpp/ocpp/schemas/ocpp2_0_1_official.json +1 -0
- package/modules/ocpp/ocpp/schemas/ocpp2_1_official.json +1 -0
- package/modules/ocpp/ocpp/server.js +3 -0
- package/modules/ocpp/ocpp/v16.js +213 -0
- package/modules/ocpp/ocpp/v201.js +4 -0
- package/modules/ocpp/ocpp/v21.js +4 -0
- package/modules/ocpp/ocpp/v2base.js +255 -0
- package/modules/ocpp/package.json +11 -0
- package/modules/ocpp/provenance.json +33 -0
- package/modules/ocpp/runtime.d.ts +16 -0
- package/modules/ocpp/runtime.js +3391 -0
- package/modules/ocpp/src/index.ts +463 -0
- package/modules/ocpp/src/operationGuard.ts +29 -0
- package/modules/ocpp/src/server.ts +193 -0
- package/modules/ocpp/test/configuration-runtime.test.js +786 -0
- package/modules/ocpp/test/core.test.js +772 -0
- package/modules/ocpp/test/eos-contract.test.js +67 -0
- package/modules/ocpp/test/hosted.test.cjs +165 -0
- package/modules/ocpp/tsconfig.json +7 -0
- package/modules/ocpp/validation/manifest.json +36 -0
- package/modules/ocpp/validation/node22-tests.log +525 -0
- package/modules/ocpp/validation/node24-tests.log +92 -0
- package/package.json +27 -11
- package/public/eos-migration/index.html +1 -1
- package/public/eos-migration/index.js +2 -2
- package/public/eos-runtime/index.html +35 -0
- package/public/eos-runtime/index.js +111 -0
- package/public/eos-runtime/style.css +18 -0
- package/release-manifests/unified/build-environment.cdx.json +767 -131
- package/release-manifests/unified/files.json +612 -207
- package/release-manifests/unified/obsolete-admin-assets.json +210 -6
- package/release-manifests/unified/runtime.cdx.json +871 -143
- package/release-manifests/unified/validation.json +15 -15
- package/reports/unified/ocpp-pure-pv-9.0.22/PRUEFVERMERK.md +35 -0
- package/reports/unified/ocpp-pure-pv-9.0.22/raw/auto-pv-phases.log +1 -0
- package/reports/unified/ocpp-pure-pv-9.0.22/raw/control-tests.log +11 -0
- package/reports/unified/ocpp-pure-pv-9.0.22/raw/ocpp-stability.log +1 -0
- package/reports/unified/ocpp-pure-pv-9.0.22/raw/rc60.log +1 -0
- package/reports/unified/tariff-energy-flow-9.0.22/PRUEFVERMERK.md +44 -0
- package/reports/unified/tariff-energy-flow-9.0.22/raw/focused-tests.log +37 -0
- package/reports/unified/tariff-energy-flow-9.0.22/raw/grid-charge-policy.log +1 -0
- package/reports/unified/tariff-energy-flow-9.0.22/raw/status-truth.log +1 -0
- package/tools/eos-release-check.cjs +5 -0
- package/tools/eos-release-manifest.cjs +3 -3
- package/tools/eos-sbom-vendored.cjs +2 -1
- package/tools/system/eos-postgresql-setup.cjs +409 -0
- package/tsconfig.eos-history-backup-scope.json +9 -0
- package/tsconfig.eos-postgres-system.json +15 -0
- package/ui/admin/react/assets/index-wHWXfD_g.js +13 -0
- package/ui/admin/react/index.html +1 -1
- package/ui/ems/consumers/evcs.js +11 -7
- package/ui/ems/datapoints.js +14 -5
- package/ui/ems/engine.js +4 -1
- package/ui/ems/modules/charging-management.js +193 -63
- package/ui/ems/modules/core-limits.js +15 -20
- package/ui/ems/modules/storage-control.js +8 -6
- package/ui/ems/modules/tarif-vis.js +7 -2
- package/ui/ems/modules/tariff-status.js +19 -1
- package/ui/eslint.postgres-history.config.mjs +9 -0
- package/ui/io-package.json +5 -1
- package/ui/lib/ems-control-values.js +64 -0
- package/ui/lib/flow-measurement.js +72 -0
- package/ui/lib/hosted-adapter.js +12 -1
- package/ui/lib/influx-history-runtime.js +66 -24
- package/ui/lib/installer-lifecycle.js +4 -2
- package/ui/lib/ocpp-auto-discovery.js +397 -0
- package/ui/lib/ocpp-limit-feedback.js +166 -0
- package/ui/lib/partner-runtime.js +35 -2
- package/ui/lib/partner-websocket.js +4 -1
- package/ui/lib/postgres-history-config.js +57 -0
- package/ui/lib/postgres-history.js +344 -0
- package/ui/lib/runtime-proxy-html.js +34 -1
- package/ui/lib/smarthome-device-controls.js +4 -1
- package/ui/lib/ui-access-policy.js +39 -6
- package/ui/main.js +392 -222
- package/ui/package.json +1 -1
- package/ui/tsconfig.postgres-history.json +4 -0
- package/ui/www/app.js +106 -152
- package/ui/www/auth.js +36 -10
- package/ui/www/charging-diagnostics-appcenter.js +1 -0
- package/ui/www/customer-tariff.js +1 -0
- package/ui/www/dashboard-lp-status.js +1 -0
- package/ui/www/dc-station-display.js +1 -0
- package/ui/www/ems-apps.js +48 -8
- package/ui/www/energy-origin-appcenter.js +1 -0
- package/ui/www/energy-origin-ledger-view.js +1 -0
- package/ui/www/eos-kiosk-settings.js +174 -0
- package/ui/www/eos-session-idle.js +40 -6
- package/ui/www/eos-updates.js +1 -0
- package/ui/www/index.html +2 -1
- package/ui/www/license.js +1 -0
- package/ui/www/licenses/smarthome-markdown-components.json +157 -157
- package/ui/www/live-display.js +4 -2
- package/ui/www/login.js +19 -7
- package/ui/www/manifest.webmanifest +3 -3
- package/ui/www/netoperator-appcenter.js +1 -0
- package/ui/www/netoperator.js +1 -0
- package/ui/www/operating-strategies-appcenter.js +1 -0
- package/ui/www/operating-strategies-rule-builder.js +1 -0
- package/ui/www/power-measurements.js +27 -2
- package/ui/www/pwa.js +1 -0
- package/ui/www/runtime-base.js +1 -0
- package/ui/www/settings.html +13 -1
- package/ui/www/smarthome-activation.js +1 -0
- package/ui/www/smarthome-alias-config.js +1 -0
- package/ui/www/smarthome-custom-config.js +1 -0
- package/ui/www/smarthome-custom-views.js +1 -0
- package/ui/www/smarthome-device-categories.js +1 -0
- package/ui/www/smarthome-device-config.js +1 -0
- package/ui/www/smarthome-device-controls.js +1 -0
- package/ui/www/smarthome-feedback.js +1 -0
- package/ui/www/smarthome-layout-editor.js +1 -0
- package/ui/www/smarthome-presentation.js +1 -0
- package/ui/www/smarthome-setup.js +1 -0
- package/ui/www/smarthome-touch.js +1 -0
- package/ui/www/storagefarm-dispatch.js +1 -0
- package/ui/www/storagefarm-summary.js +1 -0
- package/ui/www/tariff-display.js +62 -2
- package/ui/admin/react/assets/index-BJO3q7oe.js +0 -13
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/ems/modules/core-limits.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:19be55c831c35d97c7f93fdd7ef0469801bc686e0c7b68dea7fce9e3b47432c9
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -73,6 +73,7 @@
|
|
|
73
73
|
|
|
74
74
|
'use strict';
|
|
75
75
|
const { readTariffPriceState } = require('../../lib/tariff-price');
|
|
76
|
+
const { readFlowMeasurement } = require('../../lib/flow-measurement');
|
|
76
77
|
|
|
77
78
|
|
|
78
79
|
/**
|
|
@@ -1405,21 +1406,10 @@ class CoreLimitsModule extends BaseModule {
|
|
|
1405
1406
|
const cache = this.adapter && this.adapter.stateCache ? this.adapter.stateCache : null;
|
|
1406
1407
|
if (!cache || !Array.isArray(keys)) return fallback;
|
|
1407
1408
|
const now = Date.now();
|
|
1408
|
-
const
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
const rec = cache[String(k)];
|
|
1413
|
-
if (!rec) continue;
|
|
1414
|
-
const raw = rec && typeof rec === 'object' && Object.prototype.hasOwnProperty.call(rec, 'value') ? rec.value : rec;
|
|
1415
|
-
const v = Number(raw);
|
|
1416
|
-
if (!Number.isFinite(v)) continue;
|
|
1417
|
-
if (Number.isFinite(maxAge) && maxAge > 0 && rec && typeof rec === 'object') {
|
|
1418
|
-
const ts = Number(rec.ts);
|
|
1419
|
-
if (Number.isFinite(ts) && ts > 0 && Math.max(0, now - ts) > maxAge) continue;
|
|
1420
|
-
}
|
|
1421
|
-
return v;
|
|
1422
|
-
} catch (_e) {}
|
|
1409
|
+
for (const key of keys) {
|
|
1410
|
+
if (typeof key !== 'string' || !key) continue;
|
|
1411
|
+
const observation = readFlowMeasurement(cache, key, now, Number(maxAgeMs));
|
|
1412
|
+
if (observation) return observation.value;
|
|
1423
1413
|
}
|
|
1424
1414
|
return fallback;
|
|
1425
1415
|
}
|
|
@@ -1427,9 +1417,9 @@ class CoreLimitsModule extends BaseModule {
|
|
|
1427
1417
|
/**
|
|
1428
1418
|
* Code-Teil: _resolveDirectPvPower
|
|
1429
1419
|
* Zweck: Vergleicht alle frischen direkten PV-Quellen und verwendet die
|
|
1430
|
-
*
|
|
1420
|
+
* kanonische Gesamtsumme vorrangig; nur ohne diese den höchsten Fallback. Ein vorhandener, aber 0 W meldender Alias darf
|
|
1431
1421
|
* dadurch eine gleichzeitig frische `derived.core.pv.totalW`-Messung nicht
|
|
1432
|
-
* mehr verdecken. Es wird
|
|
1422
|
+
* mehr verdecken. Auch die frische kanonische Null bleibt gültig. Es wird nicht summiert, damit dieselbe PV-Anlage
|
|
1433
1423
|
* über mehrere Aliase niemals doppelt gezählt wird.
|
|
1434
1424
|
*/
|
|
1435
1425
|
_resolveDirectPvPower(maxAgeMs) {
|
|
@@ -1459,6 +1449,11 @@ class CoreLimitsModule extends BaseModule {
|
|
|
1459
1449
|
push(key, this._readCacheNumberFresh([key], maxAgeMs, null), 'adapter-cache');
|
|
1460
1450
|
}
|
|
1461
1451
|
|
|
1452
|
+
const canonical = candidates.find(row => row.key === 'derived.core.pv.totalW' && row.sourceType === 'adapter-cache');
|
|
1453
|
+
if (canonical) {
|
|
1454
|
+
return { powerW: canonical.valueW, fresh: true, source: 'adapter-cache:derived.core.pv.totalW', candidates };
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1462
1457
|
if (!candidates.length) {
|
|
1463
1458
|
return { powerW: 0, fresh: false, source: 'missing-or-stale', candidates: [] };
|
|
1464
1459
|
}
|
|
@@ -1929,7 +1924,7 @@ class CoreLimitsModule extends BaseModule {
|
|
|
1929
1924
|
let usedCentralStorageFlow = false;
|
|
1930
1925
|
try {
|
|
1931
1926
|
const flow = (this.adapter && typeof this.adapter._nwResolveBatteryFlowFromCache === 'function')
|
|
1932
|
-
? this.adapter._nwResolveBatteryFlowFromCache({ maxAgeMs: staleMs, deadbandW: 25 })
|
|
1927
|
+
? this.adapter._nwResolveBatteryFlowFromCache({ now, maxAgeMs: staleMs, deadbandW: 25, strictStale: true })
|
|
1933
1928
|
: null;
|
|
1934
1929
|
if (flow && typeof flow === 'object') {
|
|
1935
1930
|
usedCentralStorageFlow = true;
|
|
@@ -2028,7 +2023,7 @@ class CoreLimitsModule extends BaseModule {
|
|
|
2028
2023
|
holdMs: Math.max(30000, pvSourceMaxAgeMs),
|
|
2029
2024
|
});
|
|
2030
2025
|
const pvPhysicalCapW = Math.max(0, Number(pvPhysicalResolution.capW) || 0);
|
|
2031
|
-
if (pvPhysicalResolution.trusted === true && pvPhysicalCapW > 0) {
|
|
2026
|
+
if (pvPhysicalResolution.trusted === true && pvPhysicalResolution.held !== true && pvPhysicalCapW > 0) {
|
|
2032
2027
|
this._lastTrustedPvPhysicalCapW = pvPhysicalCapW;
|
|
2033
2028
|
this._lastTrustedPvPhysicalCapTs = now;
|
|
2034
2029
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/ems/modules/storage-control.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:3267de75713412a0052817f258d707f19195cd213c23c5e11ebfc8b2989eb816
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -2772,8 +2772,10 @@ class SpeicherRegelungModule extends BaseModule {
|
|
|
2772
2772
|
}
|
|
2773
2773
|
try {
|
|
2774
2774
|
const rec = this.adapter && this.adapter.stateCache ? this.adapter.stateCache[sid] : null;
|
|
2775
|
-
|
|
2776
|
-
|
|
2775
|
+
// Unbekannte abgeleitete Last bleibt unbekannt. Number(null)
|
|
2776
|
+
// würde hier eine falsche gemessene Null vor den Fallback setzen.
|
|
2777
|
+
const n = strictFiniteNumber(rec && rec.value, null);
|
|
2778
|
+
if (n !== null) return n;
|
|
2777
2779
|
} catch {
|
|
2778
2780
|
// ignore
|
|
2779
2781
|
}
|
|
@@ -7279,7 +7281,7 @@ const _prevRampW = (typeof this._lastTargetW === 'number' && Number.isFinite(thi
|
|
|
7279
7281
|
* die Wallbox bereits enthaelt. Der NVP-Regelkreis bleibt dann fuehrend.
|
|
7280
7282
|
*/
|
|
7281
7283
|
_buildIndependentPvLoadFeedForward(ctx = {}) {
|
|
7282
|
-
const finite = (v) => v
|
|
7284
|
+
const finite = (v) => strictFiniteNumber(v, null) !== null;
|
|
7283
7285
|
const now = finite(ctx.nowMs) ? Number(ctx.nowMs) : Date.now();
|
|
7284
7286
|
const staleMs = Math.max(1000, finite(ctx.staleMs) ? Number(ctx.staleMs) : 15000);
|
|
7285
7287
|
const maxSkewMs = Math.max(0, finite(ctx.maxSkewMs) ? Number(ctx.maxSkewMs) : 15000);
|
|
@@ -7319,9 +7321,9 @@ const _prevRampW = (typeof this._lastTargetW === 'number' && Number.isFinite(thi
|
|
|
7319
7321
|
// Fallback auf den lokalen State-Cache.
|
|
7320
7322
|
}
|
|
7321
7323
|
const rec = getCacheRecord(key);
|
|
7322
|
-
const value =
|
|
7324
|
+
const value = strictFiniteNumber(rec && rec.value, null);
|
|
7323
7325
|
const age = getCacheAgeMs(key);
|
|
7324
|
-
if (
|
|
7326
|
+
if (value === null) return fallback;
|
|
7325
7327
|
if (age !== null && age > staleMs) return fallback;
|
|
7326
7328
|
return value;
|
|
7327
7329
|
};
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/ems/modules/tarif-vis.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:0b23f5257106c1900c5a001c8b7697dc1db059138d3443a6f34566b0a61bf8fc
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -353,7 +353,12 @@ class TarifVisModule extends BaseModule {
|
|
|
353
353
|
_getVisInstance() {
|
|
354
354
|
const cfg = (this.adapter && this.adapter.config && this.adapter.config.vis) ? this.adapter.config.vis : null;
|
|
355
355
|
const inst = (cfg && typeof cfg.instance === 'string') ? cfg.instance.trim() : '';
|
|
356
|
-
|
|
356
|
+
// Die eingebettete UI läuft bei Neuanlagen unter eos-admin.N; bei einer
|
|
357
|
+
// bestätigten Altübernahme bereits unter dem erhaltenen Runtime-Namespace.
|
|
358
|
+
// Ein fester nexowatt-ui.0-Fallback liest sonst fremde/fehlende Settings
|
|
359
|
+
// und lässt eine in der EOS-Oberfläche aktivierte Tarifregelung aus.
|
|
360
|
+
const runtime = typeof this.adapter?.namespace === 'string' ? this.adapter.namespace.trim() : '';
|
|
361
|
+
return inst || runtime || 'nexowatt-ui.0';
|
|
357
362
|
}
|
|
358
363
|
/**
|
|
359
364
|
* Code-Teil: _getTariffHomePath
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/ems/modules/tariff-status.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:dd07fa87047c1a7b92a94f2c64903559727d6e1ccefd8ef281a8ffdbb5ca256b
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -564,7 +564,24 @@ class TariffStatusModule extends BaseModule {
|
|
|
564
564
|
'storageFarm.lastDispatchJson',
|
|
565
565
|
];
|
|
566
566
|
const states = await this._readValues(ids);
|
|
567
|
+
// PV-Reserve-Flags werden bei unverändertem Wert nicht neu gestempelt.
|
|
568
|
+
// Nur der atomare Policy-Snapshot des Speicherreglers belegt ihre aktuelle
|
|
569
|
+
// Auswertung; ein neuer Tarif-Heartbeat allein darf alte Flags nicht erneuern.
|
|
570
|
+
const policyState = await this.adapter.getStateAsync('speicher.regelung.policyJson').catch(() => null);
|
|
567
571
|
const now = Date.now();
|
|
572
|
+
const storagePolicy = safeParseJson(policyState?.val, {});
|
|
573
|
+
const policyTs = finiteOrNull(storagePolicy.ts);
|
|
574
|
+
const policyStateTs = finiteOrNull(policyState?.ts);
|
|
575
|
+
const policyFresh = (policyState?.q === undefined || policyState.q === 0)
|
|
576
|
+
&& policyTs !== null && policyTs > 0 && policyTs <= now + 5000 && now - policyTs <= 30000
|
|
577
|
+
&& policyStateTs !== null && policyStateTs > 0 && policyStateTs <= now + 5000 && now - policyStateTs <= 30000;
|
|
578
|
+
const pvPolicy = policyFresh && storagePolicy.pvAwareTarifNetzladen && typeof storagePolicy.pvAwareTarifNetzladen === 'object'
|
|
579
|
+
? storagePolicy.pvAwareTarifNetzladen : {};
|
|
580
|
+
const reserveCap = typeof pvPolicy.capSocPct === 'number' && Number.isFinite(pvPolicy.capSocPct)
|
|
581
|
+
&& pvPolicy.capSocPct >= 0 && pvPolicy.capSocPct <= 100 ? pvPolicy.capSocPct : null;
|
|
582
|
+
const pvReserve = { fresh: policyFresh, snapshotTs: policyTs,
|
|
583
|
+
blocked: policyFresh && pvPolicy.blocked === true,
|
|
584
|
+
capSocPct: reserveCap, reason: policyFresh ? cleanText(pvPolicy.reason, 240) : '' };
|
|
568
585
|
const statusCfg = this._getStatusConfig();
|
|
569
586
|
const tariffSnapshotTs = roundedOrNull(tariff.ts);
|
|
570
587
|
const tariffSnapshotAgeMs = tariffSnapshotTs === null ? null : Math.max(0, now - tariffSnapshotTs);
|
|
@@ -718,6 +735,7 @@ class TariffStatusModule extends BaseModule {
|
|
|
718
735
|
await this._setIfChanged('tarif.detailStatusText', detailStatusText);
|
|
719
736
|
const statusJson = {
|
|
720
737
|
ts: now,
|
|
738
|
+
pvReserve,
|
|
721
739
|
active,
|
|
722
740
|
baseText,
|
|
723
741
|
intent: {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Copyright (c) 2026 NexoWatt. All rights reserved. */
|
|
2
|
+
import tseslint from 'typescript-eslint';
|
|
3
|
+
import globals from 'globals';
|
|
4
|
+
export default tseslint.config({
|
|
5
|
+
files: ['ui/src-ts/runtime-executables/lib/postgres-history.ts', 'ui/src-ts/runtime-executables/lib/postgres-history-config.ts'],
|
|
6
|
+
extends: tseslint.configs.recommendedTypeChecked,
|
|
7
|
+
languageOptions: { globals: globals.node, parserOptions: { project: './ui/tsconfig.postgres-history.json', tsconfigRootDir: import.meta.dirname + '/..' } },
|
|
8
|
+
rules: { 'no-eval': 'error', 'no-implied-eval': 'error', 'no-new-func': 'error', 'no-proto': 'error', 'no-extend-native': 'error' },
|
|
9
|
+
});
|
package/ui/io-package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "nexowatt-ui",
|
|
4
|
-
"version": "9.0.
|
|
4
|
+
"version": "9.0.24",
|
|
5
5
|
"news": {
|
|
6
|
+
"9.0.24": {
|
|
7
|
+
"en": "Integrated OCPP, EEBUS and Devices in independent processes within one EOS adapter; dashboard kiosk with protected Admin login; verified cleanup of obsolete npm publish assets.",
|
|
8
|
+
"de": "OCPP, EEBUS und Devices in eigenen Prozessen innerhalb eines EOS-Adapters; Dashboard-Kioskmodus mit geschütztem Admin-Zugang; geprüfte Bereinigung alter Dateien vor npm-Publish."
|
|
9
|
+
},
|
|
6
10
|
"9.0.18": {
|
|
7
11
|
"en": "Automatic supported-device commissioning and explicit EMS/energy-flow roles. Existing mappings and data points are preserved; new control targets require commissioning.",
|
|
8
12
|
"de": "Automatische Zuordnung unterstützter Geräte mit expliziten EMS- und Energiefluss-Rollen. Vorhandene Zuordnungen und Datenpunkte bleiben erhalten; neue Regelziele benötigen eine Inbetriebnahme."
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
3
|
+
*
|
|
4
|
+
* Quelle: src-ts/runtime-executables/lib/ems-control-values.ts
|
|
5
|
+
* Quell-Hash: sha256:d2dab9ebf6e490b628821f7608f53869842784486c714cbdec5ed7ee090f2a6b
|
|
6
|
+
* Erzeugung: npm run sync:ts-runtime-executables
|
|
7
|
+
*
|
|
8
|
+
* Zweck:
|
|
9
|
+
* Diese JavaScript-Datei ist das ausführbare Build-Artefakt für lib/ems-control-values.js.
|
|
10
|
+
* Die fachliche Bearbeitung erfolgt ab 0.7.131 in der TypeScript-Quelle.
|
|
11
|
+
* Ab 0.7.132 sind doppelte Legacy-JS-Bäume wie .nwcore entfernt.
|
|
12
|
+
*
|
|
13
|
+
* Pflege-Regel:
|
|
14
|
+
* 1. Änderung zuerst in src-ts/runtime-executables/ vornehmen.
|
|
15
|
+
* 2. npm run sync:ts-runtime-executables ausführen.
|
|
16
|
+
* 3. npm run test:runtime-executables prüfen.
|
|
17
|
+
*/
|
|
18
|
+
"use strict";
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
exports.EMS_CONTROL_FIELDS = void 0;
|
|
21
|
+
exports.emsControlField = emsControlField;
|
|
22
|
+
exports.validEmsControlValue = validEmsControlValue;
|
|
23
|
+
exports.checkedEmsControlState = checkedEmsControlState;
|
|
24
|
+
/** Ordinary ioBroker EMS wishes: value validation only, no additional access rights. */
|
|
25
|
+
exports.EMS_CONTROL_FIELDS = ['userStationEnabled', 'userEnabled', 'userMode', 'userAutoSource', 'userPhaseMode', 'userStorageAssistEnabled', 'goalEnabled', 'goalTargetSocPct', 'goalFinishTs', 'goalBatteryKwh'];
|
|
26
|
+
const record = (v) => v !== null && typeof v === 'object' && !Array.isArray(v);
|
|
27
|
+
function emsControlField(relativeId) {
|
|
28
|
+
if (/^evcs\.\d+\.mode$/.test(relativeId))
|
|
29
|
+
return 'legacyMode';
|
|
30
|
+
const match = /^chargingManagement\.wallboxes\.[a-zA-Z0-9_]+\.([a-zA-Z0-9]+)$/.exec(relativeId);
|
|
31
|
+
return match && exports.EMS_CONTROL_FIELDS.some(field => field === match[1]) ? match[1] : null;
|
|
32
|
+
}
|
|
33
|
+
function validEmsControlValue(field, value, now = Date.now()) {
|
|
34
|
+
if (['userStationEnabled', 'userEnabled', 'userStorageAssistEnabled', 'goalEnabled'].includes(field))
|
|
35
|
+
return typeof value === 'boolean';
|
|
36
|
+
if (field === 'legacyMode')
|
|
37
|
+
return typeof value === 'number' && Number.isInteger(value) && value >= 0 && value <= 3;
|
|
38
|
+
const values = { userMode: ['auto', 'pv', 'minpv', 'boost'], userAutoSource: ['standard', 'strategy'], userPhaseMode: ['fixed-1p', 'fixed-3p', 'auto-pv'] };
|
|
39
|
+
if (field === 'userMode' || field === 'userAutoSource' || field === 'userPhaseMode')
|
|
40
|
+
return typeof value === 'string' && (value === '' || values[field].includes(value));
|
|
41
|
+
if (typeof value !== 'number' || !Number.isFinite(value))
|
|
42
|
+
return false;
|
|
43
|
+
if (field === 'goalTargetSocPct')
|
|
44
|
+
return value >= 0 && value <= 100;
|
|
45
|
+
if (field === 'goalBatteryKwh')
|
|
46
|
+
return value >= 0 && value <= 5000;
|
|
47
|
+
// Existing daily target times may legitimately be in the past and roll to
|
|
48
|
+
// tomorrow. Keep that behavior; reject negatives and unbounded future dates.
|
|
49
|
+
return field === 'goalFinishTs' && Number.isSafeInteger(value) && value >= 0 && value <= now + 366 * 86400000;
|
|
50
|
+
}
|
|
51
|
+
const fallback = {
|
|
52
|
+
userStationEnabled: false, userEnabled: true, userMode: 'auto', userAutoSource: 'standard', userPhaseMode: 'auto-pv', userStorageAssistEnabled: false,
|
|
53
|
+
goalEnabled: false, goalTargetSocPct: 0, goalFinishTs: 0, goalBatteryKwh: 0, legacyMode: 0,
|
|
54
|
+
};
|
|
55
|
+
/** A bad persisted/cache value must not turn into a missing/default-enabled state.
|
|
56
|
+
* Caller fences this station using eosInvalidControl while leaving raw DB intact. */
|
|
57
|
+
function checkedEmsControlState(relativeId, state, now = Date.now()) {
|
|
58
|
+
const field = emsControlField(relativeId);
|
|
59
|
+
if (!field || !record(state))
|
|
60
|
+
return state;
|
|
61
|
+
if (state.eosControlReadFailed !== true && (state.val === null || state.val === undefined || validEmsControlValue(field, state.val, now)))
|
|
62
|
+
return state;
|
|
63
|
+
return { ...state, val: fallback[field], eosInvalidControl: true };
|
|
64
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026 NexoWatt. All rights reserved.
|
|
3
|
+
* Confidential and Proprietary.
|
|
4
|
+
* Use, modification or distribution without express written permission is prohibited.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
|
+
*
|
|
9
|
+
* Quelle: src-ts/runtime-executables/lib/flow-measurement.ts
|
|
10
|
+
* Quell-Hash: sha256:db2712142e024764743ab3a0f856605691fb4e53cb6b612023e135a1e60e0035
|
|
11
|
+
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
|
+
*
|
|
13
|
+
* Zweck:
|
|
14
|
+
* Diese JavaScript-Datei ist das ausführbare Build-Artefakt für lib/flow-measurement.js.
|
|
15
|
+
* Die fachliche Bearbeitung erfolgt ab 0.7.131 in der TypeScript-Quelle.
|
|
16
|
+
* Ab 0.7.132 sind doppelte Legacy-JS-Bäume wie .nwcore entfernt.
|
|
17
|
+
*
|
|
18
|
+
* Pflege-Regel:
|
|
19
|
+
* 1. Änderung zuerst in src-ts/runtime-executables/ vornehmen.
|
|
20
|
+
* 2. npm run sync:ts-runtime-executables ausführen.
|
|
21
|
+
* 3. npm run test:runtime-executables prüfen.
|
|
22
|
+
*/
|
|
23
|
+
"use strict";
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.readFlowMeasurement = readFlowMeasurement;
|
|
26
|
+
exports.sumFlowMeasurements = sumFlowMeasurements;
|
|
27
|
+
function ownData(record, key) {
|
|
28
|
+
if (!record || typeof record !== 'object')
|
|
29
|
+
return undefined;
|
|
30
|
+
const property = Object.getOwnPropertyDescriptor(record, key);
|
|
31
|
+
return property && 'value' in property ? property.value : undefined;
|
|
32
|
+
}
|
|
33
|
+
function finite(value) {
|
|
34
|
+
if (typeof value !== 'number' && typeof value !== 'string')
|
|
35
|
+
return null;
|
|
36
|
+
if (typeof value === 'string') {
|
|
37
|
+
const text = value.trim();
|
|
38
|
+
if (text.length > 64 || !/^[+-]?(?:\d+(?:[.,]\d*)?|[.,]\d+)$/.test(text))
|
|
39
|
+
return null;
|
|
40
|
+
value = text.replace(',', '.');
|
|
41
|
+
}
|
|
42
|
+
const number = Number(value);
|
|
43
|
+
return Number.isFinite(number) ? number : null;
|
|
44
|
+
}
|
|
45
|
+
function readFlowMeasurement(cache, key, now, maxAgeMs) {
|
|
46
|
+
const record = ownData(cache, key);
|
|
47
|
+
const value = finite(ownData(record, 'value'));
|
|
48
|
+
const timestamp = finite(ownData(record, 'ts'));
|
|
49
|
+
const quality = ownData(record, 'q');
|
|
50
|
+
// A quality getter is invalid, even when it would return zero.
|
|
51
|
+
const qualityDescriptor = record && typeof record === 'object' ? Object.getOwnPropertyDescriptor(record, 'q') : undefined;
|
|
52
|
+
if (value === null || timestamp === null || timestamp <= 0 || timestamp > now
|
|
53
|
+
|| !Number.isFinite(now) || !Number.isFinite(maxAgeMs) || maxAgeMs <= 0 || now - timestamp > maxAgeMs
|
|
54
|
+
|| (qualityDescriptor && !('value' in qualityDescriptor)) || (quality !== undefined && quality !== 0))
|
|
55
|
+
return null;
|
|
56
|
+
return { value, ts: timestamp };
|
|
57
|
+
}
|
|
58
|
+
/** All configured members must be observed. A newer member cannot refresh an older one. */
|
|
59
|
+
function sumFlowMeasurements(cache, keys, now, maxAgeMs) {
|
|
60
|
+
if (keys.length === 0 || keys.length > 1024)
|
|
61
|
+
return null;
|
|
62
|
+
let total = 0;
|
|
63
|
+
let oldest = now;
|
|
64
|
+
for (const key of keys) {
|
|
65
|
+
const measurement = readFlowMeasurement(cache, key, now, maxAgeMs);
|
|
66
|
+
if (!measurement)
|
|
67
|
+
return null;
|
|
68
|
+
total += measurement.value;
|
|
69
|
+
oldest = Math.min(oldest, measurement.ts);
|
|
70
|
+
}
|
|
71
|
+
return Number.isFinite(total) ? { value: total, ts: oldest } : null;
|
|
72
|
+
}
|
package/ui/lib/hosted-adapter.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/lib/hosted-adapter.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:b17e810e87a0c223a1a906b5d68ddbdde7be60bbb67546b8c1f8690e96d2f654
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -305,6 +305,17 @@ async function centralAccess(bridge, req) {
|
|
|
305
305
|
const none = { authenticated: false, user: null, role: 'none', roles: [], groups: [], capabilities: [],
|
|
306
306
|
isAdmin: false, isInstaller: false, isCustomer: false };
|
|
307
307
|
const value = await bridge.resolveAccess(req);
|
|
308
|
+
// Only the parent IPC authority can supply this identity. It has no ioBroker
|
|
309
|
+
// account and cannot inherit technical/customer-settings capabilities.
|
|
310
|
+
if (record(value) && value.kiosk === true && value.authenticated === true
|
|
311
|
+
&& value.user === null && value.userId === null && value.role === 'customer'
|
|
312
|
+
&& value.mustChangePassword === false && value.activationRequired === false
|
|
313
|
+
&& typeof value.csrfToken === 'string' && /^[a-f0-9]{64}$/.test(value.csrfToken)
|
|
314
|
+
&& value.credentialKey === value.csrfToken
|
|
315
|
+
&& Array.isArray(value.capabilities) && value.capabilities.length === 1 && value.capabilities[0] === 'frontend.open') {
|
|
316
|
+
return { ...value, capabilities: ['frontend.open'], roles: ['customer'], groups: [],
|
|
317
|
+
isAdmin: false, isInstaller: false, isCustomer: true };
|
|
318
|
+
}
|
|
308
319
|
if (!record(value) || value.authenticated !== true || value.mustChangePassword === true
|
|
309
320
|
|| typeof value.user !== 'string' || !/^system\.user\.[A-Za-z0-9_.@-]{1,128}$/.test(value.user)
|
|
310
321
|
|| typeof value.role !== 'string' || !ROLE_CAPABILITIES.has(value.role) || typeof value.csrfToken !== 'string'
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/lib/influx-history-runtime.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:53f3b1263393815f932b1237228c54d4997e402c131d8bdcf9b9aefaac0ee301
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -25,30 +25,35 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
25
25
|
exports.InfluxHistoryRuntime = void 0;
|
|
26
26
|
/**
|
|
27
27
|
* NexoWatt Quellcode-Erklärung (DE)
|
|
28
|
-
* Aufgabe: Historisiert ausschließlich ausdrücklich registrierte EOS-Zeitreihen über
|
|
28
|
+
* Aufgabe: Historisiert ausschließlich ausdrücklich registrierte EOS-Zeitreihen über direkte InfluxDB-2- oder geschützte PostgreSQL-Verbindungen.
|
|
29
29
|
* Daten und Wirkung: Übernimmt bestätigte State-Schreibvorgänge mit Originalzeit; begrenzt Warteschlangen, Leseparallelität und Laufzeiten ohne die EMS-Regelung auf Netzwerkantworten warten zu lassen.
|
|
30
30
|
* Zusammenhang: Die Hauptlaufzeit konfiguriert den Dienst, registriert Export-States und führt ihn beim Abschalten begrenzt zu Ende.
|
|
31
31
|
* Bei Änderungen: Betriebsartwechsel, Schlüsselverlust, verzögerte Antworten, Überlauf, Abbruch und getrennte Lese-/Schreibfehler prüfen; keine Lücken mit Nullwerten füllen.
|
|
32
32
|
*/
|
|
33
33
|
const influx_direct_1 = require("./influx-direct");
|
|
34
|
+
const postgres_history_1 = require("./postgres-history");
|
|
34
35
|
const node_perf_hooks_1 = require("node:perf_hooks");
|
|
35
36
|
const MAX_TARGETS = 2000;
|
|
36
37
|
const MAX_POINTS = 2000;
|
|
37
38
|
const MAX_BYTES = 4 * 1024 * 1024;
|
|
38
39
|
const MAX_BATCH_BYTES = 256 * 1024;
|
|
39
|
-
const safeCode = (error) => {
|
|
40
|
+
const safeCode = (error, fallback = 'EOS_INFLUX_REQUEST_FAILED') => {
|
|
40
41
|
const code = error && typeof error === 'object' && 'code' in error ? error.code : '';
|
|
41
|
-
return typeof code === 'string' && /^
|
|
42
|
+
return typeof code === 'string' && /^EOS_(?:INFLUX|POSTGRES)_[A-Z_]{1,64}$/.test(code) ? code : fallback;
|
|
42
43
|
};
|
|
43
44
|
class InfluxHistoryRuntime {
|
|
44
|
-
constructor(namespace, factory = config => new influx_direct_1.InfluxDirectClient(config)) {
|
|
45
|
+
constructor(namespace, factory = config => new influx_direct_1.InfluxDirectClient(config), postgresFactory = namespace => new postgres_history_1.PostgresHistoryClient(namespace), ownerNamespace = namespace) {
|
|
45
46
|
this.namespace = namespace;
|
|
46
47
|
this.factory = factory;
|
|
48
|
+
this.postgresFactory = postgresFactory;
|
|
49
|
+
this.ownerNamespace = ownerNamespace;
|
|
47
50
|
this.registrations = new Map();
|
|
48
51
|
this.client = null;
|
|
49
52
|
this.generation = 0;
|
|
50
53
|
this.signature = '';
|
|
51
54
|
this.queue = [];
|
|
55
|
+
this.retriedPoints = 0;
|
|
56
|
+
this.retryDelayMs = 0;
|
|
52
57
|
this.queuedBytes = 0;
|
|
53
58
|
this.busy = false;
|
|
54
59
|
this.activePoints = 0;
|
|
@@ -71,9 +76,11 @@ class InfluxHistoryRuntime {
|
|
|
71
76
|
this.writeError = '';
|
|
72
77
|
this.legacyRecordings = new Set();
|
|
73
78
|
}
|
|
79
|
+
code(suffix) { return `EOS_${this.provider === 'postgresql' ? 'POSTGRES' : 'INFLUX'}_${suffix}`; }
|
|
80
|
+
isProvisioned() { return this.client?.provisioned === true; }
|
|
74
81
|
configure(history) {
|
|
75
|
-
const provider = history?.provider === 'influxdb2' ? 'influxdb2' : 'adapter';
|
|
76
|
-
const signature = JSON.stringify([provider, provider === 'influxdb2' ? history?.influxdb2 : null, history?.credentialError]);
|
|
82
|
+
const provider = history?.provider === 'influxdb2' ? 'influxdb2' : history?.provider === 'postgresql' ? 'postgresql' : 'adapter';
|
|
83
|
+
const signature = JSON.stringify([provider, provider === 'influxdb2' ? history?.influxdb2 : null, history?.credentialError, history?.postgresql]);
|
|
77
84
|
if (!this.closed && signature === this.signature)
|
|
78
85
|
return;
|
|
79
86
|
this.stopGeneration();
|
|
@@ -88,7 +95,26 @@ class InfluxHistoryRuntime {
|
|
|
88
95
|
this.writeError = '';
|
|
89
96
|
for (const registration of this.registrations.values())
|
|
90
97
|
delete registration.last;
|
|
91
|
-
if (provider === '
|
|
98
|
+
if (provider === 'postgresql') {
|
|
99
|
+
try {
|
|
100
|
+
this.client = this.postgresFactory(this.ownerNamespace);
|
|
101
|
+
const client = this.client;
|
|
102
|
+
const generation = this.generation;
|
|
103
|
+
if (client.check)
|
|
104
|
+
void client.check().then(() => {
|
|
105
|
+
if (generation === this.generation && !this.closed && this.lastReadAt === null && !this.readError) {
|
|
106
|
+
this.lastReadAt = Date.now();
|
|
107
|
+
}
|
|
108
|
+
}).catch((error) => {
|
|
109
|
+
if (generation === this.generation && !this.closed && this.lastReadAt === null && !this.readError)
|
|
110
|
+
this.readError = safeCode(error, this.code('REQUEST_FAILED'));
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
catch (error) {
|
|
114
|
+
this.configError = safeCode(error, this.code('REQUEST_FAILED'));
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
else if (provider === 'influxdb2') {
|
|
92
118
|
try {
|
|
93
119
|
if (history?.credentialError)
|
|
94
120
|
throw Object.assign(new Error(), { code: history.credentialError });
|
|
@@ -97,7 +123,7 @@ class InfluxHistoryRuntime {
|
|
|
97
123
|
this.client = this.factory(history.influxdb2);
|
|
98
124
|
}
|
|
99
125
|
catch (error) {
|
|
100
|
-
this.configError = safeCode(error);
|
|
126
|
+
this.configError = safeCode(error, this.code('REQUEST_FAILED'));
|
|
101
127
|
}
|
|
102
128
|
}
|
|
103
129
|
}
|
|
@@ -154,25 +180,25 @@ class InfluxHistoryRuntime {
|
|
|
154
180
|
const bytes = Buffer.byteLength(JSON.stringify(captured.point), 'utf8');
|
|
155
181
|
if (this.queue.length + this.activePoints >= MAX_POINTS || this.queuedBytes + this.activeBytes + bytes > MAX_BYTES) {
|
|
156
182
|
this.droppedPoints++;
|
|
157
|
-
this.writeError = '
|
|
183
|
+
this.writeError = this.code('QUEUE_FULL');
|
|
158
184
|
return;
|
|
159
185
|
}
|
|
160
186
|
registration.last = captured.point.val;
|
|
161
|
-
this.queue.push({ point: captured.point, bytes });
|
|
187
|
+
this.queue.push({ point: captured.point, bytes, retries: 0 });
|
|
162
188
|
this.queuedBytes += bytes;
|
|
163
189
|
this.schedule();
|
|
164
190
|
}
|
|
165
191
|
query(id, options) {
|
|
166
192
|
if (!this.client || this.closed || this.closing)
|
|
167
|
-
return Promise.reject(Object.assign(new Error('
|
|
193
|
+
return Promise.reject(Object.assign(new Error(this.code('NOT_CONFIGURED')), { code: this.code('NOT_CONFIGURED') }));
|
|
168
194
|
if (this.reads.length >= 64)
|
|
169
|
-
return Promise.reject(Object.assign(new Error('
|
|
195
|
+
return Promise.reject(Object.assign(new Error(this.code('BUSY')), { code: this.code('BUSY') }));
|
|
170
196
|
return new Promise((resolve, reject) => {
|
|
171
197
|
const job = { id, options, deadline: node_perf_hooks_1.performance.now() + 5000, resolve, reject, timer: setTimeout(() => {
|
|
172
198
|
const index = this.reads.indexOf(job);
|
|
173
199
|
if (index >= 0)
|
|
174
200
|
this.reads.splice(index, 1);
|
|
175
|
-
reject(Object.assign(new Error('
|
|
201
|
+
reject(Object.assign(new Error(this.code('TIMEOUT')), { code: this.code('TIMEOUT') }));
|
|
176
202
|
}, 5000) };
|
|
177
203
|
job.timer.unref();
|
|
178
204
|
this.reads.push(job);
|
|
@@ -180,9 +206,9 @@ class InfluxHistoryRuntime {
|
|
|
180
206
|
});
|
|
181
207
|
}
|
|
182
208
|
status() {
|
|
183
|
-
const lastError = this.configError || this.writeError || this.readError;
|
|
184
|
-
const legacyRecordingCount = this.provider
|
|
185
|
-
return { provider: this.provider, state: this.closed ? 'closed' : this.provider
|
|
209
|
+
const lastError = this.configError || this.writeError || this.readError || this.client?.lastError || '';
|
|
210
|
+
const legacyRecordingCount = this.provider !== 'adapter' ? this.legacyRecordings.size : 0;
|
|
211
|
+
return { provider: this.provider, state: this.closed ? 'closed' : this.provider === 'adapter' ? 'disabled' : lastError ? 'error' : 'ready', queueDepth: this.queue.length + this.activePoints, droppedPoints: this.droppedPoints, lastWriteAt: this.lastWriteAt, lastReadAt: this.lastReadAt, lastError, readError: this.readError, writeError: this.writeError, writeVerified: this.lastWriteAt !== null, retriedPoints: this.retriedPoints, legacyRecordingCount, warnings: legacyRecordingCount ? ['EOS_INFLUX_LEGACY_RECORDING_ACTIVE'] : [] };
|
|
186
212
|
}
|
|
187
213
|
close() { this.closed = true; this.stopGeneration(); }
|
|
188
214
|
/** Normal unload has a shorter bound than the hosted runtime's four-second stop. */
|
|
@@ -206,7 +232,7 @@ class InfluxHistoryRuntime {
|
|
|
206
232
|
cancelQueuedReads() {
|
|
207
233
|
for (const job of this.reads) {
|
|
208
234
|
clearTimeout(job.timer);
|
|
209
|
-
job.reject(Object.assign(new Error('
|
|
235
|
+
job.reject(Object.assign(new Error(this.code('CLOSED')), { code: this.code('CLOSED') }));
|
|
210
236
|
}
|
|
211
237
|
this.reads = [];
|
|
212
238
|
}
|
|
@@ -220,6 +246,7 @@ class InfluxHistoryRuntime {
|
|
|
220
246
|
this.droppedPoints += this.queue.length + this.activePoints;
|
|
221
247
|
this.queue = [];
|
|
222
248
|
this.queuedBytes = 0;
|
|
249
|
+
this.retryDelayMs = 0;
|
|
223
250
|
this.busy = false;
|
|
224
251
|
this.activePoints = 0;
|
|
225
252
|
this.activeBytes = 0;
|
|
@@ -233,14 +260,14 @@ class InfluxHistoryRuntime {
|
|
|
233
260
|
this.drainPromise = null;
|
|
234
261
|
}
|
|
235
262
|
drainReads() {
|
|
236
|
-
while (this.activeReads < 6 && this.reads.length && !this.closed && !this.closing && this.client) {
|
|
263
|
+
while (this.activeReads < (this.provider === 'postgresql' ? 3 : 6) && this.reads.length && !this.closed && !this.closing && this.client) {
|
|
237
264
|
const job = this.reads.shift();
|
|
238
265
|
if (!job)
|
|
239
266
|
return;
|
|
240
267
|
clearTimeout(job.timer);
|
|
241
268
|
const remaining = job.deadline - node_perf_hooks_1.performance.now();
|
|
242
269
|
if (remaining < 1) {
|
|
243
|
-
job.reject(Object.assign(new Error('
|
|
270
|
+
job.reject(Object.assign(new Error(this.code('TIMEOUT')), { code: this.code('TIMEOUT') }));
|
|
244
271
|
continue;
|
|
245
272
|
}
|
|
246
273
|
const generation = this.generation;
|
|
@@ -248,12 +275,12 @@ class InfluxHistoryRuntime {
|
|
|
248
275
|
this.activeReads++;
|
|
249
276
|
void client.query(job.id, job.options, remaining).then(result => {
|
|
250
277
|
if (generation !== this.generation || this.closed)
|
|
251
|
-
throw Object.assign(new Error(), { code: '
|
|
278
|
+
throw Object.assign(new Error(), { code: this.code('CLOSED') });
|
|
252
279
|
this.lastReadAt = Date.now();
|
|
253
280
|
this.readError = '';
|
|
254
281
|
job.resolve(result);
|
|
255
282
|
}).catch((error) => {
|
|
256
|
-
const code = safeCode(error);
|
|
283
|
+
const code = safeCode(error, this.code('REQUEST_FAILED'));
|
|
257
284
|
if (generation === this.generation && !this.closed)
|
|
258
285
|
this.readError = code;
|
|
259
286
|
job.reject(Object.assign(new Error(code), { code }));
|
|
@@ -268,7 +295,7 @@ class InfluxHistoryRuntime {
|
|
|
268
295
|
schedule() {
|
|
269
296
|
if (this.timer || this.busy || this.closed || !this.client || !this.queue.length)
|
|
270
297
|
return;
|
|
271
|
-
this.timer = setTimeout(() => { this.timer = null; void this.flush(); }, 0);
|
|
298
|
+
this.timer = setTimeout(() => { this.timer = null; void this.flush(); }, this.closing ? 0 : this.retryDelayMs);
|
|
272
299
|
this.timer.unref();
|
|
273
300
|
}
|
|
274
301
|
async flush() {
|
|
@@ -277,6 +304,7 @@ class InfluxHistoryRuntime {
|
|
|
277
304
|
if (!client || this.closed || this.busy)
|
|
278
305
|
return;
|
|
279
306
|
const batch = [];
|
|
307
|
+
const items = [];
|
|
280
308
|
let bytes = 0;
|
|
281
309
|
while (this.queue.length && batch.length < 100) {
|
|
282
310
|
const next = this.queue.at(0);
|
|
@@ -286,6 +314,7 @@ class InfluxHistoryRuntime {
|
|
|
286
314
|
this.queuedBytes -= next.bytes;
|
|
287
315
|
bytes += next.bytes;
|
|
288
316
|
batch.push(next.point);
|
|
317
|
+
items.push(next);
|
|
289
318
|
}
|
|
290
319
|
if (!batch.length)
|
|
291
320
|
return;
|
|
@@ -297,7 +326,7 @@ class InfluxHistoryRuntime {
|
|
|
297
326
|
await client.write(batch, this.closing ? Math.max(1, this.drainDeadline - node_perf_hooks_1.performance.now()) : 5000);
|
|
298
327
|
}
|
|
299
328
|
catch (error) {
|
|
300
|
-
failure = safeCode(error);
|
|
329
|
+
failure = safeCode(error, this.code('REQUEST_FAILED'));
|
|
301
330
|
}
|
|
302
331
|
if (this.closed || generation !== this.generation)
|
|
303
332
|
return;
|
|
@@ -306,7 +335,19 @@ class InfluxHistoryRuntime {
|
|
|
306
335
|
this.activeBytes = 0;
|
|
307
336
|
if (failure) {
|
|
308
337
|
this.writeError = failure;
|
|
338
|
+
const retryable = this.provider === 'postgresql' && !this.closing && ['EOS_POSTGRES_CONNECTION_FAILED', 'EOS_POSTGRES_TIMEOUT', 'EOS_POSTGRES_BUSY'].includes(failure) && items.every(item => item.retries < 2);
|
|
339
|
+
if (retryable) {
|
|
340
|
+
for (const item of items)
|
|
341
|
+
item.retries++;
|
|
342
|
+
this.queue.unshift(...items);
|
|
343
|
+
this.queuedBytes += bytes;
|
|
344
|
+
this.retriedPoints += items.length;
|
|
345
|
+
this.retryDelayMs = 1000 * (items[0]?.retries || 1);
|
|
346
|
+
this.schedule();
|
|
347
|
+
return;
|
|
348
|
+
}
|
|
309
349
|
this.droppedPoints += batch.length;
|
|
350
|
+
this.retryDelayMs = 0;
|
|
310
351
|
for (const point of batch) {
|
|
311
352
|
const registration = this.registrations.get(point.id);
|
|
312
353
|
if (registration && registration.last === point.val)
|
|
@@ -316,6 +357,7 @@ class InfluxHistoryRuntime {
|
|
|
316
357
|
else {
|
|
317
358
|
this.lastWriteAt = Date.now();
|
|
318
359
|
this.writeError = '';
|
|
360
|
+
this.retryDelayMs = 0;
|
|
319
361
|
}
|
|
320
362
|
if (this.closing && !this.queue.length)
|
|
321
363
|
this.close();
|