@versori/run 0.4.6 → 0.4.7

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.
@@ -1 +1 @@
1
- {"version":3,"file":"catch.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/durable/compilers/catch.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAG5D,OAAO,EAA2B,YAAY,EAAE,MAAM,YAAY,CAAC;AAmFnE,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC,CAGrE,CAAC"}
1
+ {"version":3,"file":"catch.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/durable/compilers/catch.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAG5D,OAAO,EAA2B,YAAY,EAAE,MAAM,YAAY,CAAC;AAqFnE,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC,CAGrE,CAAC"}
@@ -35,9 +35,10 @@ function compileCatch(compilerCtx, task) {
35
35
  annotations: {
36
36
  'error': error.message,
37
37
  'stack': error.stack || '',
38
- 'workflowId': ctx.options.workflowId || ctx.workflowId ||
39
- '',
38
+ 'workflowId': ctx.options.workflowId || ctx.workflowId || '',
40
39
  'executionId': ctx.executionId,
40
+ 'activationId': ctx.activation.id,
41
+ 'activationExternalId': ctx.activation?.user.externalId,
41
42
  },
42
43
  reason: 'error',
43
44
  severity: 'high',
@@ -49,11 +50,12 @@ function compileCatch(compilerCtx, task) {
49
50
  });
50
51
  compilerCtx.issueProvider.submitIssue({
51
52
  annotations: {
52
- 'error': error.message || '',
53
+ 'error': error.message,
53
54
  'stack': error.stack || '',
54
- 'workflowId': ctx.options.workflowId || ctx.workflowId ||
55
- '',
55
+ 'workflowId': ctx.options.workflowId || ctx.workflowId || '',
56
56
  'executionId': ctx.executionId,
57
+ 'activationId': ctx.activation.id,
58
+ 'activationExternalId': ctx.activation?.user.externalId,
57
59
  },
58
60
  reason: 'error',
59
61
  severity: 'low',
@@ -1 +1 @@
1
- {"version":3,"file":"catch.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/memory/compilers/catch.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAG5D,OAAO,EAA2B,YAAY,EAAE,MAAM,YAAY,CAAC;AAkFnE,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC,CAGrE,CAAC"}
1
+ {"version":3,"file":"catch.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/memory/compilers/catch.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAG5D,OAAO,EAA2B,YAAY,EAAE,MAAM,YAAY,CAAC;AAoFnE,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC,CAGrE,CAAC"}
@@ -34,9 +34,10 @@ function compileCatch(compilerCtx, task) {
34
34
  annotations: {
35
35
  'error': error.message,
36
36
  'stack': error.stack || '',
37
- 'workflowId': ctx.options.workflowId || ctx.workflowId ||
38
- '',
37
+ 'workflowId': ctx.options.workflowId || ctx.workflowId || '',
39
38
  'executionId': ctx.executionId,
39
+ 'activationId': ctx.activation.id,
40
+ 'activationExternalId': ctx.activation?.user.externalId,
40
41
  },
41
42
  reason: 'error',
42
43
  severity: 'high',
@@ -45,11 +46,12 @@ function compileCatch(compilerCtx, task) {
45
46
  }
46
47
  compilerCtx.issueProvider.submitIssue({
47
48
  annotations: {
48
- 'error': error.message || '',
49
+ 'error': error.message,
49
50
  'stack': error.stack || '',
50
- 'workflowId': ctx.options.workflowId || ctx.workflowId ||
51
- '',
51
+ 'workflowId': ctx.options.workflowId || ctx.workflowId || '',
52
52
  'executionId': ctx.executionId,
53
+ 'activationId': ctx.activation.id,
54
+ 'activationExternalId': ctx.activation?.user.externalId,
53
55
  },
54
56
  reason: 'error',
55
57
  severity: 'low',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versori/run",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
4
4
  "description": "Versori Run",
5
5
  "homepage": "https://github.com/versori/versori-run#readme",
6
6
  "repository": {
@@ -1 +1 @@
1
- {"version":3,"file":"catch.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/durable/compilers/catch.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAG5D,OAAO,EAA2B,YAAY,EAAE,MAAM,YAAY,CAAC;AAmFnE,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC,CAGrE,CAAC"}
1
+ {"version":3,"file":"catch.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/durable/compilers/catch.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAG5D,OAAO,EAA2B,YAAY,EAAE,MAAM,YAAY,CAAC;AAqFnE,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC,CAGrE,CAAC"}
@@ -38,9 +38,10 @@ function compileCatch(compilerCtx, task) {
38
38
  annotations: {
39
39
  'error': error.message,
40
40
  'stack': error.stack || '',
41
- 'workflowId': ctx.options.workflowId || ctx.workflowId ||
42
- '',
41
+ 'workflowId': ctx.options.workflowId || ctx.workflowId || '',
43
42
  'executionId': ctx.executionId,
43
+ 'activationId': ctx.activation.id,
44
+ 'activationExternalId': ctx.activation?.user.externalId,
44
45
  },
45
46
  reason: 'error',
46
47
  severity: 'high',
@@ -52,11 +53,12 @@ function compileCatch(compilerCtx, task) {
52
53
  });
53
54
  compilerCtx.issueProvider.submitIssue({
54
55
  annotations: {
55
- 'error': error.message || '',
56
+ 'error': error.message,
56
57
  'stack': error.stack || '',
57
- 'workflowId': ctx.options.workflowId || ctx.workflowId ||
58
- '',
58
+ 'workflowId': ctx.options.workflowId || ctx.workflowId || '',
59
59
  'executionId': ctx.executionId,
60
+ 'activationId': ctx.activation.id,
61
+ 'activationExternalId': ctx.activation?.user.externalId,
60
62
  },
61
63
  reason: 'error',
62
64
  severity: 'low',
@@ -1 +1 @@
1
- {"version":3,"file":"catch.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/memory/compilers/catch.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAG5D,OAAO,EAA2B,YAAY,EAAE,MAAM,YAAY,CAAC;AAkFnE,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC,CAGrE,CAAC"}
1
+ {"version":3,"file":"catch.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/memory/compilers/catch.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAG5D,OAAO,EAA2B,YAAY,EAAE,MAAM,YAAY,CAAC;AAoFnE,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC,CAGrE,CAAC"}
@@ -37,9 +37,10 @@ function compileCatch(compilerCtx, task) {
37
37
  annotations: {
38
38
  'error': error.message,
39
39
  'stack': error.stack || '',
40
- 'workflowId': ctx.options.workflowId || ctx.workflowId ||
41
- '',
40
+ 'workflowId': ctx.options.workflowId || ctx.workflowId || '',
42
41
  'executionId': ctx.executionId,
42
+ 'activationId': ctx.activation.id,
43
+ 'activationExternalId': ctx.activation?.user.externalId,
43
44
  },
44
45
  reason: 'error',
45
46
  severity: 'high',
@@ -48,11 +49,12 @@ function compileCatch(compilerCtx, task) {
48
49
  }
49
50
  compilerCtx.issueProvider.submitIssue({
50
51
  annotations: {
51
- 'error': error.message || '',
52
+ 'error': error.message,
52
53
  'stack': error.stack || '',
53
- 'workflowId': ctx.options.workflowId || ctx.workflowId ||
54
- '',
54
+ 'workflowId': ctx.options.workflowId || ctx.workflowId || '',
55
55
  'executionId': ctx.executionId,
56
+ 'activationId': ctx.activation.id,
57
+ 'activationExternalId': ctx.activation?.user.externalId,
56
58
  },
57
59
  reason: 'error',
58
60
  severity: 'low',