@dbos-inc/dbos-sdk 1.11.4-preview → 1.11.6-preview
Sign up to get free protection for your applications and to get access to all the features.
- package/dbos-config.schema.json +1 -4
- package/dist/src/communicator.d.ts +1 -1
- package/dist/src/communicator.d.ts.map +1 -1
- package/dist/src/context.d.ts +2 -0
- package/dist/src/context.d.ts.map +1 -1
- package/dist/src/context.js +3 -2
- package/dist/src/context.js.map +1 -1
- package/dist/src/dbos-executor.d.ts +11 -11
- package/dist/src/dbos-executor.d.ts.map +1 -1
- package/dist/src/dbos-executor.js +3 -11
- package/dist/src/dbos-executor.js.map +1 -1
- package/dist/src/dbos-runtime/config.d.ts.map +1 -1
- package/dist/src/dbos-runtime/config.js +0 -2
- package/dist/src/dbos-runtime/config.js.map +1 -1
- package/dist/src/dbos-runtime/runtime.d.ts.map +1 -1
- package/dist/src/dbos-runtime/runtime.js.map +1 -1
- package/dist/src/debugger/debug_workflow.d.ts +9 -9
- package/dist/src/debugger/debug_workflow.d.ts.map +1 -1
- package/dist/src/debugger/debug_workflow.js +2 -4
- package/dist/src/debugger/debug_workflow.js.map +1 -1
- package/dist/src/httpServer/handler.d.ts +4 -4
- package/dist/src/httpServer/handler.d.ts.map +1 -1
- package/dist/src/httpServer/handler.js +0 -7
- package/dist/src/httpServer/handler.js.map +1 -1
- package/dist/src/httpServer/server.js.map +1 -1
- package/dist/src/kafka/kafka.js.map +1 -1
- package/dist/src/scheduler/scheduler.js.map +1 -1
- package/dist/src/system_database.d.ts +17 -15
- package/dist/src/system_database.d.ts.map +1 -1
- package/dist/src/system_database.js +38 -8
- package/dist/src/system_database.js.map +1 -1
- package/dist/src/telemetry/logs.d.ts.map +1 -1
- package/dist/src/telemetry/logs.js +6 -4
- package/dist/src/telemetry/logs.js.map +1 -1
- package/dist/src/telemetry/traces.d.ts +1 -0
- package/dist/src/telemetry/traces.d.ts.map +1 -1
- package/dist/src/telemetry/traces.js +5 -2
- package/dist/src/telemetry/traces.js.map +1 -1
- package/dist/src/testing/testing_runtime.d.ts +6 -6
- package/dist/src/testing/testing_runtime.d.ts.map +1 -1
- package/dist/src/testing/testing_runtime.js +0 -7
- package/dist/src/testing/testing_runtime.js.map +1 -1
- package/dist/src/transaction.d.ts +1 -1
- package/dist/src/transaction.d.ts.map +1 -1
- package/dist/src/transaction.js.map +1 -1
- package/dist/src/user_database.d.ts.map +1 -1
- package/dist/src/user_database.js +1 -4
- package/dist/src/user_database.js.map +1 -1
- package/dist/src/workflow.d.ts +19 -19
- package/dist/src/workflow.d.ts.map +1 -1
- package/dist/src/workflow.js +0 -5
- package/dist/src/workflow.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/migrations/20240516004341_application_version.js +23 -0
- package/package.json +1 -1
- package/dist/src/dbos-runtime/applicationVersion.d.ts +0 -3
- package/dist/src/dbos-runtime/applicationVersion.d.ts.map +0 -1
- package/dist/src/dbos-runtime/applicationVersion.js +0 -13
- package/dist/src/dbos-runtime/applicationVersion.js.map +0 -1
package/dbos-config.schema.json
CHANGED
@@ -3,7 +3,7 @@ import { GlobalLogger as Logger } from "./telemetry/logs";
|
|
3
3
|
import { WorkflowContextImpl } from "./workflow";
|
4
4
|
import { DBOSContext, DBOSContextImpl } from "./context";
|
5
5
|
import { WorkflowContextDebug } from "./debugger/debug_workflow";
|
6
|
-
export type Communicator<
|
6
|
+
export type Communicator<R> = (ctxt: CommunicatorContext, ...args: any[]) => Promise<R>;
|
7
7
|
export interface CommunicatorConfig {
|
8
8
|
retriesAllowed?: boolean;
|
9
9
|
intervalSeconds?: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"communicator.d.ts","sourceRoot":"","sources":["../../src/communicator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,WAAW,EA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G,oBAAoB,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM;CAStK"}
|
package/dist/src/context.d.ts
CHANGED
@@ -38,6 +38,8 @@ export declare class DBOSContextImpl implements DBOSContext {
|
|
38
38
|
assumedRole: string;
|
39
39
|
workflowUUID: string;
|
40
40
|
executorID: string;
|
41
|
+
applicationVersion: string;
|
42
|
+
applicationID: string;
|
41
43
|
readonly logger: DBOSLogger;
|
42
44
|
constructor(operationName: string, span: Span, logger: Logger, parentCtx?: DBOSContextImpl);
|
43
45
|
/*** Application configuration ***/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/context.ts"],"names":[],"mappings":";;;AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEhF,OAAO,EAAE,mBAAmB,EAAE,MAAM,MAAM,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAE7C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAI/C,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,OAAO,CAAC,EAAE,mBAAmB,CAAC;IACvC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC;IAChC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,GAAG,CAAC,EAA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;IACtD,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;gBAEP,aAAa,EAAE,MAAM,EAAW,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,eAAe;IAW5G,mCAAmC;IACnC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS;IACxC,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,GAAG,CAAC;CAS9C;AAED;;GAEG;AACH,qBAAa,WAAW;IAOV,QAAQ,CAAC,QAAQ,EAAE,YAAY;IAN3C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAGxB,OAAO,CAAC,YAAY,CAAe;IACnC,OAAO,CAAC,WAAW,CAAC,CAAS;gBAER,QAAQ,EAAE,YAAY;IAM3C,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;IAKjC,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;IAK/B,WAAW,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC;IAI/D,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS;IACxC,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,GAAG,CAAC;CAS9C"}
|
package/dist/src/context.js
CHANGED
@@ -12,7 +12,9 @@ class DBOSContextImpl {
|
|
12
12
|
authenticatedRoles = []; // All roles the user has according to authentication
|
13
13
|
assumedRole = ""; // Role in use - that user has and provided authorization to current function
|
14
14
|
workflowUUID = ""; // Workflow UUID. Empty for HandlerContexts.
|
15
|
-
executorID = "local"; // Executor ID. Gathered from
|
15
|
+
executorID = process.env.DBOS__VMID || "local"; // Executor ID. Gathered from the environment and "local" otherwise
|
16
|
+
applicationVersion = process.env.DBOS__APPVERSION || ""; // Application version. Gathered from the environment and empty otherwise
|
17
|
+
applicationID = process.env.DBOS__APPID || ""; // Application ID. Gathered from the environment and empty otherwise
|
16
18
|
logger; // Wrapper around the global logger for this context.
|
17
19
|
constructor(operationName, span, logger, parentCtx) {
|
18
20
|
this.operationName = operationName;
|
@@ -23,7 +25,6 @@ class DBOSContextImpl {
|
|
23
25
|
this.authenticatedRoles = parentCtx.authenticatedRoles;
|
24
26
|
this.assumedRole = parentCtx.assumedRole;
|
25
27
|
this.workflowUUID = parentCtx.workflowUUID;
|
26
|
-
this.executorID = parentCtx.executorID;
|
27
28
|
}
|
28
29
|
this.logger = new logs_1.Logger(logger, this);
|
29
30
|
}
|
package/dist/src/context.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../src/context.ts"],"names":[],"mappings":";;;AACA,2CAAgF;AAChF,mCAA6B;AAK7B,mCAAiD;AA8BjD,MAAa,eAAe;
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../src/context.ts"],"names":[],"mappings":";;;AACA,2CAAgF;AAChF,mCAA6B;AAK7B,mCAAiD;AA8BjD,MAAa,eAAe;IAWL;IAAgC;IAVrD,OAAO,GAAgB,EAAE,CAAC,CAAM,6BAA6B;IAC7D,iBAAiB,GAAW,EAAE,CAAC,CAAK,uCAAuC;IAC3E,kBAAkB,GAAa,EAAE,CAAC,CAAK,qDAAqD;IAC5F,WAAW,GAAW,EAAE,CAAC,CAAM,6EAA6E;IAC5G,YAAY,GAAW,EAAE,CAAC,CAAM,4CAA4C;IAC5E,UAAU,GAAW,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,CAAE,mEAAmE;IAC5H,kBAAkB,GAAW,OAAO,CAAC,GAAG,CAAC,gBAAgB,IAAI,EAAE,CAAC,CAAC,yEAAyE;IAC1I,aAAa,GAAW,OAAO,CAAC,GAAG,CA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C,MAAM,CAAC;QAC9B,IAAI,CAAC,YAAY,GAAG,QAAQ,CAAC,YAAY,CAAC;QAC1C,IAAI,CAAC,WAAW,GAAG,QAAQ,CAAC,MAAM,CAAC,WAAW,CAAC;IACjD,CAAC;IAED,gBAAgB;QACd,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,kIAAkI,CAAC,CAAC;QACrJ,OAAO,IAAI,CAAC,YAAY,CAAC,YAAY,EAAE,CAAC;IAC1C,CAAC;IAED,cAAc;QACZ,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,kIAAkI,CAAC,CAAC;QACrJ,OAAO,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE,CAAC;IACxC,CAAC;IAED,WAAW,CAAI,GAAW,EAAE,GAAG,MAAiB;QAC9C,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,GAAG,EAAE,GAAG,MAAM,CAAC,CAAC;IACjD,CAAC;IAID,SAAS,CAAI,GAAW,EAAE,YAAgB;QACxC,MAAM,KAAK,GAAG,IAAA,YAAG,EAAC,IAAI,CAAC,WAAW,EAAE,GAAG,EAAE,YAAY,CAAC,CAAC;QACvD,sGAAsG;QACtG,IAAI,KAAK,IAAI,YAAY,IAAI,OAAO,KAAK,KAAK,OAAO,YAAY,EAAE,CAAC;YAClE,MAAM,IAAI,8BAAsB,CAAC,GAAG,EAAE,OAAO,YAAY,EAAE,OAAO,KAAK,CAAC,CAAC;QAC3E,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;CACF;AArCD,kCAqCC"}
|
@@ -29,15 +29,15 @@ export interface DBOSConfig {
|
|
29
29
|
};
|
30
30
|
}
|
31
31
|
interface WorkflowInfo {
|
32
|
-
workflow: Workflow<
|
32
|
+
workflow: Workflow<unknown>;
|
33
33
|
config: WorkflowConfig;
|
34
34
|
}
|
35
35
|
interface TransactionInfo {
|
36
|
-
transaction: Transaction<
|
36
|
+
transaction: Transaction<unknown>;
|
37
37
|
config: TransactionConfig;
|
38
38
|
}
|
39
39
|
interface CommunicatorInfo {
|
40
|
-
communicator: Communicator<
|
40
|
+
communicator: Communicator<unknown>;
|
41
41
|
config: CommunicatorConfig;
|
42
42
|
}
|
43
43
|
interface InternalWorkflowParams extends WorkflowParams {
|
@@ -78,19 +78,19 @@ export declare class DBOSExecutor {
|
|
78
78
|
configureDbClient(): void;
|
79
79
|
init(...classes: object[]): Promise<void>;
|
80
80
|
destroy(): Promise<void>;
|
81
|
-
workflow<
|
82
|
-
internalWorkflow<
|
81
|
+
workflow<R>(wf: Workflow<R>, params: InternalWorkflowParams, ...args: unknown[]): Promise<WorkflowHandle<R>>;
|
82
|
+
internalWorkflow<R>(wf: Workflow<R>, params: InternalWorkflowParams, callerUUID?: string, callerFunctionID?: number, ...args: unknown[]): Promise<WorkflowHandle<R>>;
|
83
83
|
/**
|
84
84
|
* DEBUG MODE workflow execution, skipping all the recording
|
85
85
|
*/
|
86
|
-
debugWorkflow<
|
87
|
-
transaction<
|
88
|
-
external<
|
89
|
-
send
|
86
|
+
debugWorkflow<R>(wf: Workflow<R>, params: WorkflowParams, callerUUID?: string, callerFunctionID?: number, ...args: unknown[]): Promise<WorkflowHandle<R>>;
|
87
|
+
transaction<R>(txn: Transaction<R>, params: WorkflowParams, ...args: unknown[]): Promise<R>;
|
88
|
+
external<R>(commFn: Communicator<R>, params: WorkflowParams, ...args: unknown[]): Promise<R>;
|
89
|
+
send(destinationUUID: string, message: NonNullable<unknown>, topic?: string, idempotencyKey?: string): Promise<void>;
|
90
90
|
/**
|
91
91
|
* Wait for a workflow to emit an event, then return its value.
|
92
92
|
*/
|
93
|
-
getEvent<T extends NonNullable<
|
93
|
+
getEvent<T extends NonNullable<unknown>>(workflowUUID: string, key: string, timeoutSeconds?: number): Promise<T | null>;
|
94
94
|
/**
|
95
95
|
* Retrieve a handle for a workflow UUID.
|
96
96
|
*/
|
@@ -99,7 +99,7 @@ export declare class DBOSExecutor {
|
|
99
99
|
* A recovery process that by default runs during executor init time.
|
100
100
|
* It runs to completion all pending workflows that were executing when the previous executor failed.
|
101
101
|
*/
|
102
|
-
recoverPendingWorkflows(executorIDs?: string[]): Promise<WorkflowHandle<
|
102
|
+
recoverPendingWorkflows(executorIDs?: string[]): Promise<WorkflowHandle<unknown>[]>;
|
103
103
|
executeWorkflowUUID(workflowUUID: string): Promise<WorkflowHandle<unknown>>;
|
104
104
|
/**
|
105
105
|
* Periodically flush the workflow output buffer to the system database.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dbos-executor.d.ts","sourceRoot":"","sources":["../../src/dbos-executor.ts"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"dbos-executor.d.ts","sourceRoot":"","sources":["../../src/dbos-executor.ts"],"names":[],"mappings":";AAEA,OAAO,EAEL,QAAQ,EACR,cAAc,EAEd,cAAc,EACd,cAAc,EAKd,cAAc,EACf,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1D,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAChC,OAAO,EAAE,cAAc,EAAkD,MAAM,mBAAmB,CAAC;AAEnG,OAAO,EAGL,YAAY,EAEZ,gBAAgB,EAEjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,sBAAsB,EAA6E,MAAM,cAAc,CAAC;AASjI,MAAM,WAAW,QAAQ;CAAI;AAC7B,eAAO,MAAM,QAAQ,EAAE,QAAa,CAAC;AAGrC,MAAM,WAAW,UAAU;IACzB,QAAQ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O,CAAC,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,cAAc,GAAE,MAAmD,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;IAIzK;;OAEG;IACH,gBAAgB,CAAC,CAAC,EAAE,YAAY,EAAE,MAAM,GAAG,cAAc,CAAC,CAAC,CAAC;IAS5D;;;OAGG;IACG,uBAAuB,CAAC,WAAW,GAAE,MAAM,EAAc,GAAG,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC;IAuB9F,mBAAmB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IA0EjF;;OAEG;IACG,oBAAoB;IAQpB,yBAAyB,IAAI,OAAO,CAAC,IAAI,CAAC;IAgDhD,qBAAqB;CAatB"}
|
@@ -310,10 +310,6 @@ class DBOSExecutor {
|
|
310
310
|
}
|
311
311
|
const wConfig = wInfo.config;
|
312
312
|
const wCtxt = new workflow_1.WorkflowContextImpl(this, params.parentCtx, workflowUUID, wConfig, wf.name, presetUUID, params.tempWfType, params.tempWfName);
|
313
|
-
// If running in DBOS Cloud, set the executor ID
|
314
|
-
if (process.env.DBOS__VMID) {
|
315
|
-
wCtxt.executorID = process.env.DBOS__VMID;
|
316
|
-
}
|
317
313
|
const internalStatus = {
|
318
314
|
workflowUUID: workflowUUID,
|
319
315
|
status: workflow_1.StatusString.PENDING,
|
@@ -325,7 +321,9 @@ class DBOSExecutor {
|
|
325
321
|
authenticatedRoles: wCtxt.authenticatedRoles,
|
326
322
|
request: wCtxt.request,
|
327
323
|
executorID: wCtxt.executorID,
|
328
|
-
|
324
|
+
applicationVersion: wCtxt.applicationVersion,
|
325
|
+
applicationID: wCtxt.applicationID,
|
326
|
+
createdAt: Date.now(), // Remember the start time of this workflow
|
329
327
|
};
|
330
328
|
if (wCtxt.isTempWorkflow) {
|
331
329
|
internalStatus.name = `${DBOSExecutor.tempWorkflowName}-${wCtxt.tempWfOperationType}-${wCtxt.tempWfOperationName}`;
|
@@ -511,7 +509,6 @@ class DBOSExecutor {
|
|
511
509
|
const parentCtx = this.#getRecoveryContext(workflowUUID, wfStatus);
|
512
510
|
const wfInfo = this.workflowInfoMap.get(wfStatus.workflowName);
|
513
511
|
if (wfInfo) {
|
514
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
515
512
|
return this.workflow(wfInfo.workflow, { workflowUUID: workflowUUID, parentCtx: parentCtx ?? undefined }, ...inputs);
|
516
513
|
}
|
517
514
|
// Should be temporary workflows. Parse the name of the workflow.
|
@@ -529,7 +526,6 @@ class DBOSExecutor {
|
|
529
526
|
}
|
530
527
|
temp_workflow = async (ctxt, ...args) => {
|
531
528
|
const ctxtImpl = ctxt;
|
532
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return, @typescript-eslint/no-unsafe-argument
|
533
529
|
return await ctxtImpl.transaction(txnInfo.transaction, ...args);
|
534
530
|
};
|
535
531
|
}
|
@@ -541,13 +537,11 @@ class DBOSExecutor {
|
|
541
537
|
}
|
542
538
|
temp_workflow = async (ctxt, ...args) => {
|
543
539
|
const ctxtImpl = ctxt;
|
544
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return, @typescript-eslint/no-unsafe-argument
|
545
540
|
return await ctxtImpl.external(commInfo.communicator, ...args);
|
546
541
|
};
|
547
542
|
}
|
548
543
|
else if (nameArr[1] === TempWorkflowType.send) {
|
549
544
|
temp_workflow = async (ctxt, ...args) => {
|
550
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
551
545
|
return await ctxt.send(args[0], args[1], args[2]);
|
552
546
|
};
|
553
547
|
}
|
@@ -555,7 +549,6 @@ class DBOSExecutor {
|
|
555
549
|
this.logger.error(`Unrecognized temporary workflow! UUID ${workflowUUID}, name ${wfName}`);
|
556
550
|
throw new error_1.DBOSNotRegisteredError(wfName);
|
557
551
|
}
|
558
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
559
552
|
return this.workflow(temp_workflow, { workflowUUID: workflowUUID, parentCtx: parentCtx ?? undefined }, ...inputs);
|
560
553
|
}
|
561
554
|
// NOTE: this creates a new span, it does not inherit the span from the original workflow
|
@@ -618,7 +611,6 @@ class DBOSExecutor {
|
|
618
611
|
}
|
619
612
|
}
|
620
613
|
this.logger.debug(sqlStmt);
|
621
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
622
614
|
await this.userDatabase.query(sqlStmt, ...values);
|
623
615
|
// Clean up after each batch succeeds
|
624
616
|
batchUUIDs.forEach((value) => { localBuffer.delete(value); });
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dbos-executor.js","sourceRoot":"","sources":["../../src/dbos-executor.ts"],"names":[],"mappings":";;;;;;AAAA,uDAAuD;AACvD,mCAMiB;AACjB,yCAYoB;AAIpB,qDAA2D;AAC3D,+CAA4C;AAC5C,2CAA0D;AAC1D,qDAA0D;AAG1D,uDAAmG;AACnG,+BAAoC;AACpC,mDAOyB;AACzB,6CAAiI;AACjI,4CAAoD;AACpD,gDAAkC;AAClC,uCAAyD;AAEzD,8DAAiE;AACjE,qDAAiD;AACjD,mCAAkC;AAGrB,QAAA,QAAQ,GAAa,EAAE,CAAC;AAuCxB,QAAA,aAAa,GAAG;IAC3B,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;CACpB,CAAC;AAEX,MAAM,gBAAgB,GAAG;IACvB,WAAW,EAAE,aAAa;IAC1B,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;CACJ,CAAC;AAEX,MAAa,YAAY;IA8CF;IA7CrB,WAAW,CAAU;IACrB,gBAAgB;IAChB,YAAY,GAAiB,IAA+B,CAAC;IAC7D,kBAAkB;IACT,cAAc,CAAiB;IAExC,oGAAoG;IACpG,MAAM,CAAU,gBAAgB,GAAG,eAAe,CAAC;IAE1C,eAAe,GAA8B,IAA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AA0B,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;gBACvE,CAAC;YACH,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;;AA1oBH,oCA2oBC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/dbos-runtime/config.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAEhC,OAAO,EAAE,iBAAiB,EAAqB,MAAM,WAAW,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/dbos-runtime/config.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAEhC,OAAO,EAAE,iBAAiB,EAAqB,MAAM,WAAW,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAK/C,eAAO,MAAM,kBAAkB,qBAAqB,CAAC;AAKrD,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE;QACR,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,uBAAuB,CAAC,EAAE,MAAM,CAAC;QACjC,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,GAAG,CAAC,EAAE,OAAO,CAAC;QACd,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,aAAa,CAAC,EAAE,gBAAgB,CAAC;QACjC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;KACrB,CAAC;IACF,IAAI,CAAC,EAAE;QACL,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;KAC5B,CAAC;IACF,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5B,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC;AAOD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAKzD;AAED,wBAAgB,cAAc,CAAC,cAAc,EAAE,MAAM,GAAG,UAAU,CAajE;AAED,wBAAgB,eAAe,CAAC,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,QAW7E;AAED,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,GAAE,OAAe,cA8CpF;AAoBD,wBAAgB,eAAe,CAAC,UAAU,CAAC,EAAE,mBAAmB,EAAE,QAAQ,GAAE,OAAe,GAAG,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAiE5H"}
|
@@ -9,7 +9,6 @@ const utils_1 = require("../utils");
|
|
9
9
|
const yaml_1 = __importDefault(require("yaml"));
|
10
10
|
const runtime_1 = require("./runtime");
|
11
11
|
const user_database_1 = require("../user_database");
|
12
|
-
const applicationVersion_1 = require("./applicationVersion");
|
13
12
|
const fs_1 = require("fs");
|
14
13
|
const ajv_1 = __importDefault(require("ajv"));
|
15
14
|
const path_1 = __importDefault(require("path"));
|
@@ -142,7 +141,6 @@ function parseConfigFile(cliOptions, useProxy = false) {
|
|
142
141
|
const errorMessages = prettyPrintAjvErrors(validator);
|
143
142
|
throw new error_1.DBOSInitializationError(`dbos-config.yaml failed schema validation. ${errorMessages}`);
|
144
143
|
}
|
145
|
-
(0, applicationVersion_1.setApplicationVersion)(configFile.version);
|
146
144
|
/*******************************/
|
147
145
|
/* Handle user database config */
|
148
146
|
/*******************************/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../src/dbos-runtime/config.ts"],"names":[],"mappings":";;;;;;AAAA,oCAAmD;AACnD,oCAAyD;AAGzD,gDAAwB;AACxB,uCAAiE;AACjE,oDAAoD;AAGpD,
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../src/dbos-runtime/config.ts"],"names":[],"mappings":";;;;;;AAAA,oCAAmD;AACnD,oCAAyD;AAGzD,gDAAwB;AACxB,uCAAiE;AACjE,oDAAoD;AAGpD,2BAAmC;AACnC,8CAA4C;AAC5C,gDAAwB;AAEX,QAAA,kBAAkB,GAAG,kBAAkB,CAAC;AACrD,MAAM,oBAAoB,GAAG,cAAI,CAAC,IAAI,CAAC,IAAA,uBAAe,EAAC,SAAS,CAAC,EAAE,yBAAyB,CAAC,CAAC;AAC9F,MAAM,gBAAgB,GAAG,IAAI,CAAC,KAAK,CAAC,IAAA,oBAAY,EAAC,oBAAoB,CAAC,CAAW,CAAC;AAClF,MAAM,GAAG,GAAG,IAAI,aAAG,CAAC,EAAC,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC,CAAC;AA6BtD;;;;GAIG;AACH,SAAgB,iBAAiB,CAAC,OAAe;IAC/C,MAAM,KAAK,GAAG,cAAc,CAAC,CAAC,gDAAgD;IAC9E,OAAO,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,EAAU,EAAE,EAAE;QAC9C,O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AAO,EAAgB,UAAU,EAAE,MAAM,kBAAkB,CAAC;
|
1
|
+
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../src/dbos-runtime/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAe5D,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;CACd;AACD,eAAO,MAAM,iBAAiB,uBAAuB,CAAC;AAEtD,qBAAa,WAAW;IAOc,OAAO,CAAC,QAAQ,CAAC,aAAa;IANlE,OAAO,CAAC,UAAU,CAAa;IAC/B,OAAO,CAAC,QAAQ,CAA6B;IAC7C,OAAO,CAAC,OAAO,CAAyD;IACxE,OAAO,CAAC,KAAK,CAA0B;IACvC,OAAO,CAAC,SAAS,CAA8B;gBAEnC,UAAU,EAAE,UAAU,EAAmB,aAAa,EAAE,iBAAiB;IAKrF;;OAEG;IACG,YAAY;IA6BlB;;OAEG;WACU,WAAW,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAyBlE,SAAS,IAAI,IAAI;IAOjB;;OAEG;IACG,OAAO;CASd"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../../src/dbos-runtime/runtime.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAA4D;AAC5D,iDAAsD;AACtD,uCAAyB;AACzB,mCAAkC;AAClC,oCAAuD;AACvD,0DAA6B;AAE7B,6BAAoC;AACpC,0CAA2C;AAC3C,sDAAuD;
|
1
|
+
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../../src/dbos-runtime/runtime.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAA4D;AAC5D,iDAAsD;AACtD,uCAAyB;AACzB,mCAAkC;AAClC,oCAAuD;A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AAC,WAAW,CAAC,KAAK,EAAE,CAAC;QACnC,CAAC;QACD,MAAM,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,CAAC;IACjC,CAAC;CACF;AA3FD,kCA2FC"}
|
@@ -25,15 +25,15 @@ export declare class WorkflowContextDebug extends DBOSContextImpl implements Wor
|
|
25
25
|
* Execute a transactional function in debug mode.
|
26
26
|
* If a debug proxy is provided, it connects to a debug proxy and everything should be read-only.
|
27
27
|
*/
|
28
|
-
transaction<
|
29
|
-
external<
|
30
|
-
startChildWorkflow<
|
31
|
-
invokeChildWorkflow<
|
32
|
-
childWorkflow<
|
33
|
-
send
|
34
|
-
recv<T extends NonNullable<
|
35
|
-
setEvent
|
36
|
-
getEvent<T extends NonNullable<
|
28
|
+
transaction<R>(txn: Transaction<R>, ...args: unknown[]): Promise<R>;
|
29
|
+
external<R>(commFn: Communicator<R>, ..._args: unknown[]): Promise<R>;
|
30
|
+
startChildWorkflow<R>(wf: Workflow<R>, ...args: unknown[]): Promise<WorkflowHandle<R>>;
|
31
|
+
invokeChildWorkflow<R>(wf: Workflow<R>, ...args: unknown[]): Promise<R>;
|
32
|
+
childWorkflow<R>(wf: Workflow<R>, ...args: unknown[]): Promise<WorkflowHandle<R>>;
|
33
|
+
send(_destinationUUID: string, _message: NonNullable<unknown>, _topic?: string | undefined): Promise<void>;
|
34
|
+
recv<T extends NonNullable<unknown>>(_topic?: string | undefined, _timeoutSeconds?: number | undefined): Promise<T | null>;
|
35
|
+
setEvent(_key: string, _value: NonNullable<unknown>): Promise<void>;
|
36
|
+
getEvent<T extends NonNullable<unknown>>(_workflowUUID: string, _key: string, _timeoutSeconds?: number | undefined): Promise<T | null>;
|
37
37
|
retrieveWorkflow<R>(targetUUID: string): WorkflowHandle<R>;
|
38
38
|
sleepms(_: number): Promise<void>;
|
39
39
|
sleep(s: number): Promise<void>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"debug_workflow.d.ts","sourceRoot":"","sources":["../../../src/debugger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CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;IAY5I,gBAAgB,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,GAAG,cAAc,CAAC,CAAC,CAAC;IAMpD,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAKjC,KAAK,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAGtC"}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.WorkflowContextDebug = void 0;
|
4
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
5
4
|
const dbos_executor_1 = require("../dbos-executor");
|
6
5
|
const transaction_1 = require("../transaction");
|
7
6
|
const error_1 = require("../error");
|
@@ -38,12 +37,11 @@ class WorkflowContextDebug extends context_1.DBOSContextImpl {
|
|
38
37
|
const ops = (0, decorators_1.getRegisteredOperations)(object);
|
39
38
|
const proxy = {};
|
40
39
|
for (const op of ops) {
|
41
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
42
40
|
proxy[op.name] = op.txnConfig
|
43
|
-
?
|
41
|
+
?
|
44
42
|
(...args) => this.transaction(op.registeredFunction, ...args)
|
45
43
|
: op.commConfig
|
46
|
-
?
|
44
|
+
?
|
47
45
|
(...args) => this.external(op.registeredFunction, ...args)
|
48
46
|
: undefined;
|
49
47
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"debug_workflow.js","sourceRoot":"","sources":["../../../src/debugger/debug_workflow.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"debug_workflow.js","sourceRoot":"","sources":["../../../src/debugger/debug_workflow.ts"],"names":[],"mappings":";;;AAAC,oDAAmF;AAEpF,gDAAqE;AAErE,oCAA6C;AAC7C,qDAAmD;AAInD,wCAA6C;AAC7C,8CAAwD;AASxD;;GAEG;A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AAC;QAC9J,IAAI,KAAK,KAAK,wBAAQ,EAAE,CAAC;YACvB,MAAM,IAAI,yBAAiB,CAAC,uEAAuE,CAAC,CAAC;QACvG,CAAC;QACD,OAAO,KAA8B,CAAC;IACxC,CAAC;IAED,KAAK,CAAC,SAAS;QACb,OAAO,MAAM,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAI,IAAI,CAAC,YAAY,CAAC,CAAC;IAC3E,CAAC;CACF"}
|
@@ -19,8 +19,8 @@ export interface HandlerContext extends DBOSContext {
|
|
19
19
|
invokeWorkflow<T extends object>(targetClass: T, workflowUUID?: string): SyncHandlerWfFuncs<T>;
|
20
20
|
startWorkflow<T extends object>(targetClass: T, workflowUUID?: string): AsyncHandlerWfFuncs<T>;
|
21
21
|
retrieveWorkflow<R>(workflowUUID: string): WorkflowHandle<R>;
|
22
|
-
send
|
23
|
-
getEvent<T extends NonNullable<
|
22
|
+
send(destinationUUID: string, message: NonNullable<unknown>, topic?: string, idempotencyKey?: string): Promise<void>;
|
23
|
+
getEvent<T extends NonNullable<unknown>>(workflowUUID: string, key: string, timeoutSeconds?: number): Promise<T | null>;
|
24
24
|
}
|
25
25
|
export declare const RequestIDHeader = "x-request-id";
|
26
26
|
export declare class HandlerContextImpl extends DBOSContextImpl implements HandlerContext {
|
@@ -28,8 +28,8 @@ export declare class HandlerContextImpl extends DBOSContextImpl implements Handl
|
|
28
28
|
readonly koaContext: Koa.Context;
|
29
29
|
readonly W3CTraceContextPropagator: W3CTraceContextPropagator;
|
30
30
|
constructor(dbosExec: DBOSExecutor, koaContext: Koa.Context);
|
31
|
-
send
|
32
|
-
getEvent<T extends NonNullable<
|
31
|
+
send(destinationUUID: string, message: NonNullable<unknown>, topic?: string, idempotencyKey?: string): Promise<void>;
|
32
|
+
getEvent<T extends NonNullable<unknown>>(workflowUUID: string, key: string, timeoutSeconds?: number): Promise<T | null>;
|
33
33
|
retrieveWorkflow<R>(workflowUUID: string): WorkflowHandle<R>;
|
34
34
|
/**
|
35
35
|
* Generate a proxy object for the provided class that wraps direct calls (i.e. OpClass.someMethod(param))
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../src/httpServer/handler.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../src/httpServer/handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAA8D,sBAAsB,EAA2B,MAAM,eAAe,CAAC;AACjL,OAAO,EAAE,YAAY,EAAiB,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,EAAY,cAAc,EAAE,cAAc,EAAkB,eAAe,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEvH,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAKhE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAItD,KAAK,MAAM,GAAG,CAAC,IAAI,EAAE,eAAe,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;AACtE,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,aAAa,CAAC,CAAC,CAAC,GAAG,mBAAmB,CAAC,CAAC,CAAC,CAAC;AAEvE,MAAM,MAAM,mBAAmB,CAAC,CAAC,IAAI;KAClC,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GAAG,CAAC,GAAG,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GAAG,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,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