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
* docs: Improve troubleshooting execution steering guide
Expand trigger keywords in POWER.md for better routing to the
troubleshooting guide. Rewrite troubleshooting-executions.md with
clearer diagnostic steps, ARN-based workflow, console link generation,
structured output format, and additional usage examples.
* docs: Add CloudWatch Logs querying to troubleshooting guide
Add steps to fetch the log group and query logs filtered by invocation
ID and execution name when execution history alone is insufficient to
determine root cause.
* docs: Add alias resolution and list executions step
Add step 0 to resolve function alias to version and list executions
when user provides function name instead of full ARN. Also add STOPPED
status and improve permissions error guidance.
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
-
44
-
Use jq for JSON parsing and analysis.
32
+
0. If the user provides a function name + alias (e.g., my-function:prod) instead of a full ARN:
33
+
- Resolve the alias to a version: aws lambda get-alias --function-name <functionName> --name <alias> --region <region> --query 'FunctionVersion' --output text
34
+
- List executions for that function: aws lambda list-durable-executions-by-function --function-name <functionName>:<version> --region <region>
35
+
- Ask the user to identify the execution, or use the most recent one.
Agent: [Returns: "Execution stuck in WAIT_FOR_CALLBACK operation 'wait-for-approval'.
56
-
Callback ID: xyz789. Waiting since 2026-02-14. Timeout in 12 hours.
57
-
Recommendation: Check if approval email was sent, or manually send callback."]
58
-
Claude: [Presents findings and offers to send manual callback if needed]
98
+
99
+
Claude: Your execution is **waiting for an external callback** that hasn't arrived yet.
100
+
101
+
The operation `wait-for-approval` has been pending since 2026-02-14 (3 days).
102
+
It will time out in 12 hours if no callback is received.
103
+
104
+
Callback ID: `xyz789`
105
+
106
+
**[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)**
This means the payment provider rejected the charge. The durable function
131
+
retried 3 times with exponential backoff but the error persisted because
132
+
it's a permanent failure (not a transient network issue).
133
+
134
+
**[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