@dbos-inc/dbos-sdk 1.17.3-preview → 1.17.5-preview
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/dbos-executor.d.ts +15 -1
- package/dist/src/dbos-executor.d.ts.map +1 -1
- package/dist/src/dbos-executor.js +109 -2
- package/dist/src/dbos-executor.js.map +1 -1
- package/dist/src/dbos-runtime/cli.d.ts +1 -0
- package/dist/src/dbos-runtime/cli.d.ts.map +1 -1
- package/dist/src/dbos-runtime/cli.js +4 -0
- package/dist/src/dbos-runtime/cli.js.map +1 -1
- package/dist/src/dbos-runtime/config.d.ts +1 -0
- package/dist/src/dbos-runtime/config.d.ts.map +1 -1
- package/dist/src/dbos-runtime/config.js +11 -1
- package/dist/src/dbos-runtime/config.js.map +1 -1
- package/dist/src/debugger/debug_workflow.d.ts +5 -1
- package/dist/src/debugger/debug_workflow.d.ts.map +1 -1
- package/dist/src/debugger/debug_workflow.js +83 -13
- package/dist/src/debugger/debug_workflow.js.map +1 -1
- package/dist/src/decorators.d.ts +4 -0
- package/dist/src/decorators.d.ts.map +1 -1
- package/dist/src/decorators.js +11 -1
- package/dist/src/decorators.js.map +1 -1
- package/dist/src/httpServer/handler.d.ts.map +1 -1
- package/dist/src/httpServer/handler.js +6 -1
- package/dist/src/httpServer/handler.js.map +1 -1
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/procedure.d.ts +29 -0
- package/dist/src/procedure.d.ts.map +1 -0
- package/dist/src/procedure.js +17 -0
- package/dist/src/procedure.js.map +1 -0
- package/dist/src/testing/testing_runtime.d.ts.map +1 -1
- package/dist/src/testing/testing_runtime.js +3 -1
- package/dist/src/testing/testing_runtime.js.map +1 -1
- package/dist/src/user_database.d.ts +1 -0
- package/dist/src/user_database.d.ts.map +1 -1
- package/dist/src/user_database.js +13 -1
- package/dist/src/user_database.js.map +1 -1
- package/dist/src/workflow.d.ts +16 -27
- package/dist/src/workflow.d.ts.map +1 -1
- package/dist/src/workflow.js +222 -20
- package/dist/src/workflow.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -1
package/dist/src/workflow.js
CHANGED
@@ -8,9 +8,11 @@ const communicator_1 = require("./communicator");
|
|
8
8
|
const error_1 = require("./error");
|
9
9
|
const serialize_error_1 = require("serialize-error");
|
10
10
|
const utils_1 = require("./utils");
|
11
|
+
const user_database_1 = require("./user_database");
|
11
12
|
const api_1 = require("@opentelemetry/api");
|
12
13
|
const context_1 = require("./context");
|
13
14
|
const decorators_1 = require("./decorators");
|
15
|
+
const procedure_1 = require("./procedure");
|
14
16
|
exports.StatusString = {
|
15
17
|
PENDING: "PENDING",
|
16
18
|
SUCCESS: "SUCCESS",
|
@@ -28,7 +30,7 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
|
|
28
30
|
resultBuffer = new Map();
|
29
31
|
isTempWorkflow;
|
30
32
|
maxRecoveryAttempts;
|
31
|
-
constructor(dbosExec, parentCtx, workflowUUID, workflowConfig, workflowName, presetUUID, tempWfOperationType = "", // "transaction", "external", or "send"
|
33
|
+
constructor(dbosExec, parentCtx, workflowUUID, workflowConfig, workflowName, presetUUID, tempWfOperationType = "", // "transaction", "procedure", "external", or "send"
|
32
34
|
tempWfOperationName = "" // Name for the temporary workflow operation
|
33
35
|
) {
|
34
36
|
const span = dbosExec.tracer.startSpan(workflowName, {
|
@@ -57,10 +59,18 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
|
|
57
59
|
/**
|
58
60
|
* Retrieve the transaction snapshot information of the current transaction
|
59
61
|
*/
|
60
|
-
async retrieveSnapshot(
|
61
|
-
const rows = await
|
62
|
+
async #retrieveSnapshot(query) {
|
63
|
+
const rows = await query("SELECT pg_current_snapshot()::text as txn_snapshot;", []);
|
62
64
|
return rows[0].txn_snapshot;
|
63
65
|
}
|
66
|
+
retrieveTxSnapshot(client) {
|
67
|
+
const func = (sql, args) => this.#dbosExec.userDatabase.queryWithClient(client, sql, ...args);
|
68
|
+
return this.#retrieveSnapshot(func);
|
69
|
+
}
|
70
|
+
retrieveProcSnapshot(client) {
|
71
|
+
const func = (sql, args) => client.query(sql, args).then(v => v.rows);
|
72
|
+
return this.#retrieveSnapshot(func);
|
73
|
+
}
|
64
74
|
/**
|
65
75
|
* Check if an operation has already executed in a workflow.
|
66
76
|
* If it previously executed successfully, return its output.
|
@@ -68,9 +78,9 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
|
|
68
78
|
* Otherwise, return DBOSNull.
|
69
79
|
* Also return the transaction snapshot information of this current transaction.
|
70
80
|
*/
|
71
|
-
async checkExecution(
|
81
|
+
async #checkExecution(query, funcID) {
|
72
82
|
// Note: we read the current snapshot, not the recorded one!
|
73
|
-
const rows = await
|
83
|
+
const rows = await query("(SELECT output, error, txn_snapshot, true as recorded FROM dbos.transaction_outputs WHERE workflow_uuid=$1 AND function_id=$2 UNION ALL SELECT null as output, null as error, pg_current_snapshot()::text as txn_snapshot, false as recorded) ORDER BY recorded", [this.workflowUUID, funcID]);
|
74
84
|
if (rows.length === 0 || rows.length > 2) {
|
75
85
|
this.logger.error("Unexpected! This should never happen. Returned rows: " + rows.toString());
|
76
86
|
throw new error_1.DBOSError("This should never happen. Returned rows: " + rows.toString());
|
@@ -91,11 +101,19 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
|
|
91
101
|
}
|
92
102
|
return res;
|
93
103
|
}
|
104
|
+
checkTxExecution(client, funcID) {
|
105
|
+
const func = (sql, args) => this.#dbosExec.userDatabase.queryWithClient(client, sql, ...args);
|
106
|
+
return this.#checkExecution(func, funcID);
|
107
|
+
}
|
108
|
+
checkProcExecution(client, funcID) {
|
109
|
+
const func = (sql, args) => client.query(sql, args).then(v => v.rows);
|
110
|
+
return this.#checkExecution(func, funcID);
|
111
|
+
}
|
94
112
|
/**
|
95
113
|
* Write all entries in the workflow result buffer to the database.
|
96
114
|
* If it encounters a primary key error, this indicates a concurrent execution with the same UUID, so throw an DBOSError.
|
97
115
|
*/
|
98
|
-
async flushResultBuffer(
|
116
|
+
async #flushResultBuffer(query, isKeyConflict) {
|
99
117
|
const funcIDs = Array.from(this.resultBuffer.keys());
|
100
118
|
if (funcIDs.length === 0) {
|
101
119
|
return;
|
@@ -119,11 +137,10 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
|
|
119
137
|
values.push(this.workflowUUID, funcID, utils_1.DBOSJSON.stringify(output), utils_1.DBOSJSON.stringify(null), txnSnapshot, createdAt);
|
120
138
|
}
|
121
139
|
this.logger.debug(sqlStmt);
|
122
|
-
|
123
|
-
await this.#dbosExec.userDatabase.queryWithClient(client, sqlStmt, ...values);
|
140
|
+
await query(sqlStmt, values);
|
124
141
|
}
|
125
142
|
catch (error) {
|
126
|
-
if (
|
143
|
+
if (isKeyConflict(error)) {
|
127
144
|
// Serialization and primary key conflict (Postgres).
|
128
145
|
throw new error_1.DBOSWorkflowConflictUUIDError(this.workflowUUID);
|
129
146
|
}
|
@@ -132,17 +149,25 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
|
|
132
149
|
}
|
133
150
|
}
|
134
151
|
}
|
152
|
+
flushResultBuffer(client) {
|
153
|
+
const func = (sql, args) => this.#dbosExec.userDatabase.queryWithClient(client, sql, ...args);
|
154
|
+
return this.#flushResultBuffer(func, (error) => this.#dbosExec.userDatabase.isKeyConflictError(error));
|
155
|
+
}
|
156
|
+
flushResultBufferProc(client) {
|
157
|
+
const func = (sql, args) => client.query(sql, args).then(v => v.rows);
|
158
|
+
return this.#flushResultBuffer(func, user_database_1.pgNodeIsKeyConflictError);
|
159
|
+
}
|
135
160
|
/**
|
136
161
|
* Write a operation's output to the database.
|
137
162
|
*/
|
138
|
-
async recordOutput(
|
163
|
+
async #recordOutput(query, funcID, txnSnapshot, output, isKeyConflict) {
|
139
164
|
try {
|
140
165
|
const serialOutput = utils_1.DBOSJSON.stringify(output);
|
141
|
-
const rows = await
|
166
|
+
const rows = await query("INSERT INTO dbos.transaction_outputs (workflow_uuid, function_id, output, txn_id, txn_snapshot, created_at) VALUES ($1, $2, $3, (select pg_current_xact_id_if_assigned()::text), $4, $5) RETURNING txn_id;", [this.workflowUUID, funcID, serialOutput, txnSnapshot, Date.now()]);
|
142
167
|
return rows[0].txn_id;
|
143
168
|
}
|
144
169
|
catch (error) {
|
145
|
-
if (
|
170
|
+
if (isKeyConflict(error)) {
|
146
171
|
// Serialization and primary key conflict (Postgres).
|
147
172
|
throw new error_1.DBOSWorkflowConflictUUIDError(this.workflowUUID);
|
148
173
|
}
|
@@ -151,16 +176,24 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
|
|
151
176
|
}
|
152
177
|
}
|
153
178
|
}
|
179
|
+
recordOutputTx(client, funcID, txnSnapshot, output) {
|
180
|
+
const func = (sql, args) => this.#dbosExec.userDatabase.queryWithClient(client, sql, ...args);
|
181
|
+
return this.#recordOutput(func, funcID, txnSnapshot, output, (error) => this.#dbosExec.userDatabase.isKeyConflictError(error));
|
182
|
+
}
|
183
|
+
recordOutputProc(client, funcID, txnSnapshot, output) {
|
184
|
+
const func = (sql, args) => client.query(sql, args).then(v => v.rows);
|
185
|
+
return this.#recordOutput(func, funcID, txnSnapshot, output, user_database_1.pgNodeIsKeyConflictError);
|
186
|
+
}
|
154
187
|
/**
|
155
188
|
* Record an error in an operation to the database.
|
156
189
|
*/
|
157
|
-
async recordError(
|
190
|
+
async #recordError(query, funcID, txnSnapshot, err, isKeyConflict) {
|
158
191
|
try {
|
159
192
|
const serialErr = utils_1.DBOSJSON.stringify((0, serialize_error_1.serializeError)(err));
|
160
|
-
await
|
193
|
+
await query("INSERT INTO dbos.transaction_outputs (workflow_uuid, function_id, error, txn_id, txn_snapshot, created_at) VALUES ($1, $2, $3, null, $4, $5) RETURNING txn_id;", [this.workflowUUID, funcID, serialErr, txnSnapshot, Date.now()]);
|
161
194
|
}
|
162
195
|
catch (error) {
|
163
|
-
if (
|
196
|
+
if (isKeyConflict(error)) {
|
164
197
|
// Serialization and primary key conflict (Postgres).
|
165
198
|
throw new error_1.DBOSWorkflowConflictUUIDError(this.workflowUUID);
|
166
199
|
}
|
@@ -169,6 +202,14 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
|
|
169
202
|
}
|
170
203
|
}
|
171
204
|
}
|
205
|
+
recordErrorTx(client, funcID, txnSnapshot, err) {
|
206
|
+
const func = (sql, args) => this.#dbosExec.userDatabase.queryWithClient(client, sql, ...args);
|
207
|
+
return this.#recordError(func, funcID, txnSnapshot, err, (error) => this.#dbosExec.userDatabase.isKeyConflictError(error));
|
208
|
+
}
|
209
|
+
recordErrorProc(client, funcID, txnSnapshot, err) {
|
210
|
+
const func = (sql, args) => client.query(sql, args).then(v => v.rows);
|
211
|
+
return this.#recordError(func, funcID, txnSnapshot, err, user_database_1.pgNodeIsKeyConflictError);
|
212
|
+
}
|
172
213
|
/**
|
173
214
|
* Invoke another workflow as its child workflow and return a workflow handle.
|
174
215
|
* The child workflow is guaranteed to be executed exactly once, even if the workflow is retried with the same UUID.
|
@@ -228,6 +269,165 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
|
|
228
269
|
async childWorkflow(wf, ...args) {
|
229
270
|
return this.startChildWorkflow(wf, ...args);
|
230
271
|
}
|
272
|
+
async #invokeProcLocal(proc, args, span, config, funcId) {
|
273
|
+
let retryWaitMillis = 1;
|
274
|
+
const backoffFactor = 1.5;
|
275
|
+
const maxRetryWaitMs = 2000; // Maximum wait 2 seconds.
|
276
|
+
const readOnly = config.readOnly ?? false;
|
277
|
+
while (true) {
|
278
|
+
let txn_snapshot = "invalid";
|
279
|
+
const wrappedProcedure = async (client) => {
|
280
|
+
const ctxt = new procedure_1.StoredProcedureContextImpl(client, this, span, this.#dbosExec.logger, proc.name);
|
281
|
+
if (this.presetUUID) {
|
282
|
+
const check = await this.checkProcExecution(client, this.functionID);
|
283
|
+
txn_snapshot = check.txn_snapshot;
|
284
|
+
if (check.output !== dbos_executor_1.dbosNull) {
|
285
|
+
ctxt.span.setAttribute("cached", true);
|
286
|
+
ctxt.span.setStatus({ code: api_1.SpanStatusCode.OK });
|
287
|
+
this.#dbosExec.tracer.endSpan(ctxt.span);
|
288
|
+
return check.output;
|
289
|
+
}
|
290
|
+
}
|
291
|
+
else {
|
292
|
+
// Collect snapshot information for read-only transactions and non-preset UUID transactions, if not already collected above
|
293
|
+
txn_snapshot = await this.retrieveProcSnapshot(client);
|
294
|
+
}
|
295
|
+
// For non-read-only transactions, flush the result buffer.
|
296
|
+
if (!readOnly) {
|
297
|
+
await this.flushResultBufferProc(client);
|
298
|
+
}
|
299
|
+
const result = await proc(ctxt, ...args);
|
300
|
+
if (readOnly) {
|
301
|
+
// Buffer the output of read-only transactions instead of synchronously writing it.
|
302
|
+
const readOutput = {
|
303
|
+
output: result,
|
304
|
+
txn_snapshot: txn_snapshot,
|
305
|
+
created_at: Date.now(),
|
306
|
+
};
|
307
|
+
this.resultBuffer.set(funcId, readOutput);
|
308
|
+
}
|
309
|
+
else {
|
310
|
+
// Synchronously record the output of write transactions and obtain the transaction ID.
|
311
|
+
const pg_txn_id = await this.recordOutputProc(client, funcId, txn_snapshot, result);
|
312
|
+
ctxt.span.setAttribute("pg_txn_id", pg_txn_id);
|
313
|
+
this.resultBuffer.clear();
|
314
|
+
}
|
315
|
+
return result;
|
316
|
+
};
|
317
|
+
try {
|
318
|
+
const result = await this.#dbosExec.executeProcedure(wrappedProcedure, { isolationLevel: config.isolationLevel });
|
319
|
+
span.setStatus({ code: api_1.SpanStatusCode.OK });
|
320
|
+
return result;
|
321
|
+
}
|
322
|
+
catch (err) {
|
323
|
+
if (this.#dbosExec.userDatabase.isRetriableTransactionError(err)) {
|
324
|
+
// serialization_failure in PostgreSQL
|
325
|
+
span.addEvent("TXN SERIALIZATION FAILURE", { "retryWaitMillis": retryWaitMillis }, performance.now());
|
326
|
+
// Retry serialization failures.
|
327
|
+
await (0, utils_1.sleepms)(retryWaitMillis);
|
328
|
+
retryWaitMillis *= backoffFactor;
|
329
|
+
retryWaitMillis = retryWaitMillis < maxRetryWaitMs ? retryWaitMillis : maxRetryWaitMs;
|
330
|
+
continue;
|
331
|
+
}
|
332
|
+
// Record and throw other errors.
|
333
|
+
const e = err;
|
334
|
+
await this.#dbosExec.executeProcedure(async (client) => {
|
335
|
+
await this.flushResultBufferProc(client);
|
336
|
+
await this.recordErrorProc(client, funcId, txn_snapshot, e);
|
337
|
+
}, { isolationLevel: transaction_1.IsolationLevel.ReadCommitted });
|
338
|
+
await this.#dbosExec.userDatabase.transaction(async (client) => {
|
339
|
+
await this.flushResultBuffer(client);
|
340
|
+
await this.recordErrorTx(client, funcId, txn_snapshot, e);
|
341
|
+
}, { isolationLevel: transaction_1.IsolationLevel.ReadCommitted });
|
342
|
+
this.resultBuffer.clear();
|
343
|
+
throw err;
|
344
|
+
}
|
345
|
+
}
|
346
|
+
}
|
347
|
+
async #invokeProcRemote(proc, args, span, config, funcId) {
|
348
|
+
const readOnly = config.readOnly ?? false;
|
349
|
+
const $jsonCtx = {
|
350
|
+
request: this.request,
|
351
|
+
authenticatedUser: this.authenticatedUser,
|
352
|
+
authenticatedRoles: this.authenticatedRoles,
|
353
|
+
assumedRole: this.assumedRole,
|
354
|
+
};
|
355
|
+
// Note, node-pg converts JS arrays to postgres array literals, so must call JSON.strigify on
|
356
|
+
// args and bufferedResults before being passed to dbosExec.callProcedure
|
357
|
+
const $args = [this.workflowUUID, funcId, this.presetUUID, $jsonCtx, null, JSON.stringify(args)];
|
358
|
+
if (!readOnly) {
|
359
|
+
// function_id, output, txn_snapshot, created_at
|
360
|
+
const bufferedResults = new Array();
|
361
|
+
for (const [functionID, { output, txn_snapshot, created_at }] of this.resultBuffer.entries()) {
|
362
|
+
bufferedResults.push([functionID, output, txn_snapshot, created_at]);
|
363
|
+
}
|
364
|
+
// sort by function ID
|
365
|
+
bufferedResults.sort((a, b) => a[0] - b[0]);
|
366
|
+
$args.unshift(bufferedResults.length > 0 ? JSON.stringify(bufferedResults) : null);
|
367
|
+
}
|
368
|
+
const [{ return_value }] = await this.#dbosExec.callProcedure(proc, $args);
|
369
|
+
const { error, output, txn_snapshot, txn_id, created_at } = return_value;
|
370
|
+
// buffered results are persisted in r/w stored procs, even if it returns an error
|
371
|
+
if (!readOnly) {
|
372
|
+
this.resultBuffer.clear();
|
373
|
+
}
|
374
|
+
// if the stored proc returns an error, deserialize and throw it.
|
375
|
+
// stored proc saves the error in tx_output before returning
|
376
|
+
if (error) {
|
377
|
+
throw (0, serialize_error_1.deserializeError)(error);
|
378
|
+
}
|
379
|
+
// if txn_snapshot is provided, the output needs to be buffered
|
380
|
+
if (readOnly && txn_snapshot) {
|
381
|
+
this.resultBuffer.set(funcId, {
|
382
|
+
output,
|
383
|
+
txn_snapshot,
|
384
|
+
created_at: created_at ?? Date.now(),
|
385
|
+
});
|
386
|
+
}
|
387
|
+
if (!readOnly) {
|
388
|
+
this.resultBuffer.clear();
|
389
|
+
}
|
390
|
+
if (txn_id) {
|
391
|
+
span.setAttribute("pg_txn_id", txn_id);
|
392
|
+
}
|
393
|
+
span.setStatus({ code: api_1.SpanStatusCode.OK });
|
394
|
+
return output;
|
395
|
+
}
|
396
|
+
// TODO: ConfiguredInstance support
|
397
|
+
async procedure(proc, ...args) {
|
398
|
+
const procInfo = this.#dbosExec.getProcedureInfo(proc);
|
399
|
+
if (procInfo === undefined) {
|
400
|
+
throw new error_1.DBOSNotRegisteredError(proc.name);
|
401
|
+
}
|
402
|
+
const executeLocally = procInfo.config.executeLocally ?? false;
|
403
|
+
const funcId = this.functionIDGetIncrement();
|
404
|
+
const span = this.#dbosExec.tracer.startSpan(proc.name, {
|
405
|
+
operationUUID: this.workflowUUID,
|
406
|
+
operationType: dbos_executor_1.OperationType.PROCEDURE,
|
407
|
+
authenticatedUser: this.authenticatedUser,
|
408
|
+
assumedRole: this.assumedRole,
|
409
|
+
authenticatedRoles: this.authenticatedRoles,
|
410
|
+
readOnly: procInfo.config.readOnly ?? false,
|
411
|
+
isolationLevel: procInfo.config.isolationLevel,
|
412
|
+
executeLocally,
|
413
|
+
executorID: this.executorID,
|
414
|
+
}, this.span);
|
415
|
+
try {
|
416
|
+
const result = executeLocally
|
417
|
+
? await this.#invokeProcLocal(proc, args, span, procInfo.config, funcId)
|
418
|
+
: await this.#invokeProcRemote(proc, args, span, procInfo.config, funcId);
|
419
|
+
span.setStatus({ code: api_1.SpanStatusCode.OK });
|
420
|
+
return result;
|
421
|
+
}
|
422
|
+
catch (e) {
|
423
|
+
const { message } = e;
|
424
|
+
span.setStatus({ code: api_1.SpanStatusCode.ERROR, message });
|
425
|
+
throw e;
|
426
|
+
}
|
427
|
+
finally {
|
428
|
+
this.#dbosExec.tracer.endSpan(span);
|
429
|
+
}
|
430
|
+
}
|
231
431
|
/**
|
232
432
|
* Execute a transactional function.
|
233
433
|
* The transaction is guaranteed to execute exactly once, even if the workflow is retried with the same UUID.
|
@@ -261,7 +461,7 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
|
|
261
461
|
// If the UUID is preset, it is possible this execution previously happened. Check, and return its original result if it did.
|
262
462
|
// Note: It is possible to retrieve a generated ID from a workflow handle, run a concurrent execution, and cause trouble for yourself. We recommend against this.
|
263
463
|
if (this.presetUUID) {
|
264
|
-
const check = await this.
|
464
|
+
const check = await this.checkTxExecution(client, funcId);
|
265
465
|
txn_snapshot = check.txn_snapshot;
|
266
466
|
if (check.output !== dbos_executor_1.dbosNull) {
|
267
467
|
tCtxt.span.setAttribute("cached", true);
|
@@ -272,7 +472,7 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
|
|
272
472
|
}
|
273
473
|
else {
|
274
474
|
// Collect snapshot information for read-only transactions and non-preset UUID transactions, if not already collected above
|
275
|
-
txn_snapshot = await this.
|
475
|
+
txn_snapshot = await this.retrieveTxSnapshot(client);
|
276
476
|
}
|
277
477
|
// For non-read-only transactions, flush the result buffer.
|
278
478
|
if (!readOnly) {
|
@@ -292,7 +492,7 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
|
|
292
492
|
}
|
293
493
|
else {
|
294
494
|
// Synchronously record the output of write transactions and obtain the transaction ID.
|
295
|
-
const pg_txn_id = await this.
|
495
|
+
const pg_txn_id = await this.recordOutputTx(client, funcId, txn_snapshot, result);
|
296
496
|
tCtxt.span.setAttribute("pg_txn_id", pg_txn_id);
|
297
497
|
this.resultBuffer.clear();
|
298
498
|
}
|
@@ -318,7 +518,7 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
|
|
318
518
|
const e = err;
|
319
519
|
await this.#dbosExec.userDatabase.transaction(async (client) => {
|
320
520
|
await this.flushResultBuffer(client);
|
321
|
-
await this.
|
521
|
+
await this.recordErrorTx(client, funcId, txn_snapshot, e);
|
322
522
|
}, { isolationLevel: transaction_1.IsolationLevel.ReadCommitted });
|
323
523
|
this.resultBuffer.clear();
|
324
524
|
span.setStatus({ code: api_1.SpanStatusCode.ERROR, message: e.message });
|
@@ -466,7 +666,9 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
|
|
466
666
|
? (...args) => this.transaction(op.registeredFunction, null, ...args)
|
467
667
|
: op.commConfig
|
468
668
|
? (...args) => this.external(op.registeredFunction, null, ...args)
|
469
|
-
:
|
669
|
+
: op.procConfig
|
670
|
+
? (...args) => this.procedure(op.registeredFunction, ...args)
|
671
|
+
: undefined;
|
470
672
|
}
|
471
673
|
return proxy;
|
472
674
|
}
|
package/dist/src/workflow.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"workflow.js","sourceRoot":"","sources":["../../src/workflow.ts"],"names":[],"mappings":";;;AAAA,uDAAuD;AACvD,mDAAkF;AAElF,+CAAwG;AACxG,iDAA4F;AAC5F,mCAA2F;AAC3F,qDAAmE;AACnE,mCAA4C;AAG5C,4CAAoD;AAEpD,uCAAsE;AACtE,6CAA2E;AA0E9D,QAAA,YAAY,GAAG;IAC1B,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,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