laravel/telescope

Telescope breaks SSE stream

Aberta

#1.717 aberto em 10 de fev. de 2026

 (3 comentários) (0 reação) (0 responsável)PHP (654 forks)user submission
help wanted

Métricas do repositório

Stars
 (5.187 estrelas)
Métricas de merge de PR
 (Mesclagem média 7h 14m) (6 fundiu PRs em 30d)

Description

Telescope's ClientRequestWatcher calls $response->body() on every HTTP response, which fully consumes non-seekable SSE stream bodies before Prism can read them.

This breaks the stream capability.

My current workaround to overcome this, add this before you instantiate the Agent:

if (class_exists(Telescope::class)) {
    Telescope::stopRecording();
}

Note: of course this will disable all telescope logging and monitoring for the agent requests.

Guia do colaborador