laravel/telescope

Telescope breaks SSE stream

Offen

#1.717 geöffnet am 10.02.2026

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)PHP (654 Forks)user submission
help wanted

Repository-Metriken

Stars
 (5.187 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 7h 14m) (6 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide