Skip to content

crawler: read Obscura replies as SSE by content type (0.49.1) - #195

Merged
ralyodio merged 1 commit into
mainfrom
obscura-sse-parse
Nov 8, 2026
Merged

ralyodio merged 1 commit into
mainfrom
obscura-sse-parse

Conversation

@ralyodio

@ralyodio ralyodio commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Live after #194: render jobs failed with undefined is not an object (evaluating 'text.split...'). rpc() decided SSE by text.includes(\"data:\"), so a JSON reply holding a page head with a data: URI found no data: line and threw. Now sseData() decides by content type (or a leading SSE field), with a test.

🤖 Generated with Claude Code

…in the text (0.49.1)

A plain JSON reply whose page head held a data: URI was taken for an SSE
stream, no line started with "data:", and rpc() threw "undefined is not an
object (evaluating 'text.split...')": the render job failed and was retried.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ralyodio
ralyodio merged commit 0ed0c22 into main Nov 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant