laravel/telescope

Telescope breaks SSE stream

開放

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

 (3 則留言) (0 個反應) (0 位負責人)PHP (654 個分叉)user submission
help wanted

倉庫指標

星標
 (5,187 顆星)
PR 合併指標
 (平均合併 7小時 14分鐘) (30 天內合併 6 個 PR)

描述

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.

貢獻者指南