DEV Community

Cover image for Part 38: Failure modes compared
Shakar Bisetty
Shakar Bisetty

Posted on

Part 38: Failure modes compared

Part 38 · One Agent, Five Platforms

What breaks on each platform, and how you'd catch it. Part 37 showed where each failure appears. This part goes one step further: for each failure, the signal to alert on, and what to do when it fires.

Read this first: no hands-on build has been run yet, so nothing has actually broken. Every failure here is expected, not observed: it comes from the design, the named errors and the vendor docs. Platform features are from vendor docs read on 26 November 2026. Where I couldn't find something, I say so.

Failure by platform grid: the detection signal on each platform and the response for seven expected failures

1. What each platform gives you to alert with

From vendor docs read on 26 November 2026:

  • MuleSoft: Agent Fabric alerts can target an API, LLM, MCP server or agent. The conditions are request count, response time, response code or policy violation, over a 5, 10, 15 or 20-minute window, sent to email, Slack or Microsoft Teams. They need the Advanced package or Titanium.
  • Boomi: Agent Control Tower monitoring shows invocations, tokens, errors, tool failures and, for Bedrock agents, invocation throttles. I didn't find alert rules in what I read, so plan to poll or export those numbers.
  • SAP: Cloud ALM's integration and exception monitoring has a category for messages sent to and from SAP Build Process Automation. For the Joule agent itself I found no metrics, as in Part 37.
  • Azure: the Foundry control plane Monitor tab shows invocations, tokens, errors, latency and estimated cost per agent. The page doesn't mention alerts, so alert rules would sit in Azure Monitor, on Application Insights.
  • AWS: AgentCore runtime metrics in the AWS/Bedrock-AgentCore namespace include Invocations, Throttles, System Errors, User Errors and Latency. Any of them can carry a CloudWatch alarm.

2. Seven expected failures

For each one: what happens, the signal, and the response.

1. The model is throttled. Calls to the model are refused for a while.

  • Signal: MuleSoft, an alert on the LLM's response code. Boomi, Invocation Throttles (Bedrock agents only). Azure, a 429 or 403 from the APIM token limit, or the errors count. AWS, an alarm on Throttles. SAP, not found.
  • Response: back off, within the retry limit. If it lasts, pause intake: the exceptions wait in the queue and nothing is lost.

2. A tool fails. The ERP is down or a call times out.

  • Signal: MuleSoft, an alert on the MCP server's response code. Boomi, tool failures and success rate. SAP, Cloud ALM monitoring of the Integration Suite tools from Part 17. Azure, errors on the execute_tool span. AWS, AgentCore Gateway metrics.
  • Response: the tool returns a named error from Part 8, never a guess, and the case goes to a person. Never retry a write blindly.

3. Tokens run away. A retry loop sends the same context again and again.

  • Signal: MuleSoft, a 429 from the token rate limit, with x-token-remaining falling. Boomi, total tokens per agent. Azure, tokens and estimated cost per agent. AWS, token usage. SAP, not found.
  • Response: the retry limit stops the loop; the token budget per agent stops the bill. Part 36 shows how fast resent context adds up.

4. Responses slow down.

  • Signal: MuleSoft, an alert on the agent's response time. Boomi, average time per invocation. Azure, latency. AWS, an alarm on Latency. SAP, not found.
  • Response: find the slow span in the trace, model or tool. Exclude the time waiting for a person, or every approval looks like an outage.

5. An approval is never answered.

  • Signal: no agent dashboard shows this, because the agent has finished. Alert on the age of pending approvals in your workflow. On AWS (Part 25) the Step Functions wait is a natural place for a timeout.
  • Response: the reminder and escalation from Part 6. The invoice stays on hold; nothing posts because a timer ran out.

6. An embedded instruction (GS30). An invoice note tries to talk the agent into posting.

  • Signal: the tool returns APPROVAL_MISSING. Same on all five, because it's your tool contract, not the platform.
  • Response: treat it as a security event. Pull the trace by case ID, check what the agent tried, and pause intake if there's more than one.

7. A wrong answer with no error. The agent proposes the wrong fix, confidently.

  • Signal: nothing in any dashboard. The only signals are the approver's rejection rate and a re-run of the golden set from Part 35.
  • Response: freeze prompt and model changes, re-run the golden set, and compare with the last good run.

The last one is the reason human approval stays. Failures 1 to 6 make noise. Failure 7 is quiet, and the approver is the one who catches it.

3. The pattern

Across the grid, two things stand out:

  • Four of the seven signals are platform-specific. Throttling, tool failures, tokens and latency each have a different name and place on each platform. Your runbook needs a line per platform.
  • Three are the same on all five, because they come from your design: the pending-approval age, the named error and the rejection rate. Build those once, in the parts you own.

SAP has the most "not found" cells in what I read. That's a gap in what I could find for a custom Joule agent, not proof the features don't exist. Check with SAP before you rely on it.

4. A drill before go-live

Run each failure once in a test environment, on purpose:

  • Lower the token limit until the model is throttled.
  • Point a tool at an ERP endpoint that times out.
  • Leave an approval unanswered past its reminder.
  • Send GS30 through the full flow.

For each drill, check that the alert fires, reaches the right person, and that the runbook step works. The runbooks from Series 1 Part 9 are the template. Part 39 covers the last step: kill switches and rollback on each platform.

Which failure would hurt you most?


This series describes a reference build on a fictional company. No hands-on build has been run yet; all failures are expected, not observed. Platform features are from vendor documentation read on 26 November 2026 and the documentation-only builds in Parts 11 to 25. Views are my own.

Top comments (0)