@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.
@@ -6320,6 +6320,17 @@ function resolveSyncInsertTask(isCadenzaDBReady, tableName, queryData = {}, opti
6320
6320
  ctx,
6321
6321
  queryData
6322
6322
  );
6323
+ 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) {
6324
+ console.warn(
6325
+ "[CADENZA_SYNC_EMPTY_INSERT]",
6326
+ summarizeSyncDebugValue({
6327
+ tableName,
6328
+ queryData: originalQueryData,
6329
+ ctx,
6330
+ joinedContexts: Array.isArray(ctx.joinedContexts) ? ctx.joinedContexts : []
6331
+ })
6332
+ );
6333
+ }
6323
6334
  return buildSyncExecutionEnvelope(
6324
6335
  ctx,
6325
6336
  originalQueryData