fix: align exec warning e2e coverage openclaw#20560 thanks @obviyus

This commit is contained in:
Ayaan Zaidi
2026-02-19 08:44:51 +05:30
parent 7ecaacfae5
commit 7ce94931f0
2 changed files with 3 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ Docs: https://docs.openclaw.ai
### Fixes
- Telegram/Agents: gate exec/bash tool-failure warnings behind verbose mode so default Telegram replies stay clean while verbose sessions still surface diagnostics. (#20560) Thanks @obviyus.
- Gateway/Daemon: forward `TMPDIR` into installed service environments so macOS LaunchAgent gateway runs can open SQLite temp/journal files reliably instead of failing with `SQLITE_CANTOPEN`. (#20512) Thanks @Clawborn.
- Agents/Billing: include the active model that produced a billing error in user-facing billing messages (for example, `OpenAI (gpt-5.3)`) across payload, failover, and lifecycle error paths, so users can identify exactly which key needs credits. (#20510) Thanks @echoVic.
- iOS/Screen: move `WKWebView` lifecycle ownership into `ScreenWebView` coordinator and explicit attach/detach flow to reduce gesture/lifecycle crash risk (`__NSArrayM insertObject:atIndex:` paths) during screen tab updates. (#20366) Thanks @ngutman.

View File

@@ -163,7 +163,7 @@ describe("buildEmbeddedRunPayloads", () => {
expect(payloads[0]?.text).toBe("All good");
});
it("adds tool error fallback when the assistant only invoked tools", () => {
it("adds tool error fallback when the assistant only invoked tools and verbose mode is on", () => {
const payloads = buildPayloads({
lastAssistant: makeAssistant({
stopReason: "toolUse",
@@ -178,6 +178,7 @@ describe("buildEmbeddedRunPayloads", () => {
],
}),
lastToolError: { toolName: "exec", error: "Command exited with code 1" },
verboseLevel: "on",
});
expect(payloads).toHaveLength(1);