@workflow/core 5.0.0-beta.4 → 5.0.0-beta.41
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.
- package/dist/attribute-changes.d.ts +7 -0
- package/dist/attribute-changes.d.ts.map +1 -0
- package/dist/attribute-changes.js +25 -0
- package/dist/capabilities.d.ts +33 -1
- package/dist/capabilities.d.ts.map +1 -1
- package/dist/capabilities.js +71 -4
- package/dist/capture-stack.d.ts +16 -0
- package/dist/capture-stack.d.ts.map +1 -0
- package/dist/capture-stack.js +21 -0
- package/dist/class-serialization.d.ts +32 -0
- package/dist/class-serialization.d.ts.map +1 -1
- package/dist/class-serialization.js +37 -1
- package/dist/classify-error.d.ts +26 -3
- package/dist/classify-error.d.ts.map +1 -1
- package/dist/classify-error.js +109 -6
- package/dist/context-errors.d.ts +27 -0
- package/dist/context-errors.d.ts.map +1 -0
- package/dist/context-errors.js +101 -0
- package/dist/context-violation-error.d.ts +97 -0
- package/dist/context-violation-error.d.ts.map +1 -0
- package/dist/context-violation-error.js +149 -0
- package/dist/create-hook.d.ts +62 -4
- package/dist/create-hook.d.ts.map +1 -1
- package/dist/create-hook.js +4 -3
- package/dist/define-hook.d.ts.map +1 -1
- package/dist/define-hook.js +20 -5
- package/dist/describe-error.d.ts +70 -0
- package/dist/describe-error.d.ts.map +1 -0
- package/dist/describe-error.js +189 -0
- package/dist/encryption.d.ts +37 -3
- package/dist/encryption.d.ts.map +1 -1
- package/dist/encryption.js +97 -31
- package/dist/events-consumer.d.ts +147 -1
- package/dist/events-consumer.d.ts.map +1 -1
- package/dist/events-consumer.js +444 -43
- package/dist/flushable-stream.d.ts +65 -10
- package/dist/flushable-stream.d.ts.map +1 -1
- package/dist/flushable-stream.js +131 -18
- package/dist/global.d.ts +37 -1
- package/dist/global.d.ts.map +1 -1
- package/dist/global.js +21 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/log-format.d.ts +25 -0
- package/dist/log-format.d.ts.map +1 -0
- package/dist/log-format.js +250 -0
- package/dist/logger.d.ts +29 -30
- package/dist/logger.d.ts.map +1 -1
- package/dist/logger.js +82 -32
- package/dist/private.d.ts +246 -8
- package/dist/private.d.ts.map +1 -1
- package/dist/private.js +345 -9
- package/dist/replay-payload-cache.d.ts +68 -0
- package/dist/replay-payload-cache.d.ts.map +1 -0
- package/dist/replay-payload-cache.js +160 -0
- package/dist/runtime/compute-instance.d.ts +12 -0
- package/dist/runtime/compute-instance.d.ts.map +1 -0
- package/dist/runtime/compute-instance.js +13 -0
- package/dist/runtime/constants.d.ts +251 -0
- package/dist/runtime/constants.d.ts.map +1 -1
- package/dist/runtime/constants.js +425 -16
- package/dist/runtime/count-step-started-events.d.ts +52 -0
- package/dist/runtime/count-step-started-events.d.ts.map +1 -0
- package/dist/runtime/count-step-started-events.js +72 -0
- package/dist/runtime/deployment-guard.d.ts +99 -0
- package/dist/runtime/deployment-guard.d.ts.map +1 -0
- package/dist/runtime/deployment-guard.js +154 -0
- package/dist/runtime/get-port-lazy.d.ts +25 -0
- package/dist/runtime/get-port-lazy.d.ts.map +1 -0
- package/dist/runtime/get-port-lazy.js +92 -0
- package/dist/runtime/get-world-lazy.d.ts +23 -0
- package/dist/runtime/get-world-lazy.d.ts.map +1 -0
- package/dist/runtime/get-world-lazy.js +46 -0
- package/dist/runtime/helpers.d.ts +327 -10
- package/dist/runtime/helpers.d.ts.map +1 -1
- package/dist/runtime/helpers.js +586 -40
- package/dist/runtime/quickjs-assets.generated.d.ts +14 -0
- package/dist/runtime/quickjs-assets.generated.d.ts.map +1 -0
- package/dist/runtime/quickjs-assets.generated.js +30 -0
- package/dist/runtime/quickjs-entrypoint.d.ts +124 -0
- package/dist/runtime/quickjs-entrypoint.d.ts.map +1 -0
- package/dist/runtime/quickjs-entrypoint.js +1437 -0
- package/dist/runtime/quickjs-runtime.d.ts +228 -0
- package/dist/runtime/quickjs-runtime.d.ts.map +1 -0
- package/dist/runtime/quickjs-runtime.js +2372 -0
- package/dist/runtime/quickjs-serde.d.ts +107 -0
- package/dist/runtime/quickjs-serde.d.ts.map +1 -0
- package/dist/runtime/quickjs-serde.js +2098 -0
- package/dist/runtime/replay-budget.d.ts +89 -0
- package/dist/runtime/replay-budget.d.ts.map +1 -0
- package/dist/runtime/replay-budget.js +139 -0
- package/dist/runtime/replay-recovery-reporter.d.ts +36 -0
- package/dist/runtime/replay-recovery-reporter.d.ts.map +1 -0
- package/dist/runtime/replay-recovery-reporter.js +64 -0
- package/dist/runtime/resume-hook.d.ts +27 -4
- package/dist/runtime/resume-hook.d.ts.map +1 -1
- package/dist/runtime/resume-hook.js +452 -76
- package/dist/runtime/run-id-time.d.ts +19 -0
- package/dist/runtime/run-id-time.d.ts.map +1 -0
- package/dist/runtime/run-id-time.js +42 -0
- package/dist/runtime/run.d.ts +8 -2
- package/dist/runtime/run.d.ts.map +1 -1
- package/dist/runtime/run.js +62 -15
- package/dist/runtime/runs.d.ts +54 -3
- package/dist/runtime/runs.d.ts.map +1 -1
- package/dist/runtime/runs.js +119 -13
- package/dist/runtime/start.d.ts +70 -1
- package/dist/runtime/start.d.ts.map +1 -1
- package/dist/runtime/start.js +313 -60
- package/dist/runtime/step-executor.d.ts +177 -0
- package/dist/runtime/step-executor.d.ts.map +1 -0
- package/dist/runtime/step-executor.js +946 -0
- package/dist/runtime/step-latency.d.ts +197 -0
- package/dist/runtime/step-latency.d.ts.map +1 -0
- package/dist/runtime/step-latency.js +207 -0
- package/dist/runtime/step-ownership.d.ts +72 -0
- package/dist/runtime/step-ownership.d.ts.map +1 -0
- package/dist/runtime/step-ownership.js +114 -0
- package/dist/runtime/step-single-flight.d.ts +12 -0
- package/dist/runtime/step-single-flight.d.ts.map +1 -0
- package/dist/runtime/step-single-flight.js +69 -0
- package/dist/runtime/suspension-handler.d.ts +109 -7
- package/dist/runtime/suspension-handler.d.ts.map +1 -1
- package/dist/runtime/suspension-handler.js +486 -140
- package/dist/runtime/vm-mode.d.ts +44 -0
- package/dist/runtime/vm-mode.d.ts.map +1 -0
- package/dist/runtime/vm-mode.js +62 -0
- package/dist/runtime/vm-serde-bundle.generated.d.ts +14 -0
- package/dist/runtime/vm-serde-bundle.generated.d.ts.map +1 -0
- package/dist/runtime/vm-serde-bundle.generated.js +16 -0
- package/dist/runtime/wait-continuation.d.ts +84 -0
- package/dist/runtime/wait-continuation.d.ts.map +1 -0
- package/dist/runtime/wait-continuation.js +105 -0
- package/dist/runtime/wait-until.d.ts +18 -0
- package/dist/runtime/wait-until.d.ts.map +1 -0
- package/dist/runtime/wait-until.js +42 -0
- package/dist/runtime/world-compatibility.d.ts +20 -0
- package/dist/runtime/world-compatibility.d.ts.map +1 -0
- package/dist/runtime/world-compatibility.js +32 -0
- package/dist/runtime/world-init.d.ts +50 -0
- package/dist/runtime/world-init.d.ts.map +1 -0
- package/dist/runtime/world-init.js +50 -0
- package/dist/runtime/world.d.ts +14 -2
- package/dist/runtime/world.d.ts.map +1 -1
- package/dist/runtime/world.js +101 -26
- package/dist/runtime.d.ts +17 -12
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +3135 -328
- package/dist/schemas.d.ts +1 -1
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +1 -1
- package/dist/sealed-box.d.ts +167 -0
- package/dist/sealed-box.d.ts.map +1 -0
- package/dist/sealed-box.js +571 -0
- package/dist/serialization/client.d.ts +17 -0
- package/dist/serialization/client.d.ts.map +1 -0
- package/dist/serialization/client.js +48 -0
- package/dist/serialization/codec-devalue-vm.d.ts +16 -0
- package/dist/serialization/codec-devalue-vm.d.ts.map +1 -0
- package/dist/serialization/codec-devalue-vm.js +148 -0
- package/dist/serialization/codec-devalue.d.ts +14 -0
- package/dist/serialization/codec-devalue.d.ts.map +1 -0
- package/dist/serialization/codec-devalue.js +105 -0
- package/dist/serialization/codec.d.ts +125 -0
- package/dist/serialization/codec.d.ts.map +1 -0
- package/dist/serialization/codec.js +17 -0
- package/dist/serialization/compression.d.ts +104 -0
- package/dist/serialization/compression.d.ts.map +1 -0
- package/dist/serialization/compression.js +260 -0
- package/dist/serialization/encryption.d.ts +134 -0
- package/dist/serialization/encryption.d.ts.map +1 -0
- package/dist/serialization/encryption.js +186 -0
- package/dist/serialization/errors.d.ts +34 -0
- package/dist/serialization/errors.d.ts.map +1 -0
- package/dist/serialization/errors.js +59 -0
- package/dist/serialization/format.d.ts +60 -0
- package/dist/serialization/format.d.ts.map +1 -0
- package/dist/serialization/format.js +97 -0
- package/dist/serialization/hardened.d.ts +155 -0
- package/dist/serialization/hardened.d.ts.map +1 -0
- package/dist/serialization/hardened.js +523 -0
- package/dist/serialization/index.d.ts +20 -0
- package/dist/serialization/index.d.ts.map +1 -0
- package/dist/serialization/index.js +22 -0
- package/dist/serialization/reducers/class-vm.d.ts +20 -0
- package/dist/serialization/reducers/class-vm.d.ts.map +1 -0
- package/dist/serialization/reducers/class-vm.js +77 -0
- package/dist/serialization/reducers/class.d.ts +11 -0
- package/dist/serialization/reducers/class.d.ts.map +1 -0
- package/dist/serialization/reducers/class.js +73 -0
- package/dist/serialization/reducers/common-vm.d.ts +15 -0
- package/dist/serialization/reducers/common-vm.d.ts.map +1 -0
- package/dist/serialization/reducers/common-vm.js +579 -0
- package/dist/serialization/reducers/common.d.ts +16 -0
- package/dist/serialization/reducers/common.d.ts.map +1 -0
- package/dist/serialization/reducers/common.js +478 -0
- package/dist/serialization/reducers/step-function-vm.d.ts +44 -0
- package/dist/serialization/reducers/step-function-vm.d.ts.map +1 -0
- package/dist/serialization/reducers/step-function-vm.js +97 -0
- package/dist/serialization/reducers/step-function.d.ts +35 -0
- package/dist/serialization/reducers/step-function.d.ts.map +1 -0
- package/dist/serialization/reducers/step-function.js +104 -0
- package/dist/serialization/step.d.ts +17 -0
- package/dist/serialization/step.d.ts.map +1 -0
- package/dist/serialization/step.js +48 -0
- package/dist/serialization/types.d.ts +273 -0
- package/dist/serialization/types.d.ts.map +1 -0
- package/dist/serialization/types.js +35 -0
- package/dist/serialization/workflow-vm.d.ts +29 -0
- package/dist/serialization/workflow-vm.d.ts.map +1 -0
- package/dist/serialization/workflow-vm.js +71 -0
- package/dist/serialization/workflow.d.ts +29 -0
- package/dist/serialization/workflow.d.ts.map +1 -0
- package/dist/serialization/workflow.js +54 -0
- package/dist/serialization-format.d.ts +60 -4
- package/dist/serialization-format.d.ts.map +1 -1
- package/dist/serialization-format.js +276 -56
- package/dist/serialization.d.ts +374 -221
- package/dist/serialization.d.ts.map +1 -1
- package/dist/serialization.js +2300 -783
- package/dist/set-attributes.d.ts +13 -0
- package/dist/set-attributes.d.ts.map +1 -0
- package/dist/set-attributes.js +60 -0
- package/dist/sleep.d.ts.map +1 -1
- package/dist/sleep.js +3 -2
- package/dist/source-map.d.ts +25 -0
- package/dist/source-map.d.ts.map +1 -1
- package/dist/source-map.js +148 -10
- package/dist/step/context-storage.d.ts +61 -2
- package/dist/step/context-storage.d.ts.map +1 -1
- package/dist/step/context-storage.js +7 -5
- package/dist/step/get-closure-vars.d.ts.map +1 -1
- package/dist/step/get-closure-vars.js +3 -2
- package/dist/step/get-step-metadata.d.ts.map +1 -1
- package/dist/step/get-step-metadata.js +3 -2
- package/dist/step/get-workflow-metadata.d.ts.map +1 -1
- package/dist/step/get-workflow-metadata.js +3 -2
- package/dist/step/writable-stream.d.ts.map +1 -1
- package/dist/step/writable-stream.js +71 -7
- package/dist/step.d.ts.map +1 -1
- package/dist/step.js +225 -29
- package/dist/symbols.d.ts +54 -0
- package/dist/symbols.d.ts.map +1 -1
- package/dist/symbols.js +55 -1
- package/dist/telemetry/semantic-conventions.d.ts +265 -2
- package/dist/telemetry/semantic-conventions.d.ts.map +1 -1
- package/dist/telemetry/semantic-conventions.js +190 -1
- package/dist/telemetry.d.ts +73 -0
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +153 -16
- package/dist/types.d.ts +6 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +23 -1
- package/dist/util.d.ts +16 -6
- package/dist/util.d.ts.map +1 -1
- package/dist/util.js +25 -16
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +2 -2
- package/dist/vm/index.d.ts.map +1 -1
- package/dist/vm/index.js +85 -14
- package/dist/vm/script-cache.d.ts +28 -0
- package/dist/vm/script-cache.d.ts.map +1 -0
- package/dist/vm/script-cache.js +140 -0
- package/dist/workflow/abort-controller.d.ts +65 -0
- package/dist/workflow/abort-controller.d.ts.map +1 -0
- package/dist/workflow/abort-controller.js +312 -0
- package/dist/workflow/attribute-dispatcher.d.ts +6 -0
- package/dist/workflow/attribute-dispatcher.d.ts.map +1 -0
- package/dist/workflow/attribute-dispatcher.js +48 -0
- package/dist/workflow/create-hook.d.ts.map +1 -1
- package/dist/workflow/create-hook.js +25 -3
- package/dist/workflow/define-hook.d.ts +1 -1
- package/dist/workflow/define-hook.d.ts.map +1 -1
- package/dist/workflow/define-hook.js +8 -4
- package/dist/workflow/get-workflow-metadata.d.ts.map +1 -1
- package/dist/workflow/get-workflow-metadata.js +14 -3
- package/dist/workflow/hook.d.ts.map +1 -1
- package/dist/workflow/hook.js +302 -36
- package/dist/workflow/index.d.ts +1 -0
- package/dist/workflow/index.d.ts.map +1 -1
- package/dist/workflow/index.js +5 -3
- package/dist/workflow/set-attributes.d.ts +68 -0
- package/dist/workflow/set-attributes.d.ts.map +1 -0
- package/dist/workflow/set-attributes.js +60 -0
- package/dist/workflow/sleep.d.ts.map +1 -1
- package/dist/workflow/sleep.js +57 -8
- package/dist/workflow/world-init-stub.d.ts +15 -0
- package/dist/workflow/world-init-stub.d.ts.map +1 -0
- package/dist/workflow/world-init-stub.js +15 -0
- package/dist/workflow.d.ts +79 -3
- package/dist/workflow.d.ts.map +1 -1
- package/dist/workflow.js +831 -553
- package/docs/api-reference/create-hook.mdx +79 -0
- package/docs/api-reference/create-webhook.mdx +1 -0
- package/docs/api-reference/define-hook.mdx +26 -24
- package/docs/api-reference/fatal-error.mdx +29 -7
- package/docs/api-reference/fetch.mdx +8 -4
- package/docs/api-reference/index.mdx +3 -0
- package/docs/api-reference/set-attributes.mdx +61 -0
- package/docs/api-reference/sleep.mdx +1 -1
- package/docs/foundations/cancellation.mdx +459 -0
- package/docs/foundations/errors-and-retries.mdx +7 -3
- package/docs/foundations/hooks.mdx +29 -0
- package/docs/foundations/idempotency.mdx +243 -11
- package/docs/foundations/index.mdx +1 -23
- package/docs/foundations/meta.json +3 -1
- package/docs/foundations/serialization.mdx +77 -41
- package/docs/foundations/starting-workflows.mdx +79 -2
- package/docs/foundations/streaming.mdx +14 -23
- package/docs/foundations/versioning.mdx +263 -0
- package/docs/how-it-works/cancellation.mdx +287 -0
- package/docs/how-it-works/code-transform.mdx +21 -17
- package/docs/how-it-works/encryption.mdx +5 -5
- package/docs/how-it-works/event-sourcing.mdx +17 -9
- package/docs/how-it-works/framework-integrations.mdx +96 -337
- package/docs/how-it-works/meta.json +2 -1
- package/package.json +31 -13
- package/dist/runtime/step-handler.d.ts +0 -2
- package/dist/runtime/step-handler.d.ts.map +0 -1
- package/dist/runtime/step-handler.js +0 -678
package/dist/symbols.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const WORKFLOW_USE_STEP: unique symbol;
|
|
2
|
+
export declare const WORKFLOW_SET_ATTRIBUTES: unique symbol;
|
|
2
3
|
export declare const WORKFLOW_CREATE_HOOK: unique symbol;
|
|
3
4
|
export declare const WORKFLOW_SLEEP: unique symbol;
|
|
4
5
|
export declare const WORKFLOW_CONTEXT: unique symbol;
|
|
@@ -6,6 +7,55 @@ export declare const WORKFLOW_GET_STREAM_ID: unique symbol;
|
|
|
6
7
|
export declare const STABLE_ULID: unique symbol;
|
|
7
8
|
export declare const STREAM_NAME_SYMBOL: unique symbol;
|
|
8
9
|
export declare const STREAM_TYPE_SYMBOL: unique symbol;
|
|
10
|
+
export declare const STREAM_FRAMING_SYMBOL: unique symbol;
|
|
11
|
+
/**
|
|
12
|
+
* Stamped on a real `WritableStream` (the user-visible `serialize.writable`
|
|
13
|
+
* returned from a step-side reviver or step-context `getWritable()`) to
|
|
14
|
+
* record the `runId` of the workflow run that owns the underlying server
|
|
15
|
+
* stream. Used together with `STREAM_NAME_SYMBOL`.
|
|
16
|
+
*
|
|
17
|
+
* When `getExternalReducers.WritableStream` (the dehydration path used by
|
|
18
|
+
* `start()`) sees both symbols on a writable, it includes the `runId` in
|
|
19
|
+
* the descriptor it emits. The child run's step-side reviver then opens
|
|
20
|
+
* a server writable against the original `(runId, name)` and resolves
|
|
21
|
+
* that run's encryption key directly — so the child's writes land on
|
|
22
|
+
* the parent's stream as-is, with no client process in the loop. That
|
|
23
|
+
* keeps the forwarding alive for the full lifetime of the child run,
|
|
24
|
+
* not just for the parent step that initiated `start()`.
|
|
25
|
+
*/
|
|
26
|
+
export declare const STREAM_SERVER_RUN_ID_SYMBOL: unique symbol;
|
|
27
|
+
/**
|
|
28
|
+
* Stamped alongside `STREAM_SERVER_RUN_ID_SYMBOL` when the deployment that
|
|
29
|
+
* owns a forwarded writable stream is known. Cross-deployment consumers use
|
|
30
|
+
* it to resolve the owning run's encryption key without loading the run first.
|
|
31
|
+
*/
|
|
32
|
+
export declare const STREAM_SERVER_DEPLOYMENT_ID_SYMBOL: unique symbol;
|
|
33
|
+
/**
|
|
34
|
+
* Stamped alongside `STREAM_SERVER_RUN_ID_SYMBOL` with the owning run's
|
|
35
|
+
* X25519 public key (base64), when the run has one.
|
|
36
|
+
*
|
|
37
|
+
* This is what lets a forwarded writable be written to across a deployment
|
|
38
|
+
* boundary at zero cost. The owning run derives its own public key locally
|
|
39
|
+
* when it creates the stream, so the key travels inside the serialized
|
|
40
|
+
* descriptor; a child on another deployment can then seal frames immediately.
|
|
41
|
+
* Without it the child would have to either fetch the owning run or fetch its
|
|
42
|
+
* symmetric key from the API — the round trip this whole mechanism exists to
|
|
43
|
+
* avoid.
|
|
44
|
+
*/
|
|
45
|
+
export declare const STREAM_SERVER_PUBLIC_KEY_SYMBOL: unique symbol;
|
|
46
|
+
/**
|
|
47
|
+
* Stamped on a `WorkflowServerWritableStream` instance to expose its
|
|
48
|
+
* durability barrier: `() => Promise<void>` that resolves once every accepted
|
|
49
|
+
* chunk has durably reached the server (nothing buffered, nothing in flight)
|
|
50
|
+
* and rejects if any dispatch failed.
|
|
51
|
+
*
|
|
52
|
+
* The sink acks `write()` on buffer entry (group-commit batching), so
|
|
53
|
+
* durability tracking lives here instead: `flushablePipe` feature-detects
|
|
54
|
+
* this and awaits it before resolving its lock-release completion, keeping
|
|
55
|
+
* the invariant that a step cannot complete while stream data is still
|
|
56
|
+
* client-side. Sinks without it are fully durable per `write()` already.
|
|
57
|
+
*/
|
|
58
|
+
export declare const STREAM_DRAIN_SYMBOL: unique symbol;
|
|
9
59
|
export declare const BODY_INIT_SYMBOL: unique symbol;
|
|
10
60
|
export declare const WEBHOOK_RESPONSE_WRITABLE: unique symbol;
|
|
11
61
|
/**
|
|
@@ -13,4 +63,8 @@ export declare const WEBHOOK_RESPONSE_WRITABLE: unique symbol;
|
|
|
13
63
|
* This allows the deserializer to find classes by classId in the VM context.
|
|
14
64
|
*/
|
|
15
65
|
export declare const WORKFLOW_CLASS_REGISTRY: unique symbol;
|
|
66
|
+
export declare const ABORT_STREAM_NAME: unique symbol;
|
|
67
|
+
export declare const ABORT_HOOK_TOKEN: unique symbol;
|
|
68
|
+
export declare const ABORT_LISTENER_ATTACHED: unique symbol;
|
|
69
|
+
export declare const ABORT_READER_CANCEL: unique symbol;
|
|
16
70
|
//# sourceMappingURL=symbols.d.ts.map
|
package/dist/symbols.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"symbols.d.ts","sourceRoot":"","sources":["../src/symbols.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,eAAkC,CAAC;AACjE,eAAO,MAAM,oBAAoB,eAAqC,CAAC;AACvE,eAAO,MAAM,cAAc,eAA+B,CAAC;AA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AAO,MAAM,gBAAgB,eAA0C,CAAC;AACxE,eAAO,MAAM,uBAAuB,eAEnC,CAAC;AACF,eAAO,MAAM,mBAAmB,eAA6C,CAAC"}
|
package/dist/symbols.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export const WORKFLOW_USE_STEP = Symbol.for('WORKFLOW_USE_STEP');
|
|
2
|
+
export const WORKFLOW_SET_ATTRIBUTES = Symbol.for('WORKFLOW_SET_ATTRIBUTES');
|
|
2
3
|
export const WORKFLOW_CREATE_HOOK = Symbol.for('WORKFLOW_CREATE_HOOK');
|
|
3
4
|
export const WORKFLOW_SLEEP = Symbol.for('WORKFLOW_SLEEP');
|
|
4
5
|
export const WORKFLOW_CONTEXT = Symbol.for('WORKFLOW_CONTEXT');
|
|
@@ -6,6 +7,55 @@ export const WORKFLOW_GET_STREAM_ID = Symbol.for('WORKFLOW_GET_STREAM_ID');
|
|
|
6
7
|
export const STABLE_ULID = Symbol.for('WORKFLOW_STABLE_ULID');
|
|
7
8
|
export const STREAM_NAME_SYMBOL = Symbol.for('WORKFLOW_STREAM_NAME');
|
|
8
9
|
export const STREAM_TYPE_SYMBOL = Symbol.for('WORKFLOW_STREAM_TYPE');
|
|
10
|
+
export const STREAM_FRAMING_SYMBOL = Symbol.for('WORKFLOW_STREAM_FRAMING');
|
|
11
|
+
/**
|
|
12
|
+
* Stamped on a real `WritableStream` (the user-visible `serialize.writable`
|
|
13
|
+
* returned from a step-side reviver or step-context `getWritable()`) to
|
|
14
|
+
* record the `runId` of the workflow run that owns the underlying server
|
|
15
|
+
* stream. Used together with `STREAM_NAME_SYMBOL`.
|
|
16
|
+
*
|
|
17
|
+
* When `getExternalReducers.WritableStream` (the dehydration path used by
|
|
18
|
+
* `start()`) sees both symbols on a writable, it includes the `runId` in
|
|
19
|
+
* the descriptor it emits. The child run's step-side reviver then opens
|
|
20
|
+
* a server writable against the original `(runId, name)` and resolves
|
|
21
|
+
* that run's encryption key directly — so the child's writes land on
|
|
22
|
+
* the parent's stream as-is, with no client process in the loop. That
|
|
23
|
+
* keeps the forwarding alive for the full lifetime of the child run,
|
|
24
|
+
* not just for the parent step that initiated `start()`.
|
|
25
|
+
*/
|
|
26
|
+
export const STREAM_SERVER_RUN_ID_SYMBOL = Symbol.for('WORKFLOW_STREAM_SERVER_RUN_ID');
|
|
27
|
+
/**
|
|
28
|
+
* Stamped alongside `STREAM_SERVER_RUN_ID_SYMBOL` when the deployment that
|
|
29
|
+
* owns a forwarded writable stream is known. Cross-deployment consumers use
|
|
30
|
+
* it to resolve the owning run's encryption key without loading the run first.
|
|
31
|
+
*/
|
|
32
|
+
export const STREAM_SERVER_DEPLOYMENT_ID_SYMBOL = Symbol.for('WORKFLOW_STREAM_SERVER_DEPLOYMENT_ID');
|
|
33
|
+
/**
|
|
34
|
+
* Stamped alongside `STREAM_SERVER_RUN_ID_SYMBOL` with the owning run's
|
|
35
|
+
* X25519 public key (base64), when the run has one.
|
|
36
|
+
*
|
|
37
|
+
* This is what lets a forwarded writable be written to across a deployment
|
|
38
|
+
* boundary at zero cost. The owning run derives its own public key locally
|
|
39
|
+
* when it creates the stream, so the key travels inside the serialized
|
|
40
|
+
* descriptor; a child on another deployment can then seal frames immediately.
|
|
41
|
+
* Without it the child would have to either fetch the owning run or fetch its
|
|
42
|
+
* symmetric key from the API — the round trip this whole mechanism exists to
|
|
43
|
+
* avoid.
|
|
44
|
+
*/
|
|
45
|
+
export const STREAM_SERVER_PUBLIC_KEY_SYMBOL = Symbol.for('WORKFLOW_STREAM_SERVER_PUBLIC_KEY');
|
|
46
|
+
/**
|
|
47
|
+
* Stamped on a `WorkflowServerWritableStream` instance to expose its
|
|
48
|
+
* durability barrier: `() => Promise<void>` that resolves once every accepted
|
|
49
|
+
* chunk has durably reached the server (nothing buffered, nothing in flight)
|
|
50
|
+
* and rejects if any dispatch failed.
|
|
51
|
+
*
|
|
52
|
+
* The sink acks `write()` on buffer entry (group-commit batching), so
|
|
53
|
+
* durability tracking lives here instead: `flushablePipe` feature-detects
|
|
54
|
+
* this and awaits it before resolving its lock-release completion, keeping
|
|
55
|
+
* the invariant that a step cannot complete while stream data is still
|
|
56
|
+
* client-side. Sinks without it are fully durable per `write()` already.
|
|
57
|
+
*/
|
|
58
|
+
export const STREAM_DRAIN_SYMBOL = Symbol.for('WORKFLOW_STREAM_DRAIN');
|
|
9
59
|
export const BODY_INIT_SYMBOL = Symbol.for('BODY_INIT');
|
|
10
60
|
export const WEBHOOK_RESPONSE_WRITABLE = Symbol.for('WEBHOOK_RESPONSE_WRITABLE');
|
|
11
61
|
/**
|
|
@@ -13,4 +63,8 @@ export const WEBHOOK_RESPONSE_WRITABLE = Symbol.for('WEBHOOK_RESPONSE_WRITABLE')
|
|
|
13
63
|
* This allows the deserializer to find classes by classId in the VM context.
|
|
14
64
|
*/
|
|
15
65
|
export const WORKFLOW_CLASS_REGISTRY = Symbol.for('workflow-class-registry');
|
|
16
|
-
|
|
66
|
+
export const ABORT_STREAM_NAME = Symbol.for('WORKFLOW_ABORT_STREAM_NAME');
|
|
67
|
+
export const ABORT_HOOK_TOKEN = Symbol.for('WORKFLOW_ABORT_HOOK_TOKEN');
|
|
68
|
+
export const ABORT_LISTENER_ATTACHED = Symbol.for('WORKFLOW_ABORT_LISTENER_ATTACHED');
|
|
69
|
+
export const ABORT_READER_CANCEL = Symbol.for('WORKFLOW_ABORT_READER_CANCEL');
|
|
70
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ltYm9scy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9zeW1ib2xzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLGlCQUFpQixHQUFHLE1BQU0sQ0FBQyxHQUFHLENBQUMsbUJBQW1CLENBQUMsQ0FBQztBQUNqRSxNQUFNLENBQUMsTUFBTSx1QkFBdUIsR0FBRyxNQUFNL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ib2wuZm9yKFxuICAnV09SS0ZMT1dfQUJPUlRfTElTVEVORVJfQVRUQUNIRUQnXG4pO1xuZXhwb3J0IGNvbnN0IEFCT1JUX1JFQURFUl9DQU5DRUwgPSBTeW1ib2wuZm9yKCdXT1JLRkxPV19BQk9SVF9SRUFERVJfQ0FOQ0VMJyk7XG4iXX0=
|
|
@@ -41,8 +41,8 @@ export declare const WorkflowName: (value: string) => {
|
|
|
41
41
|
[k: string]: string;
|
|
42
42
|
};
|
|
43
43
|
/** The operation being performed on the workflow */
|
|
44
|
-
export declare const WorkflowOperation: (value: "run" | "start" | "execute") => {
|
|
45
|
-
[k: string]: "run" | "start" | "execute";
|
|
44
|
+
export declare const WorkflowOperation: (value: "run" | "start" | "execute" | "execute_v2") => {
|
|
45
|
+
[k: string]: "run" | "start" | "execute" | "execute_v2";
|
|
46
46
|
};
|
|
47
47
|
/** Unique identifier for a specific workflow run instance */
|
|
48
48
|
export declare const WorkflowRunId: (value: string) => {
|
|
@@ -60,6 +60,33 @@ export declare const WorkflowStartedAt: (value: number) => {
|
|
|
60
60
|
export declare const WorkflowEventsCount: (value: number) => {
|
|
61
61
|
[k: string]: number;
|
|
62
62
|
};
|
|
63
|
+
/** Whether workflow execution starts with replay or resumes a retained VM */
|
|
64
|
+
export declare const WorkflowExecutionMode: (value: "replay" | "retained") => {
|
|
65
|
+
[k: string]: "replay" | "retained";
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Events the replay walked past that no consumer claimed, still held when the
|
|
69
|
+
* replay stopped.
|
|
70
|
+
*
|
|
71
|
+
* A non-zero count on a suspension is ordinary: an out-of-band delivery that
|
|
72
|
+
* landed ahead of the code that reads it waits for the replay that gets there.
|
|
73
|
+
* From inside one replay that is indistinguishable from an event no replay will
|
|
74
|
+
* ever claim, because the two differ only in what the next replay does. So the
|
|
75
|
+
* count goes on the span instead of failing the run, and the case worth acting
|
|
76
|
+
* on is a query across a run's spans: the same
|
|
77
|
+
* {@link WorkflowParkedEventId} held on suspension after suspension.
|
|
78
|
+
*/
|
|
79
|
+
export declare const WorkflowParkedEventsCount: (value: number) => {
|
|
80
|
+
[k: string]: number;
|
|
81
|
+
};
|
|
82
|
+
/** Oldest event still held unclaimed when the replay stopped. */
|
|
83
|
+
export declare const WorkflowParkedEventId: (value: string) => {
|
|
84
|
+
[k: string]: string;
|
|
85
|
+
};
|
|
86
|
+
/** Type of the oldest event still held unclaimed when the replay stopped. */
|
|
87
|
+
export declare const WorkflowParkedEventType: (value: string) => {
|
|
88
|
+
[k: string]: string;
|
|
89
|
+
};
|
|
63
90
|
/** Number of arguments passed to the workflow */
|
|
64
91
|
export declare const WorkflowArgumentsCount: (value: number) => {
|
|
65
92
|
[k: string]: number;
|
|
@@ -72,6 +99,42 @@ export declare const WorkflowResultType: (value: string) => {
|
|
|
72
99
|
export declare const WorkflowTracePropagated: (value: boolean) => {
|
|
73
100
|
[k: string]: boolean;
|
|
74
101
|
};
|
|
102
|
+
/** The VM engine executing the workflow function for this invocation */
|
|
103
|
+
export declare const WorkflowVm: (value: "node" | "quickjs") => {
|
|
104
|
+
[k: string]: "node" | "quickjs";
|
|
105
|
+
};
|
|
106
|
+
/** Outcome of a QuickJS VM workflow invocation */
|
|
107
|
+
export declare const QuickJSOutcome: (value: "completed" | "failed" | "suspended") => {
|
|
108
|
+
[k: string]: "completed" | "failed" | "suspended";
|
|
109
|
+
};
|
|
110
|
+
/** Whether preloaded events from `events.create('run_started')` were used */
|
|
111
|
+
export declare const QuickJSEventsPreloaded: (value: boolean) => {
|
|
112
|
+
[k: string]: boolean;
|
|
113
|
+
};
|
|
114
|
+
/** Total number of events fetched from the world for this invocation */
|
|
115
|
+
export declare const QuickJSEventsFetchedCount: (value: number) => {
|
|
116
|
+
[k: string]: number;
|
|
117
|
+
};
|
|
118
|
+
/** Number of pages required to fetch all events */
|
|
119
|
+
export declare const QuickJSEventsFetchedPages: (value: number) => {
|
|
120
|
+
[k: string]: number;
|
|
121
|
+
};
|
|
122
|
+
/** Number of pending VM operations captured at suspension */
|
|
123
|
+
export declare const QuickJSPendingOpsCount: (value: number) => {
|
|
124
|
+
[k: string]: number;
|
|
125
|
+
};
|
|
126
|
+
/** Number of steps executed inline (live-VM continuation) this invocation */
|
|
127
|
+
export declare const QuickJSInlineSteps: (value: number) => {
|
|
128
|
+
[k: string]: number;
|
|
129
|
+
};
|
|
130
|
+
/** Active trace-correlation mode for this invocation (linked or continuous) */
|
|
131
|
+
export declare const WorkflowTraceMode: (value: "linked" | "continuous") => {
|
|
132
|
+
[k: string]: "linked" | "continuous";
|
|
133
|
+
};
|
|
134
|
+
/** Whether this workflow invocation is using the turbo first-delivery path */
|
|
135
|
+
export declare const WorkflowTurbo: (value: boolean) => {
|
|
136
|
+
[k: string]: boolean;
|
|
137
|
+
};
|
|
75
138
|
/** Name of the error that caused workflow failure */
|
|
76
139
|
export declare const WorkflowErrorName: (value: string) => {
|
|
77
140
|
[k: string]: string;
|
|
@@ -96,6 +159,51 @@ export declare const WorkflowHooksCreated: (value: number) => {
|
|
|
96
159
|
export declare const WorkflowWaitsCreated: (value: number) => {
|
|
97
160
|
[k: string]: number;
|
|
98
161
|
};
|
|
162
|
+
/**
|
|
163
|
+
* Number of inline-owned steps this invocation re-executed because it is a
|
|
164
|
+
* redelivery of their owning queue message (crash recovery for inline
|
|
165
|
+
* steps — see the inline step ownership changelog, workflow#2780).
|
|
166
|
+
*/
|
|
167
|
+
export declare const WorkflowOwnedRecoverySteps: (value: number) => {
|
|
168
|
+
[k: string]: number;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* Number of pending steps for which this replay suppressed the immediate
|
|
172
|
+
* requeue (another invocation inline-owns them under a live lease) and
|
|
173
|
+
* ensured a delayed backstop wake instead.
|
|
174
|
+
*/
|
|
175
|
+
export declare const WorkflowBackstopWakesArmed: (value: number) => {
|
|
176
|
+
[k: string]: number;
|
|
177
|
+
};
|
|
178
|
+
/** The workflow runtime route being handled */
|
|
179
|
+
export declare const WorkflowRouteType: (value: "flow") => {
|
|
180
|
+
[k: string]: "flow";
|
|
181
|
+
};
|
|
182
|
+
/** Whether this route invocation reused an already-created request handler */
|
|
183
|
+
export declare const WorkflowRouteHandlerCached: (value: boolean) => {
|
|
184
|
+
[k: string]: boolean;
|
|
185
|
+
};
|
|
186
|
+
/** Number of times this in-memory route handler has been invoked */
|
|
187
|
+
export declare const WorkflowRouteInvocationCount: (value: number) => {
|
|
188
|
+
[k: string]: number;
|
|
189
|
+
};
|
|
190
|
+
/** Time since this route entrypoint was constructed, in milliseconds */
|
|
191
|
+
export declare const WorkflowRouteEntrypointAgeMs: (value: number) => {
|
|
192
|
+
[k: string]: number;
|
|
193
|
+
};
|
|
194
|
+
/** Time spent evaluating the generated route module body before creating the entrypoint */
|
|
195
|
+
export declare const WorkflowRouteModuleBodyInitMs: (value: number) => {
|
|
196
|
+
[k: string]: number;
|
|
197
|
+
};
|
|
198
|
+
/**
|
|
199
|
+
* Compute instance handling this route — the synthesized `COMPUTE_INSTANCE_ID`.
|
|
200
|
+
* Uses OTEL `faas.instance` (execution-environment id, reused across
|
|
201
|
+
* invocations to the same function):
|
|
202
|
+
* https://opentelemetry.io/docs/specs/semconv/attributes-registry/faas/
|
|
203
|
+
*/
|
|
204
|
+
export declare const FaasInstance: (value: string) => {
|
|
205
|
+
[k: string]: string;
|
|
206
|
+
};
|
|
99
207
|
/** Name of the step function being executed */
|
|
100
208
|
export declare const StepName: (value: string) => {
|
|
101
209
|
[k: string]: string;
|
|
@@ -120,6 +228,55 @@ export declare const StepMaxRetries: (value: number) => {
|
|
|
120
228
|
export declare const StepTracePropagated: (value: boolean) => {
|
|
121
229
|
[k: string]: boolean;
|
|
122
230
|
};
|
|
231
|
+
/**
|
|
232
|
+
* Client-measured time-to-first-step latency in milliseconds: run creation →
|
|
233
|
+
* this step's body beginning to execute, minus pre-step hook-creation time.
|
|
234
|
+
* Only present on the run's first step execution when it qualified for
|
|
235
|
+
* measurement (see runtime/step-latency.ts).
|
|
236
|
+
*/
|
|
237
|
+
export declare const StepTtfsMs: (value: number) => {
|
|
238
|
+
[k: string]: number;
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* Client-measured step-to-step overhead in milliseconds: the previous step's
|
|
242
|
+
* terminal event → this step's body beginning to execute. Only present when
|
|
243
|
+
* the two steps ran back-to-back.
|
|
244
|
+
*/
|
|
245
|
+
export declare const StepStsoMs: (value: number) => {
|
|
246
|
+
[k: string]: number;
|
|
247
|
+
};
|
|
248
|
+
/**
|
|
249
|
+
* Client-measured run_started-to-first-step latency in milliseconds: the
|
|
250
|
+
* `run_started` response landing (or, under turbo, the local run synthesis
|
|
251
|
+
* instant) → this step's start POST being issued. A sub-window of ttfs that
|
|
252
|
+
* isolates replay overhead from the run-creation queue hop. Only present on
|
|
253
|
+
* the run's first step execution when it qualified for measurement (see
|
|
254
|
+
* runtime/step-latency.ts).
|
|
255
|
+
*/
|
|
256
|
+
export declare const StepRsfsMs: (value: number) => {
|
|
257
|
+
[k: string]: number;
|
|
258
|
+
};
|
|
259
|
+
/**
|
|
260
|
+
* Client-measured synchronous workflow-function replay duration in
|
|
261
|
+
* milliseconds, excluding awaited network I/O, of only the FINAL replay pass
|
|
262
|
+
* within the rsfs window — the pass that reached and scheduled the first
|
|
263
|
+
* step. Not accumulated across earlier pre-first-step passes (e.g. a
|
|
264
|
+
* workflow-body `setAttributes()` detour replays more than once, and a
|
|
265
|
+
* redelivery omits earlier invocations' work entirely), so this must not be
|
|
266
|
+
* read as "the replay portion of rsfs" — step.rsfs_ms covers the whole
|
|
267
|
+
* window. Only present alongside step.rsfs_ms and only for the run's first
|
|
268
|
+
* step (see runtime/step-latency.ts).
|
|
269
|
+
*/
|
|
270
|
+
export declare const StepFinalSchedulingReplayMs: (value: number) => {
|
|
271
|
+
[k: string]: number;
|
|
272
|
+
};
|
|
273
|
+
/**
|
|
274
|
+
* Runtime startup-latency optimizations active for the ttfs/stso measurement
|
|
275
|
+
* (e.g. 'turbo', 'lazyStepStart', 'optimisticStart').
|
|
276
|
+
*/
|
|
277
|
+
export declare const StepLatencyOptimizations: (value: string[]) => {
|
|
278
|
+
[k: string]: string[];
|
|
279
|
+
};
|
|
123
280
|
/** Whether the step was skipped during execution */
|
|
124
281
|
export declare const StepSkipped: (value: boolean) => {
|
|
125
282
|
[k: string]: boolean;
|
|
@@ -184,6 +341,18 @@ export declare const QueueOverheadMs: (value: number) => {
|
|
|
184
341
|
export declare const DeploymentId: (value: string) => {
|
|
185
342
|
[k: string]: string;
|
|
186
343
|
};
|
|
344
|
+
/** The deployment a run is pinned to, set only on a misrouted delivery. */
|
|
345
|
+
export declare const WorkflowRunPinnedDeploymentId: (value: string) => {
|
|
346
|
+
[k: string]: string;
|
|
347
|
+
};
|
|
348
|
+
/** Re-route attempts for this misrouted delivery, including this one. */
|
|
349
|
+
export declare const WorkflowDeploymentMismatchRetryCount: (value: number) => {
|
|
350
|
+
[k: string]: number;
|
|
351
|
+
};
|
|
352
|
+
/** Whether the misrouted delivery was re-routed instead of failing the run. */
|
|
353
|
+
export declare const WorkflowDeploymentMismatchRecovered: (value: boolean) => {
|
|
354
|
+
[k: string]: boolean;
|
|
355
|
+
};
|
|
187
356
|
/** Token identifying a specific hook */
|
|
188
357
|
export declare const HookToken: (value: string) => {
|
|
189
358
|
[k: string]: string;
|
|
@@ -196,6 +365,58 @@ export declare const HookId: (value: string) => {
|
|
|
196
365
|
export declare const HookFound: (value: boolean) => {
|
|
197
366
|
[k: string]: boolean;
|
|
198
367
|
};
|
|
368
|
+
/**
|
|
369
|
+
* Producer-side signal (on the `hook.resume` span) that the direct
|
|
370
|
+
* `hook_received` write failed transiently but the queue dispatch succeeded, so
|
|
371
|
+
* the resume is recovered via the consumer's re-ensure. Corresponds to
|
|
372
|
+
* `ResumedHook.resilientResume === true`.
|
|
373
|
+
*/
|
|
374
|
+
export declare const HookResilientResume: (value: boolean) => {
|
|
375
|
+
[k: string]: boolean;
|
|
376
|
+
};
|
|
377
|
+
/**
|
|
378
|
+
* Consumer-side signal (on the workflow execution span) that this replay
|
|
379
|
+
* materialized the `hook_received` event from the queue message's `hookInput`
|
|
380
|
+
* because the producer's direct write had not landed — the completion of the
|
|
381
|
+
* recovery path {@link HookResilientResume} began.
|
|
382
|
+
*
|
|
383
|
+
* Legacy / non-atomic re-ensure signal only. Atomic lazy resumes
|
|
384
|
+
* (resumeId + digest) go through the hoisted preload write instead, whose
|
|
385
|
+
* response cannot tell whether the producer or the consumer won the
|
|
386
|
+
* `(runId, resumeId)` claim — so this attribute is deliberately NOT emitted
|
|
387
|
+
* for them (emitting `true` unconditionally would count every producer-won
|
|
388
|
+
* resume as a recovery). The producer-begin ({@link HookResilientResume}) /
|
|
389
|
+
* consumer-materialized pairing is therefore no longer complete for atomic
|
|
390
|
+
* lazy resumptions; use {@link HookResumeSetupSource} to observe that path.
|
|
391
|
+
*/
|
|
392
|
+
export declare const HookResilientResumeMaterialized: (value: boolean) => {
|
|
393
|
+
[k: string]: boolean;
|
|
394
|
+
};
|
|
395
|
+
/**
|
|
396
|
+
* Consumer-side signal (on the workflow execution span) of how a lazy hook
|
|
397
|
+
* resume initialized its replay state:
|
|
398
|
+
*
|
|
399
|
+
* - `hook_received_stream` — the hoisted `hook_received` write returned a
|
|
400
|
+
* usable replay preload (run + complete event log), so the invocation
|
|
401
|
+
* skipped both the `run_started` write and the initial `events.list`.
|
|
402
|
+
* - `hook_received_fallback` — the hoisted write succeeded but returned no
|
|
403
|
+
* usable preload (a CBOR response from an older server, a World that
|
|
404
|
+
* ignored the opt-in, a bounded `hasMore` page, or a preload that failed
|
|
405
|
+
* validation); the invocation fell back to the `run_started` setup without
|
|
406
|
+
* re-posting the hook.
|
|
407
|
+
*
|
|
408
|
+
* Absent on legacy hook deliveries (no resumeId/digest) and on every other
|
|
409
|
+
* delivery kind, which take the `run_started` setup unconditionally.
|
|
410
|
+
*
|
|
411
|
+
* This is a latency/setup-path signal: it says which requests initialized
|
|
412
|
+
* the invocation, NOT that this consumer created the `hook_received` event
|
|
413
|
+
* (the hoisted write may equally have converged on the producer's — claim
|
|
414
|
+
* ownership is not observable client-side; cf.
|
|
415
|
+
* {@link HookResilientResumeMaterialized}).
|
|
416
|
+
*/
|
|
417
|
+
export declare const HookResumeSetupSource: (value: string) => {
|
|
418
|
+
[k: string]: string;
|
|
419
|
+
};
|
|
199
420
|
/** Number of webhook handlers triggered */
|
|
200
421
|
export declare const WebhookHandlersTriggered: (value: number) => {
|
|
201
422
|
[k: string]: number;
|
|
@@ -216,6 +437,10 @@ export declare const WorkflowSuspensionWaitCount: (value: number) => {
|
|
|
216
437
|
export declare const HttpRequestMethod: (value: string) => {
|
|
217
438
|
[k: string]: string;
|
|
218
439
|
};
|
|
440
|
+
/** Route pattern for the request (standard OTEL: http.route) */
|
|
441
|
+
export declare const HttpRoute: (value: string) => {
|
|
442
|
+
[k: string]: string;
|
|
443
|
+
};
|
|
219
444
|
/** Full URL of the request (standard OTEL: url.full) */
|
|
220
445
|
export declare const UrlFull: (value: string) => {
|
|
221
446
|
[k: string]: string;
|
|
@@ -256,6 +481,44 @@ export declare const QueueExecutionTimeMs: (value: number) => {
|
|
|
256
481
|
export declare const QueueSerializeTimeMs: (value: number) => {
|
|
257
482
|
[k: string]: number;
|
|
258
483
|
};
|
|
484
|
+
/** Whether this serialize/deserialize was a write or read. */
|
|
485
|
+
export declare const SerializationOperation: (value: "serialize" | "deserialize") => {
|
|
486
|
+
[k: string]: "serialize" | "deserialize";
|
|
487
|
+
};
|
|
488
|
+
/** Whether a compression codec was applied (write) / present (read). */
|
|
489
|
+
export declare const SerializationCompressed: (value: boolean) => {
|
|
490
|
+
[k: string]: boolean;
|
|
491
|
+
};
|
|
492
|
+
/** Which compression codec applied / was present (`zstd`, `gzip`, or `none`). */
|
|
493
|
+
export declare const SerializationCodec: (value: "zstd" | "gzip" | "none") => {
|
|
494
|
+
[k: string]: "zstd" | "gzip" | "none";
|
|
495
|
+
};
|
|
496
|
+
/** Logical (uncompressed, devalue-prefixed) payload size in bytes. */
|
|
497
|
+
export declare const SerializationUncompressedBytes: (value: number) => {
|
|
498
|
+
[k: string]: number;
|
|
499
|
+
};
|
|
500
|
+
/** Stored (post-compression, pre-encryption) payload size in bytes. */
|
|
501
|
+
export declare const SerializationStoredBytes: (value: number) => {
|
|
502
|
+
[k: string]: number;
|
|
503
|
+
};
|
|
504
|
+
/** Fraction of bytes saved by compression (0..1); set only when compressed. */
|
|
505
|
+
export declare const SerializationCompressionRatio: (value: number) => {
|
|
506
|
+
[k: string]: number;
|
|
507
|
+
};
|
|
508
|
+
/**
|
|
509
|
+
* Number of workflow (guest) code executions serialization could not avoid
|
|
510
|
+
* (getters, proxies, custom serializers); set only when non-zero.
|
|
511
|
+
*/
|
|
512
|
+
export declare const SerializationGuestCodeExecutions: (value: number) => {
|
|
513
|
+
[k: string]: number;
|
|
514
|
+
};
|
|
515
|
+
/**
|
|
516
|
+
* Deduplicated `kind (detail)` descriptions of the guest-code executions;
|
|
517
|
+
* set only when non-zero.
|
|
518
|
+
*/
|
|
519
|
+
export declare const SerializationGuestCodeDetails: (value: string[]) => {
|
|
520
|
+
[k: string]: string[];
|
|
521
|
+
};
|
|
259
522
|
/** The remote service name for Datadog service maps (Datadog-specific: peer.service) */
|
|
260
523
|
export declare const PeerService: (value: string) => {
|
|
261
524
|
[k: string]: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"semantic-conventions.d.ts","sourceRoot":"","sources":["../../src/telemetry/semantic-conventions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAgBH,8CAA8C;AAC9C,eAAO,MAAM,YAAY;;CAA8C,CAAC;AAExE,oDAAoD;AACpD,eAAO,MAAM,iBAAiB;;CAEP,CAAC;AAExB,6DAA6D;AAC7D,eAAO,MAAM,aAAa;;CAAgD,CAAC;AAE3E,yCAAyC;AACzC,eAAO,MAAM,iBAAiB;;CAEN,CAAC;AAEzB,qEA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