@dbos-inc/dbos-sdk 1.9.12-preview → 1.9.14-preview
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/dbos-executor.js +1 -1
- package/dist/src/dbos-executor.js.map +1 -1
- package/dist/src/dbos-runtime/cli.d.ts.map +1 -1
- package/dist/src/dbos-runtime/cli.js +3 -0
- package/dist/src/dbos-runtime/cli.js.map +1 -1
- package/dist/src/dbos-runtime/config.d.ts.map +1 -1
- package/dist/src/dbos-runtime/config.js +0 -3
- package/dist/src/dbos-runtime/config.js.map +1 -1
- package/dist/src/debugger/debug_workflow.d.ts +4 -1
- package/dist/src/debugger/debug_workflow.d.ts.map +1 -1
- package/dist/src/debugger/debug_workflow.js +12 -2
- package/dist/src/debugger/debug_workflow.js.map +1 -1
- package/dist/src/httpServer/handler.d.ts +10 -2
- package/dist/src/httpServer/handler.d.ts.map +1 -1
- package/dist/src/httpServer/handler.js +28 -10
- package/dist/src/httpServer/handler.js.map +1 -1
- package/dist/src/kafka/kafka.js +1 -1
- package/dist/src/kafka/kafka.js.map +1 -1
- package/dist/src/system_database.d.ts +2 -2
- package/dist/src/system_database.d.ts.map +1 -1
- package/dist/src/system_database.js +5 -5
- package/dist/src/system_database.js.map +1 -1
- package/dist/src/testing/testing_runtime.d.ts +6 -1
- package/dist/src/testing/testing_runtime.d.ts.map +1 -1
- package/dist/src/testing/testing_runtime.js +28 -10
- package/dist/src/testing/testing_runtime.js.map +1 -1
- package/dist/src/utils.d.ts +1 -1
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/src/utils.js +3 -3
- package/dist/src/utils.js.map +1 -1
- package/dist/src/workflow.d.ts +7 -1
- package/dist/src/workflow.d.ts.map +1 -1
- package/dist/src/workflow.js +17 -7
- package/dist/src/workflow.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"system_database.js","sourceRoot":"","sources":["../../src/system_database.ts"],"names":[],"mappings":";AAAA,uDAAuD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AAiB,EAAE,CAAC;oBACzD,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;gBACxC,CAAC;YACH,CAAC;QACH,CAAC,CAAC;QACF,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED,eAAe;IACf,KAAK,CAAC,oBAAoB,CAAC,GAAW;QACpC,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAkB;;aAE1C,4BAAY,CAAC,kBAAkB;;KAEvC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QAEV,IAAI,CAAC,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,aAAa,IAAI,IAAI,CAAC;QAC3C,IAAI,CAAC,KAAI,IAAI;YAAE,CAAC,GAAG,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACpC,OAAO,CAAC,CAAC;IACX,CAAC;IAED,KAAK,CAAC,oBAAoB,CAAC,GAAW,EAAE,OAAe;QACrD,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAkB;oBACnC,4BAAY,CAAC,kBAAkB;;;;;KAK9C,EAAE,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC;QAEnB,OAAO,QAAQ,CAAC,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,aAAa,EAAE,CAAC,CAAC;IAClD,CAAC;;AA9hBH,wDA+hBC"}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
/// <reference types="node/http" />
|
4
4
|
import { IncomingMessage } from "http";
|
5
5
|
import { HTTPRequest } from "../context";
|
6
|
-
import { InvokeFuncs } from "../httpServer/handler";
|
6
|
+
import { AsyncHandlerWfFuncs, InvokeFuncs, SyncHandlerWfFuncs } from "../httpServer/handler";
|
7
7
|
import { DBOSExecutor, DBOSConfig } from "../dbos-executor";
|
8
8
|
import { WorkflowHandle } from "../workflow";
|
9
9
|
import { Http2ServerRequest, Http2ServerResponse } from "http2";
|
@@ -20,6 +20,8 @@ export interface WorkflowInvokeParams {
|
|
20
20
|
}
|
21
21
|
export interface TestingRuntime {
|
22
22
|
invoke<T extends object>(targetClass: T, workflowUUID?: string, params?: WorkflowInvokeParams): InvokeFuncs<T>;
|
23
|
+
invokeWorkflow<T extends object>(targetClass: T, workflowUUID?: string, params?: WorkflowInvokeParams): SyncHandlerWfFuncs<T>;
|
24
|
+
startWorkflow<T extends object>(targetClass: T, workflowUUID?: string, params?: WorkflowInvokeParams): AsyncHandlerWfFuncs<T>;
|
23
25
|
retrieveWorkflow<R>(workflowUUID: string): WorkflowHandle<R>;
|
24
26
|
send<T extends NonNullable<any>>(destinationUUID: string, message: T, topic?: string, idempotencyKey?: string): Promise<void>;
|
25
27
|
getEvent<T extends NonNullable<any>>(workflowUUID: string, key: string, timeoutSeconds?: number): Promise<T | null>;
|
@@ -61,7 +63,10 @@ export declare class TestingRuntimeImpl implements TestingRuntime {
|
|
61
63
|
* Generate a proxy object for the provided class that wraps direct calls (i.e. OpClass.someMethod(param))
|
62
64
|
* to invoke workflows, transactions, and communicators;
|
63
65
|
*/
|
66
|
+
mainInvoke<T extends object>(object: T, workflowUUID: string | undefined, params: WorkflowInvokeParams | undefined, asyncWf: boolean): InvokeFuncs<T>;
|
64
67
|
invoke<T extends object>(object: T, workflowUUID?: string, params?: WorkflowInvokeParams): InvokeFuncs<T>;
|
68
|
+
startWorkflow<T extends object>(object: T, workflowUUID?: string, params?: WorkflowInvokeParams): AsyncHandlerWfFuncs<T>;
|
69
|
+
invokeWorkflow<T extends object>(object: T, workflowUUID?: string, params?: WorkflowInvokeParams): SyncHandlerWfFuncs<T>;
|
65
70
|
/**
|
66
71
|
* Return a request handler callback for node's native http/http2 server, which includes all registered HTTP endpoints.
|
67
72
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"testing_runtime.d.ts","sourceRoot":"","sources":["../../../src/testing/testing_runtime.ts"],"names":[],"mappings":";;;AACA,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAmB,MAAM,YAAY,CAAC;AAG1D,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;
|
1
|
+
{"version":3,"file":"testing_runtime.d.ts","sourceRoot":"","sources":["../../../src/testing/testing_runtime.ts"],"names":[],"mappings":";;;AACA,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAmB,MAAM,YAAY,CAAC;AAG1D,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE7F,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG5D,OAAO,EAAY,cAAc,EAAkB,MAAM,aAAa,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAMpD;;GAEG;AACH,wBAAsB,oBAAoB,CAAC,WAAW,EAAE,MAAM,EAAE,EAAE,cAAc,GAAE,MAA2B,EAAE,SAAS,GAAE,OAAc,GAAG,OAAO,CAAC,cAAc,CAAC,CAmBjK;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IACvC,QAAQ,CAAC,OAAO,CAAC,EAAE,WAAW,CAAC;CAChC;AAED,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,CAAC,SAAS,MAAM,EAAE,WAAW,EAAE,CAAC,EAAE,YAAY,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,oBAAoB,G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eImpl {
|
|
93
93
|
* Generate a proxy object for the provided class that wraps direct calls (i.e. OpClass.someMethod(param))
|
94
94
|
* to invoke workflows, transactions, and communicators;
|
95
95
|
*/
|
96
|
-
|
96
|
+
mainInvoke(object, workflowUUID, params, asyncWf) {
|
97
97
|
const dbosExec = this.getDBOSExec();
|
98
98
|
const ops = (0, decorators_1.getRegisteredOperations)(object);
|
99
99
|
const proxy = {};
|
@@ -105,20 +105,38 @@ class TestingRuntimeImpl {
|
|
105
105
|
oc.authenticatedRoles = params?.authenticatedRoles ?? [];
|
106
106
|
const wfParams = { workflowUUID: workflowUUID, parentCtx: oc };
|
107
107
|
for (const op of ops) {
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
? (...args) => dbosExec.transaction(op.registeredFunction, wfParams, ...args)
|
112
|
-
: op.workflowConfig
|
108
|
+
if (asyncWf) {
|
109
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
110
|
+
proxy[op.name] = op.txnConfig
|
113
111
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
114
|
-
? (...args) => dbosExec.
|
115
|
-
: op.
|
112
|
+
? (...args) => dbosExec.transaction(op.registeredFunction, wfParams, ...args)
|
113
|
+
: op.workflowConfig
|
116
114
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
117
|
-
? (...args) => dbosExec.
|
118
|
-
:
|
115
|
+
? (...args) => dbosExec.workflow(op.registeredFunction, wfParams, ...args)
|
116
|
+
: op.commConfig
|
117
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
118
|
+
? (...args) => dbosExec.external(op.registeredFunction, wfParams, ...args)
|
119
|
+
: undefined;
|
120
|
+
}
|
121
|
+
else {
|
122
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
123
|
+
proxy[op.name] = op.workflowConfig
|
124
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
125
|
+
? (...args) => dbosExec.workflow(op.registeredFunction, wfParams, ...args).then((handle) => handle.getResult())
|
126
|
+
: undefined;
|
127
|
+
}
|
119
128
|
}
|
120
129
|
return proxy;
|
121
130
|
}
|
131
|
+
invoke(object, workflowUUID, params) {
|
132
|
+
return this.mainInvoke(object, workflowUUID, params, true);
|
133
|
+
}
|
134
|
+
startWorkflow(object, workflowUUID, params) {
|
135
|
+
return this.mainInvoke(object, workflowUUID, params, true);
|
136
|
+
}
|
137
|
+
invokeWorkflow(object, workflowUUID, params) {
|
138
|
+
return this.mainInvoke(object, workflowUUID, params, false);
|
139
|
+
}
|
122
140
|
/**
|
123
141
|
* Return a request handler callback for node's native http/http2 server, which includes all registered HTTP endpoints.
|
124
142
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"testing_runtime.js","sourceRoot":"","sources":["../../../src/testing/testing_runtime.ts"],"names":[],"mappings":";;;AAGA,wCAA0D;AAC1D,8CAAwD;AACxD,oCAA6D;AAE7D,iDAAsD;AACtD,oDAA4D;AAC5D,mDAA6E;AAM7E,mCAAkC;AAClC,2BAA4B;AAC5B,0CAA2C;AAC3C,sDAAuD;AAEvD;;GAEG;AACI,KAAK,UAAU,oBAAoB,CAAC,WAAqB,EAAE,iBAAyB,2BAAkB,EAAE,YAAqB,IAAI;IACtI,MAAM,
|
1
|
+
{"version":3,"file":"testing_runtime.js","sourceRoot":"","sources":["../../../src/testing/testing_runtime.ts"],"names":[],"mappings":";;;AAGA,wCAA0D;AAC1D,8CAAwD;AACxD,oCAA6D;AAE7D,iDAAsD;AACtD,oDAA4D;AAC5D,mDAA6E;AAM7E,mCAAkC;AAClC,2BAA4B;AAC5B,0CAA2C;AAC3C,sDAAuD;AAEvD;;GAEG;AACI,KAAK,UAAU,oBAAoB,CAAC,WAAqB,EAAE,iBAAyB,2BAAkB,EAAE,YAAqB,IAAI;IACtI,MAAM,CAAC,UAAU,CAAC,GAAG,IAAA,wBAAe,EAAC,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC,CAAC;IAErE,IAAI,SA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,CAAC;IAED,KAAK,CAAC,gBAAgB;QACpB,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,YAAY,CAAC,YAAY,EAAE,CAAC;IACxD,CAAC;IAED,cAAc;QACZ,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,YAAY,CAAC,UAAU,EAAE,CAAC;IACtD,CAAC;IAED;;OAEG;IACH,WAAW;QACT,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YAClB,MAAM,IAAI,iBAAS,CAAC,qEAAqE,CAAC,CAAC;QAC7F,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;IAC/B,CAAC;CACF;AA/JD,gDA+JC"}
|
package/dist/src/utils.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/// <reference types="node" />
|
2
2
|
export declare function readFileSync(path: string, encoding?: BufferEncoding): string;
|
3
|
-
export declare const
|
3
|
+
export declare const sleepms: (ms: number) => Promise<unknown>;
|
4
4
|
export type ValuesOf<T> = T[keyof T];
|
5
5
|
export declare function findPackageRoot(start: string | string[]): string;
|
6
6
|
/**
|
package/dist/src/utils.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":";AASA,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,GAAE,cAAuB,GAAG,MAAM,CAYpF;AAED,eAAO,MAAM,
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":";AASA,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,GAAE,cAAuB,GAAG,MAAM,CAYpF;AAED,eAAO,MAAM,OAAO,OAAQ,MAAM,qBAA0C,CAAC;AAE7E,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAGrC,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,CAoBhE;AAED;;;;;;;;;;GAUG;AAEH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,WAExD;AAOD,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO,CAMjE"}
|
package/dist/src/utils.js
CHANGED
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.DBOSReviver = exports.DBOSReplacer = exports.findPackageRoot = exports.
|
6
|
+
exports.DBOSReviver = exports.DBOSReplacer = exports.findPackageRoot = exports.sleepms = exports.readFileSync = void 0;
|
7
7
|
const fs_1 = __importDefault(require("fs"));
|
8
8
|
const path_1 = __importDefault(require("path"));
|
9
9
|
/*
|
@@ -26,8 +26,8 @@ function readFileSync(path, encoding = "utf8") {
|
|
26
26
|
return fs_1.default.readFileSync(path, { encoding });
|
27
27
|
}
|
28
28
|
exports.readFileSync = readFileSync;
|
29
|
-
const
|
30
|
-
exports.
|
29
|
+
const sleepms = (ms) => new Promise((r) => setTimeout(r, ms));
|
30
|
+
exports.sleepms = sleepms;
|
31
31
|
// Adapated and translated from from: https://github.com/junosuarez/find-root
|
32
32
|
function findPackageRoot(start) {
|
33
33
|
if (typeof start === 'string') {
|
package/dist/src/utils.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":";;;;;;AAAA,4CAAoB;AACpB,gDAAwB;AAExB;;;;;IAKI;AACJ,SAAgB,YAAY,CAAC,IAAY,EAAE,WAA2B,MAAM;IAC1E,wBAAwB;IACxB,YAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,KAAmC,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rC,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAND,kCAMC"}
|
package/dist/src/workflow.d.ts
CHANGED
@@ -40,12 +40,15 @@ export declare const StatusString: {
|
|
40
40
|
};
|
41
41
|
export interface WorkflowContext extends DBOSContext {
|
42
42
|
invoke<T extends object>(targetClass: T): WFInvokeFuncs<T>;
|
43
|
+
startChildWorkflow<T extends any[], R>(wf: Workflow<T, R>, ...args: T): Promise<WorkflowHandle<R>>;
|
44
|
+
invokeChildWorkflow<T extends any[], R>(wf: Workflow<T, R>, ...args: T): Promise<R>;
|
43
45
|
childWorkflow<T extends any[], R>(wf: Workflow<T, R>, ...args: T): Promise<WorkflowHandle<R>>;
|
44
46
|
send<T extends NonNullable<any>>(destinationUUID: string, message: T, topic?: string): Promise<void>;
|
45
47
|
recv<T extends NonNullable<any>>(topic?: string, timeoutSeconds?: number): Promise<T | null>;
|
46
48
|
setEvent<T extends NonNullable<any>>(key: string, value: T): Promise<void>;
|
47
49
|
getEvent<T extends NonNullable<any>>(workflowUUID: string, key: string, timeoutSeconds?: number): Promise<T | null>;
|
48
50
|
retrieveWorkflow<R>(workflowUUID: string): WorkflowHandle<R>;
|
51
|
+
sleepms(durationMS: number): Promise<void>;
|
49
52
|
sleep(durationSec: number): Promise<void>;
|
50
53
|
}
|
51
54
|
export declare class WorkflowContextImpl extends DBOSContextImpl implements WorkflowContext {
|
@@ -88,9 +91,11 @@ export declare class WorkflowContextImpl extends DBOSContextImpl implements Work
|
|
88
91
|
/**
|
89
92
|
* Invoke another workflow as its child workflow and return a workflow handle.
|
90
93
|
* The child workflow is guaranteed to be executed exactly once, even if the workflow is retried with the same UUID.
|
91
|
-
* We pass in itself as a parent context
|
94
|
+
* We pass in itself as a parent context and assign the child workflow with a deterministic UUID "this.workflowUUID-functionID".
|
92
95
|
* We also pass in its own workflowUUID and function ID so the invoked handle is deterministic.
|
93
96
|
*/
|
97
|
+
startChildWorkflow<T extends any[], R>(wf: Workflow<T, R>, ...args: T): Promise<WorkflowHandle<R>>;
|
98
|
+
invokeChildWorkflow<T extends any[], R>(wf: Workflow<T, R>, ...args: T): Promise<R>;
|
94
99
|
childWorkflow<T extends any[], R>(wf: Workflow<T, R>, ...args: T): Promise<WorkflowHandle<R>>;
|
95
100
|
/**
|
96
101
|
* Execute a transactional function.
|
@@ -137,6 +142,7 @@ export declare class WorkflowContextImpl extends DBOSContextImpl implements Work
|
|
137
142
|
/**
|
138
143
|
* Sleep for the duration.
|
139
144
|
*/
|
145
|
+
sleepms(durationMS: number): Promise<void>;
|
140
146
|
sleep(durationSec: number): Promise<void>;
|
141
147
|
}
|
142
148
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../src/workflow.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAqC,MAAM,iBAAiB,CAAC;AAElF,OAAO,EAAkB,WAAW,EAAE,kBAAkB,EAA0B,MAAM,eAAe,CAAC;AACxG,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAA2B,MAAM,gBAAgB,CAAC;AAI5F,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAGrD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAGtE,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,eAAe,EAAE,GAAG,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;AAG7F,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,MAAM,CAAC,KAAK,GAAG,GAAG,CAAC,GA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C,cAAc,EAAE,cAAc;IAAE,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC;IAAE,QAAQ,CAAC,YAAY,EAAE,MAAM;IAAE,QAAQ,CAAC,YAAY,EAAE,MAAM;IACrJ,QAAQ,CAAC,UAAU,CAAC;IAAU,QAAQ,CAAC,gBAAgB,CAAC;gBADrC,cAAc,EAAE,cAAc,EAAW,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC,EAAW,YAAY,EAAE,MAAM,EAAW,YAAY,EAAE,MAAM,EAC5I,UAAU,CAAC,oBAAQ,EAAW,gBAAgB,CAAC,oBAAQ;IAElE,eAAe,IAAI,MAAM;IAInB,SAAS,IAAI,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;IAI3C,SAAS,IAAI,OAAO,CAAC,CAAC,CAAC;CAG9B;AAED;;GAEG;AACH,qBAAa,eAAe,CAAC,CAAC,CAAE,YAAW,cAAc,CAAC,CAAC,CAAC;IAC9C,QAAQ,CAAC,cAAc,EAAE,cAAc;IAAE,QAAQ,CAAC,YAAY,EAAE,MAAM;IAAE,QAAQ,CAAC,UAAU,CAAC;IAAU,QAAQ,CAAC,gBAAgB,CAAC;gBAAvH,cAAc,EAAE,cAAc,EAAW,YAAY,EAAE,MAAM,EAAW,UAAU,CAAC,oBAAQ,EAAW,gBAAgB,CAAC,oBAAQ;IAEpJ,eAAe,IAAI,MAAM;IAInB,SAAS,IAAI,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;IAI3C,SAAS,IAAI,OAAO,CAAC,CAAC,CAAC;CAG9B"}
|
package/dist/src/workflow.js
CHANGED
@@ -168,15 +168,22 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
|
|
168
168
|
/**
|
169
169
|
* Invoke another workflow as its child workflow and return a workflow handle.
|
170
170
|
* The child workflow is guaranteed to be executed exactly once, even if the workflow is retried with the same UUID.
|
171
|
-
* We pass in itself as a parent context
|
171
|
+
* We pass in itself as a parent context and assign the child workflow with a deterministic UUID "this.workflowUUID-functionID".
|
172
172
|
* We also pass in its own workflowUUID and function ID so the invoked handle is deterministic.
|
173
173
|
*/
|
174
|
-
async
|
174
|
+
async startChildWorkflow(wf, ...args) {
|
175
175
|
// Note: cannot use invoke for childWorkflow because of potential recursive types on the workflow itself.
|
176
176
|
const funcId = this.functionIDGetIncrement();
|
177
177
|
const childUUID = this.workflowUUID + "-" + funcId;
|
178
178
|
return this.#dbosExec.internalWorkflow(wf, { parentCtx: this, workflowUUID: childUUID }, this.workflowUUID, funcId, ...args);
|
179
179
|
}
|
180
|
+
async invokeChildWorkflow(wf, ...args) {
|
181
|
+
return this.startChildWorkflow(wf, ...args).then((handle) => handle.getResult());
|
182
|
+
}
|
183
|
+
// Deprecated
|
184
|
+
async childWorkflow(wf, ...args) {
|
185
|
+
return this.startChildWorkflow(wf, ...args);
|
186
|
+
}
|
180
187
|
/**
|
181
188
|
* Execute a transactional function.
|
182
189
|
* The transaction is guaranteed to execute exactly once, even if the workflow is retried with the same UUID.
|
@@ -259,7 +266,7 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
|
|
259
266
|
// serialization_failure in PostgreSQL
|
260
267
|
span.addEvent("TXN SERIALIZATION FAILURE", { "retryWaitMillis": retryWaitMillis }, performance.now());
|
261
268
|
// Retry serialization failures.
|
262
|
-
await (0, utils_1.
|
269
|
+
await (0, utils_1.sleepms)(retryWaitMillis);
|
263
270
|
retryWaitMillis *= backoffFactor;
|
264
271
|
retryWaitMillis = retryWaitMillis < maxRetryWaitMs ? retryWaitMillis : maxRetryWaitMs;
|
265
272
|
continue;
|
@@ -334,7 +341,7 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
|
|
334
341
|
if (numAttempts < ctxt.maxAttempts) {
|
335
342
|
// Sleep for an interval, then increase the interval by backoffRate.
|
336
343
|
// Cap at the maximum allowed retry interval.
|
337
|
-
await (0, utils_1.
|
344
|
+
await (0, utils_1.sleepms)(intervalSeconds * 1000);
|
338
345
|
intervalSeconds *= ctxt.backoffRate;
|
339
346
|
intervalSeconds = intervalSeconds < maxRetryIntervalSec ? intervalSeconds : maxRetryIntervalSec;
|
340
347
|
}
|
@@ -439,12 +446,15 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
|
|
439
446
|
/**
|
440
447
|
* Sleep for the duration.
|
441
448
|
*/
|
442
|
-
async
|
443
|
-
if (
|
449
|
+
async sleepms(durationMS) {
|
450
|
+
if (durationMS <= 0) {
|
444
451
|
return;
|
445
452
|
}
|
446
453
|
const functionID = this.functionIDGetIncrement();
|
447
|
-
return await this.#dbosExec.systemDatabase.
|
454
|
+
return await this.#dbosExec.systemDatabase.sleepms(this.workflowUUID, functionID, durationMS);
|
455
|
+
}
|
456
|
+
async sleep(durationSec) {
|
457
|
+
return this.sleepms(durationSec * 1000);
|
448
458
|
}
|
449
459
|
}
|
450
460
|
exports.WorkflowContextImpl = WorkflowContextImpl;
|
package/dist/src/workflow.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"workflow.js","sourceRoot":"","sources":["../../src/workflow.ts"],"names":[],"mappings":";;;AAAA,uDAAuD;AACvD,mDAAkF;AAElF,+CAAwG;AACxG,iDAA4F;AAC5F,mCAA2F;AAC3F,qDAAmE;AACnE,mCAAgC;AAGhC,4CAAoD;AAEpD,uCAAsE;AACtE,6CAAuD;AA2C1C,QAAA,YAAY,GAAG;IAC1B,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;CACN,CAAC;AAgBX,MAAa,mBAAoB,SAAQ,yBAAe;IAU3C;IAEA;IACA;IACA;IAbX,UAAU,GAAW,CAAC,CAAC;IACd,SAAS,CAAC;IACV,YAAY,GAAgC,IAAI,GAAG,EAA0B,CAAC;IAC9E,cAAc,CAAU;IAEjC,YACE,QAAsB,EACtB,SAAsC,EACtC,YAAoB,EACX,cAA8B,EACvC,YAAoB,EACX,UAAmB,EACnB,sBAA8B,EAAE,EAAE,uCAAuC;IACzE,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