@dbos-inc/dbos-sdk 1.28.7-preview.gdb2d0f0508 → 1.29.83-preview.g0c5a5d6c8e

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. package/dist/src/context.d.ts +36 -0
  2. package/dist/src/context.d.ts.map +1 -1
  3. package/dist/src/context.js +104 -1
  4. package/dist/src/context.js.map +1 -1
  5. package/dist/src/data_validation.d.ts.map +1 -1
  6. package/dist/src/data_validation.js +6 -2
  7. package/dist/src/data_validation.js.map +1 -1
  8. package/dist/src/dbos-executor.d.ts +36 -20
  9. package/dist/src/dbos-executor.d.ts.map +1 -1
  10. package/dist/src/dbos-executor.js +309 -21
  11. package/dist/src/dbos-executor.js.map +1 -1
  12. package/dist/src/dbos-runtime/runtime.d.ts +3 -8
  13. package/dist/src/dbos-runtime/runtime.d.ts.map +1 -1
  14. package/dist/src/dbos-runtime/runtime.js +7 -11
  15. package/dist/src/dbos-runtime/runtime.js.map +1 -1
  16. package/dist/src/dbos.d.ts +109 -0
  17. package/dist/src/dbos.d.ts.map +1 -0
  18. package/dist/src/dbos.js +551 -0
  19. package/dist/src/dbos.js.map +1 -0
  20. package/dist/src/debugger/debug_workflow.d.ts.map +1 -1
  21. package/dist/src/debugger/debug_workflow.js +5 -1
  22. package/dist/src/debugger/debug_workflow.js.map +1 -1
  23. package/dist/src/decorators.d.ts +11 -2
  24. package/dist/src/decorators.d.ts.map +1 -1
  25. package/dist/src/decorators.js +30 -8
  26. package/dist/src/decorators.js.map +1 -1
  27. package/dist/src/error.d.ts +6 -0
  28. package/dist/src/error.d.ts.map +1 -1
  29. package/dist/src/error.js +20 -2
  30. package/dist/src/error.js.map +1 -1
  31. package/dist/src/eventreceiver.d.ts +6 -2
  32. package/dist/src/eventreceiver.d.ts.map +1 -1
  33. package/dist/src/httpServer/handler.d.ts +0 -1
  34. package/dist/src/httpServer/handler.d.ts.map +1 -1
  35. package/dist/src/httpServer/handler.js +5 -13
  36. package/dist/src/httpServer/handler.js.map +1 -1
  37. package/dist/src/httpServer/middleware.d.ts +13 -2
  38. package/dist/src/httpServer/middleware.d.ts.map +1 -1
  39. package/dist/src/httpServer/middleware.js +101 -1
  40. package/dist/src/httpServer/middleware.js.map +1 -1
  41. package/dist/src/httpServer/server.d.ts +3 -2
  42. package/dist/src/httpServer/server.d.ts.map +1 -1
  43. package/dist/src/httpServer/server.js +40 -30
  44. package/dist/src/httpServer/server.js.map +1 -1
  45. package/dist/src/index.d.ts +2 -1
  46. package/dist/src/index.d.ts.map +1 -1
  47. package/dist/src/index.js +3 -3
  48. package/dist/src/index.js.map +1 -1
  49. package/dist/src/procedure.d.ts +1 -0
  50. package/dist/src/procedure.d.ts.map +1 -1
  51. package/dist/src/procedure.js.map +1 -1
  52. package/dist/src/scheduler/scheduler.d.ts.map +1 -1
  53. package/dist/src/scheduler/scheduler.js +3 -1
  54. package/dist/src/scheduler/scheduler.js.map +1 -1
  55. package/dist/src/system_database.d.ts.map +1 -1
  56. package/dist/src/system_database.js.map +1 -1
  57. package/dist/src/telemetry/logs.d.ts +11 -5
  58. package/dist/src/telemetry/logs.d.ts.map +1 -1
  59. package/dist/src/telemetry/logs.js +8 -11
  60. package/dist/src/telemetry/logs.js.map +1 -1
  61. package/dist/src/testing/testing_runtime.d.ts.map +1 -1
  62. package/dist/src/testing/testing_runtime.js +10 -4
  63. package/dist/src/testing/testing_runtime.js.map +1 -1
  64. package/dist/src/user_database.d.ts +1 -1
  65. package/dist/src/user_database.d.ts.map +1 -1
  66. package/dist/src/wfqueue.d.ts.map +1 -1
  67. package/dist/src/wfqueue.js +17 -2
  68. package/dist/src/wfqueue.js.map +1 -1
  69. package/dist/src/workflow.d.ts +7 -6
  70. package/dist/src/workflow.d.ts.map +1 -1
  71. package/dist/src/workflow.js +10 -187
  72. package/dist/src/workflow.js.map +1 -1
  73. package/dist/tsconfig.build.tsbuildinfo +1 -1
  74. package/package.json +5 -1
@@ -4,7 +4,6 @@ exports.RetrievedHandle = exports.InvokedHandle = exports.WorkflowContextImpl =
4
4
  /* eslint-disable @typescript-eslint/no-explicit-any */
5
5
  const dbos_executor_1 = require("./dbos-executor");
6
6
  const transaction_1 = require("./transaction");
7
- const step_1 = require("./step");
8
7
  const error_1 = require("./error");
9
8
  const serialize_error_1 = require("serialize-error");
10
9
  const utils_1 = require("./utils");
@@ -220,7 +219,9 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
220
219
  // Note: cannot use invoke for childWorkflow because of potential recursive types on the workflow itself.
221
220
  const funcId = this.functionIDGetIncrement();
222
221
  const childUUID = this.workflowUUID + "-" + funcId;
223
- return this.#dbosExec.internalWorkflow(wf, { parentCtx: this, workflowUUID: childUUID }, this.workflowUUID, funcId, ...args);
222
+ return this.#dbosExec.internalWorkflow(wf, {
223
+ parentCtx: this, workflowUUID: childUUID,
224
+ }, this.workflowUUID, funcId, ...args);
224
225
  }
225
226
  async invokeChildWorkflow(wf, ...args) {
226
227
  return this.startChildWorkflow(wf, ...args).then((handle) => handle.getResult());
@@ -296,7 +297,11 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
296
297
  if (!readOnly) {
297
298
  await this.flushResultBufferProc(client);
298
299
  }
299
- const result = await proc(ctxt, ...args);
300
+ let cresult;
301
+ await (0, context_1.runWithDBOSContext)(ctxt, async () => {
302
+ cresult = await proc(ctxt, ...args);
303
+ });
304
+ const result = cresult;
300
305
  if (readOnly) {
301
306
  // Buffer the output of read-only transactions instead of synchronously writing it.
302
307
  const readOutput = {
@@ -434,108 +439,7 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
434
439
  * If it encounters any other error, throw it.
435
440
  */
436
441
  async transaction(txn, clsinst, ...args) {
437
- const txnInfo = this.#dbosExec.getTransactionInfo(txn);
438
- if (txnInfo === undefined) {
439
- throw new error_1.DBOSNotRegisteredError(txn.name);
440
- }
441
- const readOnly = txnInfo.config.readOnly ?? false;
442
- let retryWaitMillis = 1;
443
- const backoffFactor = 1.5;
444
- const maxRetryWaitMs = 2000; // Maximum wait 2 seconds.
445
- const funcId = this.functionIDGetIncrement();
446
- const span = this.#dbosExec.tracer.startSpan(txn.name, {
447
- operationUUID: this.workflowUUID,
448
- operationType: dbos_executor_1.OperationType.TRANSACTION,
449
- authenticatedUser: this.authenticatedUser,
450
- assumedRole: this.assumedRole,
451
- authenticatedRoles: this.authenticatedRoles,
452
- readOnly: readOnly,
453
- isolationLevel: txnInfo.config.isolationLevel,
454
- }, this.span);
455
- while (true) {
456
- let txn_snapshot = "invalid";
457
- const workflowUUID = this.workflowUUID;
458
- const wrappedTransaction = async (client) => {
459
- const tCtxt = new transaction_1.TransactionContextImpl(this.#dbosExec.userDatabase.getName(), client, this, span, this.#dbosExec.logger, funcId, txn.name);
460
- // If the UUID is preset, it is possible this execution previously happened. Check, and return its original result if it did.
461
- // 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.
462
- if (this.presetUUID) {
463
- const check = await this.checkTxExecution(client, funcId);
464
- txn_snapshot = check.txn_snapshot;
465
- if (check.output !== dbos_executor_1.dbosNull) {
466
- tCtxt.span.setAttribute("cached", true);
467
- tCtxt.span.setStatus({ code: api_1.SpanStatusCode.OK });
468
- this.#dbosExec.tracer.endSpan(tCtxt.span);
469
- return check.output;
470
- }
471
- }
472
- else {
473
- // Collect snapshot information for read-only transactions and non-preset UUID transactions, if not already collected above
474
- txn_snapshot = await this.retrieveTxSnapshot(client);
475
- }
476
- // For non-read-only transactions, flush the result buffer.
477
- if (!readOnly) {
478
- await this.flushResultBuffer(client);
479
- }
480
- // Execute the user's transaction.
481
- const result = await txn.call(clsinst, tCtxt, ...args);
482
- // Record the execution, commit, and return.
483
- if (readOnly) {
484
- // Buffer the output of read-only transactions instead of synchronously writing it.
485
- const readOutput = {
486
- output: result,
487
- txn_snapshot: txn_snapshot,
488
- created_at: Date.now(),
489
- };
490
- this.resultBuffer.set(funcId, readOutput);
491
- }
492
- else {
493
- try {
494
- // Synchronously record the output of write transactions and obtain the transaction ID.
495
- const pg_txn_id = await this.recordOutputTx(client, funcId, txn_snapshot, result);
496
- tCtxt.span.setAttribute("pg_txn_id", pg_txn_id);
497
- this.resultBuffer.clear();
498
- }
499
- catch (error) {
500
- if (this.#dbosExec.userDatabase.isFailedSqlTransactionError(error)) {
501
- this.logger.error(`Postgres aborted the ${txn.name} @Transaction of Workflow ${workflowUUID}, but the function did not raise an exception. Please ensure that the @Transaction method raises an exception if the database transaction is aborted.`);
502
- throw new error_1.DBOSFailedSqlTransactionError(workflowUUID, txn.name);
503
- }
504
- else {
505
- throw error;
506
- }
507
- }
508
- }
509
- return result;
510
- };
511
- try {
512
- const result = await this.#dbosExec.userDatabase.transaction(wrappedTransaction, txnInfo.config);
513
- span.setStatus({ code: api_1.SpanStatusCode.OK });
514
- this.#dbosExec.tracer.endSpan(span);
515
- return result;
516
- }
517
- catch (err) {
518
- if (this.#dbosExec.userDatabase.isRetriableTransactionError(err)) {
519
- // serialization_failure in PostgreSQL
520
- span.addEvent("TXN SERIALIZATION FAILURE", { "retryWaitMillis": retryWaitMillis }, performance.now());
521
- // Retry serialization failures.
522
- await (0, utils_1.sleepms)(retryWaitMillis);
523
- retryWaitMillis *= backoffFactor;
524
- retryWaitMillis = retryWaitMillis < maxRetryWaitMs ? retryWaitMillis : maxRetryWaitMs;
525
- continue;
526
- }
527
- // Record and throw other errors.
528
- const e = err;
529
- await this.#dbosExec.userDatabase.transaction(async (client) => {
530
- await this.flushResultBuffer(client);
531
- await this.recordErrorTx(client, funcId, txn_snapshot, e);
532
- }, { isolationLevel: transaction_1.IsolationLevel.ReadCommitted });
533
- this.resultBuffer.clear();
534
- span.setStatus({ code: api_1.SpanStatusCode.ERROR, message: e.message });
535
- this.#dbosExec.tracer.endSpan(span);
536
- throw err;
537
- }
538
- }
442
+ return this.#dbosExec.callTransactionFunction(txn, clsinst, this, ...args);
539
443
  }
