fix(errors): stop recommending retries for non-retryable failures (#1869)
* fix(errors): stop recommending retries for non-retryable failures Unreadable output and provider adapter failures project retryable=false, but their standard message and remediation said "Retry once", so a firmware run whose expected report was never published told callers to repeat a non-retryable operation. Point those failures at `rea doctor` and the reported details instead, leaving retryability decided once by the projected error code. Fixes #1855 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(errors): align Hopper remote failure guidance with retryability Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
96547d373f
commit
fb94d9dde0
@@ -44,7 +44,7 @@ describe("enhanced MCP tools", () => {
|
||||
error: {
|
||||
category: "execution_failure",
|
||||
message:
|
||||
"Analysis returned an unreadable result. Retry once; if it continues, run `rea doctor`.",
|
||||
"Analysis returned an unreadable result. Run `rea doctor` and review the reported details; repeating the unchanged request is not expected to succeed.",
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -96,11 +96,11 @@ describe("enhanced MCP tools", () => {
|
||||
category: "execution_failure",
|
||||
details: { operation: "decompile", reason: "failed" },
|
||||
message:
|
||||
"Analysis returned an unreadable result. Retry once; if it continues, run `rea doctor`.",
|
||||
"Analysis returned an unreadable result. Run `rea doctor` and review the reported details; repeating the unchanged request is not expected to succeed.",
|
||||
retryable: false,
|
||||
remediation: {
|
||||
action:
|
||||
"Analysis returned an unreadable result. Retry once; if it continues, run `rea doctor`.",
|
||||
"Analysis returned an unreadable result. Run `rea doctor` and review the reported details; repeating the unchanged request is not expected to succeed.",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user