@cadenza.io/core 3.15.1 → 3.15.2

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/index.mjs CHANGED
@@ -1315,12 +1315,11 @@ var GraphNode = class _GraphNode extends SignalEmitter {
1315
1315
  if (this.errored || this.failed) {
1316
1316
  this.emitMetricsWithMetadata("meta.node.errored", {
1317
1317
  data: {
1318
- isRunning: false,
1319
- errored: this.errored,
1320
- failed: this.failed,
1318
+ taskName: this.task.name,
1319
+ taskVersion: this.task.version,
1320
+ nodeId: this.id,
1321
1321
  errorMessage: context.__error
1322
- },
1323
- filter: { uuid: this.id }
1322
+ }
1324
1323
  });
1325
1324
  }
1326
1325
  this.emitMetricsWithMetadata("meta.node.ended", {
@@ -2424,6 +2423,30 @@ var Task = class _Task extends SignalEmitter {
2424
2423
  this.getTag = (context) => getTagCallback(context, this);
2425
2424
  this.throttled = true;
2426
2425
  }
2426
+ this.attachSignal(
2427
+ "meta.task.created",
2428
+ "meta.task.destroyed",
2429
+ "meta.task.version_set",
2430
+ "meta.task.output_validation_failed",
2431
+ "meta.task.input_validation_failed",
2432
+ "meta.task.relationship_added",
2433
+ "meta.task.relationship_removed",
2434
+ "meta.task.layer_index_changed",
2435
+ "meta.node.scheduled",
2436
+ "meta.node.mapped",
2437
+ "meta.node.errored",
2438
+ "meta.node.started",
2439
+ "meta.node.ended",
2440
+ "meta.node.mapped",
2441
+ "meta.node.progress",
2442
+ "meta.node.graph_completed",
2443
+ "meta.node.observed_signal",
2444
+ "meta.node.consumed_signal",
2445
+ "meta.node.detected_previous_task_execution",
2446
+ "meta.node.started_routine_execution",
2447
+ "meta.node.ended_routine_execution",
2448
+ "meta.node.routine_execution_progress"
2449
+ );
2427
2450
  if (register && !this.isHidden) {
2428
2451
  const { __functionString, __getTagCallback } = this.export();
2429
2452
  this.emitWithMetadata("meta.task.created", {