惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
A
About on SuperTechFans
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
aimingoo的专栏
aimingoo的专栏
T
The Blog of Author Tim Ferriss
IT之家
IT之家
罗磊的独立博客
博客园_首页
月光博客
月光博客
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Last Week in AI
Last Week in AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
量子位
Hugging Face - Blog
Hugging Face - Blog
G
Google Developers Blog
博客园 - 叶小钗
H
Help Net Security
N
Netflix TechBlog - Medium
B
Blog
Engineering at Meta
Engineering at Meta
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
V2EX
Vercel News
Vercel News
博客园 - 三生石上(FineUI控件)

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 test: merge chat context notice checks · openclaw/openclaw@5c2f4af feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248
fix: restrict HTML timeout short-circuit to transient sta...
2026-04-16 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -176,7 +176,7 @@ describe("formatAssistantErrorText", () => {

176176

);

177177

});

178178
179-

it("returns upstream HTML copy for prefixed HTML rate-limit pages", () => {

179+

it("returns upstream HTML copy for prefixed 521 HTML rate-limit pages", () => {

180180

const msg = makeAssistantError(

181181

"Error: 521 <!DOCTYPE html><html><body>rate limit</body></html>",

182182

);

Original file line numberDiff line numberDiff line change

@@ -354,7 +354,11 @@ function isHtmlErrorResponse(raw: string, status?: number): boolean {

354354

}

355355
356356

function isTransportHtmlErrorStatus(status: number | undefined): boolean {

357-

return status !== 401 && status !== 403 && status !== 407;

357+

return (

358+

status === 408 ||

359+

status === 499 ||

360+

(typeof status === "number" && status >= 500 && status < 600)

361+

);

358362

}

359363
360364

function isOpenAICodexScopeContext(raw: string, provider?: string): boolean {

Original file line numberDiff line numberDiff line change

@@ -167,6 +167,12 @@ describe("Cloudflare / CDN HTML error page classification (#67517)", () => {

167167

const html407 =

168168

"<!doctype html><html><head><title>407 Proxy Authentication Required</title></head>" +

169169

"<body><h1>Proxy Authentication Required</h1></body></html>";

170+

const html402 =

171+

"<!doctype html><html><head><title>402 Payment Required</title></head>" +

172+

"<body><h1>Payment Required</h1><p>Your quota is exhausted.</p></body></html>";

173+

const html429 =

174+

"<!doctype html><html><head><title>429 Too Many Requests</title></head>" +

175+

"<body><h1>Too Many Requests</h1><p>Rate limit exceeded.</p></body></html>";

170176

const prefixedHtml401 = `Error: 401 ${html401}`;

171177

const prefixedHtml407 = `Error: 407 ${html407}`;

172178

@@ -190,6 +196,14 @@ describe("Cloudflare / CDN HTML error page classification (#67517)", () => {

190196

expect(classifyFailoverReason(prefixedHtml401)).toBe("auth");

191197

});

192198
199+

it("preserves billing classification for 402 HTML", () => {

200+

expect(classifyFailoverReason(`402 ${html402}`)).toBe("billing");

201+

});

202+
203+

it("preserves rate-limit classification for 429 HTML", () => {

204+

expect(classifyFailoverReason(`429 ${html429}`)).toBe("rate_limit");

205+

});

206+
193207

it("classifies runtime failure kind as upstream_html for non-auth HTML", () => {

194208

expect(classifyProviderRuntimeFailureKind({ status: 502, message: cloudflareHtml502 })).toBe(

195209

"upstream_html",