@voltro/workflow 0.82.0 → 0.83.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -130,7 +130,7 @@ declare interface WorkflowEngineLayerOptions {
130
130
  * the cluster's accounting clean.
131
131
  */
132
132
  readonly sqlClientLayer: Layer.Layer<SqlClient.SqlClient, ConfigError.ConfigError | SqlError.SqlError, never>;
133
- /** `'sql'` for postgres / mysql / mariadb / mssql, `'memory'` for sqlite. */
133
+ /** SQL ownership for shared primaries; memory for local/embedded stores. */
134
134
  readonly runnerStorage: RunnerStorage;
135
135
  /**
136
136
  * The resolved dialect id (`postgres` / `mysql` / `mariadb` / `mssql` /
@@ -1,7 +1,7 @@
1
1
  import { F as e, R as t, S as n, g as r, v as i } from "./primitives-Btjhjm8P.js";
2
2
  import { E as a, a as o } from "./journalEncryption--n5VDdYO.js";
3
- import { C as s, r as c, w as l } from "./src-BAN5Xovf.js";
4
- import { t as u, u as d } from "./cluster-MboOAwcv.js";
3
+ import { C as s, r as c, w as l } from "./src-DP-lKqaG.js";
4
+ import { t as u, u as d } from "./cluster--WvQZFwk.js";
5
5
  import { Cause as f, Cron as p, Deferred as m, Effect as h, Fiber as g, Layer as _, Schema as v } from "effect";
6
6
  import { SqlClient as y } from "@effect/sql";
7
7
  import { afterEach as b, beforeAll as x, describe as S, expect as C, test as w } from "vitest";
package/dist/index.d.ts CHANGED
@@ -2421,6 +2421,16 @@ export declare const readWorkflowRestartObservationInTransaction: (tx: Admission
2421
2421
  /** Strict lookup shared by receipt owners; a malformed receipt is not absent. */
2422
2422
  export declare const readWorkflowStartReceipt: (store: Pick<DataStore, "query">, id: string) => Promise<WorkflowStartReceipt | undefined>;
2423
2423
 
2424
+ /** Observe an immutable operator request before allocating another pending intent.
2425
+ * Call inside the resident admission transaction. Old unbound receipts cannot
2426
+ * be adopted by a new request, even when their workflow and tenant match. */
2427
+ export declare const readWorkflowStartRequest: (store: Pick<DataStore, "query">, input: {
2428
+ readonly id: string;
2429
+ readonly workflowName: string;
2430
+ readonly tenantId: string | null;
2431
+ readonly requestFingerprint: string;
2432
+ }) => Promise<WorkflowStartReceipt | undefined>;
2433
+
2424
2434
  declare const ReceiptSchema: Schema.filter<Schema.Struct<{
2425
2435
  id: typeof Schema.String;
2426
2436
  workflowName: typeof Schema.String;
@@ -2447,6 +2457,7 @@ declare const ReceiptSchema: Schema.filter<Schema.Struct<{
2447
2457
  at: typeof Schema.Number;
2448
2458
  failureId: typeof Schema.NonEmptyString;
2449
2459
  }>]>>;
2460
+ requestFingerprint: Schema.optional<Schema.NullOr<Schema.filter<typeof Schema.String>>>;
2450
2461
  }>>;
2451
2462
 
2452
2463
  /** Reconcile under the resident admission lock. Only a terminal pre-admission
@@ -3250,6 +3261,11 @@ export declare interface SuspendHintInput {
3250
3261
  */
3251
3262
  export declare const suspendingSignalDeferredName: (workflowName: string, signalName: string) => string;
3252
3263
 
