You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Analyze execution status (RUNNING/SUCCEEDED/FAILED/TIMED_OUT)
34
-
3. Check for stuck operations (PENDING/RUNNING status)
35
-
4. Identify failed operations and error messages
36
-
5. Calculate operation durations and timeline
37
-
6. Diagnose specific issue:
38
-
- Stuck in WAIT_FOR_CALLBACK: Extract callback ID, suggest manual callback
39
-
- Failed operations: Show error and retry attempts
40
-
- Timeout: Calculate total duration, identify slow operations
41
-
- Unexpected behavior: Compare operation order with expected flow
42
-
7. Provide specific recommendations and next steps
43
32
44
-
Use jq for JSON parsing and analysis.
33
+
0. If the user provides a function name + alias (e.g., my-function:prod) instead of a full ARN:
34
+
- Resolve the alias to a version: aws lambda get-alias --function-name <functionName> --name <alias> --region <region> --query 'FunctionVersion' --output text
35
+
- List executions for that function: aws lambda list-durable-executions-by-function --function-name <functionName>:<version> --region <region>
36
+
- Ask the user to identify the execution, or use the most recent one.
Claude: Your execution is **waiting for an external callback** that hasn't arrived yet.
126
+
127
+
The operation `wait-for-approval` has been pending since 2026-02-14 (3 days).
128
+
It will time out in 12 hours if no callback is received.
129
+
130
+
Callback ID: `xyz789`
131
+
132
+
**[View this execution in the console](https://us-west-2.console.aws.amazon.com/lambda/home?region=us-west-2#/functions/my-function/versions/3/executions/abc-123/inv-456)**
133
+
49
134
```
50
-
User: "My durable function execution abc-123 is stuck on my-function:prod"
This means the payment provider rejected the charge. The durable function
159
+
retried 3 times with exponential backoff but the error persisted because
160
+
it's a permanent failure (not a transient network issue).
161
+
162
+
**[View this execution in the console](https://us-east-1.console.aws.amazon.com/lambda/home?region=us-east-1#/functions/order-processor/versions/5/executions/def-456/inv-789)**
0 commit comments