{"record":{"id":"c141c5acdc8efd6f","repo":"diegosouzapw/OmniRoute","slug":"http-504","errorCode":"HTTP_504","errorMessage":"Cloudflare Playground timed out","messagePattern":"Cloudflare Playground timed out","errorType":"http","errorClass":null,"httpStatus":504,"severity":"error","filePath":"open-sse/executors/cloudflare-playground.ts","lineNumber":559,"sourceCode":"            }\n          } catch (error) {\n            if (!signal?.aborted) controller.error(error);\n          } finally {\n            clearTimeout(timer);\n            await transport.close().catch(() => {});\n            // #10494: a timeout used to fall straight through to a bare\n            // [DONE], so a client receiving an empty or partial stream saw\n            // an ordinary successful completion. Emit an explicit error\n            // chunk first (same shape as the parser.error branch above) so\n            // the client can distinguish a timed-out/partial answer from a\n            // real completion.\n            if (timedOut.current) {\n              try {\n                enqueue({\n                  error: {\n                    message: \"Cloudflare Playground timed out\",\n                    type: \"timeout_error\",\n                    code: \"HTTP_504\",\n                  },\n                });\n              } catch {\n                /* stream already torn down */\n              }\n            }\n            controller.enqueue(encoder.encode(\"data: [DONE]\\n\\n\"));\n            controller.close();\n          }\n        },\n      });\n\n      return {\n        response: new Response(responseStream, {\n          headers: {\n            \"Content-Type\": \"text/event-stream\",\n            \"Cache-Control\": \"no-cache\",\n            Connection: \"keep-alive\",","sourceCodeStart":541,"sourceCodeEnd":577,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/open-sse/executors/cloudflare-playground.ts#L541-L577","documentation":"Error \"Cloudflare Playground timed out\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at open-sse/executors/cloudflare-playground.ts:559 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}