AWS Engagement Brief: Durable TPF Coordination ​
TPF And The Authority Boundary ​
The Pipeline Framework executes strongly typed application flows. Its durable semantics include stable execution identity, release pinning, signed worker identity, Await identity and typed completion admission, parent release, retry and DLQ evidence, inspection, and operator-controlled re-drive.
The candidate AWS architecture uses Lambda Durable Functions for orchestration liveness, checkpoint and replay, suspension, callback wake-up, and mechanical retry. TPF retains a reconstructable semantic checkpoint and every pipeline transition decision. The native coordinator remains the portable conformance implementation.
What We Have Proved ​
- A local durable runner safely drives existing bounded
PipelineControlPlaneand SQS message actions. - A deployed proof uses real Durable Lambda, DynamoDB and Streams, SQS and DLQs, EventBridge, and Lambda workers.
- Provider replay returns the same TPF execution and does not repeat a signed worker transition.
- TPF admits Await completion and releases the parent before provider callback completion.
- Registration-first and completion-first callback races converge through idempotent registration, streams, and bounded reconciliation.
- Generation fencing rejects stale callbacks and reconstructs a replacement execution after provider-history loss.
- The deployed 22-scenario fault suite passed, followed by ten seeded callback-race repetitions and focused history-loss, expiry-classification, and terminal-Await-result evidence.
Questions For AWS Engineering ​
- Does the
waitForCallbacksubmitter run only after callback registration is durably checkpointed, and is replaying an idempotent submitter side effect the supported recovery pattern? - Is active callback discovery through
GetDurableExecutionHistorya supported long-term contract, including callback event ID, name, callback ID, and pagination? - After an uncertain
SendDurableExecutionCallbackSuccessoutcome, is history classification the recommended idempotency pattern? Is there a stronger status or idempotency API? - Could callback registration accept a caller correlation or idempotency key, avoiding a separate mechanical registration row and reconciliation join?
- What response or lookup pattern definitively resolves an uncertain named durable-execution start through a qualified alias?
- What is the recommended migration and urgent-fix path for executions pinned to numbered versions while parked for months?
- Is unqualified discovery followed by validation of the numbered function ARN the intended replacement for alias-filtered listing?
- Which duration, retention, operation-count, payload, checkpoint-rate, and concurrent parked-execution limits should shape this host?
- Is there a supported way to expire or isolate one execution's retained history for disaster-recovery testing?
- Can AWS validate a least-privilege split between durable checkpoint/action invocation, TPF DynamoDB/SQS access, and narrowly scoped callback/history access?
- What disaster-recovery and export/restore guarantees apply to active durable executions and their history?
- Which CloudWatch, EventBridge, and CloudTrail signals best diagnose callback loss, replay storms, and version-specific incidents?
Product Gaps Versus TPF Semantics ​
Potential AWS integration gaps are first-class callback correlation, a dedicated idempotent complete-or-read callback operation, per-execution history-expiry testing, and a documented long-lived version migration path.
AWS cannot and should not replace typed Await validation, pipeline and release identity, signed worker authority, TPF retry/DLQ evidence, or the operator decision and checkpoint for re-drive. Those are TPF semantics rather than hosting mechanics.
The requested joint review is narrow: validate whether the public history and callback contracts are intended to support reconstructable mechanical bindings and history-based classification of uncertain delivery. If not, a small AWS correlation or idempotency primitive would materially reduce integration risk.