@cadenza.io/service 2.17.72 → 2.17.73

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.
@@ -6369,6 +6369,17 @@ function resolveSyncInsertTask(isCadenzaDBReady, tableName, queryData = {}, opti
6369
6369
  ctx,
6370
6370
  queryData
6371
6371
  );
6372
+ if ((tableName === "signal_registry" || tableName === "directional_task_graph_map") && originalQueryData.data && typeof originalQueryData.data === "object" && !Array.isArray(originalQueryData.data) && Object.keys(originalQueryData.data).length === 0) {
6373
+ console.warn(
6374
+ "[CADENZA_SYNC_EMPTY_INSERT]",
6375
+ summarizeSyncDebugValue({
6376
+ tableName,
6377
+ queryData: originalQueryData,
6378
+ ctx,
6379
+ joinedContexts: Array.isArray(ctx.joinedContexts) ? ctx.joinedContexts : []
6380
+ })
6381
+ );
6382
+ }
6372
6383
  return buildSyncExecutionEnvelope(
6373
6384
  ctx,
6374
6385
  originalQueryData