@workflow/world-testing 5.0.0-beta.22 → 5.0.0-beta.24
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.
|
@@ -17091,7 +17091,7 @@ var init_log_format2 = __esm({
|
|
|
17091
17091
|
function SemanticConvention2(...names) {
|
|
17092
17092
|
return (value) => Object.fromEntries(names.map((name) => [name, value]));
|
|
17093
17093
|
}
|
|
17094
|
-
var WorkflowName2, WorkflowOperation2, WorkflowRunId2, WorkflowRunStatus2, WorkflowStartedAt2, WorkflowEventsCount2, WorkflowArgumentsCount2, WorkflowResultType2, WorkflowTracePropagated2, WorkflowTraceMode2, WorkflowErrorName2, WorkflowErrorMessage2, WorkflowErrorCode2, WorkflowStepsCreated2, WorkflowHooksCreated2, WorkflowWaitsCreated2, StepName2, StepId2, StepAttempt2, StepStatus2, StepMaxRetries2, StepTracePropagated2, StepSkipped2, StepSkipReason2, StepArgumentsCount2, StepResultType2, StepErrorName2, StepErrorMessage2, StepFatalError2, StepRetryExhausted2, StepRetryTimeoutSeconds2, StepRetryWillRetry2, MessagingSystem2, MessagingDestinationName2, MessagingMessageId2, MessagingOperationType2, QueueOverheadMs2, DeploymentId2, HookToken2, HookId2, HookFound2, WebhookHandlersTriggered2, WorkflowSuspensionState2, WorkflowSuspensionHookCount2, WorkflowSuspensionStepCount2, WorkflowSuspensionWaitCount2, HttpRequestMethod2, UrlFull2, ServerAddress2, ServerPort2, HttpResponseStatusCode2, ErrorType2, WorldParseFormat2, WorkflowEventsPagesLoaded2, QueueDeserializeTimeMs2, QueueExecutionTimeMs2, QueueSerializeTimeMs2, SerializationOperation2, SerializationCompressed2, SerializationCodec2, SerializationUncompressedBytes2, SerializationStoredBytes2, SerializationCompressionRatio2, PeerService2, RpcSystem2, RpcService2, RpcMethod2, ErrorRetryable2, ErrorCategory2;
|
|
17094
|
+
var WorkflowName2, WorkflowOperation2, WorkflowRunId2, WorkflowRunStatus2, WorkflowStartedAt2, WorkflowEventsCount2, WorkflowArgumentsCount2, WorkflowResultType2, WorkflowTracePropagated2, WorkflowTraceMode2, WorkflowTurbo2, WorkflowErrorName2, WorkflowErrorMessage2, WorkflowErrorCode2, WorkflowStepsCreated2, WorkflowHooksCreated2, WorkflowWaitsCreated2, WorkflowRouteType2, WorkflowRouteHandlerCached2, WorkflowRouteInvocationCount2, WorkflowRouteEntrypointAgeMs2, WorkflowRouteModuleBodyInitMs2, StepName2, StepId2, StepAttempt2, StepStatus2, StepMaxRetries2, StepTracePropagated2, StepSkipped2, StepSkipReason2, StepArgumentsCount2, StepResultType2, StepErrorName2, StepErrorMessage2, StepFatalError2, StepRetryExhausted2, StepRetryTimeoutSeconds2, StepRetryWillRetry2, MessagingSystem2, MessagingDestinationName2, MessagingMessageId2, MessagingOperationType2, QueueOverheadMs2, DeploymentId2, HookToken2, HookId2, HookFound2, WebhookHandlersTriggered2, WorkflowSuspensionState2, WorkflowSuspensionHookCount2, WorkflowSuspensionStepCount2, WorkflowSuspensionWaitCount2, HttpRequestMethod2, HttpRoute2, UrlFull2, ServerAddress2, ServerPort2, HttpResponseStatusCode2, ErrorType2, WorldParseFormat2, WorkflowEventsPagesLoaded2, QueueDeserializeTimeMs2, QueueExecutionTimeMs2, QueueSerializeTimeMs2, SerializationOperation2, SerializationCompressed2, SerializationCodec2, SerializationUncompressedBytes2, SerializationStoredBytes2, SerializationCompressionRatio2, PeerService2, RpcSystem2, RpcService2, RpcMethod2, ErrorRetryable2, ErrorCategory2;
|
|
17095
17095
|
var init_semantic_conventions2 = __esm({
|
|
17096
17096
|
"../core/dist/telemetry/semantic-conventions.js"() {
|
|
17097
17097
|
"use strict";
|
|
@@ -17106,12 +17106,18 @@ var init_semantic_conventions2 = __esm({
|
|
|
17106
17106
|
WorkflowResultType2 = SemanticConvention2("workflow.result.type");
|
|
17107
17107
|
WorkflowTracePropagated2 = SemanticConvention2("workflow.trace.propagated");
|
|
17108
17108
|
WorkflowTraceMode2 = SemanticConvention2("workflow.trace.mode");
|
|
17109
|
+
WorkflowTurbo2 = SemanticConvention2("workflow.turbo");
|
|
17109
17110
|
WorkflowErrorName2 = SemanticConvention2("workflow.error.name");
|
|
17110
17111
|
WorkflowErrorMessage2 = SemanticConvention2("workflow.error.message");
|
|
17111
17112
|
WorkflowErrorCode2 = SemanticConvention2("workflow.error.code");
|
|
17112
17113
|
WorkflowStepsCreated2 = SemanticConvention2("workflow.steps.created");
|
|
17113
17114
|
WorkflowHooksCreated2 = SemanticConvention2("workflow.hooks.created");
|
|
17114
17115
|
WorkflowWaitsCreated2 = SemanticConvention2("workflow.waits.created");
|
|
17116
|
+
WorkflowRouteType2 = SemanticConvention2("workflow.route.type");
|
|
17117
|
+
WorkflowRouteHandlerCached2 = SemanticConvention2("workflow.route.handler_cached");
|
|
17118
|
+
WorkflowRouteInvocationCount2 = SemanticConvention2("workflow.route.invocation_count");
|
|
17119
|
+
WorkflowRouteEntrypointAgeMs2 = SemanticConvention2("workflow.route.entrypoint_age_ms");
|
|
17120
|
+
WorkflowRouteModuleBodyInitMs2 = SemanticConvention2("workflow.route.module_body_init_ms");
|
|
17115
17121
|
StepName2 = SemanticConvention2("step.name");
|
|
17116
17122
|
StepId2 = SemanticConvention2("step.id");
|
|
17117
17123
|
StepAttempt2 = SemanticConvention2("step.attempt");
|
|
@@ -17143,6 +17149,7 @@ var init_semantic_conventions2 = __esm({
|
|
|
17143
17149
|
WorkflowSuspensionStepCount2 = SemanticConvention2("workflow.suspension.step_count");
|
|
17144
17150
|
WorkflowSuspensionWaitCount2 = SemanticConvention2("workflow.suspension.wait_count");
|
|
17145
17151
|
HttpRequestMethod2 = SemanticConvention2("http.request.method");
|
|
17152
|
+
HttpRoute2 = SemanticConvention2("http.route");
|
|
17146
17153
|
UrlFull2 = SemanticConvention2("url.full");
|
|
17147
17154
|
ServerAddress2 = SemanticConvention2("server.address");
|
|
17148
17155
|
ServerPort2 = SemanticConvention2("server.port");
|
|
@@ -19058,10 +19065,11 @@ function matchesDebugNamespace2(namespace, patternList) {
|
|
|
19058
19065
|
}
|
|
19059
19066
|
return enabled;
|
|
19060
19067
|
}
|
|
19061
|
-
function createLogger2(namespace) {
|
|
19068
|
+
function createLogger2(namespace, options = {}) {
|
|
19062
19069
|
const build = /* @__PURE__ */ __name((parentMetadata) => {
|
|
19070
|
+
const getDebugNamespace = /* @__PURE__ */ __name((level) => options.debugNamespace ?? `workflow:${namespace}:${level}`, "getDebugNamespace");
|
|
19063
19071
|
const logger = /* @__PURE__ */ __name((level) => {
|
|
19064
|
-
const debugNamespace =
|
|
19072
|
+
const debugNamespace = getDebugNamespace(level);
|
|
19065
19073
|
return (message, metadata) => {
|
|
19066
19074
|
const hasParent = Object.keys(parentMetadata).length > 0;
|
|
19067
19075
|
const hasCallSite = metadata && Object.keys(metadata).length > 0;
|
|
@@ -19096,7 +19104,7 @@ function createLogger2(namespace) {
|
|
|
19096
19104
|
}, "build");
|
|
19097
19105
|
return build({});
|
|
19098
19106
|
}
|
|
19099
|
-
var stepLogger2, runtimeLogger2, webhookLogger2, eventsLogger2, adapterLogger2;
|
|
19107
|
+
var stepLogger2, runtimeLogger2, webhookLogger2, eventsLogger2, adapterLogger2, buildLogger2;
|
|
19100
19108
|
var init_logger2 = __esm({
|
|
19101
19109
|
"../core/dist/logger.js"() {
|
|
19102
19110
|
"use strict";
|
|
@@ -19109,6 +19117,9 @@ var init_logger2 = __esm({
|
|
|
19109
19117
|
webhookLogger2 = createLogger2("webhook");
|
|
19110
19118
|
eventsLogger2 = createLogger2("events");
|
|
19111
19119
|
adapterLogger2 = createLogger2("adapter");
|
|
19120
|
+
buildLogger2 = createLogger2("build", {
|
|
19121
|
+
debugNamespace: "workflow:build"
|
|
19122
|
+
});
|
|
19112
19123
|
}
|
|
19113
19124
|
});
|
|
19114
19125
|
|
|
@@ -19193,7 +19204,7 @@ var version4;
|
|
|
19193
19204
|
var init_version3 = __esm({
|
|
19194
19205
|
"../core/dist/version.js"() {
|
|
19195
19206
|
"use strict";
|
|
19196
|
-
version4 = "5.0.0-beta.
|
|
19207
|
+
version4 = "5.0.0-beta.24";
|
|
19197
19208
|
}
|
|
19198
19209
|
});
|
|
19199
19210
|
|
|
@@ -74998,12 +75009,18 @@ var WorkflowArgumentsCount;
|
|
|
74998
75009
|
var WorkflowResultType;
|
|
74999
75010
|
var WorkflowTracePropagated;
|
|
75000
75011
|
var WorkflowTraceMode;
|
|
75012
|
+
var WorkflowTurbo;
|
|
75001
75013
|
var WorkflowErrorName;
|
|
75002
75014
|
var WorkflowErrorMessage;
|
|
75003
75015
|
var WorkflowErrorCode;
|
|
75004
75016
|
var WorkflowStepsCreated;
|
|
75005
75017
|
var WorkflowHooksCreated;
|
|
75006
75018
|
var WorkflowWaitsCreated;
|
|
75019
|
+
var WorkflowRouteType;
|
|
75020
|
+
var WorkflowRouteHandlerCached;
|
|
75021
|
+
var WorkflowRouteInvocationCount;
|
|
75022
|
+
var WorkflowRouteEntrypointAgeMs;
|
|
75023
|
+
var WorkflowRouteModuleBodyInitMs;
|
|
75007
75024
|
var StepName;
|
|
75008
75025
|
var StepId;
|
|
75009
75026
|
var StepAttempt;
|
|
@@ -75035,6 +75052,7 @@ var WorkflowSuspensionHookCount;
|
|
|
75035
75052
|
var WorkflowSuspensionStepCount;
|
|
75036
75053
|
var WorkflowSuspensionWaitCount;
|
|
75037
75054
|
var HttpRequestMethod;
|
|
75055
|
+
var HttpRoute;
|
|
75038
75056
|
var UrlFull;
|
|
75039
75057
|
var ServerAddress;
|
|
75040
75058
|
var ServerPort;
|
|
@@ -75071,12 +75089,18 @@ var init_semantic_conventions = __esm2({
|
|
|
75071
75089
|
WorkflowResultType = SemanticConvention("workflow.result.type");
|
|
75072
75090
|
WorkflowTracePropagated = SemanticConvention("workflow.trace.propagated");
|
|
75073
75091
|
WorkflowTraceMode = SemanticConvention("workflow.trace.mode");
|
|
75092
|
+
WorkflowTurbo = SemanticConvention("workflow.turbo");
|
|
75074
75093
|
WorkflowErrorName = SemanticConvention("workflow.error.name");
|
|
75075
75094
|
WorkflowErrorMessage = SemanticConvention("workflow.error.message");
|
|
75076
75095
|
WorkflowErrorCode = SemanticConvention("workflow.error.code");
|
|
75077
75096
|
WorkflowStepsCreated = SemanticConvention("workflow.steps.created");
|
|
75078
75097
|
WorkflowHooksCreated = SemanticConvention("workflow.hooks.created");
|
|
75079
75098
|
WorkflowWaitsCreated = SemanticConvention("workflow.waits.created");
|
|
75099
|
+
WorkflowRouteType = SemanticConvention("workflow.route.type");
|
|
75100
|
+
WorkflowRouteHandlerCached = SemanticConvention("workflow.route.handler_cached");
|
|
75101
|
+
WorkflowRouteInvocationCount = SemanticConvention("workflow.route.invocation_count");
|
|
75102
|
+
WorkflowRouteEntrypointAgeMs = SemanticConvention("workflow.route.entrypoint_age_ms");
|
|
75103
|
+
WorkflowRouteModuleBodyInitMs = SemanticConvention("workflow.route.module_body_init_ms");
|
|
75080
75104
|
StepName = SemanticConvention("step.name");
|
|
75081
75105
|
StepId = SemanticConvention("step.id");
|
|
75082
75106
|
StepAttempt = SemanticConvention("step.attempt");
|
|
@@ -75108,6 +75132,7 @@ var init_semantic_conventions = __esm2({
|
|
|
75108
75132
|
WorkflowSuspensionStepCount = SemanticConvention("workflow.suspension.step_count");
|
|
75109
75133
|
WorkflowSuspensionWaitCount = SemanticConvention("workflow.suspension.wait_count");
|
|
75110
75134
|
HttpRequestMethod = SemanticConvention("http.request.method");
|
|
75135
|
+
HttpRoute = SemanticConvention("http.route");
|
|
75111
75136
|
UrlFull = SemanticConvention("url.full");
|
|
75112
75137
|
ServerAddress = SemanticConvention("server.address");
|
|
75113
75138
|
ServerPort = SemanticConvention("server.port");
|
|
@@ -77279,10 +77304,11 @@ function matchesDebugNamespace(namespace, patternList) {
|
|
|
77279
77304
|
return enabled;
|
|
77280
77305
|
}
|
|
77281
77306
|
__name(matchesDebugNamespace, "matchesDebugNamespace");
|
|
77282
|
-
function createLogger(namespace) {
|
|
77307
|
+
function createLogger(namespace, options = {}) {
|
|
77283
77308
|
const build = /* @__PURE__ */ __name2((parentMetadata) => {
|
|
77309
|
+
const getDebugNamespace = /* @__PURE__ */ __name2((level) => options.debugNamespace ?? `workflow:${namespace}:${level}`, "getDebugNamespace");
|
|
77284
77310
|
const logger = /* @__PURE__ */ __name2((level) => {
|
|
77285
|
-
const debugNamespace =
|
|
77311
|
+
const debugNamespace = getDebugNamespace(level);
|
|
77286
77312
|
return (message, metadata) => {
|
|
77287
77313
|
const hasParent = Object.keys(parentMetadata).length > 0;
|
|
77288
77314
|
const hasCallSite = metadata && Object.keys(metadata).length > 0;
|
|
@@ -77334,6 +77360,7 @@ var runtimeLogger;
|
|
|
77334
77360
|
var webhookLogger;
|
|
77335
77361
|
var eventsLogger;
|
|
77336
77362
|
var adapterLogger;
|
|
77363
|
+
var buildLogger;
|
|
77337
77364
|
var init_logger = __esm2({
|
|
77338
77365
|
"../core/dist/logger.js"() {
|
|
77339
77366
|
"use strict";
|
|
@@ -77346,6 +77373,9 @@ var init_logger = __esm2({
|
|
|
77346
77373
|
webhookLogger = createLogger("webhook");
|
|
77347
77374
|
eventsLogger = createLogger("events");
|
|
77348
77375
|
adapterLogger = createLogger("adapter");
|
|
77376
|
+
buildLogger = createLogger("build", {
|
|
77377
|
+
debugNamespace: "workflow:build"
|
|
77378
|
+
});
|
|
77349
77379
|
}
|
|
77350
77380
|
});
|
|
77351
77381
|
function rethrowIfRuntimeError(error482) {
|
|
@@ -79556,7 +79586,7 @@ var version2;
|
|
|
79556
79586
|
var init_version = __esm2({
|
|
79557
79587
|
"../core/dist/version.js"() {
|
|
79558
79588
|
"use strict";
|
|
79559
|
-
version2 = "5.0.0-beta.
|
|
79589
|
+
version2 = "5.0.0-beta.24";
|
|
79560
79590
|
}
|
|
79561
79591
|
});
|
|
79562
79592
|
function getWorkflowQueueName(workflowName, namespace) {
|
|
@@ -82793,7 +82823,7 @@ __name2(start, "start");
|
|
|
82793
82823
|
value: "start",
|
|
82794
82824
|
configurable: true
|
|
82795
82825
|
});
|
|
82796
|
-
})(start, "step//@workflow/core/runtime/start@5.0.0-beta.
|
|
82826
|
+
})(start, "step//@workflow/core/runtime/start@5.0.0-beta.24//start");
|
|
82797
82827
|
function isRetryableStartError(err) {
|
|
82798
82828
|
if (ThrottleError.is(err)) return true;
|
|
82799
82829
|
if (WorkflowWorldError.is(err) && err.status && err.status >= 500) return true;
|
|
@@ -83127,7 +83157,7 @@ var Run = class _Run {
|
|
|
83127
83157
|
value: "wakeUp",
|
|
83128
83158
|
configurable: true
|
|
83129
83159
|
});
|
|
83130
|
-
})(Run.prototype["wakeUp"], "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
83160
|
+
})(Run.prototype["wakeUp"], "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#wakeUp");
|
|
83131
83161
|
(function(__wf_fn, __wf_id) {
|
|
83132
83162
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
83133
83163
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -83136,7 +83166,7 @@ var Run = class _Run {
|
|
|
83136
83166
|
value: "cancel",
|
|
83137
83167
|
configurable: true
|
|
83138
83168
|
});
|
|
83139
|
-
})(Run.prototype["cancel"], "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
83169
|
+
})(Run.prototype["cancel"], "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#cancel");
|
|
83140
83170
|
(function(__wf_fn, __wf_id) {
|
|
83141
83171
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
83142
83172
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -83145,7 +83175,7 @@ var Run = class _Run {
|
|
|
83145
83175
|
value: "getReadable",
|
|
83146
83176
|
configurable: true
|
|
83147
83177
|
});
|
|
83148
|
-
})(Run.prototype["getReadable"], "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
83178
|
+
})(Run.prototype["getReadable"], "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#getReadable");
|
|
83149
83179
|
(function(__wf_fn, __wf_id) {
|
|
83150
83180
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
83151
83181
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -83154,7 +83184,7 @@ var Run = class _Run {
|
|
|
83154
83184
|
value: "exists",
|
|
83155
83185
|
configurable: true
|
|
83156
83186
|
});
|
|
83157
|
-
})(Object.getOwnPropertyDescriptor(Run.prototype, "exists").get, "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
83187
|
+
})(Object.getOwnPropertyDescriptor(Run.prototype, "exists").get, "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#exists");
|
|
83158
83188
|
(function(__wf_fn, __wf_id) {
|
|
83159
83189
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
83160
83190
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -83163,7 +83193,7 @@ var Run = class _Run {
|
|
|
83163
83193
|
value: "status",
|
|
83164
83194
|
configurable: true
|
|
83165
83195
|
});
|
|
83166
|
-
})(Object.getOwnPropertyDescriptor(Run.prototype, "status").get, "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
83196
|
+
})(Object.getOwnPropertyDescriptor(Run.prototype, "status").get, "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#status");
|
|
83167
83197
|
(function(__wf_fn, __wf_id) {
|
|
83168
83198
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
83169
83199
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -83172,7 +83202,7 @@ var Run = class _Run {
|
|
|
83172
83202
|
value: "returnValue",
|
|
83173
83203
|
configurable: true
|
|
83174
83204
|
});
|
|
83175
|
-
})(Object.getOwnPropertyDescriptor(Run.prototype, "returnValue").get, "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
83205
|
+
})(Object.getOwnPropertyDescriptor(Run.prototype, "returnValue").get, "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#returnValue");
|
|
83176
83206
|
(function(__wf_fn, __wf_id) {
|
|
83177
83207
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
83178
83208
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -83181,7 +83211,7 @@ var Run = class _Run {
|
|
|
83181
83211
|
value: "workflowName",
|
|
83182
83212
|
configurable: true
|
|
83183
83213
|
});
|
|
83184
|
-
})(Object.getOwnPropertyDescriptor(Run.prototype, "workflowName").get, "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
83214
|
+
})(Object.getOwnPropertyDescriptor(Run.prototype, "workflowName").get, "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#workflowName");
|
|
83185
83215
|
(function(__wf_fn, __wf_id) {
|
|
83186
83216
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
83187
83217
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -83190,7 +83220,7 @@ var Run = class _Run {
|
|
|
83190
83220
|
value: "createdAt",
|
|
83191
83221
|
configurable: true
|
|
83192
83222
|
});
|
|
83193
|
-
})(Object.getOwnPropertyDescriptor(Run.prototype, "createdAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
83223
|
+
})(Object.getOwnPropertyDescriptor(Run.prototype, "createdAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#createdAt");
|
|
83194
83224
|
(function(__wf_fn, __wf_id) {
|
|
83195
83225
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
83196
83226
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -83199,7 +83229,7 @@ var Run = class _Run {
|
|
|
83199
83229
|
value: "startedAt",
|
|
83200
83230
|
configurable: true
|
|
83201
83231
|
});
|
|
83202
|
-
})(Object.getOwnPropertyDescriptor(Run.prototype, "startedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
83232
|
+
})(Object.getOwnPropertyDescriptor(Run.prototype, "startedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#startedAt");
|
|
83203
83233
|
(function(__wf_fn, __wf_id) {
|
|
83204
83234
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
83205
83235
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -83208,7 +83238,7 @@ var Run = class _Run {
|
|
|
83208
83238
|
value: "completedAt",
|
|
83209
83239
|
configurable: true
|
|
83210
83240
|
});
|
|
83211
|
-
})(Object.getOwnPropertyDescriptor(Run.prototype, "completedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
83241
|
+
})(Object.getOwnPropertyDescriptor(Run.prototype, "completedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#completedAt");
|
|
83212
83242
|
(function(__wf_cls, __wf_id) {
|
|
83213
83243
|
var __wf_sym = /* @__PURE__ */ Symbol.for("workflow-class-registry"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
83214
83244
|
__wf_reg.set(__wf_id, __wf_cls);
|
|
@@ -83218,7 +83248,7 @@ var Run = class _Run {
|
|
|
83218
83248
|
enumerable: false,
|
|
83219
83249
|
configurable: false
|
|
83220
83250
|
});
|
|
83221
|
-
})(Run, "class//@workflow/core/runtime/run@5.0.0-beta.
|
|
83251
|
+
})(Run, "class//@workflow/core/runtime/run@5.0.0-beta.24//Run");
|
|
83222
83252
|
async function fetch2(...args) {
|
|
83223
83253
|
return globalThis.fetch(...args);
|
|
83224
83254
|
}
|
|
@@ -99988,7 +100018,7 @@ function workflowEntrypoint(workflowCode2, options) {
|
|
|
99988
100018
|
const spanKind = await getSpanKind("CONSUMER");
|
|
99989
100019
|
return await withTraceContext(parentTraceCarrier, async () => {
|
|
99990
100020
|
return await withWorkflowBaggage({ workflowRunId: runId, workflowName }, async () => {
|
|
99991
|
-
const world = await getWorld();
|
|
100021
|
+
const world = await trace3("workflow.route.get_world", async () => getWorld());
|
|
99992
100022
|
return trace3(`workflow.execute ${workflowDisplayName2(workflowName)}`, { kind: spanKind, links: spanLinks }, async (span) => {
|
|
99993
100023
|
span?.setAttributes({
|
|
99994
100024
|
...WorkflowName2(workflowName),
|
|
@@ -100013,6 +100043,7 @@ function workflowEntrypoint(workflowCode2, options) {
|
|
|
100013
100043
|
let preloadedEvents;
|
|
100014
100044
|
let preloadedEventsCursor;
|
|
100015
100045
|
const turbo = isTurboEnabled() && runInput !== void 0 && metadata.attempt === 1 && incomingStepId === void 0 && !replayDivergence;
|
|
100046
|
+
span?.setAttributes(WorkflowTurbo2(turbo));
|
|
100016
100047
|
let runReadyBarrier;
|
|
100017
100048
|
const awaitRunReady = /* @__PURE__ */ __name(async () => {
|
|
100018
100049
|
if (runReadyBarrier) {
|
|
@@ -100139,7 +100170,13 @@ function workflowEntrypoint(workflowCode2, options) {
|
|
|
100139
100170
|
}
|
|
100140
100171
|
} : {}
|
|
100141
100172
|
};
|
|
100173
|
+
const recordRunStartedCreateStart = /* @__PURE__ */ __name((skipPreload) => {
|
|
100174
|
+
span?.addEvent("workflow.run_started.create.start", {
|
|
100175
|
+
"workflow.run_started.skip_preload": skipPreload
|
|
100176
|
+
});
|
|
100177
|
+
}, "recordRunStartedCreateStart");
|
|
100142
100178
|
if (turbo && runInput) {
|
|
100179
|
+
recordRunStartedCreateStart(true);
|
|
100143
100180
|
const startedPromise = world.events.create(
|
|
100144
100181
|
runId,
|
|
100145
100182
|
runStartedEvent,
|
|
@@ -100189,6 +100226,7 @@ function workflowEntrypoint(workflowCode2, options) {
|
|
|
100189
100226
|
});
|
|
100190
100227
|
} else {
|
|
100191
100228
|
try {
|
|
100229
|
+
recordRunStartedCreateStart(false);
|
|
100192
100230
|
const result = await world.events.create(runId, runStartedEvent, { requestId });
|
|
100193
100231
|
if (!result.run) {
|
|
100194
100232
|
throw new WorkflowRuntimeError2(`Event creation for 'run_started' did not return the run entity for run "${runId}"`);
|
|
@@ -100719,16 +100757,43 @@ function workflowEntrypoint(workflowCode2, options) {
|
|
|
100719
100757
|
});
|
|
100720
100758
|
}), "handler");
|
|
100721
100759
|
let cachedHandler;
|
|
100760
|
+
let invocationCount = 0;
|
|
100761
|
+
const entrypointCreatedAt = Date.now();
|
|
100762
|
+
const routeModuleBodyInitMs = typeof options?.routeModuleBodyStartedAt === "number" ? entrypointCreatedAt - options.routeModuleBodyStartedAt : void 0;
|
|
100722
100763
|
return withHealthCheck(async (req) => {
|
|
100723
|
-
|
|
100724
|
-
|
|
100725
|
-
|
|
100726
|
-
return
|
|
100764
|
+
invocationCount += 1;
|
|
100765
|
+
const handlerCached = cachedHandler !== void 0;
|
|
100766
|
+
const spanKind = await getSpanKind("SERVER");
|
|
100767
|
+
return trace3("workflow.route.flow", {
|
|
100768
|
+
kind: spanKind,
|
|
100769
|
+
attributes: {
|
|
100770
|
+
...WorkflowRouteType2("flow"),
|
|
100771
|
+
...WorkflowRouteHandlerCached2(handlerCached),
|
|
100772
|
+
...WorkflowRouteInvocationCount2(invocationCount),
|
|
100773
|
+
...WorkflowRouteEntrypointAgeMs2(Date.now() - entrypointCreatedAt),
|
|
100774
|
+
...routeModuleBodyInitMs === void 0 ? {} : WorkflowRouteModuleBodyInitMs2(routeModuleBodyInitMs),
|
|
100775
|
+
...HttpRequestMethod2(req.method),
|
|
100776
|
+
...HttpRoute2("/.well-known/workflow/v1/flow")
|
|
100777
|
+
}
|
|
100778
|
+
}, async (span) => {
|
|
100779
|
+
if (!cachedHandler) {
|
|
100780
|
+
cachedHandler = await trace3("workflow.route.init", async () => {
|
|
100781
|
+
const worldHandlers = await trace3("workflow.route.get_world_handlers", async () => getWorldHandlers());
|
|
100782
|
+
return handler(worldHandlers);
|
|
100783
|
+
});
|
|
100784
|
+
}
|
|
100785
|
+
const response = await cachedHandler(req);
|
|
100786
|
+
if (response instanceof Response) {
|
|
100787
|
+
span?.setAttributes(HttpResponseStatusCode2(response.status));
|
|
100788
|
+
}
|
|
100789
|
+
return response;
|
|
100790
|
+
});
|
|
100727
100791
|
});
|
|
100728
100792
|
}
|
|
100729
100793
|
__name(workflowEntrypoint, "workflowEntrypoint");
|
|
100730
100794
|
|
|
100731
100795
|
// .well-known/workflow/v1/virtual-entry.js
|
|
100796
|
+
var workflowRouteModuleBodyStartedAt = Date.now();
|
|
100732
100797
|
var workflowCode = `globalThis.__private_workflows = new Map();
|
|
100733
100798
|
"use strict";
|
|
100734
100799
|
var __create = Object.create;
|
|
@@ -117007,10 +117072,10 @@ var Run = class _Run {
|
|
|
117007
117072
|
return this.getReadable();
|
|
117008
117073
|
}
|
|
117009
117074
|
};
|
|
117010
|
-
Run.prototype["wakeUp"] = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.
|
|
117011
|
-
Run.prototype["cancel"] = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.
|
|
117012
|
-
Run.prototype["getReadable"] = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.
|
|
117013
|
-
var __step_Run$exists = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.
|
|
117075
|
+
Run.prototype["wakeUp"] = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.24//Run#wakeUp");
|
|
117076
|
+
Run.prototype["cancel"] = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.24//Run#cancel");
|
|
117077
|
+
Run.prototype["getReadable"] = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.24//Run#getReadable");
|
|
117078
|
+
var __step_Run$exists = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.24//Run#exists");
|
|
117014
117079
|
Object.defineProperty(Run.prototype, "exists", {
|
|
117015
117080
|
get() {
|
|
117016
117081
|
return __step_Run$exists.call(this);
|
|
@@ -117018,7 +117083,7 @@ Object.defineProperty(Run.prototype, "exists", {
|
|
|
117018
117083
|
configurable: true,
|
|
117019
117084
|
enumerable: false
|
|
117020
117085
|
});
|
|
117021
|
-
var __step_Run$status = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.
|
|
117086
|
+
var __step_Run$status = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.24//Run#status");
|
|
117022
117087
|
Object.defineProperty(Run.prototype, "status", {
|
|
117023
117088
|
get() {
|
|
117024
117089
|
return __step_Run$status.call(this);
|
|
@@ -117026,7 +117091,7 @@ Object.defineProperty(Run.prototype, "status", {
|
|
|
117026
117091
|
configurable: true,
|
|
117027
117092
|
enumerable: false
|
|
117028
117093
|
});
|
|
117029
|
-
var __step_Run$returnValue = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.
|
|
117094
|
+
var __step_Run$returnValue = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.24//Run#returnValue");
|
|
117030
117095
|
Object.defineProperty(Run.prototype, "returnValue", {
|
|
117031
117096
|
get() {
|
|
117032
117097
|
return __step_Run$returnValue.call(this);
|
|
@@ -117034,7 +117099,7 @@ Object.defineProperty(Run.prototype, "returnValue", {
|
|
|
117034
117099
|
configurable: true,
|
|
117035
117100
|
enumerable: false
|
|
117036
117101
|
});
|
|
117037
|
-
var __step_Run$workflowName = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.
|
|
117102
|
+
var __step_Run$workflowName = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.24//Run#workflowName");
|
|
117038
117103
|
Object.defineProperty(Run.prototype, "workflowName", {
|
|
117039
117104
|
get() {
|
|
117040
117105
|
return __step_Run$workflowName.call(this);
|
|
@@ -117042,7 +117107,7 @@ Object.defineProperty(Run.prototype, "workflowName", {
|
|
|
117042
117107
|
configurable: true,
|
|
117043
117108
|
enumerable: false
|
|
117044
117109
|
});
|
|
117045
|
-
var __step_Run$createdAt = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.
|
|
117110
|
+
var __step_Run$createdAt = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.24//Run#createdAt");
|
|
117046
117111
|
Object.defineProperty(Run.prototype, "createdAt", {
|
|
117047
117112
|
get() {
|
|
117048
117113
|
return __step_Run$createdAt.call(this);
|
|
@@ -117050,7 +117115,7 @@ Object.defineProperty(Run.prototype, "createdAt", {
|
|
|
117050
117115
|
configurable: true,
|
|
117051
117116
|
enumerable: false
|
|
117052
117117
|
});
|
|
117053
|
-
var __step_Run$startedAt = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.
|
|
117118
|
+
var __step_Run$startedAt = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.24//Run#startedAt");
|
|
117054
117119
|
Object.defineProperty(Run.prototype, "startedAt", {
|
|
117055
117120
|
get() {
|
|
117056
117121
|
return __step_Run$startedAt.call(this);
|
|
@@ -117058,7 +117123,7 @@ Object.defineProperty(Run.prototype, "startedAt", {
|
|
|
117058
117123
|
configurable: true,
|
|
117059
117124
|
enumerable: false
|
|
117060
117125
|
});
|
|
117061
|
-
var __step_Run$completedAt = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.
|
|
117126
|
+
var __step_Run$completedAt = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.24//Run#completedAt");
|
|
117062
117127
|
Object.defineProperty(Run.prototype, "completedAt", {
|
|
117063
117128
|
get() {
|
|
117064
117129
|
return __step_Run$completedAt.call(this);
|
|
@@ -117075,7 +117140,7 @@ Object.defineProperty(Run.prototype, "completedAt", {
|
|
|
117075
117140
|
enumerable: false,
|
|
117076
117141
|
configurable: false
|
|
117077
117142
|
});
|
|
117078
|
-
})(Run, "class//@workflow/core/runtime/run@5.0.0-beta.
|
|
117143
|
+
})(Run, "class//@workflow/core/runtime/run@5.0.0-beta.24//Run");
|
|
117079
117144
|
|
|
117080
117145
|
// ../core/dist/workflow/create-hook.js
|
|
117081
117146
|
aliasSerializationClass(RUN_CLASS_ID, Run);
|
|
@@ -117298,7 +117363,7 @@ globalThis.__private_workflows.set("workflow//./workflows/retriable-and-fatal//r
|
|
|
117298
117363
|
var stepThatThrowsRetryableError = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError");
|
|
117299
117364
|
var stepThatFails = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//./workflows/retriable-and-fatal//stepThatFails");
|
|
117300
117365
|
`;
|
|
117301
|
-
var POST = workflowEntrypoint(workflowCode);
|
|
117366
|
+
var POST = workflowEntrypoint(workflowCode, { routeModuleBodyStartedAt: workflowRouteModuleBodyStartedAt });
|
|
117302
117367
|
export {
|
|
117303
117368
|
POST
|
|
117304
117369
|
};
|
|
@@ -1,33 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"steps": {
|
|
4
|
-
"workflows/retriable-and-fatal.ts": {
|
|
5
|
-
"stepThatFails": {
|
|
6
|
-
"stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
|
|
7
|
-
},
|
|
8
|
-
"stepThatThrowsRetryableError": {
|
|
9
|
-
"stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
4
|
"workflows/hooks.ts": {
|
|
13
5
|
"writeEvent": {
|
|
14
6
|
"stepId": "step//./workflows/hooks//writeEvent"
|
|
15
7
|
}
|
|
16
8
|
},
|
|
17
|
-
"workflows/
|
|
18
|
-
"nullByteStep": {
|
|
19
|
-
"stepId": "step//./workflows/null-byte//nullByteStep"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"workflows/inline-execution.ts": {
|
|
9
|
+
"workflows/addition.ts": {
|
|
23
10
|
"add": {
|
|
24
|
-
"stepId": "step//./workflows/
|
|
25
|
-
},
|
|
26
|
-
"closeOutputStream": {
|
|
27
|
-
"stepId": "step//./workflows/inline-execution//closeOutputStream"
|
|
28
|
-
},
|
|
29
|
-
"writeToStream": {
|
|
30
|
-
"stepId": "step//./workflows/inline-execution//writeToStream"
|
|
11
|
+
"stepId": "step//./workflows/addition//add"
|
|
31
12
|
}
|
|
32
13
|
},
|
|
33
14
|
"workflows/noop.ts": {
|
|
@@ -35,9 +16,9 @@
|
|
|
35
16
|
"stepId": "step//./workflows/noop//noop"
|
|
36
17
|
}
|
|
37
18
|
},
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"stepId": "step//./
|
|
19
|
+
"workflows/null-byte.ts": {
|
|
20
|
+
"nullByteStep": {
|
|
21
|
+
"stepId": "step//./workflows/null-byte//nullByteStep"
|
|
41
22
|
}
|
|
42
23
|
},
|
|
43
24
|
"workflow/dist/internal/builtins.js": {
|
|
@@ -54,60 +35,79 @@
|
|
|
54
35
|
"stepId": "__builtin_set_attributes"
|
|
55
36
|
}
|
|
56
37
|
},
|
|
57
|
-
"workflows/
|
|
38
|
+
"workflows/inline-execution.ts": {
|
|
58
39
|
"add": {
|
|
59
|
-
"stepId": "step//./workflows/
|
|
40
|
+
"stepId": "step//./workflows/inline-execution//add"
|
|
41
|
+
},
|
|
42
|
+
"closeOutputStream": {
|
|
43
|
+
"stepId": "step//./workflows/inline-execution//closeOutputStream"
|
|
44
|
+
},
|
|
45
|
+
"writeToStream": {
|
|
46
|
+
"stepId": "step//./workflows/inline-execution//writeToStream"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"workflow/dist/stdlib.js": {
|
|
50
|
+
"fetch": {
|
|
51
|
+
"stepId": "step//./workflow/dist/stdlib//fetch"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"workflows/retriable-and-fatal.ts": {
|
|
55
|
+
"stepThatFails": {
|
|
56
|
+
"stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
|
|
57
|
+
},
|
|
58
|
+
"stepThatThrowsRetryableError": {
|
|
59
|
+
"stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
"core/dist/runtime/start.js": {
|
|
63
63
|
"start": {
|
|
64
|
-
"stepId": "step//@workflow/core/runtime/start@5.0.0-beta.
|
|
64
|
+
"stepId": "step//@workflow/core/runtime/start@5.0.0-beta.24//start"
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
67
|
"core/dist/runtime/run.js": {
|
|
68
68
|
"Run#cancel": {
|
|
69
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
69
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#cancel"
|
|
70
70
|
},
|
|
71
71
|
"Run#completedAt": {
|
|
72
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
72
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#completedAt"
|
|
73
73
|
},
|
|
74
74
|
"Run#createdAt": {
|
|
75
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
75
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#createdAt"
|
|
76
76
|
},
|
|
77
77
|
"Run#exists": {
|
|
78
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
78
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#exists"
|
|
79
79
|
},
|
|
80
80
|
"Run#getReadable": {
|
|
81
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
81
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#getReadable"
|
|
82
82
|
},
|
|
83
83
|
"Run#returnValue": {
|
|
84
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
84
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#returnValue"
|
|
85
85
|
},
|
|
86
86
|
"Run#startedAt": {
|
|
87
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
87
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#startedAt"
|
|
88
88
|
},
|
|
89
89
|
"Run#status": {
|
|
90
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
90
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#status"
|
|
91
91
|
},
|
|
92
92
|
"Run#wakeUp": {
|
|
93
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
93
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#wakeUp"
|
|
94
94
|
},
|
|
95
95
|
"Run#workflowName": {
|
|
96
|
-
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
96
|
+
"stepId": "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#workflowName"
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
100
|
"workflows": {
|
|
101
|
-
"workflows/
|
|
102
|
-
"
|
|
103
|
-
"workflowId": "workflow//./workflows/
|
|
101
|
+
"workflows/hooks.ts": {
|
|
102
|
+
"collectWithHook": {
|
|
103
|
+
"workflowId": "workflow//./workflows/hooks//collectWithHook",
|
|
104
104
|
"graph": {
|
|
105
105
|
"nodes": [
|
|
106
106
|
{
|
|
107
107
|
"id": "start",
|
|
108
108
|
"type": "workflowStart",
|
|
109
109
|
"data": {
|
|
110
|
-
"label": "Start:
|
|
110
|
+
"label": "Start: collectWithHook",
|
|
111
111
|
"nodeKind": "workflow_start"
|
|
112
112
|
}
|
|
113
113
|
},
|
|
@@ -131,16 +131,16 @@
|
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
},
|
|
134
|
-
"workflows/
|
|
135
|
-
"
|
|
136
|
-
"workflowId": "workflow//./workflows/
|
|
134
|
+
"workflows/addition.ts": {
|
|
135
|
+
"addTenWorkflow": {
|
|
136
|
+
"workflowId": "workflow//./workflows/addition//addTenWorkflow",
|
|
137
137
|
"graph": {
|
|
138
138
|
"nodes": [
|
|
139
139
|
{
|
|
140
140
|
"id": "start",
|
|
141
141
|
"type": "workflowStart",
|
|
142
142
|
"data": {
|
|
143
|
-
"label": "Start:
|
|
143
|
+
"label": "Start: addTenWorkflow",
|
|
144
144
|
"nodeKind": "workflow_start"
|
|
145
145
|
}
|
|
146
146
|
},
|
|
@@ -162,18 +162,16 @@
|
|
|
162
162
|
}
|
|
163
163
|
]
|
|
164
164
|
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
"nullByteWorkflow": {
|
|
169
|
-
"workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
|
|
165
|
+
},
|
|
166
|
+
"addition": {
|
|
167
|
+
"workflowId": "workflow//./workflows/addition//addition",
|
|
170
168
|
"graph": {
|
|
171
169
|
"nodes": [
|
|
172
170
|
{
|
|
173
171
|
"id": "start",
|
|
174
172
|
"type": "workflowStart",
|
|
175
173
|
"data": {
|
|
176
|
-
"label": "Start:
|
|
174
|
+
"label": "Start: addition",
|
|
177
175
|
"nodeKind": "workflow_start"
|
|
178
176
|
}
|
|
179
177
|
},
|
|
@@ -197,16 +195,16 @@
|
|
|
197
195
|
}
|
|
198
196
|
}
|
|
199
197
|
},
|
|
200
|
-
"workflows/
|
|
201
|
-
"
|
|
202
|
-
"workflowId": "workflow//./workflows/
|
|
198
|
+
"workflows/noop.ts": {
|
|
199
|
+
"brokenWf": {
|
|
200
|
+
"workflowId": "workflow//./workflows/noop//brokenWf",
|
|
203
201
|
"graph": {
|
|
204
202
|
"nodes": [
|
|
205
203
|
{
|
|
206
204
|
"id": "start",
|
|
207
205
|
"type": "workflowStart",
|
|
208
206
|
"data": {
|
|
209
|
-
"label": "Start:
|
|
207
|
+
"label": "Start: brokenWf",
|
|
210
208
|
"nodeKind": "workflow_start"
|
|
211
209
|
}
|
|
212
210
|
},
|
|
@@ -228,16 +226,18 @@
|
|
|
228
226
|
}
|
|
229
227
|
]
|
|
230
228
|
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"workflows/null-byte.ts": {
|
|
232
|
+
"nullByteWorkflow": {
|
|
233
|
+
"workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
|
|
234
234
|
"graph": {
|
|
235
235
|
"nodes": [
|
|
236
236
|
{
|
|
237
237
|
"id": "start",
|
|
238
238
|
"type": "workflowStart",
|
|
239
239
|
"data": {
|
|
240
|
-
"label": "Start:
|
|
240
|
+
"label": "Start: nullByteWorkflow",
|
|
241
241
|
"nodeKind": "workflow_start"
|
|
242
242
|
}
|
|
243
243
|
},
|
|
@@ -259,16 +259,18 @@
|
|
|
259
259
|
}
|
|
260
260
|
]
|
|
261
261
|
}
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"workflows/inline-execution.ts": {
|
|
265
|
+
"hookWorkflow": {
|
|
266
|
+
"workflowId": "workflow//./workflows/inline-execution//hookWorkflow",
|
|
265
267
|
"graph": {
|
|
266
268
|
"nodes": [
|
|
267
269
|
{
|
|
268
270
|
"id": "start",
|
|
269
271
|
"type": "workflowStart",
|
|
270
272
|
"data": {
|
|
271
|
-
"label": "Start:
|
|
273
|
+
"label": "Start: hookWorkflow",
|
|
272
274
|
"nodeKind": "workflow_start"
|
|
273
275
|
}
|
|
274
276
|
},
|
|
@@ -291,15 +293,15 @@
|
|
|
291
293
|
]
|
|
292
294
|
}
|
|
293
295
|
},
|
|
294
|
-
"
|
|
295
|
-
"workflowId": "workflow//./workflows/inline-execution//
|
|
296
|
+
"parallelStepsWorkflow": {
|
|
297
|
+
"workflowId": "workflow//./workflows/inline-execution//parallelStepsWorkflow",
|
|
296
298
|
"graph": {
|
|
297
299
|
"nodes": [
|
|
298
300
|
{
|
|
299
301
|
"id": "start",
|
|
300
302
|
"type": "workflowStart",
|
|
301
303
|
"data": {
|
|
302
|
-
"label": "Start:
|
|
304
|
+
"label": "Start: parallelStepsWorkflow",
|
|
303
305
|
"nodeKind": "workflow_start"
|
|
304
306
|
}
|
|
305
307
|
},
|
|
@@ -322,26 +324,18 @@
|
|
|
322
324
|
]
|
|
323
325
|
}
|
|
324
326
|
},
|
|
325
|
-
"
|
|
326
|
-
"workflowId": "workflow//./workflows/inline-execution//
|
|
327
|
+
"sequentialStepsWithStreamWorkflow": {
|
|
328
|
+
"workflowId": "workflow//./workflows/inline-execution//sequentialStepsWithStreamWorkflow",
|
|
327
329
|
"graph": {
|
|
328
330
|
"nodes": [
|
|
329
331
|
{
|
|
330
332
|
"id": "start",
|
|
331
333
|
"type": "workflowStart",
|
|
332
334
|
"data": {
|
|
333
|
-
"label": "Start:
|
|
335
|
+
"label": "Start: sequentialStepsWithStreamWorkflow",
|
|
334
336
|
"nodeKind": "workflow_start"
|
|
335
337
|
}
|
|
336
338
|
},
|
|
337
|
-
{
|
|
338
|
-
"id": "node_0",
|
|
339
|
-
"type": "primitive",
|
|
340
|
-
"data": {
|
|
341
|
-
"label": "sleep",
|
|
342
|
-
"nodeKind": "primitive"
|
|
343
|
-
}
|
|
344
|
-
},
|
|
345
339
|
{
|
|
346
340
|
"id": "end",
|
|
347
341
|
"type": "workflowEnd",
|
|
@@ -353,29 +347,23 @@
|
|
|
353
347
|
],
|
|
354
348
|
"edges": [
|
|
355
349
|
{
|
|
356
|
-
"id": "
|
|
350
|
+
"id": "e_start_end",
|
|
357
351
|
"source": "start",
|
|
358
|
-
"target": "node_0",
|
|
359
|
-
"type": "default"
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
"id": "e_node_0_end",
|
|
363
|
-
"source": "node_0",
|
|
364
352
|
"target": "end",
|
|
365
353
|
"type": "default"
|
|
366
354
|
}
|
|
367
355
|
]
|
|
368
356
|
}
|
|
369
357
|
},
|
|
370
|
-
"
|
|
371
|
-
"workflowId": "workflow//./workflows/inline-execution//
|
|
358
|
+
"sequentialStepsWorkflow": {
|
|
359
|
+
"workflowId": "workflow//./workflows/inline-execution//sequentialStepsWorkflow",
|
|
372
360
|
"graph": {
|
|
373
361
|
"nodes": [
|
|
374
362
|
{
|
|
375
363
|
"id": "start",
|
|
376
364
|
"type": "workflowStart",
|
|
377
365
|
"data": {
|
|
378
|
-
"label": "Start:
|
|
366
|
+
"label": "Start: sequentialStepsWorkflow",
|
|
379
367
|
"nodeKind": "workflow_start"
|
|
380
368
|
}
|
|
381
369
|
},
|
|
@@ -397,21 +385,27 @@
|
|
|
397
385
|
}
|
|
398
386
|
]
|
|
399
387
|
}
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
"brokenWf": {
|
|
404
|
-
"workflowId": "workflow//./workflows/noop//brokenWf",
|
|
388
|
+
},
|
|
389
|
+
"sleepWorkflow": {
|
|
390
|
+
"workflowId": "workflow//./workflows/inline-execution//sleepWorkflow",
|
|
405
391
|
"graph": {
|
|
406
392
|
"nodes": [
|
|
407
393
|
{
|
|
408
394
|
"id": "start",
|
|
409
395
|
"type": "workflowStart",
|
|
410
396
|
"data": {
|
|
411
|
-
"label": "Start:
|
|
397
|
+
"label": "Start: sleepWorkflow",
|
|
412
398
|
"nodeKind": "workflow_start"
|
|
413
399
|
}
|
|
414
400
|
},
|
|
401
|
+
{
|
|
402
|
+
"id": "node_0",
|
|
403
|
+
"type": "primitive",
|
|
404
|
+
"data": {
|
|
405
|
+
"label": "sleep",
|
|
406
|
+
"nodeKind": "primitive"
|
|
407
|
+
}
|
|
408
|
+
},
|
|
415
409
|
{
|
|
416
410
|
"id": "end",
|
|
417
411
|
"type": "workflowEnd",
|
|
@@ -423,25 +417,29 @@
|
|
|
423
417
|
],
|
|
424
418
|
"edges": [
|
|
425
419
|
{
|
|
426
|
-
"id": "
|
|
420
|
+
"id": "e_start_node_0",
|
|
427
421
|
"source": "start",
|
|
422
|
+
"target": "node_0",
|
|
423
|
+
"type": "default"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"id": "e_node_0_end",
|
|
427
|
+
"source": "node_0",
|
|
428
428
|
"target": "end",
|
|
429
429
|
"type": "default"
|
|
430
430
|
}
|
|
431
431
|
]
|
|
432
432
|
}
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
"addTenWorkflow": {
|
|
437
|
-
"workflowId": "workflow//./workflows/addition//addTenWorkflow",
|
|
433
|
+
},
|
|
434
|
+
"threeBatchesOfFiveWorkflow": {
|
|
435
|
+
"workflowId": "workflow//./workflows/inline-execution//threeBatchesOfFiveWorkflow",
|
|
438
436
|
"graph": {
|
|
439
437
|
"nodes": [
|
|
440
438
|
{
|
|
441
439
|
"id": "start",
|
|
442
440
|
"type": "workflowStart",
|
|
443
441
|
"data": {
|
|
444
|
-
"label": "Start:
|
|
442
|
+
"label": "Start: threeBatchesOfFiveWorkflow",
|
|
445
443
|
"nodeKind": "workflow_start"
|
|
446
444
|
}
|
|
447
445
|
},
|
|
@@ -463,16 +461,18 @@
|
|
|
463
461
|
}
|
|
464
462
|
]
|
|
465
463
|
}
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
"workflows/retriable-and-fatal.ts": {
|
|
467
|
+
"retryableAndFatalErrorWorkflow": {
|
|
468
|
+
"workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
|
|
469
469
|
"graph": {
|
|
470
470
|
"nodes": [
|
|
471
471
|
{
|
|
472
472
|
"id": "start",
|
|
473
473
|
"type": "workflowStart",
|
|
474
474
|
"data": {
|
|
475
|
-
"label": "Start:
|
|
475
|
+
"label": "Start: retryableAndFatalErrorWorkflow",
|
|
476
476
|
"nodeKind": "workflow_start"
|
|
477
477
|
}
|
|
478
478
|
},
|
|
@@ -500,7 +500,7 @@
|
|
|
500
500
|
"classes": {
|
|
501
501
|
"core/dist/runtime/run.js": {
|
|
502
502
|
"Run": {
|
|
503
|
-
"classId": "class//@workflow/core/runtime/run@5.0.0-beta.
|
|
503
|
+
"classId": "class//@workflow/core/runtime/run@5.0.0-beta.24//Run"
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
506
|
}
|
|
@@ -19447,7 +19447,7 @@ function SemanticConvention(...names) {
|
|
|
19447
19447
|
value
|
|
19448
19448
|
]));
|
|
19449
19449
|
}
|
|
19450
|
-
var WorkflowName, WorkflowOperation, WorkflowRunId, WorkflowRunStatus, WorkflowStartedAt, WorkflowEventsCount, WorkflowArgumentsCount, WorkflowResultType, WorkflowTracePropagated, WorkflowTraceMode, WorkflowErrorName, WorkflowErrorMessage, WorkflowErrorCode, WorkflowStepsCreated, WorkflowHooksCreated, WorkflowWaitsCreated, StepName, StepId, StepAttempt, StepStatus, StepMaxRetries, StepTracePropagated, StepSkipped, StepSkipReason, StepArgumentsCount, StepResultType, StepErrorName, StepErrorMessage, StepFatalError, StepRetryExhausted, StepRetryTimeoutSeconds, StepRetryWillRetry, MessagingSystem, MessagingDestinationName, MessagingMessageId, MessagingOperationType, QueueOverheadMs, DeploymentId, HookToken, HookId, HookFound, WebhookHandlersTriggered, WorkflowSuspensionState, WorkflowSuspensionHookCount, WorkflowSuspensionStepCount, WorkflowSuspensionWaitCount, HttpRequestMethod, UrlFull, ServerAddress, ServerPort, HttpResponseStatusCode, ErrorType, WorldParseFormat, WorkflowEventsPagesLoaded, QueueDeserializeTimeMs, QueueExecutionTimeMs, QueueSerializeTimeMs, SerializationOperation, SerializationCompressed, SerializationCodec, SerializationUncompressedBytes, SerializationStoredBytes, SerializationCompressionRatio, PeerService, RpcSystem, RpcService, RpcMethod, ErrorRetryable, ErrorCategory;
|
|
19450
|
+
var WorkflowName, WorkflowOperation, WorkflowRunId, WorkflowRunStatus, WorkflowStartedAt, WorkflowEventsCount, WorkflowArgumentsCount, WorkflowResultType, WorkflowTracePropagated, WorkflowTraceMode, WorkflowTurbo, WorkflowErrorName, WorkflowErrorMessage, WorkflowErrorCode, WorkflowStepsCreated, WorkflowHooksCreated, WorkflowWaitsCreated, WorkflowRouteType, WorkflowRouteHandlerCached, WorkflowRouteInvocationCount, WorkflowRouteEntrypointAgeMs, WorkflowRouteModuleBodyInitMs, StepName, StepId, StepAttempt, StepStatus, StepMaxRetries, StepTracePropagated, StepSkipped, StepSkipReason, StepArgumentsCount, StepResultType, StepErrorName, StepErrorMessage, StepFatalError, StepRetryExhausted, StepRetryTimeoutSeconds, StepRetryWillRetry, MessagingSystem, MessagingDestinationName, MessagingMessageId, MessagingOperationType, QueueOverheadMs, DeploymentId, HookToken, HookId, HookFound, WebhookHandlersTriggered, WorkflowSuspensionState, WorkflowSuspensionHookCount, WorkflowSuspensionStepCount, WorkflowSuspensionWaitCount, HttpRequestMethod, HttpRoute, UrlFull, ServerAddress, ServerPort, HttpResponseStatusCode, ErrorType, WorldParseFormat, WorkflowEventsPagesLoaded, QueueDeserializeTimeMs, QueueExecutionTimeMs, QueueSerializeTimeMs, SerializationOperation, SerializationCompressed, SerializationCodec, SerializationUncompressedBytes, SerializationStoredBytes, SerializationCompressionRatio, PeerService, RpcSystem, RpcService, RpcMethod, ErrorRetryable, ErrorCategory;
|
|
19451
19451
|
var init_semantic_conventions = __esm({
|
|
19452
19452
|
"../core/dist/telemetry/semantic-conventions.js"() {
|
|
19453
19453
|
"use strict";
|
|
@@ -19462,12 +19462,18 @@ var init_semantic_conventions = __esm({
|
|
|
19462
19462
|
WorkflowResultType = SemanticConvention("workflow.result.type");
|
|
19463
19463
|
WorkflowTracePropagated = SemanticConvention("workflow.trace.propagated");
|
|
19464
19464
|
WorkflowTraceMode = SemanticConvention("workflow.trace.mode");
|
|
19465
|
+
WorkflowTurbo = SemanticConvention("workflow.turbo");
|
|
19465
19466
|
WorkflowErrorName = SemanticConvention("workflow.error.name");
|
|
19466
19467
|
WorkflowErrorMessage = SemanticConvention("workflow.error.message");
|
|
19467
19468
|
WorkflowErrorCode = SemanticConvention("workflow.error.code");
|
|
19468
19469
|
WorkflowStepsCreated = SemanticConvention("workflow.steps.created");
|
|
19469
19470
|
WorkflowHooksCreated = SemanticConvention("workflow.hooks.created");
|
|
19470
19471
|
WorkflowWaitsCreated = SemanticConvention("workflow.waits.created");
|
|
19472
|
+
WorkflowRouteType = SemanticConvention("workflow.route.type");
|
|
19473
|
+
WorkflowRouteHandlerCached = SemanticConvention("workflow.route.handler_cached");
|
|
19474
|
+
WorkflowRouteInvocationCount = SemanticConvention("workflow.route.invocation_count");
|
|
19475
|
+
WorkflowRouteEntrypointAgeMs = SemanticConvention("workflow.route.entrypoint_age_ms");
|
|
19476
|
+
WorkflowRouteModuleBodyInitMs = SemanticConvention("workflow.route.module_body_init_ms");
|
|
19471
19477
|
StepName = SemanticConvention("step.name");
|
|
19472
19478
|
StepId = SemanticConvention("step.id");
|
|
19473
19479
|
StepAttempt = SemanticConvention("step.attempt");
|
|
@@ -19499,6 +19505,7 @@ var init_semantic_conventions = __esm({
|
|
|
19499
19505
|
WorkflowSuspensionStepCount = SemanticConvention("workflow.suspension.step_count");
|
|
19500
19506
|
WorkflowSuspensionWaitCount = SemanticConvention("workflow.suspension.wait_count");
|
|
19501
19507
|
HttpRequestMethod = SemanticConvention("http.request.method");
|
|
19508
|
+
HttpRoute = SemanticConvention("http.route");
|
|
19502
19509
|
UrlFull = SemanticConvention("url.full");
|
|
19503
19510
|
ServerAddress = SemanticConvention("server.address");
|
|
19504
19511
|
ServerPort = SemanticConvention("server.port");
|
|
@@ -21641,10 +21648,11 @@ function matchesDebugNamespace(namespace, patternList) {
|
|
|
21641
21648
|
}
|
|
21642
21649
|
return enabled;
|
|
21643
21650
|
}
|
|
21644
|
-
function createLogger(namespace) {
|
|
21651
|
+
function createLogger(namespace, options = {}) {
|
|
21645
21652
|
const build = /* @__PURE__ */ __name((parentMetadata) => {
|
|
21653
|
+
const getDebugNamespace = /* @__PURE__ */ __name((level) => options.debugNamespace ?? `workflow:${namespace}:${level}`, "getDebugNamespace");
|
|
21646
21654
|
const logger = /* @__PURE__ */ __name((level) => {
|
|
21647
|
-
const debugNamespace =
|
|
21655
|
+
const debugNamespace = getDebugNamespace(level);
|
|
21648
21656
|
return (message, metadata) => {
|
|
21649
21657
|
const hasParent = Object.keys(parentMetadata).length > 0;
|
|
21650
21658
|
const hasCallSite = metadata && Object.keys(metadata).length > 0;
|
|
@@ -21690,7 +21698,7 @@ function createLogger(namespace) {
|
|
|
21690
21698
|
}, "build");
|
|
21691
21699
|
return build({});
|
|
21692
21700
|
}
|
|
21693
|
-
var stepLogger, runtimeLogger, webhookLogger, eventsLogger, adapterLogger;
|
|
21701
|
+
var stepLogger, runtimeLogger, webhookLogger, eventsLogger, adapterLogger, buildLogger;
|
|
21694
21702
|
var init_logger = __esm({
|
|
21695
21703
|
"../core/dist/logger.js"() {
|
|
21696
21704
|
"use strict";
|
|
@@ -21703,6 +21711,9 @@ var init_logger = __esm({
|
|
|
21703
21711
|
webhookLogger = createLogger("webhook");
|
|
21704
21712
|
eventsLogger = createLogger("events");
|
|
21705
21713
|
adapterLogger = createLogger("adapter");
|
|
21714
|
+
buildLogger = createLogger("build", {
|
|
21715
|
+
debugNamespace: "workflow:build"
|
|
21716
|
+
});
|
|
21706
21717
|
}
|
|
21707
21718
|
});
|
|
21708
21719
|
|
|
@@ -23996,7 +24007,7 @@ var version2;
|
|
|
23996
24007
|
var init_version = __esm({
|
|
23997
24008
|
"../core/dist/version.js"() {
|
|
23998
24009
|
"use strict";
|
|
23999
|
-
version2 = "5.0.0-beta.
|
|
24010
|
+
version2 = "5.0.0-beta.24";
|
|
24000
24011
|
}
|
|
24001
24012
|
});
|
|
24002
24013
|
|
|
@@ -27179,7 +27190,7 @@ __name(start, "start");
|
|
|
27179
27190
|
value: "start",
|
|
27180
27191
|
configurable: true
|
|
27181
27192
|
});
|
|
27182
|
-
})(start, "step//@workflow/core/runtime/start@5.0.0-beta.
|
|
27193
|
+
})(start, "step//@workflow/core/runtime/start@5.0.0-beta.24//start");
|
|
27183
27194
|
function isRetryableStartError(err) {
|
|
27184
27195
|
if (ThrottleError.is(err)) return true;
|
|
27185
27196
|
if (WorkflowWorldError.is(err) && err.status && err.status >= 500) return true;
|
|
@@ -27512,7 +27523,7 @@ var Run = class _Run {
|
|
|
27512
27523
|
value: "wakeUp",
|
|
27513
27524
|
configurable: true
|
|
27514
27525
|
});
|
|
27515
|
-
})(Run.prototype["wakeUp"], "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
27526
|
+
})(Run.prototype["wakeUp"], "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#wakeUp");
|
|
27516
27527
|
(function(__wf_fn, __wf_id) {
|
|
27517
27528
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
27518
27529
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -27521,7 +27532,7 @@ var Run = class _Run {
|
|
|
27521
27532
|
value: "cancel",
|
|
27522
27533
|
configurable: true
|
|
27523
27534
|
});
|
|
27524
|
-
})(Run.prototype["cancel"], "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
27535
|
+
})(Run.prototype["cancel"], "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#cancel");
|
|
27525
27536
|
(function(__wf_fn, __wf_id) {
|
|
27526
27537
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
27527
27538
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -27530,7 +27541,7 @@ var Run = class _Run {
|
|
|
27530
27541
|
value: "getReadable",
|
|
27531
27542
|
configurable: true
|
|
27532
27543
|
});
|
|
27533
|
-
})(Run.prototype["getReadable"], "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
27544
|
+
})(Run.prototype["getReadable"], "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#getReadable");
|
|
27534
27545
|
(function(__wf_fn, __wf_id) {
|
|
27535
27546
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
27536
27547
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -27539,7 +27550,7 @@ var Run = class _Run {
|
|
|
27539
27550
|
value: "exists",
|
|
27540
27551
|
configurable: true
|
|
27541
27552
|
});
|
|
27542
|
-
})(Object.getOwnPropertyDescriptor(Run.prototype, "exists").get, "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
27553
|
+
})(Object.getOwnPropertyDescriptor(Run.prototype, "exists").get, "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#exists");
|
|
27543
27554
|
(function(__wf_fn, __wf_id) {
|
|
27544
27555
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
27545
27556
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -27548,7 +27559,7 @@ var Run = class _Run {
|
|
|
27548
27559
|
value: "status",
|
|
27549
27560
|
configurable: true
|
|
27550
27561
|
});
|
|
27551
|
-
})(Object.getOwnPropertyDescriptor(Run.prototype, "status").get, "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
27562
|
+
})(Object.getOwnPropertyDescriptor(Run.prototype, "status").get, "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#status");
|
|
27552
27563
|
(function(__wf_fn, __wf_id) {
|
|
27553
27564
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
27554
27565
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -27557,7 +27568,7 @@ var Run = class _Run {
|
|
|
27557
27568
|
value: "returnValue",
|
|
27558
27569
|
configurable: true
|
|
27559
27570
|
});
|
|
27560
|
-
})(Object.getOwnPropertyDescriptor(Run.prototype, "returnValue").get, "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
27571
|
+
})(Object.getOwnPropertyDescriptor(Run.prototype, "returnValue").get, "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#returnValue");
|
|
27561
27572
|
(function(__wf_fn, __wf_id) {
|
|
27562
27573
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
27563
27574
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -27566,7 +27577,7 @@ var Run = class _Run {
|
|
|
27566
27577
|
value: "workflowName",
|
|
27567
27578
|
configurable: true
|
|
27568
27579
|
});
|
|
27569
|
-
})(Object.getOwnPropertyDescriptor(Run.prototype, "workflowName").get, "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
27580
|
+
})(Object.getOwnPropertyDescriptor(Run.prototype, "workflowName").get, "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#workflowName");
|
|
27570
27581
|
(function(__wf_fn, __wf_id) {
|
|
27571
27582
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
27572
27583
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -27575,7 +27586,7 @@ var Run = class _Run {
|
|
|
27575
27586
|
value: "createdAt",
|
|
27576
27587
|
configurable: true
|
|
27577
27588
|
});
|
|
27578
|
-
})(Object.getOwnPropertyDescriptor(Run.prototype, "createdAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
27589
|
+
})(Object.getOwnPropertyDescriptor(Run.prototype, "createdAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#createdAt");
|
|
27579
27590
|
(function(__wf_fn, __wf_id) {
|
|
27580
27591
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
27581
27592
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -27584,7 +27595,7 @@ var Run = class _Run {
|
|
|
27584
27595
|
value: "startedAt",
|
|
27585
27596
|
configurable: true
|
|
27586
27597
|
});
|
|
27587
|
-
})(Object.getOwnPropertyDescriptor(Run.prototype, "startedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
27598
|
+
})(Object.getOwnPropertyDescriptor(Run.prototype, "startedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#startedAt");
|
|
27588
27599
|
(function(__wf_fn, __wf_id) {
|
|
27589
27600
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
27590
27601
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -27593,7 +27604,7 @@ var Run = class _Run {
|
|
|
27593
27604
|
value: "completedAt",
|
|
27594
27605
|
configurable: true
|
|
27595
27606
|
});
|
|
27596
|
-
})(Object.getOwnPropertyDescriptor(Run.prototype, "completedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
27607
|
+
})(Object.getOwnPropertyDescriptor(Run.prototype, "completedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.24//Run#completedAt");
|
|
27597
27608
|
(function(__wf_cls, __wf_id) {
|
|
27598
27609
|
var __wf_sym = /* @__PURE__ */ Symbol.for("workflow-class-registry"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
27599
27610
|
__wf_reg.set(__wf_id, __wf_cls);
|
|
@@ -27603,7 +27614,7 @@ var Run = class _Run {
|
|
|
27603
27614
|
enumerable: false,
|
|
27604
27615
|
configurable: false
|
|
27605
27616
|
});
|
|
27606
|
-
})(Run, "class//@workflow/core/runtime/run@5.0.0-beta.
|
|
27617
|
+
})(Run, "class//@workflow/core/runtime/run@5.0.0-beta.24//Run");
|
|
27607
27618
|
|
|
27608
27619
|
// ../workflow/dist/stdlib.js
|
|
27609
27620
|
async function fetch2(...args) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workflow/world-testing",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.24",
|
|
4
4
|
"description": "Testing utilities and World implementation for Workflow SDK",
|
|
5
5
|
"main": "dist/src/index.mjs",
|
|
6
6
|
"files": [
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"hono": "4.12.25",
|
|
22
22
|
"jsonlines": "0.1.1",
|
|
23
23
|
"zod": "4.3.6",
|
|
24
|
-
"@workflow/cli": "5.0.0-beta.
|
|
25
|
-
"@workflow/core": "5.0.0-beta.
|
|
24
|
+
"@workflow/cli": "5.0.0-beta.24",
|
|
25
|
+
"@workflow/core": "5.0.0-beta.24",
|
|
26
26
|
"@workflow/world": "5.0.0-beta.13",
|
|
27
|
-
"workflow": "5.0.0-beta.
|
|
27
|
+
"workflow": "5.0.0-beta.24"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/jsonlines": "0.1.5",
|