@dbos-inc/dbos-sdk 1.9.10-preview.g0dc217a304 → 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.d.ts.map +1 -1
- package/dist/src/dbos-executor.js +1 -2
- package/dist/src/dbos-executor.js.map +1 -1
- package/dist/src/dbos-runtime/cli.d.ts +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/dbos-runtime/migrate.d.ts +1 -1
- package/dist/src/dbos-runtime/migrate.d.ts.map +1 -1
- package/dist/src/dbos-runtime/migrate.js +39 -24
- package/dist/src/dbos-runtime/migrate.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/decorators.d.ts.map +1 -1
- package/dist/src/decorators.js +2 -7
- package/dist/src/decorators.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 -12
- package/dist/src/httpServer/handler.js.map +1 -1
- package/dist/src/httpServer/server.d.ts.map +1 -1
- package/dist/src/httpServer/server.js +0 -1
- package/dist/src/httpServer/server.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/telemetry/index.d.ts +3 -2
- package/dist/src/telemetry/index.d.ts.map +1 -1
- package/dist/src/telemetry/index.js +2 -7
- package/dist/src/telemetry/index.js.map +1 -1
- package/dist/src/telemetry/logs.d.ts +8 -8
- package/dist/src/telemetry/logs.d.ts.map +1 -1
- package/dist/src/telemetry/logs.js +0 -11
- package/dist/src/telemetry/logs.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/user_database.d.ts.map +1 -1
- package/dist/src/user_database.js +0 -3
- package/dist/src/user_database.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 +2 -2
@@ -26,7 +26,6 @@ class GlobalLogger {
|
|
26
26
|
this.addContextMetadata = config?.addContextMetadata || false;
|
27
27
|
}
|
28
28
|
// We use this form of winston logging methods: `(message: string, ...meta: any[])`. See node_modules/winston/index.d.ts
|
29
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
30
29
|
info(logEntry, metadata) {
|
31
30
|
if (typeof logEntry === "string") {
|
32
31
|
this.logger.info(logEntry, metadata);
|
@@ -35,7 +34,6 @@ class GlobalLogger {
|
|
35
34
|
this.logger.info(JSON.stringify(logEntry), metadata);
|
36
35
|
}
|
37
36
|
}
|
38
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
39
37
|
debug(logEntry, metadata) {
|
40
38
|
if (typeof logEntry === "string") {
|
41
39
|
this.logger.debug(logEntry, metadata);
|
@@ -44,7 +42,6 @@ class GlobalLogger {
|
|
44
42
|
this.logger.debug(JSON.stringify(logEntry), metadata);
|
45
43
|
}
|
46
44
|
}
|
47
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
48
45
|
warn(logEntry, metadata) {
|
49
46
|
if (typeof logEntry === "string") {
|
50
47
|
this.logger.warn(logEntry, metadata);
|
@@ -54,7 +51,6 @@ class GlobalLogger {
|
|
54
51
|
}
|
55
52
|
}
|
56
53
|
// metadata can have both ContextualMetadata and the error stack trace
|
57
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
58
54
|
error(inputError, metadata) {
|
59
55
|
if (inputError instanceof Error) {
|
60
56
|
this.logger.error(inputError.message, { ...metadata, stack: inputError.stack });
|
@@ -87,19 +83,15 @@ class Logger {
|
|
87
83
|
includeContextMetadata: this.globalLogger.addContextMetadata,
|
88
84
|
};
|
89
85
|
}
|
90
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
91
86
|
info(logEntry) {
|
92
87
|
this.globalLogger.info(logEntry, this.metadata);
|
93
88
|
}
|
94
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
95
89
|
debug(logEntry) {
|
96
90
|
this.globalLogger.debug(logEntry, this.metadata);
|
97
91
|
}
|
98
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
99
92
|
warn(logEntry) {
|
100
93
|
this.globalLogger.warn(logEntry, this.metadata);
|
101
94
|
}
|
102
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
103
95
|
error(inputError) {
|
104
96
|
this.globalLogger.error(inputError, this.metadata);
|
105
97
|
}
|
@@ -119,7 +111,6 @@ const consoleFormat = winston_1.format.combine(winston_1.format.errors({ stack:
|
|
119
111
|
const messageString = typeof message === "string" ? message : JSON.stringify(message);
|
120
112
|
const fullMessageString = `${messageString}${info.includeContextMetadata ? ` ${JSON.stringify(info.span?.attributes)}` : ""}`;
|
121
113
|
const versionString = applicationVersion ? ` [version ${applicationVersion}]` : "";
|
122
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
123
114
|
return `${ts}${versionString} [${level}]: ${fullMessageString} ${stack ? "\n" + formattedStack : ""}`;
|
124
115
|
}));
|
125
116
|
class OTLPLogQueueTransport extends TransportStream {
|
@@ -182,8 +173,6 @@ class OTLPLogQueueTransport extends TransportStream {
|
|
182
173
|
applicationID: this.applicationID,
|
183
174
|
executorID: this.executorID,
|
184
175
|
},
|
185
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call
|
186
|
-
// context: span?.spanContext() || undefined,
|
187
176
|
});
|
188
177
|
callback();
|
189
178
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"logs.js","sourceRoot":"","sources":["../../../src/telemetry/logs.ts"],"names":[],"mappings":";;;AAAA,qCAAqF;AACrF,qDAAsD;AACtD,2EAA2E;AAE3E,sDAA8F;AAC9F,sDAAoE;AA8BpE,MAAa,YAAY;IAIM;IAHZ,MAAM,CAAiB;IAC/B,kBAAkB,CAAU;IAErC,YAA6B,kBAAuC,EAAE,MAAqB;QAA9D,uBAAkB,GAAlB,kBAAkB,CAAqB;QAClE,MAAM,iBAAiB,GAAsB,EAAE,CAAC;QAChD,iBAAiB,CAAC,IAAI,CACpB,IAAI,oBAAU,CAAC,OAAO,CAAC;YACrB,MAAM,EAAE,aAAa;YACrB,KAAK,EAAE,MAAM,EAAE,QAAQ,IAAI,MAAM;YACjC,MAAM,EAAE,MAAM,EAAE,MAAM,IAAI,KAAK;SAChC,CAAC,CACH,CAAC;QACF,kFAAkF;QAClF,IAAI,IAAI,CAAC,kBAAkB,EAAE,QAAQ,EAAE,CAAC;YACtC,iBAAiB,CAAC,IAAI,CAAC,IAAI,qBAAqB,CAAC,IAAI,CAAC,kBAAkB,EAAE,MAAM,EAAE,QAAQ,IAAI,MAAM,CAAC,CAAC,CAAC;QACzG,CAAC;QACD,IAAI,CAAC,MAAM,GAAG,IAAA,sBAAY,EAAC,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAAC,CAAC;QAC9D,IAAI,CAAC,kBAAkB,GAAG,MAAM,EA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F,oHAAoH;QACpH,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;YACnB,cAAc,EAAE,qBAAqB,CAAC,KAAe,CAAC;YACtD,YAAY,EAAE,KAAe;YAC7B,IAAI,EAAE,OAAiB;YACvB,SAAS,EAAE,WAAW,CAAC,GAAG,EAAE,EAAE,2EAA2E;YACzG,iBAAiB,EAAE,WAAW,CAAC,GAAG,EAAE;YACpC,UAAU,EAAE;gBACV,sEAAsE;gBACtE,GAAG,IAAI,EAAE,UAAU;gBACnB,kJAAkJ;gBAClJ,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,OAAO;gBACrC,kJAAkJ;gBAClJ,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,MAAM;gBACnC,mEAAmE;gBACnE,KAAK;gBACL,aAAa,EAAE,IAAI,CAAC,aAAa;gBACjC,UAAU,EAAE,IAAI,CAAC,UAAU;aACX;SACnB,CAAC,CAAC;QAEH,QAAQ,EAAE,CAAC;IACb,CAAC;CACF"}
|
@@ -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;A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AM,EAAE,MAAM,EAAE,CAAC,EAAE,YAAY,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,oBAAoB,GAAG,kBAAkB,CAAC,CAAC,CAAC;IAIxH;;OAEG;IACH,mBAAmB;IAOnB,gBAAgB;IAOV,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,GAAG,CAAC,EAAE,eAAe,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI7H,QAAQ,CAAC,CAAC,SAAS,WAAW,CAAC,GAAG,CAAC,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,cAAc,GAAE,MAAmD,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;IAIrK,gBAAgB,CAAC,CAAC,EAAE,YAAY,EAAE,MAAM,GAAG,cAAc,CAAC,CAAC,CAAC;IAItD,WAAW,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC;IAK3D,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;IAIvC,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;IAI/B;;OAEG;IACH,WAAW,IAAI,YAAY;CAM5B"}
|
@@ -93,7 +93,7 @@ class TestingRuntimeImpl {
|
|
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,SAAS,EAAE,CAAC;QACd,gFAAgF;QAChF,MAAM,cAAc,GAAG,IAAI,WAAM,CAAC;YAChC,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC,IAAI;YAChC,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC,IAAI;YAChC,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC,IAAI;YAChC,QAAQ,EAAE,UAAU,CAAC,UAAU,CAAC,QAAQ;YACxC,QAAQ,EAAE,UAAU,CAAC,UAAU,CAAC,QAAQ;SACzC,CAAC,CAA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E,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAU7H,KAAK,CAAC,CAAC,EAAE,CAAC,SAAS,OAAO,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC;IAItE,eAAe,CAAC,CAAC,EAAE,CAAC,SAAS,OAAO,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC;IASrG,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI;IAKnD,2BAA2B,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;IAIpD,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;IAKrC,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAI7B,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;CAGlC"}
|
@@ -147,12 +147,10 @@ class PrismaUserDatabase {
|
|
147
147
|
return func(this.prisma, ...args);
|
148
148
|
}
|
149
149
|
async query(sql, ...params) {
|
150
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
151
150
|
return this.prisma.$queryRawUnsafe(sql, ...params);
|
152
151
|
}
|
153
152
|
async queryWithClient(client, sql, ...params) {
|
154
153
|
const prismaClient = client;
|
155
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
156
154
|
return prismaClient.$queryRawUnsafe(sql, ...params);
|
157
155
|
}
|
158
156
|
getPostgresErrorCode(error) {
|
@@ -295,7 +293,6 @@ class KnexUserDatabase {
|
|
295
293
|
return result;
|
296
294
|
}
|
297
295
|
async query(sql, ...params) {
|
298
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
299
296
|
return this.queryWithClient(this.knex, sql, ...params);
|
300
297
|
}
|
301
298
|
async queryWithClient(client, sql, ...uparams) {
|
@@ -1 +1 @@
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IAC7F,CAAC;IAED,KAAK,CAAC,UAAU;QACd,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC,CAAC;IAC3F,CAAC;CACF;AApFD,4CAoFC"}
|
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,EAAE,KAAe,EAAE,EAAE;QACrE,IAAI,KAAK,EAAE,CAAC;YACV,MAAM,IAAI,KAAK,CAAC,eAAe,IAAI,KAAK,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC;QACxE,CAAC;aAAM,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC;YAC3B,MAAM,IAAI,KAAK,CAAC,eAAe,IAAI,gBAAgB,C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KAAK,IAAI,cAAI,CAAC,GAAG,CAAC;QACtB,CAAC;QACD,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,cAAI,CAAC,GAAG,CAAC,CAAC;IAClC,CAAC;IAED,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACrB,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;IACtD,CAAC;IAED,KAAK,CAAC,GAAG,EAAE,CAAC;IACZ,MAAM,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,cAAI,CAAC,GAAG,CAAC,CAAC;IAEjC,IAAI,YAAE,CAAC,UAAU,CAAC,cAAI,CAAC,IAAI,CAAC,GAAG,EAAE,cAAc,CAAC,CAAC,EAAE,CAAC;QAChD,OAAO,GAAG,CAAC;IACf,CAAC;IAED,OAAO,eAAe,CAAC,KAAK,CAAC,CAAC;AAClC,CAAC;AApBD,0CAoBC;AAED;;;;;;;;;;GAUG;AAEH,SAAgB,YAAY,CAAC,IAAY,EAAE,KAAc;IACvD,OAAO,KAAK,CAAC;AACf,CAAC;AAFD,oCAEC;AAOD,SAAgB,WAAW,CAAC,IAAY,EAAE,KAAc;IACtD,MAAM,SAAS,GAAG,KAAyB,CAAC;IAC5C,IAAI,SAAS,IAAI,SAAS,CAAC,IAAI,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;QAC9E,OAAO,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACrC,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,GAAG,KAAK,CAAC;AAGjI,KAAK,MAAM,GAAG,CAAC,IAAI,EAAE,kBAAkB,CAAC,GAAG,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;AAC9E,KAAK,QAAQ,GAAG,CAAC,IAAI,EAAE,mBAAmB,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC,GAAG,CAAC,CAA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AC,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,sBAA8B,EAAE,CAAC,4CAA4C;;QAEtF,MAAM,IAAI,GAAG,QAAQ,CAAC,MAAM,CAAC,SAAS,CACpC,YAAY,EACZ;YACE,MAAM,EAAE,oBAAY,CAAC,OAAO;YAC5B,aAAa,EAAE,YAAY;YAC3B,aAAa,EAAE,6BAAa,CAAC,QAAQ;YACrC,iBAAiB,EAAE,SAAS,EAAE,iBAAiB,IAAI,EAAE;YACrD,kBAAkB,EAAE,S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