Skip to content

[web] Switch web package stream reader to getStreamChunks#1542

Merged
karthikscale3 merged 77 commits intomainfrom
karthik/fix-streams-tab-3
Mar 30, 2026
Merged

[web] Switch web package stream reader to getStreamChunks#1542
karthikscale3 merged 77 commits intomainfrom
karthik/fix-streams-tab-3

Conversation

@karthikscale3
Copy link
Copy Markdown
Collaborator

Description:
The web package's stream viewer also uses readFromStream, which blocks for a longer time. This change switches the API route and client to use getStreamChunks (paginated batch API) instead, with the same double-frame unwrap logic.

Copy link
Copy Markdown
Member

@VaguelySerious VaguelySerious left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI review: blocking issues found

Comment thread packages/web/app/components/run-detail-view.tsx
Comment thread packages/web/app/server/workflow-server-actions.server.ts Outdated
Comment thread packages/web/app/server/workflow-server-actions.server.ts
Comment thread packages/web/app/routes/api.stream.$streamId.tsx Outdated
Comment thread packages/web/app/lib/hooks/use-stream-reader.ts Outdated
Comment thread packages/web/app/lib/hooks/use-stream-reader.ts Outdated
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.

2 participants