@dbos-inc/dbos-sdk 1.24.11-preview → 1.24.15
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/schemas/system_db_schema.d.ts +8 -0
- package/dist/schemas/system_db_schema.d.ts.map +1 -1
- package/dist/src/dbos-executor.d.ts +9 -9
- package/dist/src/dbos-executor.d.ts.map +1 -1
- package/dist/src/dbos-executor.js +69 -40
- package/dist/src/dbos-executor.js.map +1 -1
- package/dist/src/dbos-runtime/cli.js +1 -1
- package/dist/src/dbos-runtime/cli.js.map +1 -1
- package/dist/src/dbos-runtime/migrate.d.ts +2 -2
- package/dist/src/dbos-runtime/runtime.d.ts +6 -0
- package/dist/src/dbos-runtime/runtime.d.ts.map +1 -1
- package/dist/src/dbos-runtime/runtime.js +14 -1
- package/dist/src/dbos-runtime/runtime.js.map +1 -1
- package/dist/src/debugger/debug_workflow.d.ts +5 -4
- package/dist/src/debugger/debug_workflow.d.ts.map +1 -1
- package/dist/src/debugger/debug_workflow.js +11 -11
- package/dist/src/debugger/debug_workflow.js.map +1 -1
- package/dist/src/decorators.d.ts +4 -4
- package/dist/src/decorators.d.ts.map +1 -1
- package/dist/src/decorators.js +3 -3
- package/dist/src/decorators.js.map +1 -1
- package/dist/src/eventreceiver.d.ts +2 -2
- package/dist/src/eventreceiver.d.ts.map +1 -1
- package/dist/src/httpServer/handler.d.ts +5 -4
- package/dist/src/httpServer/handler.d.ts.map +1 -1
- package/dist/src/httpServer/handler.js +11 -11
- package/dist/src/httpServer/handler.js.map +1 -1
- package/dist/src/index.d.ts +4 -3
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +7 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/scheduler/scheduler.d.ts +0 -1
- package/dist/src/scheduler/scheduler.d.ts.map +1 -1
- package/dist/src/scheduler/scheduler.js +0 -3
- package/dist/src/scheduler/scheduler.js.map +1 -1
- package/dist/src/{communicator.d.ts → step.d.ts} +6 -7
- package/dist/src/step.d.ts.map +1 -0
- package/dist/src/{communicator.js → step.js} +4 -4
- package/dist/src/step.js.map +1 -0
- package/dist/src/system_database.d.ts +8 -0
- package/dist/src/system_database.d.ts.map +1 -1
- package/dist/src/system_database.js +106 -7
- package/dist/src/system_database.js.map +1 -1
- package/dist/src/testing/testing_runtime.d.ts +6 -5
- package/dist/src/testing/testing_runtime.d.ts.map +1 -1
- package/dist/src/testing/testing_runtime.js +14 -6
- package/dist/src/testing/testing_runtime.js.map +1 -1
- package/dist/src/wfqueue.d.ts +28 -0
- package/dist/src/wfqueue.d.ts.map +1 -0
- package/dist/src/wfqueue.js +70 -0
- package/dist/src/wfqueue.js.map +1 -0
- package/dist/src/workflow.d.ts +15 -10
- package/dist/src/workflow.d.ts.map +1 -1
- package/dist/src/workflow.js +22 -21
- package/dist/src/workflow.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/migrations/20240924000000_workflowqueue.js +24 -0
- package/package.json +1 -1
- package/dist/src/communicator.d.ts.map +0 -1
- package/dist/src/communicator.js.map +0 -1
@@ -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;
|
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;AAqDzC,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,GA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,CAAC,uBAAQ,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAC7C,CAAC;AAFD,8BAEC;AAED,mCAAmC;AACnC,mCAAmC;AACnC,mCAAmC;AAEnC,SAAgB,SAAS,CAAC,MAAkB;IAC1C,OAAO,UAAU,MAAc,EAAE,WAA4B,EAAE,cAAsB;QACnF,MAAM,kBAAkB,GAAG,IAAA,8CAAiC,EAAC,MAAM,EAAE,WAAW,CAAC,CAAC;QAElF,MAAM,QAAQ,GAAG,kBAAkB,CAAC,cAAc,CAAqB,CAAC;QACxE,QAAQ,CAAC,SAAS,GAAG,MAAM,CAAC;IAC9B,CAAC,CAAC;AACJ,CAAC;AAPD,8BAOC"}
|
package/dist/src/index.d.ts
CHANGED
@@ -3,10 +3,10 @@ export { DBOSContext, InitContext, } from './context';
|
|
3
3
|
export { TransactionContext, TransactionConfig, TransactionFunction, } from './transaction';
|
4
4
|
export { StoredProcedureContext, StoredProcedureConfig, } from './procedure';
|
5
5
|
export { WorkflowContext, WorkflowConfig, WorkflowHandle, WorkflowFunction, StatusString, GetWorkflowsInput, GetWorkflowsOutput, } from './workflow';
|
6
|
-
export { CommunicatorContext, CommunicatorConfig, CommunicatorFunction, } from './
|
6
|
+
export { StepContext as CommunicatorContext, StepConfig as CommunicatorConfig, StepFunction as CommunicatorFunction, StepContext, StepConfig, StepFunction, } from './step';
|
7
7
|
export * as Error from './error';
|
8
8
|
export { DBOSResponseError } from './error';
|
9
|
-
export { LogMasks, ArgRequired, ArgOptional, SkipLogging, LogMask, ArgName, ArgDate, ArgVarchar, DefaultRequiredRole, DefaultArgRequired, DefaultArgOptional, OrmEntities, ConfiguredInstance, configureInstance, Transaction, Workflow, Communicator, StoredProcedure, RequiredRole, DBOSInitializer, DBOSDeploy, associateMethodWithEventReceiver, associateClassWithEventReceiver, } from "./decorators";
|
9
|
+
export { LogMasks, ArgRequired, ArgOptional, SkipLogging, LogMask, ArgName, ArgDate, ArgVarchar, DefaultRequiredRole, DefaultArgRequired, DefaultArgOptional, OrmEntities, ConfiguredInstance, configureInstance, Transaction, Workflow, Step, Step as Communicator, StoredProcedure, RequiredRole, DBOSInitializer, DBOSDeploy, associateMethodWithEventReceiver, associateClassWithEventReceiver, } from "./decorators";
|
10
10
|
export { ArgSources, } from "./httpServer/handlerTypes";
|
11
11
|
export { HandlerContext, ArgSource, GetApi, PostApi, PatchApi, PutApi, DeleteApi } from "./httpServer/handler";
|
12
12
|
export { DBOSHttpAuthMiddleware, DBOSHttpAuthReturn, MiddlewareContext, Authentication, KoaBodyParser, KoaCors, KoaGlobalMiddleware, KoaMiddleware, OpenApiSecurityScheme } from "./httpServer/middleware";
|
@@ -14,6 +14,7 @@ export { Kafka, KafkaConsume, } from "./kafka/kafka";
|
|
14
14
|
export { SchedulerMode, SchedulerConfig, Scheduled, } from "./scheduler/scheduler";
|
15
15
|
export { DBOSEventReceiver, DBOSExecutorContext, } from "./eventreceiver";
|
16
16
|
export { ParseOptions, parseConfigFile, } from "./dbos-runtime/config";
|
17
|
-
export { DBOSRuntimeConfig, } from "./dbos-runtime/runtime";
|
17
|
+
export { DBOSRuntimeConfig, DBOS, } from "./dbos-runtime/runtime";
|
18
18
|
export { DBOSConfig, } from "./dbos-executor";
|
19
|
+
export { WorkflowQueue, } from "./wfqueue";
|
19
20
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,cAAc,GACf,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,WAAW,EACX,WAAW,GACZ,MAAM,WAAW,CAAC;AAEnB,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,aAAa,CAAC;AAErB,OAAO,EACL,eAAe,EACf,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,YAAY,CAAC;AAEpB,OAAO,EACL,mBAAmB,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,cAAc,GACf,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,WAAW,EACX,WAAW,GACZ,MAAM,WAAW,CAAC;AAEnB,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,aAAa,CAAC;AAErB,OAAO,EACL,eAAe,EACf,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,YAAY,CAAC;AAEpB,OAAO,EACL,WAAW,IAAI,mBAAmB,EAClC,UAAU,IAAI,kBAAkB,EAChC,YAAY,IAAI,oBAAoB,EACpC,WAAW,EACX,UAAU,EACV,YAAY,GACb,MAAM,QAAQ,CAAC;AAEhB,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AAEjC,OAAO,EACL,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,QAAQ,EAGR,WAAW,EACX,WAAW,EACX,WAAW,EACX,OAAO,EACP,OAAO,EACP,OAAO,EACP,UAAU,EAGV,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAElB,WAAW,EAGX,kBAAkB,EAClB,iBAAiB,EAGjB,WAAW,EACX,QAAQ,EACR,IAAI,EACJ,IAAI,IAAI,YAAY,EACpB,eAAe,EACf,YAAY,EACZ,eAAe,EACf,UAAU,EAGV,gCAAgC,EAChC,+BAA+B,GAChC,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,UAAU,GACX,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,cAAc,EAGd,SAAS,EAGT,MAAM,EACN,OAAO,EACP,QAAQ,EACR,MAAM,EACN,SAAS,EACV,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EAGjB,cAAc,EACd,aAAa,EACb,OAAO,EACP,mBAAmB,EACnB,aAAa,EAGb,qBAAqB,EACtB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,KAAK,EACL,YAAY,GACb,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,aAAa,EACb,eAAe,EACf,SAAS,GACV,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,YAAY,EACZ,eAAe,GAChB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,iBAAiB,EACjB,IAAI,GACL,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,UAAU,GACX,MAAM,iBAAiB,CAAA;AAExB,OAAO,EACL,aAAa,GACd,MAAM,WAAW,CAAA"}
|
package/dist/src/index.js
CHANGED
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
23
|
return result;
|
24
24
|
};
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
-
exports.parseConfigFile = exports.Scheduled = exports.SchedulerConfig = exports.SchedulerMode = exports.KafkaConsume = exports.Kafka = exports.OpenApiSecurityScheme = exports.KoaMiddleware = exports.KoaGlobalMiddleware = exports.KoaCors = exports.KoaBodyParser = exports.Authentication = exports.DeleteApi = exports.PutApi = exports.PatchApi = exports.PostApi = exports.GetApi = exports.ArgSource = exports.ArgSources = exports.associateClassWithEventReceiver = exports.associateMethodWithEventReceiver = exports.DBOSDeploy = exports.DBOSInitializer = exports.RequiredRole = exports.StoredProcedure = exports.Communicator = exports.Workflow = exports.Transaction = exports.configureInstance = exports.ConfiguredInstance = exports.OrmEntities = exports.DefaultArgOptional = exports.DefaultArgRequired = exports.DefaultRequiredRole = exports.ArgVarchar = exports.ArgDate = exports.ArgName = exports.LogMask = exports.SkipLogging = exports.ArgOptional = exports.ArgRequired = exports.LogMasks = exports.DBOSResponseError = exports.Error = exports.StatusString = exports.InitContext = exports.createTestingRuntime = void 0;
|
26
|
+
exports.WorkflowQueue = exports.DBOS = exports.parseConfigFile = exports.Scheduled = exports.SchedulerConfig = exports.SchedulerMode = exports.KafkaConsume = exports.Kafka = exports.OpenApiSecurityScheme = exports.KoaMiddleware = exports.KoaGlobalMiddleware = exports.KoaCors = exports.KoaBodyParser = exports.Authentication = exports.DeleteApi = exports.PutApi = exports.PatchApi = exports.PostApi = exports.GetApi = exports.ArgSource = exports.ArgSources = exports.associateClassWithEventReceiver = exports.associateMethodWithEventReceiver = exports.DBOSDeploy = exports.DBOSInitializer = exports.RequiredRole = exports.StoredProcedure = exports.Communicator = exports.Step = exports.Workflow = exports.Transaction = exports.configureInstance = exports.ConfiguredInstance = exports.OrmEntities = exports.DefaultArgOptional = exports.DefaultArgRequired = exports.DefaultRequiredRole = exports.ArgVarchar = exports.ArgDate = exports.ArgName = exports.LogMask = exports.SkipLogging = exports.ArgOptional = exports.ArgRequired = exports.LogMasks = exports.DBOSResponseError = exports.Error = exports.StatusString = exports.InitContext = exports.createTestingRuntime = void 0;
|
27
27
|
var testing_runtime_1 = require("./testing/testing_runtime");
|
28
28
|
Object.defineProperty(exports, "createTestingRuntime", { enumerable: true, get: function () { return testing_runtime_1.createTestingRuntime; } });
|
29
29
|
var context_1 = require("./context");
|
@@ -55,7 +55,8 @@ Object.defineProperty(exports, "configureInstance", { enumerable: true, get: fun
|
|
55
55
|
// Method Decorators
|
56
56
|
Object.defineProperty(exports, "Transaction", { enumerable: true, get: function () { return decorators_1.Transaction; } });
|
57
57
|
Object.defineProperty(exports, "Workflow", { enumerable: true, get: function () { return decorators_1.Workflow; } });
|
58
|
-
Object.defineProperty(exports, "
|
58
|
+
Object.defineProperty(exports, "Step", { enumerable: true, get: function () { return decorators_1.Step; } });
|
59
|
+
Object.defineProperty(exports, "Communicator", { enumerable: true, get: function () { return decorators_1.Step; } });
|
59
60
|
Object.defineProperty(exports, "StoredProcedure", { enumerable: true, get: function () { return decorators_1.StoredProcedure; } });
|
60
61
|
Object.defineProperty(exports, "RequiredRole", { enumerable: true, get: function () { return decorators_1.RequiredRole; } });
|
61
62
|
Object.defineProperty(exports, "DBOSInitializer", { enumerable: true, get: function () { return decorators_1.DBOSInitializer; } });
|
@@ -92,4 +93,8 @@ Object.defineProperty(exports, "SchedulerConfig", { enumerable: true, get: funct
|
|
92
93
|
Object.defineProperty(exports, "Scheduled", { enumerable: true, get: function () { return scheduler_1.Scheduled; } });
|
93
94
|
var config_1 = require("./dbos-runtime/config");
|
94
95
|
Object.defineProperty(exports, "parseConfigFile", { enumerable: true, get: function () { return config_1.parseConfigFile; } });
|
96
|
+
var runtime_1 = require("./dbos-runtime/runtime");
|
97
|
+
Object.defineProperty(exports, "DBOS", { enumerable: true, get: function () { return runtime_1.DBOS; } });
|
98
|
+
var wfqueue_1 = require("./wfqueue");
|
99
|
+
Object.defineProperty(exports, "WorkflowQueue", { enumerable: true, get: function () { return wfqueue_1.WorkflowQueue; } });
|
95
100
|
//# sourceMappingURL=index.js.map
|
package/dist/src/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6DAGmC;AAFjC,uHAAA,oBAAoB,OAAA;AAItB,qCAGmB;AADjB,sGAAA,WAAW,OAAA;AAcb,uCAQoB;AAHlB,wGAAA,YAAY,OAAA;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6DAGmC;AAFjC,uHAAA,oBAAoB,OAAA;AAItB,qCAGmB;A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AAEb,qBAAqB;AACrB,mHAAA,qBAAqB,OAAA;AAGvB,uCAGuB;AAFrB,8FAAA,KAAK,OAAA;AACL,qGAAA,YAAY,OAAA;AAGd,mDAI+B;AAH7B,0GAAA,aAAa,OAAA;AACb,4GAAA,eAAe,OAAA;AACf,sGAAA,SAAS,OAAA;AAQX,gDAG+B;AAD7B,yGAAA,eAAe,OAAA;AAGjB,kDAGgC;AAD9B,+FAAA,IAAI,OAAA;AAON,qCAEkB;AADhB,wGAAA,aAAa,OAAA"}
|
@@ -36,7 +36,6 @@ declare class DetachableLoop {
|
|
36
36
|
constructor(dbosExec: DBOSExecutor, crontab: string, schedMode: SchedulerMode, scheduledMethod: SchedulerRegistrationBase);
|
37
37
|
startLoop(): Promise<void>;
|
38
38
|
setStopLoopFlag(): void;
|
39
|
-
private sleepms;
|
40
39
|
}
|
41
40
|
export {};
|
42
41
|
//# sourceMappingURL=scheduler.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"scheduler.d.ts","sourceRoot":"","sources":["../../../src/scheduler/scheduler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,IAAI,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAA2B,MAAM,eAAe,CAAC;AAQhF,oBAAY,aAAa;IACrB,sBAAsB,2BAA2B;IACjD,gCAAgC,qCAAqC;CACxE;AAED,qBAAa,eAAe;IACxB,OAAO,EAAE,MAAM,CAAe;IAC9B,IAAK,CAAC,EAAE,aAAa,CAAkD;CAC1E;AAOD,MAAM,MAAM,aAAa,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;AAExC,MAAM,WAAW,yBAA0B,SAAQ,sBAAsB;IAErE,eAAe,CAAC,EAAE,eAAe,CAAC;CACrC;AAED,wBAAgB,SAAS,CAAC,eAAe,EAAE,eAAe,uDAE1C,MAAM,eACD,MAAM,gBACL,wBAAwB,C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B,mCAAmC,CAAC,CAAC;YACxG,CAAC;YAED,uCAAuC;YACvC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,oBAAoB,CAAC,IAAI,CAAC,mBAAmB,EAAE,YAAY,CAAC,OAAO,EAAE,CAAC,CAAC;YACzH,IAAI,MAAM,IAAI,MAAM,GAAG,YAAY,CAAC,OAAO,EAAE;gBAAE,YAAY,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;YAC5E,IAAI,CAAC,QAAQ,GAAG,YAAY,CAAC;QACjC,CAAC;IACL,CAAC;IAED,eAAe;QACX,IAAI,CAAC,IAAI,CAAC,SAAS;YAAE,OAAO;QAC5B,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QACvB,IAAI,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACxB,IAAI,CAAC,gBAAgB,EAAE,CAAC,CAAC,2BAA2B;QACxD,CAAC;IACL,CAAC;CACJ"}
|
@@ -3,24 +3,23 @@ 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
|
7
|
-
export
|
8
|
-
export interface CommunicatorConfig {
|
6
|
+
export type StepFunction<T extends unknown[], R> = (ctxt: StepContext, ...args: T) => Promise<R>;
|
7
|
+
export interface StepConfig {
|
9
8
|
retriesAllowed?: boolean;
|
10
9
|
intervalSeconds?: number;
|
11
10
|
maxAttempts?: number;
|
12
11
|
backoffRate?: number;
|
13
12
|
}
|
14
|
-
export interface
|
13
|
+
export interface StepContext extends DBOSContext {
|
15
14
|
readonly retriesAllowed: boolean;
|
16
15
|
readonly maxAttempts: number;
|
17
16
|
}
|
18
|
-
export declare class
|
17
|
+
export declare class StepContextImpl extends DBOSContextImpl implements StepContext {
|
19
18
|
readonly functionID: number;
|
20
19
|
readonly retriesAllowed: boolean;
|
21
20
|
readonly intervalSeconds: number;
|
22
21
|
readonly maxAttempts: number;
|
23
22
|
readonly backoffRate: number;
|
24
|
-
constructor(workflowContext: WorkflowContextImpl | WorkflowContextDebug, functionID: number, span: Span, logger: Logger, params:
|
23
|
+
constructor(workflowContext: WorkflowContextImpl | WorkflowContextDebug, functionID: number, span: Span, logger: Logger, params: StepConfig, commName: string);
|
25
24
|
}
|
26
|
-
//# sourceMappingURL=
|
25
|
+
//# sourceMappingURL=step.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"step.d.ts","sourceRoot":"","sources":["../../src/step.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,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,OAAO,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;AAEjG,MAAM,WAAW,UAAU;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,WAAY,SAAQ,WAAW;IAE9C,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED,qBAAa,eAAgB,SAAQ,eAAgB,YAAW,WAAW;IACzE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;gBAGjB,eAAe,EAAE,mBAAmB,GAAG,oBAAoB,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EACpH,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM;CAUxC"}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.StepContextImpl = void 0;
|
4
4
|
const context_1 = require("./context");
|
5
|
-
class
|
5
|
+
class StepContextImpl extends context_1.DBOSContextImpl {
|
6
6
|
functionID;
|
7
7
|
retriesAllowed;
|
8
8
|
intervalSeconds;
|
@@ -19,5 +19,5 @@ class CommunicatorContextImpl extends context_1.DBOSContextImpl {
|
|
19
19
|
this.applicationConfig = workflowContext.applicationConfig;
|
20
20
|
}
|
21
21
|
}
|
22
|
-
exports.
|
23
|
-
//# sourceMappingURL=
|
22
|
+
exports.StepContextImpl = StepContextImpl;
|
23
|
+
//# sourceMappingURL=step.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"step.js","sourceRoot":"","sources":["../../src/step.ts"],"names":[],"mappings":";;;AAGA,uCAAyD;AAkBzD,MAAa,eAAgB,SAAQ,yBAAe;IACzC,UAAU,CAAS;IACnB,cAAc,CAAU;IACxB,eAAe,CAAS;IACxB,WAAW,CAAS;IACpB,WAAW,CAAS;IAE7B,iCAAiC;IACjC,YAAY,eAA2D,EAAE,UAAkB,EAAE,IAAU,EAAE,MAAc,EACpH,MAAkB,EAAE,QAAgB;QAErC,KAAK,CAAC,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,eAAe,CAAC,CAAC;QAC/C,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC,cAAc,IAAI,IAAI,CAAC;QACpD,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,eAAe,IAAI,CAAC,CAAC;QACnD,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,iBAAiB,GAAG,eAAe,CAAC,iBAAiB,CAAC;IAC7D,CAAC;CACF;AAnBD,0CAmBC"}
|
@@ -4,6 +4,7 @@ import { GetWorkflowsInput, GetWorkflowsOutput, StatusString, WorkflowStatus } f
|
|
4
4
|
import { HTTPRequest } from "./context";
|
5
5
|
import { GlobalLogger as Logger } from "./telemetry/logs";
|
6
6
|
import { Knex } from "knex";
|
7
|
+
import { WorkflowQueue } from "./wfqueue";
|
7
8
|
export interface SystemDatabase {
|
8
9
|
init(): Promise<void>;
|
9
10
|
destroy(): Promise<void>;
|
@@ -21,6 +22,9 @@ export interface SystemDatabase {
|
|
21
22
|
getWorkflowStatus(workflowUUID: string, callerUUID?: string, functionID?: number): Promise<WorkflowStatus | null>;
|
22
23
|
getWorkflowResult<R>(workflowUUID: string): Promise<R>;
|
23
24
|
setWorkflowStatus(workflowUUID: string, status: typeof StatusString[keyof typeof StatusString], resetRecoveryAttempts: boolean): Promise<void>;
|
25
|
+
enqueueWorkflow(workflowId: string, queue: WorkflowQueue): Promise<void>;
|
26
|
+
dequeueWorkflow(workflowId: string, queue: WorkflowQueue): Promise<void>;
|
27
|
+
findAndMarkStartableWorkflows(queue: WorkflowQueue): Promise<string[]>;
|
24
28
|
sleepms(workflowUUID: string, functionID: number, duration: number): Promise<void>;
|
25
29
|
send<T>(workflowUUID: string, functionID: number, destinationUUID: string, message: T, topic?: string): Promise<void>;
|
26
30
|
recv<T>(workflowUUID: string, functionID: number, timeoutFunctionID: number, topic?: string, timeoutSeconds?: number): Promise<T | null>;
|
@@ -40,6 +44,7 @@ export interface WorkflowStatusInternal {
|
|
40
44
|
name: string;
|
41
45
|
className: string;
|
42
46
|
configName: string;
|
47
|
+
queueName?: string;
|
43
48
|
authenticatedUser: string;
|
44
49
|
output: unknown;
|
45
50
|
error: string;
|
@@ -115,5 +120,8 @@ export declare class PostgresSystemDatabase implements SystemDatabase {
|
|
115
120
|
getLastScheduledTime(wfn: string): Promise<number | null>;
|
116
121
|
setLastScheduledTime(wfn: string, invtime: number): Promise<number | null>;
|
117
122
|
getWorkflows(input: GetWorkflowsInput): Promise<GetWorkflowsOutput>;
|
123
|
+
enqueueWorkflow(workflowId: string, queue: WorkflowQueue): Promise<void>;
|
124
|
+
dequeueWorkflow(workflowId: string, queue: WorkflowQueue): Promise<void>;
|
125
|
+
findAndMarkStartableWorkflows(queue: WorkflowQueue): Promise<string[]>;
|
118
126
|
}
|
119
127
|
//# sourceMappingURL=system_database.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"system_database.d.ts","sourceRoot":"","sources":["../../src/system_database.ts"],"names":[],"mappings":"AAGA,OAAO,EAA0B,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAiB,IAAI,EAAE,UAAU,EAAgB,UAAU,EAAU,MAAM,IAAI,CAAC;AAEvF,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAGjG,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAa,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"system_database.d.ts","sourceRoot":"","sources":["../../src/system_database.ts"],"names":[],"mappings":"AAGA,OAAO,EAA0B,QAAQ,EAAE,MAAM,iB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AC,CAAC,GAAG,IAAI,CAAC;IAyEjB,iBAAiB,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,YAAY,CAAC,MAAM,OAAO,YAAY,CAAC,EAAE,qBAAqB,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAO9I,iBAAiB,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;IAgCjH,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;IAY1E,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IA8BnE,eAAe,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;IASxE,eAAe,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;IAkBvE,6BAA6B,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;CA2E9E"}
|
@@ -116,6 +116,7 @@ class PostgresSystemDatabase {
|
|
116
116
|
name,
|
117
117
|
class_name,
|
118
118
|
config_name,
|
119
|
+
queue_name,
|
119
120
|
authenticated_user,
|
120
121
|
assumed_role,
|
121
122
|
authenticated_roles,
|
@@ -125,16 +126,17 @@ class PostgresSystemDatabase {
|
|
125
126
|
application_version,
|
126
127
|
application_id,
|
127
128
|
created_at
|
128
|
-
) VALUES($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14)
|
129
|
+
) VALUES($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15)
|
129
130
|
ON CONFLICT (workflow_uuid)
|
130
131
|
DO UPDATE SET
|
131
|
-
recovery_attempts = CASE WHEN $
|
132
|
+
recovery_attempts = CASE WHEN $16 THEN workflow_status.recovery_attempts + 1 ELSE workflow_status.recovery_attempts END
|
132
133
|
RETURNING recovery_attempts`, [
|
133
134
|
initStatus.workflowUUID,
|
134
135
|
initStatus.status,
|
135
136
|
initStatus.name,
|
136
137
|
initStatus.className,
|
137
138
|
initStatus.configName,
|
139
|
+
initStatus.queueName,
|
138
140
|
initStatus.authenticatedUser,
|
139
141
|
initStatus.assumedRole,
|
140
142
|
utils_1.DBOSJSON.stringify(initStatus.authenticatedRoles),
|
@@ -172,7 +174,7 @@ class PostgresSystemDatabase {
|
|
172
174
|
try {
|
173
175
|
let finishedCnt = 0;
|
174
176
|
while (finishedCnt < totalSize) {
|
175
|
-
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, class_name, config_name) VALUES `;
|
177
|
+
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, class_name, config_name, queue_name) VALUES `;
|
176
178
|
let paramCnt = 1;
|
177
179
|
const values = [];
|
178
180
|
const batchUUIDs = [];
|
@@ -180,8 +182,8 @@ class PostgresSystemDatabase {
|
|
180
182
|
if (paramCnt > 1) {
|
181
183
|
sqlStmt += ", ";
|
182
184
|
}
|
183
|
-
sqlStmt += `($${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++})`;
|
184
|
-
values.push(workflowUUID, status.status, status.name, status.authenticatedUser, status.assumedRole, utils_1.DBOSJSON.stringify(status.authenticatedRoles), utils_1.DBOSJSON.stringify(status.request), utils_1.DBOSJSON.stringify(status.output), status.executorID, status.applicationVersion, status.applicationID, status.createdAt, Date.now(), status.className, status.configName);
|
185
|
+
sqlStmt += `($${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++}, $${paramCnt++})`;
|
186
|
+
values.push(workflowUUID, status.status, status.name, status.authenticatedUser, status.assumedRole, utils_1.DBOSJSON.stringify(status.authenticatedRoles), utils_1.DBOSJSON.stringify(status.request), utils_1.DBOSJSON.stringify(status.output), status.executorID, status.applicationVersion, status.applicationID, status.createdAt, Date.now(), status.className, status.configName, status.queueName);
|
185
187
|
batchUUIDs.push(workflowUUID);
|
186
188
|
finishedCnt++;
|
187
189
|
if (batchUUIDs.length >= this.flushBatchSize) {
|
@@ -218,6 +220,7 @@ class PostgresSystemDatabase {
|
|
218
220
|
name,
|
219
221
|
class_name,
|
220
222
|
config_name,
|
223
|
+
queue_name,
|
221
224
|
authenticated_user,
|
222
225
|
assumed_role,
|
223
226
|
authenticated_roles,
|
@@ -228,7 +231,7 @@ class PostgresSystemDatabase {
|
|
228
231
|
application_version,
|
229
232
|
created_at,
|
230
233
|
updated_at
|
231
|
-
) VALUES($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15)
|
234
|
+
) VALUES($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16)
|
232
235
|
ON CONFLICT (workflow_uuid)
|
233
236
|
DO UPDATE SET status=EXCLUDED.status, error=EXCLUDED.error, updated_at=EXCLUDED.updated_at;`, [
|
234
237
|
workflowUUID,
|
@@ -236,6 +239,7 @@ class PostgresSystemDatabase {
|
|
236
239
|
status.name,
|
237
240
|
status.className,
|
238
241
|
status.configName,
|
242
|
+
status.queueName,
|
239
243
|
status.authenticatedUser,
|
240
244
|
status.assumedRole,
|
241
245
|
utils_1.DBOSJSON.stringify(status.authenticatedRoles),
|
@@ -583,7 +587,7 @@ class PostgresSystemDatabase {
|
|
583
587
|
return utils_1.DBOSJSON.parse(rows[0].output);
|
584
588
|
}
|
585
589
|
}
|
586
|
-
const { rows } = await this.pool.query(`SELECT status, name, class_name, config_name, authenticated_user, assumed_role, authenticated_roles, request FROM ${dbos_executor_1.DBOSExecutor.systemDBSchemaName}.workflow_status WHERE workflow_uuid=$1`, [workflowUUID]);
|
590
|
+
const { rows } = await this.pool.query(`SELECT status, name, class_name, config_name, authenticated_user, assumed_role, authenticated_roles, request, queue_name FROM ${dbos_executor_1.DBOSExecutor.systemDBSchemaName}.workflow_status WHERE workflow_uuid=$1`, [workflowUUID]);
|
587
591
|
let value = null;
|
588
592
|
if (rows.length > 0) {
|
589
593
|
value = {
|
@@ -591,6 +595,7 @@ class PostgresSystemDatabase {
|
|
591
595
|
workflowName: rows[0].name,
|
592
596
|
workflowClassName: rows[0].class_name || "",
|
593
597
|
workflowConfigName: rows[0].config_name || "",
|
598
|
+
queueName: rows[0].queue_name || undefined,
|
594
599
|
authenticatedUser: rows[0].authenticated_user,
|
595
600
|
assumedRole: rows[0].assumed_role,
|
596
601
|
authenticatedRoles: utils_1.DBOSJSON.parse(rows[0].authenticated_roles),
|
@@ -693,6 +698,100 @@ class PostgresSystemDatabase {
|
|
693
698
|
workflowUUIDs: workflowUUIDs
|
694
699
|
};
|
695
700
|
}
|
701
|
+
async enqueueWorkflow(workflowId, queue) {
|
702
|
+
const _res = await this.pool.query(`
|
703
|
+
INSERT INTO ${dbos_executor_1.DBOSExecutor.systemDBSchemaName}.workflow_queue (workflow_uuid, queue_name)
|
704
|
+
VALUES ($1, $2)
|
705
|
+
ON CONFLICT (workflow_uuid)
|
706
|
+
DO NOTHING;
|
707
|
+
`, [workflowId, queue.name]);
|
708
|
+
}
|
709
|
+
async dequeueWorkflow(workflowId, queue) {
|
710
|
+
if (queue.rateLimit) {
|
711
|
+
const time = new Date().getTime();
|
712
|
+
const _res = await this.pool.query(`
|
713
|
+
UPDATE ${dbos_executor_1.DBOSExecutor.systemDBSchemaName}.workflow_queue
|
714
|
+
SET completed_at_epoch_ms = $2
|
715
|
+
WHERE workflow_uuid = $1;
|
716
|
+
`, [workflowId, time]);
|
717
|
+
}
|
718
|
+
else {
|
719
|
+
const _res = await this.pool.query(`
|
720
|
+
DELETE FROM ${dbos_executor_1.DBOSExecutor.systemDBSchemaName}.workflow_queue
|
721
|
+
WHERE workflow_uuid = $1;
|
722
|
+
`, [workflowId]);
|
723
|
+
}
|
724
|
+
}
|
725
|
+
async findAndMarkStartableWorkflows(queue) {
|
726
|
+
const startTimeMs = new Date().getTime();
|
727
|
+
const limiterPeriodMS = queue.rateLimit ? queue.rateLimit.periodSec * 1000 : 0;
|
728
|
+
const claimedIDs = [];
|
729
|
+
await this.knexDB.transaction(async (trx) => {
|
730
|
+
// If there is a rate limit, compute how many functions have started in its period.
|
731
|
+
let numRecentQueries = 0;
|
732
|
+
if (queue.rateLimit) {
|
733
|
+
const numRecentQueriesS = (await trx(`${dbos_executor_1.DBOSExecutor.systemDBSchemaName}.workflow_queue`)
|
734
|
+
.count()
|
735
|
+
.where('queue_name', queue.name)
|
736
|
+
.andWhere('started_at_epoch_ms', '>', startTimeMs - limiterPeriodMS)
|
737
|
+
.first()).count;
|
738
|
+
numRecentQueries = parseInt(`${numRecentQueriesS}`);
|
739
|
+
if (numRecentQueries >= queue.rateLimit.limitPerPeriod) {
|
740
|
+
return claimedIDs;
|
741
|
+
}
|
742
|
+
}
|
743
|
+
// Select not-yet-completed functions in the queue ordered by the
|
744
|
+
// time at which they were enqueued.
|
745
|
+
// If there is a concurrency limit N, select only the N most recent
|
746
|
+
// functions, else select all of them.
|
747
|
+
// Started functions count toward concurrency, will be filtered below
|
748
|
+
let query = trx(`${dbos_executor_1.DBOSExecutor.systemDBSchemaName}.workflow_queue`)
|
749
|
+
.whereNull('completed_at_epoch_ms')
|
750
|
+
.andWhere('queue_name', queue.name)
|
751
|
+
.select();
|
752
|
+
query = query.orderBy('created_at_epoch_ms', 'asc');
|
753
|
+
if (queue.concurrency !== undefined) {
|
754
|
+
query = query.limit(queue.concurrency);
|
755
|
+
}
|
756
|
+
// From the functions retrieved, get the workflow IDs of the functions
|
757
|
+
// that have not yet been started so we can start them.
|
758
|
+
const rows = await query.select(['workflow_uuid', 'started_at_epoch_ms']);
|
759
|
+
const workflowIDs = rows
|
760
|
+
.filter((row) => !row.started_at_epoch_ms)
|
761
|
+
.map(row => row.workflow_uuid);
|
762
|
+
for (const id of workflowIDs) {
|
763
|
+
// If we have a rate limit, stop starting functions when the number
|
764
|
+
// of functions started this period exceeds the limit.
|
765
|
+
if (queue.rateLimit && numRecentQueries >= queue.rateLimit.limitPerPeriod) {
|
766
|
+
break;
|
767
|
+
}
|
768
|
+
const res = await trx(`${dbos_executor_1.DBOSExecutor.systemDBSchemaName}.workflow_status`)
|
769
|
+
.where('workflow_uuid', id)
|
770
|
+
.andWhere('status', workflow_1.StatusString.ENQUEUED)
|
771
|
+
.update('status', workflow_1.StatusString.PENDING);
|
772
|
+
if (res > 0) {
|
773
|
+
claimedIDs.push(id);
|
774
|
+
await trx(`${dbos_executor_1.DBOSExecutor.systemDBSchemaName}.workflow_queue`)
|
775
|
+
.where('workflow_uuid', id)
|
776
|
+
.update('started_at_epoch_ms', startTimeMs);
|
777
|
+
}
|
778
|
+
// If we did not update this record, probably someone else did. Count in either case.
|
779
|
+
++numRecentQueries;
|
780
|
+
}
|
781
|
+
}, { isolationLevel: "repeatable read" });
|
782
|
+
// If we have a rate limit, garbage-collect all completed functions started
|
783
|
+
// before the period. If there's no limiter, there's no need--they were
|
784
|
+
// deleted on completion.
|
785
|
+
if (queue.rateLimit) {
|
786
|
+
await this.knexDB(`${dbos_executor_1.DBOSExecutor.systemDBSchemaName}.workflow_queue`)
|
787
|
+
.whereNotNull('completed_at_epoch_ms')
|
788
|
+
.andWhere('queue_name', queue.name)
|
789
|
+
.andWhere('started_at_epoch_ms', '<', startTimeMs - limiterPeriodMS)
|
790
|
+
.delete();
|
791
|
+
}
|
792
|
+
// Return the IDs of all functions we marked started
|
793
|
+
return claimedIDs;
|
794
|
+
}
|
696
795
|
}
|
697
796
|
exports.PostgresSystemDatabase = PostgresSystemDatabase;
|
698
797
|
//# sourceMappingURL=system_database.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"system_database.js","sourceRoot":"","sources":["../../src/system_database.ts"],"names":[],"mappings":";AAAA,uDAAuD;;;;;;AAEvD,qDAAmE;AACnE,mDAAmE;AACnE,2BAAuF;AACvF,mCAAgH;AAChH,yCAAiG;AAEjG,mCAA6D;AAG7D,gDAAkC;AAClC,gDAAwB;AA0EjB,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;YACV,SAAS,EAAE,mBAAmB;YAC9B,SAAS,EAAE,iBAAiB;SAC7B;KACF,CAAC;IACF,MAAM,MAAM,GAAG,IAAA,cAAI,EAAC,UAAU,CAAC,CAAC;IAChC,IAAI,CAAC;QACH,MAAM,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;IAChC,CAAC;YAAS,CAAC;QACT,MAAM,MAAM,CAAC,OAAO,EAAE,CAAC;IACzB,CAAC;AACH,CAAC;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