chore: prep #38056 for landing (thanks @0xlin2023)

This commit is contained in:
Ayaan Zaidi
2026-03-06 22:18:28 +05:30
committed by Ayaan Zaidi
parent 59895f9c5a
commit f9d86b9256
2 changed files with 5 additions and 1 deletions

View File

@@ -202,6 +202,8 @@ Docs: https://docs.openclaw.ai
- Skills/openai-image-gen CLI validation: validate `--background` and `--style` inputs early, normalize supported values, and warn when those flags are ignored for incompatible models. (#36762) Thanks @shuofengzhang and @vincentkoc.
- Skills/openai-image-gen output formats: validate `--output-format` values early, normalize aliases like `jpg -> jpeg`, and warn when the flag is ignored for incompatible models. (#36648) Thanks @shuofengzhang and @vincentkoc.
- WhatsApp media upload caps: make outbound media sends and auto-replies honor `channels.whatsapp.mediaMaxMb` with per-account overrides so inbound and outbound limits use the same channel config. Thanks @vincentkoc.
- Windows/Plugin install: when OpenClaw runs on Windows via Bun and `npm-cli.js` is not colocated with the runtime binary, fall back to `npm.cmd`/`npx.cmd` through the existing `cmd.exe` wrapper so `openclaw plugins install` no longer fails with `spawn EINVAL`. (#38056) Thanks @0xlin2023.
- Telegram/send retry classification: retry grammY `Network request ... failed after N attempts` envelopes in send flows without reclassifying plain `Network request ... failed!` wrappers as transient, restoring the intended retry path while keeping broad send-context message matching tight. (#38056) Thanks @0xlin2023.
## 2026.3.2

View File

@@ -783,7 +783,9 @@ describe("sendMessageTelegram", () => {
const chatId = "123";
const sendMessage = vi
.fn()
.mockRejectedValueOnce(new Error("Network request for 'sendMessage' failed after 1 attempts."))
.mockRejectedValueOnce(
new Error("Network request for 'sendMessage' failed after 1 attempts."),
)
.mockResolvedValueOnce({
message_id: 7,
chat: { id: chatId },