Skip to content

Heap snapshot stuck on 100% with inspect #11499

@ceifa

Description

@ceifa

What versions & operating system are you using?

Wrangler 4.51.0, Node 22.18, Windows 11, Hono 4.10.7

Please provide a link to a minimal reproduction

Describe the Bug

  1. Create a request that takes time
  2. In the middle of the request, open the devtools (D) and take a heap snapshot

The heap snapshot never completes, it get stuck on 100%:

Image

If I try to take the snapshot after the request completion, it works, but it's not my use-case.
I initially thought it could be an IO problem, initially I was using SSE and it was in the middle of the writing to the body, but I removed the SSE logic and still didn't work.
I already tried using a debugger, but didn't work either.

Please provide any relevant error logs

After that it returns 503 to all requests and also the current open:
[wrangler:info] POST /history 503 Service Unavailable (68241ms)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Untriaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions