@dbos-inc/dbos-sdk 1.11.6-preview → 1.11.10-preview

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. package/dbos-config.schema.json +4 -1
  2. package/dist/src/communicator.d.ts +1 -1
  3. package/dist/src/communicator.d.ts.map +1 -1
  4. package/dist/src/context.d.ts +0 -2
  5. package/dist/src/context.d.ts.map +1 -1
  6. package/dist/src/context.js +2 -3
  7. package/dist/src/context.js.map +1 -1
  8. package/dist/src/dbos-executor.d.ts +11 -11
  9. package/dist/src/dbos-executor.d.ts.map +1 -1
  10. package/dist/src/dbos-executor.js +11 -3
  11. package/dist/src/dbos-executor.js.map +1 -1
  12. package/dist/src/dbos-runtime/applicationVersion.d.ts +3 -0
  13. package/dist/src/dbos-runtime/applicationVersion.d.ts.map +1 -0
  14. package/dist/src/dbos-runtime/applicationVersion.js +13 -0
  15. package/dist/src/dbos-runtime/applicationVersion.js.map +1 -0
  16. package/dist/src/dbos-runtime/config.d.ts.map +1 -1
  17. package/dist/src/dbos-runtime/config.js +2 -0
  18. package/dist/src/dbos-runtime/config.js.map +1 -1
  19. package/dist/src/dbos-runtime/runtime.d.ts.map +1 -1
  20. package/dist/src/dbos-runtime/runtime.js.map +1 -1
  21. package/dist/src/debugger/debug_workflow.d.ts +9 -9
  22. package/dist/src/debugger/debug_workflow.d.ts.map +1 -1
  23. package/dist/src/debugger/debug_workflow.js +4 -2
  24. package/dist/src/debugger/debug_workflow.js.map +1 -1
  25. package/dist/src/httpServer/handler.d.ts +4 -4
  26. package/dist/src/httpServer/handler.d.ts.map +1 -1
  27. package/dist/src/httpServer/handler.js +7 -0
  28. package/dist/src/httpServer/handler.js.map +1 -1
  29. package/dist/src/httpServer/server.js.map +1 -1
  30. package/dist/src/kafka/kafka.js.map +1 -1
  31. package/dist/src/scheduler/scheduler.js.map +1 -1
  32. package/dist/src/system_database.d.ts +15 -17
  33. package/dist/src/system_database.d.ts.map +1 -1
  34. package/dist/src/system_database.js +8 -38
  35. package/dist/src/system_database.js.map +1 -1
  36. package/dist/src/telemetry/logs.d.ts.map +1 -1
  37. package/dist/src/telemetry/logs.js +4 -6
  38. package/dist/src/telemetry/logs.js.map +1 -1
  39. package/dist/src/telemetry/traces.d.ts +0 -1
  40. package/dist/src/telemetry/traces.d.ts.map +1 -1
  41. package/dist/src/telemetry/traces.js +2 -5
  42. package/dist/src/telemetry/traces.js.map +1 -1
  43. package/dist/src/testing/testing_runtime.d.ts +6 -6
  44. package/dist/src/testing/testing_runtime.d.ts.map +1 -1
  45. package/dist/src/testing/testing_runtime.js +7 -0
  46. package/dist/src/testing/testing_runtime.js.map +1 -1
  47. package/dist/src/transaction.d.ts +1 -1
  48. package/dist/src/transaction.d.ts.map +1 -1
  49. package/dist/src/transaction.js.map +1 -1
  50. package/dist/src/user_database.d.ts.map +1 -1
  51. package/dist/src/user_database.js +4 -1
  52. package/dist/src/user_database.js.map +1 -1
  53. package/dist/src/workflow.d.ts +19 -19
  54. package/dist/src/workflow.d.ts.map +1 -1
  55. package/dist/src/workflow.js +5 -0
  56. package/dist/src/workflow.js.map +1 -1
  57. package/dist/tsconfig.build.tsbuildinfo +1 -1
  58. package/package.json +3 -3
