laravel/telescope

Telescope breaks SSE stream

Ouverte

#1 717 ouverte le 10 févr. 2026

 (3 commentaires) (0 réaction) (0 personne assignée)PHP (654 forks)user submission
help wanted

Métriques du dépôt

Stars
 (5 187 étoiles)
Métriques de merge PR
 (Merge moyen 7h 14m) (6 PRs mergées en 30 j)

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.

Guide contributeur