@aws/durable-execution-sdk-js-otel 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +144 -19
- package/dist/execution-plugin.mjs +136 -38
- package/dist/execution-plugin.mjs.map +1 -1
- package/dist/invocation-plugin.mjs +88 -59
- package/dist/invocation-plugin.mjs.map +1 -1
- package/dist/otel-execution.mjs +1 -1
- package/dist/otel-invocation.mjs +2 -2
- package/dist/plugin-registration.mjs +72 -5
- package/dist/plugin-registration.mjs.map +1 -1
- package/dist-cjs/execution-plugin.js +136 -38
- package/dist-cjs/execution-plugin.js.map +1 -1
- package/dist-cjs/invocation-plugin.js +88 -59
- package/dist-cjs/invocation-plugin.js.map +1 -1
- package/dist-cjs/otel-execution.js +1 -1
- package/dist-cjs/otel-invocation.js +2 -2
- package/dist-cjs/plugin-registration.js +73 -3
- package/dist-cjs/plugin-registration.js.map +1 -1
- package/dist-types/execution-plugin.d.ts +12 -1
- package/dist-types/execution-plugin.d.ts.map +1 -1
- package/dist-types/external-completions.d.ts +1 -1
- package/dist-types/external-completions.d.ts.map +1 -1
- package/dist-types/invocation-plugin.d.ts +6 -0
- package/dist-types/invocation-plugin.d.ts.map +1 -1
- package/dist-types/operation-span-status.d.ts +5 -0
- package/dist-types/operation-span-status.d.ts.map +1 -0
- package/dist-types/otel-plugin-config.d.ts +8 -0
- package/dist-types/otel-plugin-config.d.ts.map +1 -1
- package/dist-types/otel-plugin-provider.d.ts +7 -0
- package/dist-types/otel-plugin-provider.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -153,7 +153,25 @@ tracer from it. Register it globally when the application also needs its
|
|
|
153
153
|
context manager, propagator, or library instrumentation.
|
|
154
154
|
|
|
155
155
|
At the end of each enabled invocation, both plugins call `forceFlush()` when
|
|
156
|
-
the provider exposes it.
|
|
156
|
+
the provider exposes it. For the default global API provider, they also check
|
|
157
|
+
its public delegate, so an SDK `BatchSpanProcessor` is flushed when the API proxy
|
|
158
|
+
does not expose `forceFlush()` itself. Explicit factory providers are used as
|
|
159
|
+
returned and are not unwrapped. The plugins never call `shutdown()`.
|
|
160
|
+
|
|
161
|
+
Both views use one `flushTimeoutMillis` budget across the invocation-end
|
|
162
|
+
drain/flush rounds (default **1000 ms**, positive and at most **2147483647 ms**,
|
|
163
|
+
Node.js's maximum timer delay). This bounds
|
|
164
|
+
asynchronous provider waiting on both the global and explicit-provider paths.
|
|
165
|
+
Choose a value that leaves room in the Lambda invocation timeout and configure
|
|
166
|
+
the exporter's own transport timeouts too. The plugin has no remaining-runtime
|
|
167
|
+
deadline in its invocation metadata and cannot guarantee that this budget fits
|
|
168
|
+
the time left after the handler.
|
|
169
|
+
|
|
170
|
+
On expiry, the plugin drains one bounded snapshot of terminal notifications
|
|
171
|
+
already received, then returns without starting another provider flush. Export
|
|
172
|
+
delivery is best effort: spans may remain queued. Timing out does not cancel an
|
|
173
|
+
export, shut down the provider, or preempt synchronously blocking provider or
|
|
174
|
+
processor code.
|
|
157
175
|
|
|
158
176
|
## Dynamic Loading from a Lambda Layer
|
|
159
177
|
|
|
@@ -252,7 +270,7 @@ spans instead of using the process-wide `performance.timeOrigin`. Absolute
|
|
|
252
270
|
`HrTime` tuples keep epoch milliseconds distinct from relative performance time.
|
|
253
271
|
Each resumed invocation captures its own anchor. Supplied execution-start
|
|
254
272
|
Dates used to backdate Workflow and synthetic roots are preserved; execution-view
|
|
255
|
-
|
|
273
|
+
provided timestamps are retained without adding cross-clock boundary compensation.
|
|
256
274
|
|
|
257
275
|
The wall and monotonic reads are not atomic. Sampling delay, millisecond wall
|
|
258
276
|
precision, later wall-clock adjustments, and clocks on different machines can
|
|
@@ -260,6 +278,18 @@ still disagree. The plugin does not rewrite backend Dates or user spans, retain
|
|
|
260
278
|
a clock high-water mark across invocations, or promise simultaneous strict
|
|
261
279
|
ordering and complete containment across arbitrary clock skew.
|
|
262
280
|
|
|
281
|
+
Independently of the invocation clock origin, execution-view operation and attempt
|
|
282
|
+
exception events use the supplied backend end timestamp when one is available,
|
|
283
|
+
just as their span end does. Recording the event at local receipt time can place
|
|
284
|
+
it after the backend-ended span. Missing end timestamps retain the normal tracer
|
|
285
|
+
default; this does not add rounding or cross-clock ordering policies.
|
|
286
|
+
|
|
287
|
+
When an execution-view completion has no recorded start timestamp, an available
|
|
288
|
+
backend end timestamp supplies a zero-duration fallback. This keeps its exception
|
|
289
|
+
at that known completion time instead of before a later local default start.
|
|
290
|
+
Recorded starts and missing-end defaults retain their existing behavior; this
|
|
291
|
+
does not reconcile a captured local start with an earlier backend end.
|
|
292
|
+
|
|
263
293
|
Because the original span context is not checkpointed, replayed `STEP` and
|
|
264
294
|
`CONTEXT` spans and cross-invocation continuation spans use new provider IDs.
|
|
265
295
|
They correlate through two links: the real exported `Workflow` span, and the
|
|
@@ -359,7 +389,7 @@ anchor span content; backends may retain whichever resource accompanies their
|
|
|
359
389
|
chosen copy. Span processors that enrich these spans must likewise avoid
|
|
360
390
|
invocation-varying span fields when relying on identity-based deduplication.
|
|
361
391
|
Export delivery and flushing remain the provider/layer's responsibility. The
|
|
362
|
-
plugin awaits
|
|
392
|
+
plugin awaits an available provider or global-delegate `forceFlush()`, but a killed invocation
|
|
363
393
|
or a failed export cannot guarantee delivery; this is not exactly-once export.
|
|
364
394
|
|
|
365
395
|
If a caller omits `executionStartTimestamp`, the plugin retains terminal-only
|
|
@@ -497,6 +527,9 @@ interface OtelPluginConfig {
|
|
|
497
527
|
|
|
498
528
|
/** Add active OTel IDs to durable log records. Defaults to true. */
|
|
499
529
|
enrichLogger?: boolean;
|
|
530
|
+
|
|
531
|
+
/** Total invocation-end provider wait budget; defaults to 1000 ms. */
|
|
532
|
+
flushTimeoutMillis?: number;
|
|
500
533
|
}
|
|
501
534
|
```
|
|
502
535
|
|
|
@@ -537,16 +570,28 @@ environment values are available.
|
|
|
537
570
|
|
|
538
571
|
OpenTelemetry status mapping is:
|
|
539
572
|
|
|
540
|
-
| Span | Durable result
|
|
541
|
-
| ---------- |
|
|
542
|
-
| Workflow | `SUCCEEDED` / `FAILED`
|
|
543
|
-
| Invocation | `SUCCEEDED` or `PENDING` / `FAILED` / `RETRYING`
|
|
544
|
-
| Operation | `SUCCEEDED` /
|
|
545
|
-
| Attempt | `FAILED` / any other outcome
|
|
546
|
-
|
|
547
|
-
Operation
|
|
548
|
-
|
|
549
|
-
|
|
573
|
+
| Span | Durable result | OTel status |
|
|
574
|
+
| ---------- | -------------- | ----------- |
|
|
575
|
+
| Workflow | `SUCCEEDED` / `FAILED` | `OK` / `ERROR` |
|
|
576
|
+
| Invocation | `SUCCEEDED` or `PENDING` / `FAILED` / `RETRYING` | `OK` / `ERROR` / `UNSET` |
|
|
577
|
+
| Operation | `SUCCEEDED` / `FAILED`, `TIMED_OUT`, `STOPPED` or an error object / otherwise | `OK` / `ERROR` / `UNSET` |
|
|
578
|
+
| Attempt | `FAILED` / any other outcome | `ERROR` / `OK` |
|
|
579
|
+
|
|
580
|
+
Operation failure status and exception details are independent. `FAILED`,
|
|
581
|
+
`TIMED_OUT`, and `STOPPED` remain `ERROR` when error details are absent, including when
|
|
582
|
+
the handler catches its failure and returns successfully. The status message uses
|
|
583
|
+
the supplied error message, or the failed status name when no error exists.
|
|
584
|
+
|
|
585
|
+
`CANCELLED` without error details remains `UNSET`. A supplied error still makes
|
|
586
|
+
a cancelled operation `ERROR`; this mapping does not introduce a general
|
|
587
|
+
cancellation policy.
|
|
588
|
+
|
|
589
|
+
Operation and attempt exceptions are recorded only when an error object is
|
|
590
|
+
available. Wire errors with no defined values do not synthesize exception events,
|
|
591
|
+
including when an unrecognized property is `undefined`. Explicit partial
|
|
592
|
+
details, including empty strings or an empty stack trace, remain error information.
|
|
593
|
+
Workflow and Invocation failures set `ERROR` without recording an exception event.
|
|
594
|
+
Caller exceptions, checkpoint payloads and replay behavior are unchanged.
|
|
550
595
|
|
|
551
596
|
## Log Correlation
|
|
552
597
|
|
|
@@ -682,6 +727,51 @@ exported at invocation end. Supplied operation timestamps, parent identity,
|
|
|
682
727
|
status, and error details are preserved in the execution view; the invocation
|
|
683
728
|
view completes the live segment or emits a linked continuation.
|
|
684
729
|
|
|
730
|
+
A failed invoke still rejects with `InvokeError` when backend error details are
|
|
731
|
+
absent. Its telemetry retains the absent error metadata in live, resumed, and
|
|
732
|
+
deferred delivery, rather than inventing an exception. Provided error details
|
|
733
|
+
continue through the existing metadata converter.
|
|
734
|
+
|
|
735
|
+
For a named `waitForCallback`, a deferred inner callback recovers its derived
|
|
736
|
+
`<name>-callback` display name from a known `WaitForCallback` parent when replay
|
|
737
|
+
skips that branch. This does not change checkpointed names, operation identity,
|
|
738
|
+
parent identity, or the source notification; explicit names remain unchanged.
|
|
739
|
+
|
|
740
|
+
At the final cleanup of a terminal invocation, the execution view parents a
|
|
741
|
+
deferred completion to `Workflow` if its direct parent is still an open local
|
|
742
|
+
placeholder that will be discarded. During the open drain/flush phase, a live
|
|
743
|
+
parent can still finish and its normal end hook exports the queued child with
|
|
744
|
+
the real parent identity. An open parent alone does not trigger repeated flushes.
|
|
745
|
+
The plugin does not invent a completion or span for an abandoned context. Pending
|
|
746
|
+
or retrying invocations retain the parent identity
|
|
747
|
+
because a later invocation can still complete and export that context. An
|
|
748
|
+
exception is an unfinished parent below a known completed context in checkpoint
|
|
749
|
+
history: replay cannot restart that unfinished branch, so its deferred completion
|
|
750
|
+
also uses `Workflow`. `ReplayChildren` can traverse completed children to rebuild
|
|
751
|
+
a result, but `ReplaySucceededContext` still blocks unfinished child operations.
|
|
752
|
+
Missing or inconclusive ancestry is not treated as proof of abandonment.
|
|
753
|
+
|
|
754
|
+
In both views, a completion notification already queued when its live context
|
|
755
|
+
ends is exported before that context closes, preserving its OTel parent. Queued
|
|
756
|
+
child draining and parent finalization run synchronously within the End hook;
|
|
757
|
+
flush completion cannot reset invocation state between them. Invocation-end
|
|
758
|
+
drains likewise finish their current snapshot before yielding. This
|
|
759
|
+
includes an unawaited callback from a prior invocation: the invocation view emits
|
|
760
|
+
its linked continuation while the resumed parent segment is still open.
|
|
761
|
+
|
|
762
|
+
In the execution view, a completed context in checkpoint history remains a valid
|
|
763
|
+
parent for a later completion. A context span actually recorded during the current
|
|
764
|
+
invocation also remains a valid parent when an enclosing context suppressed its
|
|
765
|
+
terminal checkpoint and history still shows it as unfinished. This recording takes
|
|
766
|
+
precedence over abandonment inference within that invocation; knowledge of an
|
|
767
|
+
uncheckpointed recording is not persisted into later invocations.
|
|
768
|
+
|
|
769
|
+
A notification delivered after the parent's end hook may carry a
|
|
770
|
+
completion that occurred earlier in the backend. Delivery order does not establish
|
|
771
|
+
that chronology. Reusing the recorded parent identity does not recreate a parent
|
|
772
|
+
span, compare timestamps, retime supplied dates, or promise temporal containment.
|
|
773
|
+
The unfinished-parent safeguards still apply when no such recorded parent is known.
|
|
774
|
+
|
|
685
775
|
This requires the SDK to receive the operation metadata. Lambda normally removes
|
|
686
776
|
a completed context's children from subsequent execution state unless
|
|
687
777
|
`ReplayChildren` preserves them. For completion visibility after a child context
|
|
@@ -689,14 +779,40 @@ has finished, enable the appropriate `pluginsConfig.childOperationsDepth` (for
|
|
|
689
779
|
example, `1` for direct children of a top-level context). Preserved contexts
|
|
690
780
|
replay their orchestration; completed durable work still uses stored results.
|
|
691
781
|
The plugin cannot reconstruct an operation that was pruned and whose lifecycle
|
|
692
|
-
hooks do not run. The local runner
|
|
693
|
-
|
|
694
|
-
|
|
782
|
+
hooks do not run. The local runner now applies the service's pruning rule to
|
|
783
|
+
invocation input and `GetDurableExecutionState`; its inspection results and
|
|
784
|
+
checkpoint responses still retain their existing operation data.
|
|
785
|
+
|
|
786
|
+
Within the configured flush budget, the invocation-end hook drains notifications
|
|
787
|
+
received while it awaits a provider flush, then flushes the newly exported
|
|
788
|
+
completions. On expiry it drains one snapshot of already-received notifications
|
|
789
|
+
without another provider wait before clearing its state. In the execution view,
|
|
790
|
+
completions held for a still-open parent are finalized after the open drain/flush
|
|
791
|
+
phase. Both views close their invocation state before a final provider flush for
|
|
792
|
+
operation or attempt spans ended during the previous wait or final cleanup,
|
|
793
|
+
using only the original budget remaining. New operation-end hooks after
|
|
794
|
+
finalization do not record additional spans during that final wait. At deadline
|
|
795
|
+
expiry these final exports remain best effort. Change hooks enqueue notifications;
|
|
796
|
+
the end hook owns this loop. In the execution view, these drains use the latest operation ancestry received during
|
|
797
|
+
the end hook to detect an unfinished parent abandoned by a completed ancestor.
|
|
798
|
+
Missing ancestry alone does not prove abandonment. In the
|
|
799
|
+
invocation view, a completion after its individual segment has ended uses a linked
|
|
800
|
+
continuation. A segment first created while a provider flush is waiting remains
|
|
801
|
+
eligible for normal completion. Any such segment still open at final cleanup is
|
|
802
|
+
ended before state is cleared and included in the final bounded flush. The
|
|
803
|
+
execution view likewise closes recording attempt spans that started during the
|
|
804
|
+
wait, without inventing a completed operation span for unfinished work.
|
|
805
|
+
Enclosing spans may already have ended, so this does not guarantee
|
|
806
|
+
late-child timestamp containment. Updates after the final drain/reset, a frozen
|
|
807
|
+
runtime, and concurrent executions sharing a plugin instance remain outside this
|
|
808
|
+
shutdown guarantee; the shared-instance limitation is tracked in [#950](https://github.com/aws/aws-durable-execution-sdk-js/issues/950).
|
|
695
809
|
|
|
696
810
|
Notifications and operation-end hooks are deduplicated within each invocation.
|
|
697
|
-
|
|
698
|
-
not persisted:
|
|
699
|
-
again,
|
|
811
|
+
Plain replay without a fresh update does not re-export stored external
|
|
812
|
+
completions. Deduplication is not persisted: a retry carrying the same updated
|
|
813
|
+
operation IDs can export the completion again, preserving recovery eligibility.
|
|
814
|
+
This is a conditional redelivery behavior, not a claim that Lambda always sends
|
|
815
|
+
those IDs again or that the exporter has a durable delivery acknowledgement.
|
|
700
816
|
|
|
701
817
|
## Verification and Troubleshooting
|
|
702
818
|
|
|
@@ -807,6 +923,15 @@ Older core/plugin combinations do not gain those guarantees. The two OTel views
|
|
|
807
923
|
remain an unsupported combination, and the updated core rejects it with updated
|
|
808
924
|
plugin metadata. The later core 3 factory migration is a separate major release.
|
|
809
925
|
|
|
926
|
+
Instrumentation error details are optional even for failed operations. The core
|
|
927
|
+
metadata correction for an empty callback error payload no longer invents an
|
|
928
|
+
error object. API-v1 plugins that previously used only `OperationInfo.error`
|
|
929
|
+
presence as a failure signal should use `OperationInfo.status` instead (and
|
|
930
|
+
`AttemptEndInfo.outcome` for an attempt). Missing error details do not imply a
|
|
931
|
+
successful operation; supplied partial or explicitly empty detail fields are
|
|
932
|
+
retained. This does not change the provider/hook shape, callback rejection,
|
|
933
|
+
persisted error payload, or replay identity.
|
|
934
|
+
|
|
810
935
|
Registration metadata uses the namespaced symbol
|
|
811
936
|
`Symbol.for("aws.lambda.durable.instrumentation.plugin-registration")`.
|
|
812
937
|
The bundled views declare it on their constructors, so the core can validate
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { P as PLUGIN_REGISTRATION, E as ExternalCompletions, r as resolveFlushTimeoutMillis, D as DeterministicIdGenerator, x as xRayContextExtractor, g as createTracerProvider, t as tryInstallDurableSampler, h as tryInstallGlobalIdGenerator, i as canonicalTraceId, j as resolveExecutionTraceContext, f as deriveWorkflowSpanId, k as isDurableSamplerInstalled, l as createPropagationMetadata, b as deriveSpanIdFromOperationId, s as setOperationSpanStatus, m as flushTracerProvider, n as rootSamplingDecision } from './plugin-registration.mjs';
|
|
1
2
|
import { trace, SpanKind, context, SpanStatusCode, ROOT_CONTEXT, isSpanContextValid, TraceFlags } from '@opentelemetry/api';
|
|
2
|
-
import { P as PLUGIN_REGISTRATION, E as ExternalCompletions, D as DeterministicIdGenerator, x as xRayContextExtractor, g as createTracerProvider, t as tryInstallDurableSampler, h as tryInstallGlobalIdGenerator, i as canonicalTraceId, r as resolveExecutionTraceContext, f as deriveWorkflowSpanId, j as isDurableSamplerInstalled, k as createPropagationMetadata, b as deriveSpanIdFromOperationId, l as rootSamplingDecision } from './plugin-registration.mjs';
|
|
3
3
|
import { SamplingDecision } from '@opentelemetry/sdk-trace-node';
|
|
4
4
|
|
|
5
5
|
const DEFAULT_INSTRUMENTATION_NAME = "aws-durable-execution-sdk-js";
|
|
@@ -27,6 +27,7 @@ class ExecutionOtelPlugin {
|
|
|
27
27
|
tracerProvider;
|
|
28
28
|
tracer;
|
|
29
29
|
instrumentationName;
|
|
30
|
+
flushTimeoutMillis;
|
|
30
31
|
// Non-recording context carrying the deterministic Workflow identity; the real
|
|
31
32
|
// span is created+ended once, at the terminal invocation (issue #831).
|
|
32
33
|
workflowSpan;
|
|
@@ -55,7 +56,13 @@ class ExecutionOtelPlugin {
|
|
|
55
56
|
globalIdGeneratorInstalled;
|
|
56
57
|
durableSampler;
|
|
57
58
|
tracingEnabled = false;
|
|
59
|
+
// Operation ends received after a flush starts may still be in a batch buffer.
|
|
60
|
+
operationSpansNeedFlush = false;
|
|
58
61
|
externalCompletions = new ExternalCompletions();
|
|
62
|
+
// A real context span can finish even when an enclosing completed context
|
|
63
|
+
// suppresses its terminal checkpoint. Keep that observed parent identity.
|
|
64
|
+
recordedContextIds = new Set();
|
|
65
|
+
invocationEndOperations;
|
|
59
66
|
// Workflow span name (configurable)
|
|
60
67
|
workflowSpanName;
|
|
61
68
|
// Whether enrichLogContext() contributes trace context to log records
|
|
@@ -63,6 +70,7 @@ class ExecutionOtelPlugin {
|
|
|
63
70
|
constructor(config) {
|
|
64
71
|
const instrumentationName = config?.instrumentationName ?? DEFAULT_INSTRUMENTATION_NAME;
|
|
65
72
|
this.instrumentationName = instrumentationName;
|
|
73
|
+
this.flushTimeoutMillis = resolveFlushTimeoutMillis(config?.flushTimeoutMillis);
|
|
66
74
|
this.idGenerator = new DeterministicIdGenerator();
|
|
67
75
|
this.contextExtractor = config?.contextExtractor ?? xRayContextExtractor;
|
|
68
76
|
this.workflowSpanName = config?.workflowSpanName ?? "Workflow";
|
|
@@ -175,7 +183,7 @@ class ExecutionOtelPlugin {
|
|
|
175
183
|
kind: SpanKind.INTERNAL,
|
|
176
184
|
attributes: invocationAttributes,
|
|
177
185
|
}, invocationParentContext);
|
|
178
|
-
this.externalCompletions.observe(info.updatedOperations);
|
|
186
|
+
this.externalCompletions.observe(info.updatedOperations, info.operations);
|
|
179
187
|
// Each sampled invocation can recover an earlier undelivered anchor. An
|
|
180
188
|
// opaque tracer retains terminal-only creation: without the sampler wrapper,
|
|
181
189
|
// an early anchor would independently query its hidden sampler again.
|
|
@@ -203,12 +211,11 @@ class ExecutionOtelPlugin {
|
|
|
203
211
|
this.resetInvocationState();
|
|
204
212
|
return;
|
|
205
213
|
}
|
|
214
|
+
this.invocationEndOperations = info.operations ?? {};
|
|
206
215
|
// Prefer normal lifecycle hooks, which preserve live parent scopes. Before
|
|
207
216
|
// returning, export any fresh completion the workflow did not reach. A
|
|
208
217
|
// later resume may label it replay even though it has never been exported.
|
|
209
|
-
|
|
210
|
-
await this.onOperationEnd({ ...operation, isReplay: false });
|
|
211
|
-
}
|
|
218
|
+
this.drainExternalCompletions(info);
|
|
212
219
|
// 1. Always end and export Invocation_Span
|
|
213
220
|
if (this.invocationSpan) {
|
|
214
221
|
this.invocationSpan.setAttribute("durable.invocation.status", info.status);
|
|
@@ -271,22 +278,62 @@ class ExecutionOtelPlugin {
|
|
|
271
278
|
// 3. End any attempt span still open (safeguard against a leak on a
|
|
272
279
|
// non-terminal invocation, issue #831). Operation placeholders have no
|
|
273
280
|
// recording span and are dropped in resetInvocationState.
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
// 4. Always flush TracerProvider at invocation boundaries
|
|
280
|
-
if ("forceFlush" in this.tracerProvider) {
|
|
281
|
+
this.endOpenAttemptSpans();
|
|
282
|
+
// End owns the drain/flush loop; change hooks only enqueue notifications.
|
|
283
|
+
// A response received during an awaited flush must not be cleared below.
|
|
284
|
+
const flushDeadline = performance.now() + this.flushTimeoutMillis;
|
|
285
|
+
const flush = async () => {
|
|
281
286
|
try {
|
|
282
|
-
await this.tracerProvider.
|
|
287
|
+
await flushTracerProvider(this.tracerProvider, this.usesGlobalProvider, Math.max(0, flushDeadline - performance.now()));
|
|
283
288
|
}
|
|
284
289
|
catch (e) {
|
|
285
290
|
console.error("[ExecutionOtelPlugin] forceFlush failed:", e instanceof Error ? e.message : e);
|
|
286
291
|
}
|
|
287
|
-
}
|
|
288
|
-
|
|
292
|
+
};
|
|
293
|
+
do {
|
|
294
|
+
this.drainExternalCompletions(info);
|
|
295
|
+
this.operationSpansNeedFlush = false;
|
|
296
|
+
await flush();
|
|
297
|
+
} while ([...this.externalCompletions.pending.values()].some((operation) => !this.hasOpenUnrecordedParent(operation)) &&
|
|
298
|
+
performance.now() < flushDeadline);
|
|
299
|
+
// Finalize the remaining live parents after the open drain/flush phase.
|
|
300
|
+
// A normal parent End may already have exported its child during that wait.
|
|
301
|
+
if (this.externalCompletions.pending.size > 0) {
|
|
302
|
+
this.drainExternalCompletions(info, [...this.externalCompletions.pending.values()], true);
|
|
303
|
+
}
|
|
304
|
+
// Attempts started during the awaited flush are owned by this invocation too.
|
|
305
|
+
this.endOpenAttemptSpans();
|
|
306
|
+
// Close this invocation's hooks before flushing the finalized snapshot.
|
|
307
|
+
// New operation-end hooks during this last wait cannot revise the snapshot.
|
|
308
|
+
const flushFinalOperations = this.operationSpansNeedFlush;
|
|
289
309
|
this.resetInvocationState();
|
|
310
|
+
if (flushFinalOperations && performance.now() < flushDeadline) {
|
|
311
|
+
await flush();
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
drainExternalCompletions(info, operations = this.externalCompletions.pending.values(), finalDrain = false) {
|
|
315
|
+
const terminal = info.status === "SUCCEEDED" || info.status === "FAILED";
|
|
316
|
+
for (const operation of operations) {
|
|
317
|
+
// Even below a checkpointed terminal ancestor, a live context can still
|
|
318
|
+
// finish locally while forceFlush awaits. Give its End hook first choice.
|
|
319
|
+
const openParent = this.hasOpenUnrecordedParent(operation);
|
|
320
|
+
if (openParent && !finalDrain)
|
|
321
|
+
continue;
|
|
322
|
+
const recordedParent = operation.parentId && this.recordedContextIds.has(operation.parentId);
|
|
323
|
+
// A terminal handler can abandon an unawaited child. Its still-open
|
|
324
|
+
// placeholder will be discarded below, so it cannot parent this export.
|
|
325
|
+
const parentId = !recordedParent &&
|
|
326
|
+
((terminal && openParent) ||
|
|
327
|
+
this.hasAbandonedParent(operation.parentId, this.invocationEndOperations))
|
|
328
|
+
? undefined
|
|
329
|
+
: operation.parentId;
|
|
330
|
+
this.finishOperation({ ...operation, parentId, isReplay: false });
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
hasOpenUnrecordedParent(operation) {
|
|
334
|
+
return (operation.parentId !== undefined &&
|
|
335
|
+
this.operationContexts.has(operation.parentId) &&
|
|
336
|
+
!this.recordedContextIds.has(operation.parentId));
|
|
290
337
|
}
|
|
291
338
|
/** Creates at most one SDK-owned root per invocation; the caller ends it. */
|
|
292
339
|
createSyntheticRoot() {
|
|
@@ -331,8 +378,21 @@ class ExecutionOtelPlugin {
|
|
|
331
378
|
console.warn("[ExecutionOtelPlugin] Expected a compatible OpenTelemetry SDK tracer at invocation start; telemetry is disabled for this invocation. Ensure the OpenTelemetry SDK is configured before invocation start.");
|
|
332
379
|
return false;
|
|
333
380
|
}
|
|
381
|
+
endOpenAttemptSpans() {
|
|
382
|
+
for (const span of this.spanMap.values()) {
|
|
383
|
+
if (span.isRecording())
|
|
384
|
+
this.endOperationSpan(span);
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
endOperationSpan(span, endTime) {
|
|
388
|
+
span.end(endTime);
|
|
389
|
+
this.operationSpansNeedFlush = true;
|
|
390
|
+
}
|
|
334
391
|
resetInvocationState() {
|
|
335
392
|
this.externalCompletions.clear();
|
|
393
|
+
this.operationSpansNeedFlush = false;
|
|
394
|
+
this.recordedContextIds.clear();
|
|
395
|
+
this.invocationEndOperations = undefined;
|
|
336
396
|
this.spanMap.clear();
|
|
337
397
|
this.operationContexts.clear();
|
|
338
398
|
this.operationStarts.clear();
|
|
@@ -429,9 +489,23 @@ class ExecutionOtelPlugin {
|
|
|
429
489
|
return context.with(trace.setSpanContext(context.active(), operationContext), fn);
|
|
430
490
|
}
|
|
431
491
|
async onOperationEnd(info) {
|
|
492
|
+
this.finishOperation(info);
|
|
493
|
+
}
|
|
494
|
+
// Child completion and parent finalization share one synchronous turn. A
|
|
495
|
+
// provider flush must not reset invocation state between these two actions.
|
|
496
|
+
finishOperation(info) {
|
|
432
497
|
if (!this.tracingEnabled) {
|
|
433
498
|
return;
|
|
434
499
|
}
|
|
500
|
+
// A queued external completion can precede its live context's end even
|
|
501
|
+
// when traversal never awaited it. Export it while that parent is open.
|
|
502
|
+
if (info.type === "CONTEXT" && !info.isReplay) {
|
|
503
|
+
for (const child of this.externalCompletions.pending.values()) {
|
|
504
|
+
if (child.parentId === info.id) {
|
|
505
|
+
this.finishOperation({ ...child, isReplay: false });
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
}
|
|
435
509
|
// Release placeholders even when this is a previously observed completion.
|
|
436
510
|
const started = this.operationStarts.get(info.id);
|
|
437
511
|
this.operationContexts.delete(info.id);
|
|
@@ -467,31 +541,27 @@ class ExecutionOtelPlugin {
|
|
|
467
541
|
attributes["durable.attempt.number"] = info.attempt;
|
|
468
542
|
}
|
|
469
543
|
const links = this.buildInvocationLinks();
|
|
470
|
-
//
|
|
471
|
-
//
|
|
472
|
-
|
|
544
|
+
// Reuse the earliest start already recorded by lifecycle hooks.
|
|
545
|
+
// With no recorded start, represent a known completion as a zero-duration
|
|
546
|
+
// span instead of starting at a later local time than its exception event.
|
|
547
|
+
const startTime = this.earliestStart(started?.startTimestamp, info.startTimestamp) ??
|
|
548
|
+
info.endTimestamp;
|
|
473
549
|
const operationSpanId = deriveSpanIdFromOperationId(info.id, this.executionArn);
|
|
474
550
|
const span = this.idGenerator.withIds({
|
|
475
551
|
traceId: this.executionTraceId,
|
|
476
552
|
spanId: operationSpanId,
|
|
477
553
|
}, () => this.startSpan(spanName, { attributes, startTime, links }, parentContext));
|
|
554
|
+
// Preserve the backend completion on both the exception and the span end.
|
|
555
|
+
// When absent, use the tracer's existing default timestamp behavior.
|
|
556
|
+
const endTime = info.endTimestamp;
|
|
557
|
+
setOperationSpanStatus(span, info);
|
|
478
558
|
if (info.error) {
|
|
479
|
-
span.
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
span.recordException(info.error, info.endTimestamp);
|
|
486
|
-
}
|
|
487
|
-
else if (info.status === "SUCCEEDED") {
|
|
488
|
-
// Stamp explicit OK ONLY on a SUCCEEDED terminal status. Terminal
|
|
489
|
-
// FAILURE statuses (TIMED_OUT/STOPPED/FAILED/CANCELLED) can arrive with
|
|
490
|
-
// NO error object (callback-timeout, chained-invoke fast paths); those
|
|
491
|
-
// must NOT be labelled OK, so they are left UNSET.
|
|
492
|
-
span.setStatus({ code: SpanStatusCode.OK });
|
|
493
|
-
}
|
|
494
|
-
span.end(info.endTimestamp);
|
|
559
|
+
span.recordException(info.error, endTime);
|
|
560
|
+
}
|
|
561
|
+
const recordedContext = info.type === "CONTEXT" && span.isRecording();
|
|
562
|
+
this.endOperationSpan(span, endTime);
|
|
563
|
+
if (recordedContext)
|
|
564
|
+
this.recordedContextIds.add(info.id);
|
|
495
565
|
this.externalCompletions.markExported(info);
|
|
496
566
|
}
|
|
497
567
|
/**
|
|
@@ -499,6 +569,8 @@ class ExecutionOtelPlugin {
|
|
|
499
569
|
* deterministic identity, or the Workflow identity for a top-level operation.
|
|
500
570
|
* A completion notification can arrive without traversing its parent in this
|
|
501
571
|
* invocation (for example, a completed child context skipped during replay).
|
|
572
|
+
* An exported parent's context remains a valid parent after it ends. Reusing
|
|
573
|
+
* its identity does not recreate the parent span or compare clock domains.
|
|
502
574
|
*/
|
|
503
575
|
resolveOperationParentContext(parentId) {
|
|
504
576
|
if (parentId) {
|
|
@@ -516,7 +588,27 @@ class ExecutionOtelPlugin {
|
|
|
516
588
|
}
|
|
517
589
|
return context.active();
|
|
518
590
|
}
|
|
519
|
-
|
|
591
|
+
hasAbandonedParent(parentId, operations = {}) {
|
|
592
|
+
const parent = parentId ? operations[parentId] : undefined;
|
|
593
|
+
if (parent?.type !== "CONTEXT" ||
|
|
594
|
+
!["STARTED", "READY", "PENDING"].includes(parent.status ?? ""))
|
|
595
|
+
return false;
|
|
596
|
+
// Completed contexts do not restart unfinished descendants. ReplayChildren
|
|
597
|
+
// can rebuild a successful result by traversing completed children, but
|
|
598
|
+
// ReplaySucceededContext still blocks unfinished child operations.
|
|
599
|
+
const visited = new Set([parent.id]);
|
|
600
|
+
let ancestorId = parent.parentId;
|
|
601
|
+
while (ancestorId && !visited.has(ancestorId)) {
|
|
602
|
+
visited.add(ancestorId);
|
|
603
|
+
const ancestor = operations[ancestorId];
|
|
604
|
+
if (ancestor?.type !== "CONTEXT")
|
|
605
|
+
return false;
|
|
606
|
+
if (["SUCCEEDED", "FAILED", "TIMED_OUT", "STOPPED", "CANCELLED"].includes(ancestor.status ?? ""))
|
|
607
|
+
return true;
|
|
608
|
+
ancestorId = ancestor.parentId;
|
|
609
|
+
}
|
|
610
|
+
return false;
|
|
611
|
+
}
|
|
520
612
|
earliestStart(a, b) {
|
|
521
613
|
if (!a) {
|
|
522
614
|
return b;
|
|
@@ -574,6 +666,7 @@ class ExecutionOtelPlugin {
|
|
|
574
666
|
const key = this.getAttemptKey(info.id, info.attempt);
|
|
575
667
|
const attemptSpan = this.spanMap.get(key);
|
|
576
668
|
if (attemptSpan) {
|
|
669
|
+
const endTime = info.endTimestamp;
|
|
577
670
|
attemptSpan.setAttribute("durable.attempt.outcome", info.outcome);
|
|
578
671
|
if (info.outcome === "FAILED") {
|
|
579
672
|
attemptSpan.setStatus({
|
|
@@ -581,20 +674,25 @@ class ExecutionOtelPlugin {
|
|
|
581
674
|
message: info.error?.message ?? "Attempt failed",
|
|
582
675
|
});
|
|
583
676
|
if (info.error) {
|
|
584
|
-
attemptSpan.recordException(info.error);
|
|
677
|
+
attemptSpan.recordException(info.error, endTime);
|
|
585
678
|
}
|
|
586
679
|
}
|
|
587
680
|
else {
|
|
588
681
|
// Non-failed attempt: stamp explicit OK (matches Python OTel #604).
|
|
589
682
|
attemptSpan.setStatus({ code: SpanStatusCode.OK });
|
|
590
683
|
}
|
|
591
|
-
|
|
684
|
+
this.endOperationSpan(attemptSpan, endTime);
|
|
592
685
|
this.spanMap.delete(key);
|
|
593
686
|
}
|
|
594
687
|
}
|
|
595
688
|
async onOperationChange(info) {
|
|
596
689
|
if (this.tracingEnabled) {
|
|
597
|
-
|
|
690
|
+
// End may be waiting for a provider flush. New completions must use the
|
|
691
|
+
// ancestry from this newer full snapshot, not End's captured snapshot.
|
|
692
|
+
if (this.invocationEndOperations && info.operations) {
|
|
693
|
+
this.invocationEndOperations = info.operations;
|
|
694
|
+
}
|
|
695
|
+
this.externalCompletions.observe(info.updatedOperations, info.operations);
|
|
598
696
|
}
|
|
599
697
|
}
|
|
600
698
|
enrichLogContext() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execution-plugin.mjs","sources":["../src/execution-plugin.ts"],"names":[],"mappings":";;;;AA0DA,MAAM,4BAA4B,GAAG,8BAA8B;AAEnE;;;;;;;;;;;;AAYG;MACU,mBAAmB,CAAA;AACtB,IAAA,QAAiB,mBAAmB,IAAI;AAC9C,QAAA,cAAc,EAAE,4BAA4B;KACpC;;AAGF,IAAA,WAAW;AACF,IAAA,gBAAgB;;AAGzB,IAAA,cAAc;AACd,IAAA,MAAM;AACG,IAAA,mBAAmB;;;AAI5B,IAAA,YAAY;AACZ,IAAA,cAAc;;;AAGd,IAAA,OAAO;;;AAGP,IAAA,iBAAiB;;AAEjB,IAAA,eAAe;AAIf,IAAA,YAAY;AACZ,IAAA,gBAAgB;IAChB,mBAAmB,GAAW,CAAC;AAC/B,IAAA,yBAAyB;;;;AAIzB,IAAA,iBAAiB;AACjB,IAAA,uBAAuB;;AAEvB,IAAA,4BAA4B;IAC5B,yBAAyB,GAAG,KAAK;AAExB,IA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