Browser preview route crashes runtime on transient ECONNRESET
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 74/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- node.js, typescript
- Lĩnh vực
- testing-qa, web-dev
Hướng nghiên cứu
Bắt đầu trong browser-preview-routing.js, quanh fetchBrowserPreviewRoutedHost và fulfillBrowserPreviewRoutedHost, sử dụng bằng chứng ECONNRESET từ lần chạy Homeboy c5bd79ee-f9c7-479e-bb1f-73cca37e98d2 làm ngữ cảnh. Thêm kiểm thử hồi quy để inject một ECONNRESET cho một subresource, sau đó xác minh rằng các lỗi asset không làm tiến trình kết thúc, trong khi các lỗi điều hướng tài liệu vẫn là các lỗi kịch bản rõ ràng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 17
- Fork
- 4
- Merge trung bình
- 48 phút
- Pull request đã merge (30 ngày)
- 106
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Automattic/wp-codebox
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Automattic/wp-codebox#2467 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Automattic/wp-codebox#2466 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Automattic/wp-codebox#2105 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Automattic/wp-codebox#2061 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Automattic/wp-codebox#1714 · 1 bình luận ·
Tất cả issue của Automattic/wp-codebox
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
mksglu/context-mode#1200 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
anthropics/claude-code#96687 ·
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
AOSSIE-Org/DebateAI#582 · 2 bình luận ·