@@ -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(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>;
22
+ send<T extends NonNullable<any>>(destinationUUID: string, message: T, topic?: string, idempotencyKey?: string): Promise<void>;
23
+ getEvent<T extends NonNullable<any>>(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(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>;
31
+ send<T extends NonNullable<any>>(destinationUUID: string, message: T, topic?: string, idempotencyKey?: string): Promise<void>;
32
+ getEvent<T extends NonNullable<any>>(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":"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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AQ,MAAM,CAAC,CAAC,uFAUlG;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,2EAEvB,MAAM,eACD,MAAM,gBACL,wBAAwB,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,IAAI,KAAK,QAAQ,MAAM,CAAC,CAAC,uFAUlG;AAMD,wBAAgB,SAAS,CAAC,MAAM,EAAE,UAAU,YACjB,MAAM,eAAe,MAAM,GAAG,MAAM,kBAAkB,MAAM,UAMtF"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ArgSource = exports.PostApi = exports.GetApi = exports.HandlerParameter = exports.HandlerRegistration = exports.HandlerContextImpl = exports.RequestIDHeader = void 0;
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
4
5
  const decorators_1 = require("../decorators");
5
6
  const dbos_executor_1 = require("../dbos-executor");
6
7
  const context_1 = require("../context");
@@ -87,16 +88,22 @@ class HandlerContextImpl extends context_1.DBOSContextImpl {
87
88
  const params = { workflowUUID: workflowUUID, parentCtx: this };
88
89
  for (const op of ops) {
89
90
  if (asyncWf) {
91
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
90
92
  proxy[op.name] = op.txnConfig
93
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
91
94
  ? (...args) => this.#transaction(op.registeredFunction, params, ...args)
92
95
  : op.workflowConfig
96
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
93
97
  ? (...args) => this.#workflow(op.registeredFunction, params, ...args)
94
98
  : op.commConfig
99
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
95
100
  ? (...args) => this.#external(op.registeredFunction, params, ...args)
96
101
  : undefined;
97
102
  }
98
103
  else {
104
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
99
105
  proxy[op.name] = op.workflowConfig
106
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
100
107
  ? (...args) => this.#workflow(op.registeredFunction, params, ...args).then((handle) => handle.getResult())
101
108
  : undefined;
102
109
  }
@@ -1 +1 @@
1
- {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../src/httpServer/handler.ts"],"names":[],"mappings":";;;AAAA,8CAAiL;AACjL,oDAA+D;AAC/D,wCAA0D;AAI1D,8CAAgE;AAChE,4CAA+E;AAE/E,+BAAoC;AAEpC,iDAAsD;AAyBzC,QAAA,eAAe,GAAG,cAAc,CAAC;AAC9C,SAAS,sBAAsB,CAAC,GAAgB;IAC9C,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,uBAAe,CAAC,CAAC;IACvC,IAAI,KAAK,EAAE,CAAC;QACV,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,KAAK,GAAG,IAAA,SAAM,GAAE,CAAC;IACvB,GAAG,CAAC,GAAG,CAAC,uBAAe,EAAE,KAAK,CAAC,CAAC;IAChC,OAAO,KAAK,CAAC;AACf,CAAC;AAED,MAAa,kBAAmB,SAAQ,yBAAe;IAIR;IAHpC,SAAS,CAAe;IACxB,yBAAyB,CAA4B;IAE9D,YAAY,QAAsB,EAAW,UAAuB;QAClE,sCAAsC;QACtC,MAAM,SAAS,GAAG,sBAAsB,CAAC,UAAU,CAAC,CAAC;QAErD,0DAA0D;QAC1D,MAAM,UAAU,GAAG,IAAI,gCAAyB,EAAE,CAAC;QACnD,MAAM,oBAAoB,GAAG,WAAK,CAAC,cAAc,CAC7C,UAAU,CAAC,OAAO,CAAC,kBAAY,EAAE,UAAU,CAAC,OAAO,CAAC,OAAO,EAAE,0BAAoB,CAAC,CACrF,CAAA;QACD,IAAI,IAAU,CAAC;QACf,MAAM,cAAc,GAAG;YACrB,aAAa,EAAE,6BAAa,CAAC,OAAO;YACpC,SAAS,EAAE,SAAS;YACpB,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,EAAE;YAChC,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,GAAG;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AC;IAEO,OAAO,CAAC,EAAU;QACtB,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;IAC3D,CAAC;CACJ"}
@@ -7,23 +7,23 @@ export interface SystemDatabase {
7
7
  init(): Promise<void>;
8
8
  destroy(): Promise<void>;
9
9
  checkWorkflowOutput<R>(workflowUUID: string): Promise<DBOSNull | R>;
10
- initWorkflowStatus<T extends unknown[]>(bufferedStatus: WorkflowStatusInternal, args: T): Promise<T>;
10
+ initWorkflowStatus<T extends any[]>(bufferedStatus: WorkflowStatusInternal, args: T): Promise<T>;
11
11
  bufferWorkflowOutput(workflowUUID: string, status: WorkflowStatusInternal): void;
12
12
  flushWorkflowSystemBuffers(): Promise<void>;
13
13
  recordWorkflowError(workflowUUID: string, status: WorkflowStatusInternal): Promise<void>;
14
14
  getPendingWorkflows(executorID: string): Promise<Array<string>>;
15
- bufferWorkflowInputs<T extends unknown[]>(workflowUUID: string, args: T): void;
16
- getWorkflowInputs<T extends unknown[]>(workflowUUID: string): Promise<T | null>;
15
+ bufferWorkflowInputs<T extends any[]>(workflowUUID: string, args: T): void;
16
+ getWorkflowInputs<T extends any[]>(workflowUUID: string): Promise<T | null>;
17
17
  checkOperationOutput<R>(workflowUUID: string, functionID: number): Promise<DBOSNull | R>;
18
18
  recordOperationOutput<R>(workflowUUID: string, functionID: number, output: R): Promise<void>;
19
19
  recordOperationError(workflowUUID: string, functionID: number, error: Error): Promise<void>;
20
20
  getWorkflowStatus(workflowUUID: string, callerUUID?: string, functionID?: number): Promise<WorkflowStatus | null>;
21
21
  getWorkflowResult<R>(workflowUUID: string): Promise<R>;
22
22
  sleepms(workflowUUID: string, functionID: number, duration: number): Promise<void>;
23
- send(workflowUUID: string, functionID: number, destinationUUID: string, message: NonNullable<unknown>, topic?: string): Promise<void>;
24
- recv<T extends NonNullable<unknown>>(workflowUUID: string, functionID: number, topic?: string, timeoutSeconds?: number): Promise<T | null>;
25
- setEvent(workflowUUID: string, functionID: number, key: string, value: NonNullable<unknown>): Promise<void>;
26
- getEvent<T extends NonNullable<unknown>>(workflowUUID: string, key: string, timeoutSeconds: number, callerUUID?: string, functionID?: number): Promise<T | null>;
23
+ send<T extends NonNullable<any>>(workflowUUID: string, functionID: number, destinationUUID: string, message: T, topic?: string): Promise<void>;
24
+ recv<T extends NonNullable<any>>(workflowUUID: string, functionID: number, topic?: string, timeoutSeconds?: number): Promise<T | null>;
25
+ setEvent<T extends NonNullable<any>>(workflowUUID: string, functionID: number, key: string, value: T): Promise<void>;
26
+ getEvent<T extends NonNullable<any>>(workflowUUID: string, key: string, timeoutSeconds: number, callerUUID?: string, functionID?: number): Promise<T | null>;
27
27
  getLastScheduledTime(wfn: string): Promise<number | null>;
28
28
  setLastScheduledTime(wfn: string, invtime: number): Promise<number | null>;
29
29
  }
@@ -38,8 +38,6 @@ export interface WorkflowStatusInternal {
38
38
  authenticatedRoles: string[];
39
39
  request: HTTPRequest;
40
40
  executorID: string;
41
- applicationVersion: string;
42
- applicationID: string;
43
41
  createdAt: number;
44
42
  }
45
43
  export interface ExistenceCheck {
@@ -56,14 +54,14 @@ export declare class PostgresSystemDatabase implements SystemDatabase {
56
54
  readonly notificationsMap: Record<string, () => void>;
57
55
  readonly workflowEventsMap: Record<string, () => void>;
58
56
  readonly workflowStatusBuffer: Map<string, WorkflowStatusInternal>;
59
- readonly workflowInputsBuffer: Map<string, unknown[]>;
57
+ readonly workflowInputsBuffer: Map<string, any[]>;
60
58
  readonly flushBatchSize = 100;
61
59
  static readonly connectionTimeoutMillis = 10000;
62
60
  constructor(pgPoolConfig: PoolConfig, systemDatabaseName: string, logger: Logger);
63
61
  init(): Promise<void>;
64
62
  destroy(): Promise<void>;
65
63
  checkWorkflowOutput<R>(workflowUUID: string): Promise<DBOSNull | R>;
66
- initWorkflowStatus<T extends unknown[]>(initStatus: WorkflowStatusInternal, args: T): Promise<T>;
64
+ initWorkflowStatus<T extends any[]>(initStatus: WorkflowStatusInternal, args: T): Promise<T>;
67
65
  bufferWorkflowOutput(workflowUUID: string, status: WorkflowStatusInternal): void;
68
66
  /**
69
67
  * Flush the workflow output buffer and the input buffer to the database.
@@ -72,9 +70,9 @@ export declare class PostgresSystemDatabase implements SystemDatabase {
72
70
  flushWorkflowStatusBuffer(): Promise<void>;
73
71
  recordWorkflowError(workflowUUID: string, status: WorkflowStatusInternal): Promise<void>;
74
72
  getPendingWorkflows(executorID: string): Promise<Array<string>>;
75
- bufferWorkflowInputs<T extends unknown[]>(workflowUUID: string, args: T): void;
73
+ bufferWorkflowInputs<T extends any[]>(workflowUUID: string, args: T): void;
76
74
  flushWorkflowInputsBuffer(): Promise<void>;
77
- getWorkflowInputs<T extends unknown[]>(workflowUUID: string): Promise<T | null>;
75
+ getWorkflowInputs<T extends any[]>(workflowUUID: string): Promise<T | null>;
78
76
  checkOperationOutput<R>(workflowUUID: string, functionID: number): Promise<DBOSNull | R>;
79
77
  recordOperationOutput<R>(workflowUUID: string, functionID: number, output: R): Promise<void>;
80
78
  recordOperationError(workflowUUID: string, functionID: number, error: Error): Promise<void>;
@@ -84,10 +82,10 @@ export declare class PostgresSystemDatabase implements SystemDatabase {
84
82
  recordNotificationOutput<R>(client: PoolClient, workflowUUID: string, functionID: number, output: R): Promise<void>;
85
83
  sleepms(workflowUUID: string, functionID: number, durationMS: number): Promise<void>;
86
84
  readonly nullTopic = "__null__topic__";
87
- send(workflowUUID: string, functionID: number, destinationUUID: string, message: NonNullable<unknown>, topic?: string): Promise<void>;
88
- recv<T extends NonNullable<unknown>>(workflowUUID: string, functionID: number, topic?: string, timeoutSeconds?: number): Promise<T | null>;
89
- setEvent(workflowUUID: string, functionID: number, key: string, message: NonNullable<unknown>): Promise<void>;
90
- getEvent<T extends NonNullable<unknown>>(workflowUUID: string, key: string, timeoutSeconds: number, callerUUID?: string, functionID?: number): Promise<T | null>;
85
+ send<T extends NonNullable<any>>(workflowUUID: string, functionID: number, destinationUUID: string, message: T, topic?: string): Promise<void>;
86
+ recv<T extends NonNullable<any>>(workflowUUID: string, functionID: number, topic?: string, timeoutSeconds?: number): Promise<T | null>;
87
+ setEvent<T extends NonNullable<any>>(workflowUUID: string, functionID: number, key: string, message: T): Promise<void>;
88
+ getEvent<T extends NonNullable<any>>(workflowUUID: string, key: string, timeoutSeconds: number, callerUUID?: string, functionID?: number): Promise<T | null>;
91
89
  getWorkflowStatus(workflowUUID: string, callerUUID?: string, functionID?: number): Promise<WorkflowStatus | null>;
92
90
  getWorkflowResult<R>(workflowUUID: string): Promise<R>;
93
91
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"system_database.d.ts","sourceRoot":"","sources":["../../src/system_database.ts"],"names":[],"mappings":"AACA,OAAO,EAA0B,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAiB,IAAI,EAAE,UAAU,EAAgB,UAAU,EAAU,MAAM,IAAI,CAAC;AAEvF,OAAO,EAAgB,cAAc,EAAE,MAAM,YAAY,CAAC;AAG1D,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAI1D,MAAM,WAAW,cAAc;IAC7B,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACtB,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEzB,mBAAmB,CAAC,CAAC,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC;IACpE,kBAAkB,CAAC,CAAC,SAAS,OAAO,EAAE,EAAE,cAAc,EAAE,sBAAsB,EAAE,IAAI,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IACrG,oBAAoB,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACjF,0BAA0B,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC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,CAAC;IAkC9I,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,GAAG,CAAC,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,cAAc,GAAE,MAAmD,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;IA4DlL,QAAQ,CAAC,CAAC,SAAS,WAAW,CAAC,GAAG,CAAC,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAwBtH,QAAQ,CAAC,CAAC,SAAS,WAAW,CAAC,GAAG,CAAC,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;IAiD5J,iBAAiB,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;IA6BjH,iBAAiB,CAAC,CAAC,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC;IAkB5D;;;OAGG;IACG,sBAAsB;IAmBtB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAYzD,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;CAWjF"}
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ /* eslint-disable @typescript-eslint/no-explicit-any */
2
3
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
4
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
5
  };
@@ -82,22 +83,7 @@ class PostgresSystemDatabase {
82
83
  }
83
84
  }
84
85
  async initWorkflowStatus(initStatus, args) {
85
- await this.pool.query(`INSERT INTO ${dbos_executor_1.DBOSExecutor.systemDBSchemaName}.workflow_status (workflow_uuid, status, name, authenticated_user, assumed_role, authenticated_roles, request, output, executor_id, application_version, application_id, created_at)
86
- VALUES($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12)
87
- ON CONFLICT (workflow_uuid) DO NOTHING`, [
88
- initStatus.workflowUUID,
89
- initStatus.status,
90
- initStatus.name,
91
- initStatus.authenticatedUser,
92
- initStatus.assumedRole,
93
- JSON.stringify(initStatus.authenticatedRoles),
94
- JSON.stringify(initStatus.request),
95
- null,
96
- initStatus.executorID,
97
- initStatus.applicationVersion,
98
- initStatus.applicationID,
99
- initStatus.createdAt,
100
- ]);
86
+ await this.pool.query(`INSERT INTO ${dbos_executor_1.DBOSExecutor.systemDBSchemaName}.workflow_status (workflow_uuid, status, name, authenticated_user, assumed_role, authenticated_roles, request, output, executor_id, created_at) VALUES($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (workflow_uuid) DO NOTHING`, [initStatus.workflowUUID, initStatus.status, initStatus.name, initStatus.authenticatedUser, initStatus.assumedRole, JSON.stringify(initStatus.authenticatedRoles), JSON.stringify(initStatus.request), null, initStatus.executorID, initStatus.createdAt]);
101
87
  const { rows } = await this.pool.query(`INSERT INTO ${dbos_executor_1.DBOSExecutor.systemDBSchemaName}.workflow_inputs (workflow_uuid, inputs) VALUES($1, $2) ON CONFLICT (workflow_uuid) DO UPDATE SET workflow_uuid = excluded.workflow_uuid RETURNING inputs`, [initStatus.workflowUUID, JSON.stringify(args, utils_1.DBOSReplacer)]);
102
88
  return JSON.parse(rows[0].inputs, utils_1.DBOSReviver);
103
89
  }
@@ -119,7 +105,7 @@ class PostgresSystemDatabase {
119
105
  try {
120
106
  let finishedCnt = 0;
121
107
  while (finishedCnt < totalSize) {
122
- let sqlStmt = `INSERT INTO ${dbos_executor_1.DBOSExecutor.systemDBSchemaName}.workflow_status (workflow_uuid, status, name, authenticated_user, assumed_role, authenticated_roles, request, output, executor_id, application_version, application_id, created_at, updated_at) VALUES `;
108
+ let sqlStmt = `INSERT INTO ${dbos_executor_1.DBOSExecutor.systemDBSchemaName}.workflow_status (workflow_uuid, status, name, authenticated_user, assumed_role, authenticated_roles, request, output, executor_id, created_at, updated_at) VALUES `;
123
109
  let paramCnt = 1;
124
110
  const values = [];
125
111
  const batchUUIDs = [];
@@ -127,8 +113,8 @@ class PostgresSystemDatabase {
127
113
  if (paramCnt > 1) {
128
114
  sqlStmt += ", ";
129
115
  }
130
- sqlStmt += `($${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++})`;
131
- values.push(workflowUUID, status.status, status.name, status.authenticatedUser, status.assumedRole, JSON.stringify(status.authenticatedRoles), JSON.stringify(status.request), JSON.stringify(status.output), status.executorID, status.applicationVersion, status.applicationID, status.createdAt, Date.now());
116
+ sqlStmt += `($${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++})`;
117
+ values.push(workflowUUID, status.status, status.name, status.authenticatedUser, status.assumedRole, JSON.stringify(status.authenticatedRoles), JSON.stringify(status.request), JSON.stringify(status.output), status.executorID, status.createdAt, Date.now());
132
118
  batchUUIDs.push(workflowUUID);
133
119
  finishedCnt++;
134
120
  if (batchUUIDs.length >= this.flushBatchSize) {
@@ -139,9 +125,7 @@ class PostgresSystemDatabase {
139
125
  sqlStmt += " ON CONFLICT (workflow_uuid) DO UPDATE SET status=EXCLUDED.status, output=EXCLUDED.output, updated_at=EXCLUDED.updated_at;";
140
126
  await this.pool.query(sqlStmt, values);
141
127
  // Clean up after each batch succeeds
142
- batchUUIDs.forEach((value) => {
143
- localBuffer.delete(value);
144
- });
128
+ batchUUIDs.forEach((value) => { localBuffer.delete(value); });
145
129
  }
146
130
  }
147
131
  catch (error) {
@@ -159,22 +143,8 @@ class PostgresSystemDatabase {
159
143
  return;
160
144
  }
161
145
  async recordWorkflowError(workflowUUID, status) {
162
- await this.pool.query(`INSERT INTO ${dbos_executor_1.DBOSExecutor.systemDBSchemaName}.workflow_status (workflow_uuid, status, name, authenticated_user, assumed_role, authenticated_roles, request, error, executor_id, application_id, application_version, created_at, updated_at) VALUES($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) ON CONFLICT (workflow_uuid)
163
- DO UPDATE SET status=EXCLUDED.status, error=EXCLUDED.error, updated_at=EXCLUDED.updated_at;`, [
164
- workflowUUID,
165
- workflow_1.StatusString.ERROR,
166
- status.name,
167
- status.authenticatedUser,
168
- status.assumedRole,
169
- JSON.stringify(status.authenticatedRoles),
170
- JSON.stringify(status.request),
171
- status.error,
172
- status.executorID,
173
- status.applicationID,
174
- status.applicationVersion,
175
- status.createdAt,
176
- Date.now(),
177
- ]);
146
+ await this.pool.query(`INSERT INTO ${dbos_executor_1.DBOSExecutor.systemDBSchemaName}.workflow_status (workflow_uuid, status, name, authenticated_user, assumed_role, authenticated_roles, request, error, executor_id, created_at, updated_at) VALUES($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) ON CONFLICT (workflow_uuid)
147
+ DO UPDATE SET status=EXCLUDED.status, error=EXCLUDED.error, updated_at=EXCLUDED.updated_at;`, [workflowUUID, workflow_1.StatusString.ERROR, status.name, status.authenticatedUser, status.assumedRole, JSON.stringify(status.authenticatedRoles), JSON.stringify(status.request), status.error, status.executorID, status.createdAt, Date.now()]);
178
148
  }
179
149
  async getPendingWorkflows(executorID) {
180
150
  const { rows } = await this.pool.query(`SELECT workflow_uuid FROM ${dbos_executor_1.DBOSExecutor.systemDBSchemaName}.workflow_status WHERE status=$1 AND executor_id=$2`, [workflow_1.StatusString.PENDING, executorID]);
@@ -1 +1 @@
1
- {"version":3,"file":"system_database.js","sourceRoot":"","sources":["../../src/system_database.ts"],"names":[],"mappings":";;;;;;AAAA,qDAAmE;AACnE,mDAAmE;AACnE,2BAAuF;AACvF,mCAAmH;AACnH,yCAA0D;AAE1D,mCAA8E;AAG9E,gDAAwB;AACxB,gDAAwB;AA2DjB,KAAK,UAAU,qBAAqB,CAAC,gBAA4B;IACtE,MAAM,mBAAmB,GAAG,cAAI,CAAC,IAAI,CAAC,IAAA,uBAAe,EAAC,SAAS,CAAC,EAAE,YAAY,CAAC,CAAC;IAChF,MAAM,UAAU,GAAG;QACjB,MAAM,EAAE,IAAI;QACZ,UAAU,EAAE,gBAAgB;QAC5B,UAAU,EAAE;YACR,SAAS,EAAE,mBAAmB;YAC9B,SAAS,EAAE,iBAAiB;SAC/B;KACJ,CAAC;IACA,MAAM,MAAM,GAAG,IAAA,cAAI,EAAC,UAAU,CAAC,CAAA;IAC/B,MAAM,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,CAAA;IAC7B,MAAM,MAAM,CAAC,OAAO,EAAE,CAAA;AACxB,CAAC;AAbD,sDAaC;AAED,MAAa,sBAAsB;IAaZ;IAAmC;IAAqC;IAZpF,IAAI,CAAO;IACX,gBAAgB,CAAa;IAEtC,mBAAmB,GAAsB,IAAI,CAAC;IACrC,gBAAgB,GAA+B,EAAE,CAAC;IAClD,iBAAiB,GAA+B,EAAE,CAAC;IAEnD,oBAAoB,GAAwC,IAAI,GAAG,EAAE,CAAC;IACtE,oBAAoB,GAA2B,IAAI,GAAG,EAAE,CAAC;IACzD,cAAc,GAAG,GAAG,CAAC;IAC9B,MAAM,CAAU,uBAAuB,GAAG,KAAK,CAAC,CAAC,oBAAoB;IAErE,YAAqB,YAAwB,EAAW,kBAA0B,EAAW,MAAc;QAAtF,iBAAY,GAAZ,YAAY,CAAY;QAAW,uBAAkB,GAAlB,kBA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3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Logger = exports.GlobalLogger = void 0;
4
4
  const winston_1 = require("winston");
5
5
  const TransportStream = require("winston-transport");
6
+ const applicationVersion_1 = require("../dbos-runtime/applicationVersion");
6
7
  const api_logs_1 = require("@opentelemetry/api-logs");
7
8
  const sdk_logs_1 = require("@opentelemetry/sdk-logs");
8
9
  class GlobalLogger {
@@ -102,7 +103,7 @@ exports.Logger = Logger;
102
103
  const consoleFormat = winston_1.format.combine(winston_1.format.errors({ stack: true }), winston_1.format.timestamp(), winston_1.format.colorize(), winston_1.format.printf((info) => {
103
104
  // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
104
105
  const { timestamp, level, message, stack } = info;
105
- const applicationVersion = process.env.DBOS__APPVERSION || "";
106
+ const applicationVersion = (0, applicationVersion_1.getApplicationVersion)();
106
107
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-assignment
107
108
  const ts = timestamp.slice(0, 19).replace("T", " ");
108
109
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-assignment
@@ -117,7 +118,6 @@ class OTLPLogQueueTransport extends TransportStream {
117
118
  name = "OTLPLogQueueTransport";
118
119
  otelLogger;
119
120
  applicationID;
120
- applicationVersion;
121
121
  executorID;
122
122
  constructor(telemetryCollector, logLevel) {
123
123
  super();
@@ -126,9 +126,8 @@ class OTLPLogQueueTransport extends TransportStream {
126
126
  // not sure if we need a more explicit name here
127
127
  const loggerProvider = new sdk_logs_1.LoggerProvider();
128
128
  this.otelLogger = loggerProvider.getLogger("default");
129
- this.applicationID = process.env.DBOS__APPID || "";
130
- this.applicationVersion = process.env.DBOS__APPVERSION || "";
131
- this.executorID = process.env.DBOS__VMID || "local";
129
+ this.applicationID = process.env.DBOS__APPID || "APP_ID_NOT_DEFINED";
130
+ this.executorID = process.env.DBOS__VMID || "VM_ID_NOT_DEFINED";
132
131
  const logRecordProcessor = {
133
132
  forceFlush: async () => {
134
133
  // no-op
@@ -172,7 +171,6 @@ class OTLPLogQueueTransport extends TransportStream {
172
171
  // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
173
172
  stack,
174
173
  applicationID: this.applicationID,
175
- applicationVersion: this.applicationVersion,
176
174
  executorID: this.executorID,
177
175
  },
178
176
  });