540
444
  /**
541
445
  * Execute a step function.
@@ -543,88 +447,7 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
543
447
  * The step may execute many times, but once it is complete, it will not re-execute.
544
448
  */
545
449
  async external(stepFn, clsInst, ...args) {
546
- const commInfo = this.#dbosExec.getStepInfo(stepFn);
547
- if (commInfo === undefined) {
548
- throw new error_1.DBOSNotRegisteredError(stepFn.name);
549
- }
550
- const funcID = this.functionIDGetIncrement();
551
- const maxRetryIntervalSec = 3600; // Maximum retry interval: 1 hour
552
- const span = this.#dbosExec.tracer.startSpan(stepFn.name, {
553
- operationUUID: this.workflowUUID,
554
- operationType: dbos_executor_1.OperationType.COMMUNICATOR,
555
- authenticatedUser: this.authenticatedUser,
556
- assumedRole: this.assumedRole,
557
- authenticatedRoles: this.authenticatedRoles,
558
- retriesAllowed: commInfo.config.retriesAllowed,
559
- intervalSeconds: commInfo.config.intervalSeconds,
560
- maxAttempts: commInfo.config.maxAttempts,
561
- backoffRate: commInfo.config.backoffRate,
562
- }, this.span);
563
- const ctxt = new step_1.StepContextImpl(this, funcID, span, this.#dbosExec.logger, commInfo.config, stepFn.name);
564
- await this.#dbosExec.userDatabase.transaction(async (client) => {
565
- await this.flushResultBuffer(client);
566
- }, { isolationLevel: transaction_1.IsolationLevel.ReadCommitted });
567
- this.resultBuffer.clear();
568
- // Check if this execution previously happened, returning its original result if it did.
569
- const check = await this.#dbosExec.systemDatabase.checkOperationOutput(this.workflowUUID, ctxt.functionID);
570
- if (check !== dbos_executor_1.dbosNull) {
571
- ctxt.span.setAttribute("cached", true);
572
- ctxt.span.setStatus({ code: api_1.SpanStatusCode.OK });
573
- this.#dbosExec.tracer.endSpan(ctxt.span);
574
- return check;
575
- }
576
- // Execute the step function. If it throws an exception, retry with exponential backoff.
577
- // After reaching the maximum number of retries, throw an DBOSError.
578
- let result = dbos_executor_1.dbosNull;
579
- let err = dbos_executor_1.dbosNull;
580
- if (ctxt.retriesAllowed) {
581
- let numAttempts = 0;
582
- let intervalSeconds = ctxt.intervalSeconds;
583
- if (intervalSeconds > maxRetryIntervalSec) {
584
- this.logger.warn(`Step config interval exceeds maximum allowed interval, capped to ${maxRetryIntervalSec} seconds!`);
585
- }
586
- while (result === dbos_executor_1.dbosNull && numAttempts++ < ctxt.maxAttempts) {
587
- try {
588
- result = await stepFn.call(clsInst, ctxt, ...args);
589
- }
590
- catch (error) {
591
- const e = error;
592
- this.logger.warn(`Error in step being automatically retried. Attempt ${numAttempts} of ${ctxt.maxAttempts}. ${e.stack}`);
593
- span.addEvent(`Step attempt ${numAttempts + 1} failed`, { "retryIntervalSeconds": intervalSeconds, "error": error.message }, performance.now());
594
- if (numAttempts < ctxt.maxAttempts) {
595
- // Sleep for an interval, then increase the interval by backoffRate.
596
- // Cap at the maximum allowed retry interval.
597
- await (0, utils_1.sleepms)(intervalSeconds * 1000);
598
- intervalSeconds *= ctxt.backoffRate;
599
- intervalSeconds = intervalSeconds < maxRetryIntervalSec ? intervalSeconds : maxRetryIntervalSec;
600
- }
601
- }
602
- }
603
- }
604
- else {
605
- try {
606
- result = await stepFn.call(clsInst, ctxt, ...args);
607
- }
608
- catch (error) {
609
- err = error;
610
- }
611
- }
612
- // `result` can only be dbosNull when the step timed out
613
- if (result === dbos_executor_1.dbosNull) {
614
- // Record the error, then throw it.
615
- err = err === dbos_executor_1.dbosNull ? new error_1.DBOSError("Step reached maximum retries.", 1) : err;
616
- await this.#dbosExec.systemDatabase.recordOperationError(this.workflowUUID, ctxt.functionID, err);
617
- ctxt.span.setStatus({ code: api_1.SpanStatusCode.ERROR, message: err.message });
618
- this.#dbosExec.tracer.endSpan(ctxt.span);
619
- throw err;
620
- }
621
- else {
622
- // Record the execution and return.
623
- await this.#dbosExec.systemDatabase.recordOperationOutput(this.workflowUUID, ctxt.functionID, result);
624
- ctxt.span.setStatus({ code: api_1.SpanStatusCode.OK });
625
- this.#dbosExec.tracer.endSpan(ctxt.span);
626
- return result;
627
- }
450
+ return this.#dbosExec.callStepFunction(stepFn, clsInst, this, ...args);
628
451
  }
629
452
  /**
630
453
  * Send a message to a workflow identified by a UUID.
@@ -1 +1 @@
1
- {"version":3,"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