Browser preview route crashes runtime on transient ECONNRESET
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 74/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- node.js, typescript
- Domain
- testing-qa, web-dev
Research direction
Start in browser-preview-routing.js around fetchBrowserPreviewRoutedHost and fulfillBrowserPreviewRoutedHost, using the ECONNRESET evidence from Homeboy run c5bd79ee-f9c7-479e-bb1f-73cca37e98d2 as context. Add regression coverage that injects an ECONNRESET for a subresource, then verify asset failures do not terminate the process while document navigation failures remain explicit scenario failures.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- TypeScript
- Stars
- 17
- Forks
- 4
- Avg merge
- 48m
- Merged PRs (30d)
- 106
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Automattic/wp-codebox
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Automattic/wp-codebox#2467 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Automattic/wp-codebox#2466 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Automattic/wp-codebox#2105 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Automattic/wp-codebox#2061 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Automattic/wp-codebox#1714 · 1 comment ·
All issues in Automattic/wp-codebox
Similar issues
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Mend: dependency security vulnerability untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 70/100