3264
+ export declare class SuspensionUnavailable extends SuspensionUnavailable_base {
3265
+ }
3266
+
3267
+ declare const SuspensionUnavailable_base: Context.ReferenceClass<SuspensionUnavailable, "@voltro/workflow/SuspensionUnavailable", string | undefined>;
3268
+
3253
3269
  /**
3254
3270
  * One cancellation tick. Never throws.
3255
3271
  *
@@ -3632,6 +3648,11 @@ export declare type WorkflowCancelOnList<Cancels extends ReadonlyArray<Schema.Sc
3632
3648
  readonly [I in keyof Cancels]: WorkflowCancelOn<Cancels[I], Payload>;
3633
3649
  };
3634
3650
 
3651
+ /** The refusal a parking primitive raises inside a {@link SuspensionUnavailable} scope. */
3652
+ export declare class WorkflowCannotPark extends Error {
3653
+ constructor(what: string, reason: string);
3654
+ }
3655
+
3635
3656
  /**
3636
3657
  * At most `limit` runs in flight at once, per key.
3637
3658
  *
@@ -4404,6 +4425,12 @@ export declare interface WorkflowSingleton<Payload> {
4404
4425
 
4405
4426
  export declare type WorkflowStartReceipt = typeof ReceiptSchema.Type;
4406
4427
 
4428
+ /** Reusing a start identity must never overwrite or admit a different request. */
4429
+ export declare class WorkflowStartRequestConflictError extends Error {
4430
+ readonly _tag = "WorkflowStartRequestConflictError";
4431
+ constructor();
4432
+ }
4433
+
4407
4434
  export declare type WorkflowStartResolution = {
4408
4435
  readonly kind: 'pending';
4409
4436
  } | {
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { A as e, B as t, C as n, D as r, E as i, F as a, G as o, H as s, I as c, J as l, K as u, M as d, O as f, P as p, R as m, S as h, T as g, U as _, V as v, W as y, X as b, Y as x, Z as S, _ as C, a as w, b as T, c as E, d as D, f as O, g as k, h as A, i as j, j as M, k as N, l as P, m as F, n as I, o as L, p as R, q as z, r as B, s as V, t as H, u as U, v as W, w as G, x as K, y as q, z as J } from "./primitives-Btjhjm8P.js";
2
2
  import { D as Y, E as X, S as Z, _ as Q, c as $, g as ee, h as te, l as ne, m as re, n as ie, o as ae, r as oe, v as se } from "./journalEncryption--n5VDdYO.js";
3
- import { $ as ce, A as le, B as ue, C as de, Ct as fe, D as pe, E as me, Et as he, F as ge, G as _e, H as ve, I as ye, J as be, K as xe, L as Se, M as Ce, N as we, O as Te, P as Ee, Q as De, R as Oe, S as ke, St as Ae, T as je, Tt as Me, U as Ne, V as Pe, W as Fe, X as Ie, Y as Le, Z as Re, _ as ze, _t as Be, a as Ve, at as He, b as Ue, bt as We, c as Ge, ct as Ke, d as qe, dt as Je, et as Ye, f as Xe, ft as Ze, g as Qe, gt as $e, h as et, ht as tt, i as nt, it as rt, j as it, k as at, l as ot, lt as st, m as ct, mt as lt, n as ut, nt as dt, o as ft, ot as pt, p as mt, pt as ht, q as gt, r as _t, rt as vt, s as yt, st as bt, t as xt, tt as St, u as Ct, ut as wt, v as Tt, vt as Et, w as Dt, wt as Ot, x as kt, xt as At, y as jt, yt as Mt, z as Nt } from "./src-BAN5Xovf.js";
4
- import { $ as Pt, A as Ft, At as It, B as Lt, Bt as Rt, Ct as zt, D as Bt, Dt as Vt, Et as Ht, F as Ut, Ft as Wt, G as Gt, Gt as Kt, H as qt, Ht as Jt, It as Yt, J as Xt, K as Zt, L as Qt, Lt as $t, M as en, N as tn, Nt as nn, P as rn, Q as an, R as on, Rt as sn, St as cn, Tt as ln, U as un, Ut as dn, Vt as fn, W as pn, Wt as mn, X as hn, Y as gn, Z as _n, at as vn, b as yn, bt as bn, ct as xn, d as Sn, et as Cn, f as wn, ft as Tn, ht as En, j as Dn, lt as On, n as kn, nt as An, o as jn, pt as Mn, q as Nn, r as Pn, st as Fn, t as In, u as Ln, vt as Rn, x as zn, y as Bn, yt as Vn, z as Hn, zt as Un } from "./clusterDiagnostics-Dc7yBP3b.js";
5
- export { Ft as ADMISSIONS_TABLE, Tn as ADMISSION_SUBMISSION_ID_PREFIX, Xe as BUDGET_HOLDS_TABLE, mt as BudgetHoldExpired, _e as CANCEL_ON_WATERMARK, In as CLUSTER_REREAD_WINDOW_MS, kn as ClusterDiagnostics, d as CurrentWorkflowExecutionId, p as CurrentWorkflowPatches, G as CurrentWorkflowReplayShape, a as CurrentWorkflowRunId, c as CurrentWorkflowStep, ct as DEFAULT_BUDGET_HOLD_TIMEOUT_MS, xe as DEFAULT_COLD_LOOKBACK_MS, Se as DEFAULT_DRAIN_BATCH, gt as DEFAULT_EVENT_BATCH, Dn as DEFAULT_LEASE_MS, xt as DEFAULT_MAX_RUN_RECLAIMS, ut as DEFAULT_REPLAY_SHAPE_LIMIT, Pe as DEFAULT_STALL_AFTER_MS, ve as DEFAULT_STALL_EVENT_LOOKBACK, Ne as DEFAULT_STALL_RUN_PAGE, Ce as DEFAULT_SUSPEND_HINT_MS, f as DEFAULT_WORKFLOW_SCHEDULE_MAX_RUNTIME_MS, _ as DEFERRING_CONTROLS, be as EVENTS_TABLE, $t as FlowControlKeyError, en as PAUSES_TABLE, tn as PENDING_TABLE, ie as STEP_JOURNAL_BINDING, Le as WATERMARKS_TABLE, oe as WORKFLOW_JOURNAL_BINDING, H as WorkflowFlowControlProperty, I as WorkflowMessagesProperty, m as WorkflowRunRecorder, N as WorkflowScheduleProperty, J as WorkflowStepInterceptorTag, B as WorkflowVersionTypeId, j as WorkflowWorkerLayerTypeId, et as _voltroBudgetHoldsTable, ht as _voltroWorkflowAdmissionLocksTable, lt as _voltroWorkflowAdmissionsTable, tt as _voltroWorkflowControlRequestsTable, $e as _voltroWorkflowFailureReportsTable, Be as _voltroWorkflowParentClosuresTable, Et as _voltroWorkflowPausesTable, Mt as _voltroWorkflowPendingTable, fe as _voltroWorkflowRunEventsTable, Ot as _voltroWorkflowRunStepsTable, Me as _voltroWorkflowRunsTable, Ae as _voltroWorkflowStartContextsTable, We as _voltroWorkflowStartReceiptsTable, At as _voltroWorkflowSubmissionsTable, St as _voltroWorkflowWatermarksTable, Oe as acceptAdmissionSubmission, Bn as acceptWorkflowControlInTransaction, Mn as acknowledgeAdmissionSubmission, dt as admitStart, rn as allIntents, y as assertConsistentPools, x as attachPreparedWorkflowExecution, le as awaitEvent, it as awaitSignal, de as awaitSignalSuspending, qe as awaitUpdate, En as beginAdmissionSubmissionDispatchInTransaction, yn as beginWorkflowControlDispatchInTransaction, zn as bindWorkflowResumeJournalInTransaction, vn as bindWorkflowStartReceipts, Qe as budgetHoldGeneration, ze as budgetHoldKey, Tt as budgetHoldSignalName, pt as cancelQueuedWorkflowStartInTransaction, st as cancelSuspendedWorkflowRunInTransaction, sn as comparePendingOrder, Dt as completeSuspendingSignal, wt as completeWorkflowRunGenerationInTransaction, t as currentWorkflowStep, Ut as deadLetterIntent, Un as decideAdmission, o as deferringControlsOf, Qt as deleteIntent, Pn as describeStalledRun, on as discardIntent, Hn as discardIntentInTransaction, Nt as drainTick, Lt as dueIntents, w as durableClock, L as durableQueue, V as durableQueueModule, E as durableRateLimiterModule, Je as enterWorkflowRunGenerationInTransaction, qt as evaluateAdmission, b as executePreparedWorkflow, v as getCurrentWorkflowExecutionId, s as getCurrentWorkflowRunId, P as getWorkflowFlowControl, ae as getWorkflowJournalCipher, e as getWorkflowSchedule, U as getWorkflowVersionMetadata, It as handoffWorkflowFailureInTransaction, u as hasCancelOn, z as hasFlowControl, S as hasPreparedWorkflowExecution, jt as heldBudgets, he as inMemoryWorkflowEngineLayer, Ct as inspectWorkflow, Rt as isFinishExpired, $ as isSealedJournalValue, fn as isStartExpired, ue as isUnacknowledgedSubmission, ne as isWorkflowEncrypted, D as isWorkflowWorkerLayer, vt as linkExecution, ot as makeInMemoryRecorder, g as makeReplayShapeTracker, _t as makeWorkflowRunRecorder, me as makeWorkflowUpdateId, we as maybeHintSuspendingSignal, Rn as newAdmissionSubmissionId, ce as newestEventAt, Jt as nextSlotAt, i as nondeterminismEventPayload, nt as normaliseWorkflowPatches, Vn as noteAdmissionSubmissionFailure, un as noteIntentAttempt, re as openErrorText, te as openEventPayload, ee as openJournalValue, Q as openPayloadFields, se as openWorkflowRow, pn as parkDelayedStart, O as patch, Gt as pauseWorkflow, bn as pendingAdmissionSubmissions, Ue as pendingBudgetHolds, Zt as pendingSlotId, Nn as pendingWindow, Xt as persistDefer, Ye as planCancellations, dn as pooledConcurrencyKey, cn as prepareAdmissionSubmissionExecutionInTransaction, R as processQueue, gn as pruneAdmissions, F as queueWorker, Ke as queuedCancellationRequestsTable, A as rateLimit, hn as readAdmissionState, zt as readAdmissionSubmission, _n as readPausedWorkflows, bt as readQueuedWorkflowCancellationInTransaction, Ie as readWatermark, Bt as readWorkflowControlInTransaction, Wt as readWorkflowFailureRecord, jn as readWorkflowRestartObservationInTransaction, Fn as readWorkflowStartReceipt, nn as reconcileWorkflowFailureInTransaction, an as recordAdmission, Yt as recordWorkflowFailureInTransaction, xn as recordWorkflowStartReceipt, ln as rejectAdmissionSubmissionInTransaction, kt as releaseBudgetHolds, Pt as releaseLease, r as reportNondeterminism, Ht as reserveAdmissionSubmission, Vt as reserveAdmissionSubmissionInTransaction, Ee as resetSuspendHintsForTest, mn as resolveAdmissionKeys, Ve as resolveRunGuardTuning, ge as resolveSuspendHintMs, pe as resolveWorkflowMessageRun, On as resolveWorkflowStartReceipt, Cn as resumeWorkflow, An as retryDeadLetterIntent, Z as sealJournalValue, Te as sendWorkflowSignal, at as sendWorkflowUpdate, ft as serialiseWorkflowRowForWire, ye as setSuspendSignalHintMs, X as setWorkflowJournalCipher, k as sleep, C as sleepUntil, Ze as stageWorkflowParentClosureInTransaction, W as step, q as stepIdempotencyKey, T as stepModule, ke as suspendForBudget, je as suspendingSignalDeferredName, Re as sweepCancelOn, Fe as sweepStalledRuns, rt as takeAdmittedSubmissionInTransaction, He as takePendingAdmissionSubmission, yt as truncateWorkflowValue, Y as tryOpenJournalValue, l as validateFlowControl, M as validateWorkflowSchedule, Kt as withAdmissionTransaction, K as withCompensation, Ln as withdrawWorkflowRestartInTransaction, h as workflow, n as workflowModule, Sn as workflowRestartRequestsTable, wn as workflowRestartWithdrawalsTable, Ge as wrapWorkflowExecuteWithRunRecording, De as writeWatermark };
3
+ import { $ as ce, A as le, B as ue, C as de, Ct as fe, D as pe, Dt as me, E as he, Et as ge, F as _e, G as ve, H as ye, I as be, J as xe, K as Se, L as Ce, M as we, N as Te, O as Ee, Ot as De, P as Oe, Q as ke, R as Ae, S as je, St as Me, T as Ne, Tt as Pe, U as Fe, V as Ie, W as Le, X as Re, Y as ze, Z as Be, _ as Ve, _t as He, a as Ue, at as We, b as Ge, bt as Ke, c as qe, ct as Je, d as Ye, dt as Xe, et as Ze, f as Qe, ft as $e, g as et, gt as tt, h as nt, ht as rt, i as it, it as at, j as ot, k as st, l as ct, lt, m as ut, mt as dt, n as ft, nt as pt, o as mt, ot as ht, p as gt, pt as _t, q as vt, r as yt, rt as bt, s as xt, st as St, t as Ct, tt as wt, u as Tt, ut as Et, v as Dt, vt as Ot, w as kt, wt as At, x as jt, xt as Mt, y as Nt, yt as Pt, z as Ft } from "./src-DP-lKqaG.js";
4
+ import { $ as It, A as Lt, B as Rt, Bt as zt, D as Bt, Dt as Vt, F as Ht, Ft as Ut, G as Wt, Gt, H as Kt, Ht as qt, J as Jt, K as Yt, Kt as Xt, L as Zt, Lt as Qt, M as $t, Mt as en, N as tn, Ot as nn, P as rn, Q as an, R as on, Rt as sn, St as cn, Tt as ln, U as un, Ut as dn, Vt as fn, W as pn, Wt as mn, X as hn, Y as gn, Z as _n, _t as vn, at as yn, b as bn, bt as xn, ct as Sn, d as Cn, dt as wn, et as Tn, f as En, ht as Dn, j as On, kt as kn, lt as An, mt as jn, n as Mn, nt as Nn, o as Pn, ot as Fn, q as In, qt as Ln, r as Rn, t as zn, u as Bn, ut as Vn, wt as Hn, x as Un, xt as Wn, y as Gn, z as Kn, zt as qn } from "./clusterDiagnostics-CGUtnJkX.js";
5
+ export { Lt as ADMISSIONS_TABLE, jn as ADMISSION_SUBMISSION_ID_PREFIX, Qe as BUDGET_HOLDS_TABLE, gt as BudgetHoldExpired, vt as CANCEL_ON_WATERMARK, zn as CLUSTER_REREAD_WINDOW_MS, Mn as ClusterDiagnostics, d as CurrentWorkflowExecutionId, p as CurrentWorkflowPatches, G as CurrentWorkflowReplayShape, a as CurrentWorkflowRunId, c as CurrentWorkflowStep, ut as DEFAULT_BUDGET_HOLD_TIMEOUT_MS, xe as DEFAULT_COLD_LOOKBACK_MS, Ft as DEFAULT_DRAIN_BATCH, ze as DEFAULT_EVENT_BATCH, On as DEFAULT_LEASE_MS, Ct as DEFAULT_MAX_RUN_RECLAIMS, ft as DEFAULT_REPLAY_SHAPE_LIMIT, Fe as DEFAULT_STALL_AFTER_MS, Le as DEFAULT_STALL_EVENT_LOOKBACK, ve as DEFAULT_STALL_RUN_PAGE, Oe as DEFAULT_SUSPEND_HINT_MS, f as DEFAULT_WORKFLOW_SCHEDULE_MAX_RUNTIME_MS, _ as DEFERRING_CONTROLS, Re as EVENTS_TABLE, qn as FlowControlKeyError, $t as PAUSES_TABLE, tn as PENDING_TABLE, ie as STEP_JOURNAL_BINDING, le as SuspensionUnavailable, Be as WATERMARKS_TABLE, oe as WORKFLOW_JOURNAL_BINDING, ot as WorkflowCannotPark, H as WorkflowFlowControlProperty, I as WorkflowMessagesProperty, m as WorkflowRunRecorder, N as WorkflowScheduleProperty, yn as WorkflowStartRequestConflictError, J as WorkflowStepInterceptorTag, B as WorkflowVersionTypeId, j as WorkflowWorkerLayerTypeId, nt as _voltroBudgetHoldsTable, rt as _voltroWorkflowAdmissionLocksTable, tt as _voltroWorkflowAdmissionsTable, He as _voltroWorkflowControlRequestsTable, Ot as _voltroWorkflowFailureReportsTable, Pt as _voltroWorkflowParentClosuresTable, Ke as _voltroWorkflowPausesTable, Mt as _voltroWorkflowPendingTable, Pe as _voltroWorkflowRunEventsTable, ge as _voltroWorkflowRunStepsTable, me as _voltroWorkflowRunsTable, At as _voltroWorkflowStartContextsTable, Me as _voltroWorkflowStartReceiptsTable, fe as _voltroWorkflowSubmissionsTable, bt as _voltroWorkflowWatermarksTable, ue as acceptAdmissionSubmission, Gn as acceptWorkflowControlInTransaction, Dn as acknowledgeAdmissionSubmission, at as admitStart, rn as allIntents, y as assertConsistentPools, x as attachPreparedWorkflowExecution, we as awaitEvent, Te as awaitSignal, de as awaitSignalSuspending, Ye as awaitUpdate, vn as beginAdmissionSubmissionDispatchInTransaction, bn as beginWorkflowControlDispatchInTransaction, Un as bindWorkflowResumeJournalInTransaction, Fn as bindWorkflowStartReceipts, et as budgetHoldGeneration, Ve as budgetHoldKey, Dt as budgetHoldSignalName, Je as cancelQueuedWorkflowStartInTransaction, Xe as cancelSuspendedWorkflowRunInTransaction, zt as comparePendingOrder, kt as completeSuspendingSignal, $e as completeWorkflowRunGenerationInTransaction, t as currentWorkflowStep, Ht as deadLetterIntent, fn as decideAdmission, o as deferringControlsOf, Zt as deleteIntent, Rn as describeStalledRun, on as discardIntent, Kn as discardIntentInTransaction, Ie as drainTick, Rt as dueIntents, w as durableClock, L as durableQueue, V as durableQueueModule, E as durableRateLimiterModule, _t as enterWorkflowRunGenerationInTransaction, Kt as evaluateAdmission, b as executePreparedWorkflow, v as getCurrentWorkflowExecutionId, s as getCurrentWorkflowRunId, P as getWorkflowFlowControl, ae as getWorkflowJournalCipher, e as getWorkflowSchedule, U as getWorkflowVersionMetadata, en as handoffWorkflowFailureInTransaction, u as hasCancelOn, z as hasFlowControl, S as hasPreparedWorkflowExecution, Nt as heldBudgets, De as inMemoryWorkflowEngineLayer, Tt as inspectWorkflow, qt as isFinishExpired, $ as isSealedJournalValue, dn as isStartExpired, ye as isUnacknowledgedSubmission, ne as isWorkflowEncrypted, D as isWorkflowWorkerLayer, We as linkExecution, ct as makeInMemoryRecorder, g as makeReplayShapeTracker, yt as makeWorkflowRunRecorder, he as makeWorkflowUpdateId, _e as maybeHintSuspendingSignal, xn as newAdmissionSubmissionId, wt as newestEventAt, mn as nextSlotAt, i as nondeterminismEventPayload, it as normaliseWorkflowPatches, Wn as noteAdmissionSubmissionFailure, un as noteIntentAttempt, re as openErrorText, te as openEventPayload, ee as openJournalValue, Q as openPayloadFields, se as openWorkflowRow, pn as parkDelayedStart, O as patch, Wt as pauseWorkflow, cn as pendingAdmissionSubmissions, Ge as pendingBudgetHolds, Yt as pendingSlotId, In as pendingWindow, Jt as persistDefer, pt as planCancellations, Gt as pooledConcurrencyKey, Hn as prepareAdmissionSubmissionExecutionInTransaction, R as processQueue, gn as pruneAdmissions, F as queueWorker, Et as queuedCancellationRequestsTable, A as rateLimit, hn as readAdmissionState, ln as readAdmissionSubmission, _n as readPausedWorkflows, lt as readQueuedWorkflowCancellationInTransaction, ke as readWatermark, Bt as readWorkflowControlInTransaction, Qt as readWorkflowFailureRecord, Pn as readWorkflowRestartObservationInTransaction, Sn as readWorkflowStartReceipt, An as readWorkflowStartRequest, Ut as reconcileWorkflowFailureInTransaction, an as recordAdmission, sn as recordWorkflowFailureInTransaction, Vn as recordWorkflowStartReceipt, Vt as rejectAdmissionSubmissionInTransaction, jt as releaseBudgetHolds, It as releaseLease, r as reportNondeterminism, nn as reserveAdmissionSubmission, kn as reserveAdmissionSubmissionInTransaction, be as resetSuspendHintsForTest, Xt as resolveAdmissionKeys, Ue as resolveRunGuardTuning, Ce as resolveSuspendHintMs, pe as resolveWorkflowMessageRun, wn as resolveWorkflowStartReceipt, Tn as resumeWorkflow, Nn as retryDeadLetterIntent, Z as sealJournalValue, Ee as sendWorkflowSignal, st as sendWorkflowUpdate, mt as serialiseWorkflowRowForWire, Ae as setSuspendSignalHintMs, X as setWorkflowJournalCipher, k as sleep, C as sleepUntil, dt as stageWorkflowParentClosureInTransaction, W as step, q as stepIdempotencyKey, T as stepModule, je as suspendForBudget, Ne as suspendingSignalDeferredName, ce as sweepCancelOn, Se as sweepStalledRuns, ht as takeAdmittedSubmissionInTransaction, St as takePendingAdmissionSubmission, xt as truncateWorkflowValue, Y as tryOpenJournalValue, l as validateFlowControl, M as validateWorkflowSchedule, Ln as withAdmissionTransaction, K as withCompensation, Bn as withdrawWorkflowRestartInTransaction, h as workflow, n as workflowModule, Cn as workflowRestartRequestsTable, En as workflowRestartWithdrawalsTable, qe as wrapWorkflowExecuteWithRunRecording, Ze as writeWatermark };