@cadenza.io/service 2.17.55 → 2.17.56
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/dist/browser/index.js +39 -2
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.mjs +39 -2
- package/dist/browser/index.mjs.map +1 -1
- package/dist/index.js +39 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +39 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -8971,13 +8971,24 @@ var SYNC_DEBUG_TASK_NAMES = /* @__PURE__ */ new Set([
|
|
|
8971
8971
|
"Forward service instance sync",
|
|
8972
8972
|
"Forward service transport sync",
|
|
8973
8973
|
"Forward intent to task map sync",
|
|
8974
|
-
"Forward signal to task map sync"
|
|
8974
|
+
"Forward signal to task map sync",
|
|
8975
|
+
"Normalize telemetry ingest payload",
|
|
8976
|
+
"Get telemetry session state",
|
|
8977
|
+
"Normalize anomaly detect input",
|
|
8978
|
+
"Read anomaly runtime session",
|
|
8979
|
+
"Normalize prediction compute input",
|
|
8980
|
+
"Normalize telemetry insert queryData"
|
|
8975
8981
|
]);
|
|
8976
8982
|
var SYNC_DEBUG_ROUTINE_NAMES = /* @__PURE__ */ new Set(["Sync services"]);
|
|
8977
8983
|
var SYNC_DEBUG_INTENT_NAMES = /* @__PURE__ */ new Set([
|
|
8978
8984
|
"meta-service-registry-full-sync",
|
|
8979
8985
|
"runner-traffic-runtime-get",
|
|
8980
8986
|
"iot-telemetry-ingest",
|
|
8987
|
+
"iot-telemetry-session-get",
|
|
8988
|
+
"iot-anomaly-detect",
|
|
8989
|
+
"iot-anomaly-runtime-get",
|
|
8990
|
+
"iot-prediction-compute",
|
|
8991
|
+
"iot-db-telemetry-insert",
|
|
8981
8992
|
"query-pg-CadenzaDBPostgresActor-service_instance",
|
|
8982
8993
|
"query-pg-CadenzaDBPostgresActor-service_instance_transport",
|
|
8983
8994
|
"query-pg-CadenzaDBPostgresActor-intent_to_task_map",
|
|
@@ -10028,6 +10039,22 @@ var GraphSyncController = class _GraphSyncController {
|
|
|
10028
10039
|
}
|
|
10029
10040
|
task.__registeredIntents = task.__registeredIntents ?? /* @__PURE__ */ new Set();
|
|
10030
10041
|
task.__invalidMetaIntentWarnings = task.__invalidMetaIntentWarnings ?? /* @__PURE__ */ new Set();
|
|
10042
|
+
const shouldDebugTask = shouldDebugSyncTaskName(task.name);
|
|
10043
|
+
if (shouldDebugTask) {
|
|
10044
|
+
logSyncDebug("intent_map_task_state", {
|
|
10045
|
+
taskName: task.name,
|
|
10046
|
+
taskVersion: task.version,
|
|
10047
|
+
serviceName: serviceName2,
|
|
10048
|
+
registered: task.registered,
|
|
10049
|
+
register: task.register,
|
|
10050
|
+
hidden: task.hidden,
|
|
10051
|
+
handledIntents: Array.from(task.handlesIntents),
|
|
10052
|
+
registeredIntents: Array.from(task.__registeredIntents),
|
|
10053
|
+
tasksSynced: this.tasksSynced,
|
|
10054
|
+
intentsSynced: this.intentsSynced
|
|
10055
|
+
});
|
|
10056
|
+
}
|
|
10057
|
+
let emittedCount = 0;
|
|
10031
10058
|
for (const intent of task.handlesIntents) {
|
|
10032
10059
|
if (task.__registeredIntents.has(intent)) continue;
|
|
10033
10060
|
if (isLocalOnlySyncIntent(intent)) {
|
|
@@ -10079,8 +10106,18 @@ var GraphSyncController = class _GraphSyncController {
|
|
|
10079
10106
|
serviceName: serviceName2
|
|
10080
10107
|
}
|
|
10081
10108
|
});
|
|
10109
|
+
emittedCount += 1;
|
|
10082
10110
|
}
|
|
10083
|
-
|
|
10111
|
+
if (shouldDebugTask && emittedCount === 0) {
|
|
10112
|
+
logSyncDebug("intent_map_task_noop", {
|
|
10113
|
+
taskName: task.name,
|
|
10114
|
+
taskVersion: task.version,
|
|
10115
|
+
serviceName: serviceName2,
|
|
10116
|
+
handledIntents: Array.from(task.handlesIntents),
|
|
10117
|
+
registeredIntents: Array.from(task.__registeredIntents)
|
|
10118
|
+
});
|
|
10119
|
+
}
|
|
10120
|
+
return emittedCount > 0;
|
|
10084
10121
|
}.bind(this)
|
|
10085
10122
|
);
|
|
10086
10123
|
const processSplitIntentToTaskMapTask = CadenzaService.createMetaTask(
|