Browser preview route crashes runtime on transient ECONNRESET
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 74/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 冷清
- 技术栈
- node.js, typescript
- 领域
- testing-qa, web-dev
调研方向
从 browser-preview-routing.js 中 fetchBrowserPreviewRoutedHost 和 fulfillBrowserPreviewRoutedHost 附近开始,并将 Homeboy run c5bd79ee-f9c7-479e-bb1f-73cca37e98d2 中的 ECONNRESET 证据作为上下文。添加回归测试覆盖,向一个子资源注入 ECONNRESET,然后验证 asset 失败不会终止进程,而文档导航失败仍然是明确的场景失败。
由索引模型根据 Issue 内容生成。
描述
Problem
A transient asset proxy reset in browser preview routing escapes the route handler as an unhandled rejection and terminates the entire WP Codebox recipe process.
Evidence
During a valid multisite browser scenario, the runtime crashed while fetching a non-critical theme font:
route.fetch: read ECONNRESET
GET /wp-content/themes/extrachill/assets/fonts/Lobster2.woff2
at fetchBrowserPreviewRoutedHost (.../browser-preview-routing.js:287:36)
at fulfillBrowserPreviewRoutedHost (.../browser-preview-routing.js:219:28)
The backend suite had completed and no changed browser assertion executed. Homeboy run: c5bd79ee-f9c7-479e-bb1f-73cca37e98d2.
Expected
Preview routing handles transient upstream fetch failures without crashing the Node process. The individual request may fail/abort and should be recorded as network evidence, while the browser scenario and cleanup remain under normal lifecycle control.
Acceptance criteria
route.fetch()rejection is caught inside preview routing.- A failed non-document asset request does not terminate the recipe process.
- Document navigation failures remain explicit scenario failures.
- Regression coverage injects an
ECONNRESETfor a subresource.
AI assistance
- AI assistance: Yes
- Tool: OpenCode with GPT-5.6 Sol
- Used for: Capturing and classifying the disposable browser-runtime crash.
- 主要语言
- TypeScript
- 星标
- 17
- 派生
- 4
- 平均合并
- 48 分钟
- 30 天内合并 PR
- 106
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Automattic/wp-codebox 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
Automattic/wp-codebox#2467 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
Automattic/wp-codebox#2466 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
Automattic/wp-codebox#2105 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
Automattic/wp-codebox#2061 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
Automattic/wp-codebox#1714 · 1 条评论 ·
查看 Automattic/wp-codebox 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
vercel-labs/just-bash#464 ·
-
looksLikeSlug() is ASCII-only, so non-Latin entity slugs (e.g. Korean) skip exact match and collapse 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 1/5 1 小时以内 新手友好度 90/100
TanStack/tanstack.com#1293 ·