laravel/telescope

Telescope breaks SSE stream

Open

#1,717 建立於 2026年2月10日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)PHP (5,187 star) (654 fork)user submission
help wanted

描述

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.

貢獻者指南