[PR #89] [MERGED] SSE #91

Closed
opened 2026-02-16 03:18:16 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/llama-ui/pull/89
Author: @adrianlyjak
Created: 9/23/2025
Status: Merged
Merged: 9/24/2025
Merged by: @adrianlyjak

Base: mainHead: adrian/sse


📝 Commits (10+)

📊 Changes

14 files changed (+319 additions, -306 deletions)

View changed files

.changeset/all-bars-feel.md (+5 -0)
📝 packages/ui/.storybook/main.ts (+4 -0)
📝 packages/ui/.storybook/mocks/handlers.ts (+97 -11)
📝 packages/ui/package.json (+1 -0)
📝 packages/ui/src/workflows/hooks/use-workflow-handler.ts (+1 -1)
📝 packages/ui/src/workflows/store/handler-store.ts (+1 -1)
📝 packages/ui/src/workflows/store/helper.ts (+101 -138)
📝 packages/ui/stories/workflow-progress-bar.stories.tsx (+27 -10)
📝 packages/ui/tests/workflows/store/helper.test.ts (+65 -133)
📝 packages/ui/tsconfig.json (+2 -1)
📝 packages/ui/vitest.config.ts (+8 -0)
📝 packages/workflows-client/src/index.ts (+2 -1)
📝 pnpm-lock.yaml (+3 -9)
📝 tsconfig.json (+2 -1)

📄 Description

Uses SSE for workflow events. Connects with an EventSource,

  • will show a nice event / frame log in the browser dev tools
  • Has built in reconnect logic. I was able to kill the backend workflow for an in running subscription, restart the backend, (which restarted the handler due to persistence). The subscription reconnected and was able to continue

Updates aliases and dependencies so that the local version TS version of workflows-client can be referenced during development, rather than the published version


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/llama-ui/pull/89 **Author:** [@adrianlyjak](https://github.com/adrianlyjak) **Created:** 9/23/2025 **Status:** ✅ Merged **Merged:** 9/24/2025 **Merged by:** [@adrianlyjak](https://github.com/adrianlyjak) **Base:** `main` ← **Head:** `adrian/sse` --- ### 📝 Commits (10+) - [`dfac2ea`](https://github.com/run-llama/llama-ui/commit/dfac2ea325d16e085c375f33ef747b04ca3372d8) refact: Add better SSE support, so you can debug network frames - [`692e8d2`](https://github.com/run-llama/llama-ui/commit/692e8d2eba96e77c4ce01fae147ffec26e827616) test changes - [`62cffce`](https://github.com/run-llama/llama-ui/commit/62cffcecc7732c3c034ca7136fd94fd56710607d) ws dep - [`3b9446d`](https://github.com/run-llama/llama-ui/commit/3b9446d6acad587651d46a84c575cc3e3677f2e1) clean lints - [`97ebad7`](https://github.com/run-llama/llama-ui/commit/97ebad722252c30786f693668bdadd1a07779ed6) tests - [`fc29aa4`](https://github.com/run-llama/llama-ui/commit/fc29aa40776734088e8be8d36bd5dd09f6690031) add changeset - [`e8267c3`](https://github.com/run-llama/llama-ui/commit/e8267c3c64c115a60cb64a250a135497f5992a5e) no ci change - [`6650756`](https://github.com/run-llama/llama-ui/commit/66507562df85a66ef7eab05d059a4841b7c6c9c4) no bump - [`84b4abd`](https://github.com/run-llama/llama-ui/commit/84b4abddffec068381fdbdd29821b04aade6abdd) nor that - [`3f67103`](https://github.com/run-llama/llama-ui/commit/3f671034d1c737e29cccb5c2b8e9d96d87524d93) onfinish ### 📊 Changes **14 files changed** (+319 additions, -306 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/all-bars-feel.md` (+5 -0) 📝 `packages/ui/.storybook/main.ts` (+4 -0) 📝 `packages/ui/.storybook/mocks/handlers.ts` (+97 -11) 📝 `packages/ui/package.json` (+1 -0) 📝 `packages/ui/src/workflows/hooks/use-workflow-handler.ts` (+1 -1) 📝 `packages/ui/src/workflows/store/handler-store.ts` (+1 -1) 📝 `packages/ui/src/workflows/store/helper.ts` (+101 -138) 📝 `packages/ui/stories/workflow-progress-bar.stories.tsx` (+27 -10) 📝 `packages/ui/tests/workflows/store/helper.test.ts` (+65 -133) 📝 `packages/ui/tsconfig.json` (+2 -1) 📝 `packages/ui/vitest.config.ts` (+8 -0) 📝 `packages/workflows-client/src/index.ts` (+2 -1) 📝 `pnpm-lock.yaml` (+3 -9) 📝 `tsconfig.json` (+2 -1) </details> ### 📄 Description Uses SSE for workflow events. Connects with an `EventSource`, - will show a nice event / frame log in the browser dev tools - Has built in reconnect logic. I was able to kill the backend workflow for an in running subscription, restart the backend, (which restarted the handler due to persistence). The subscription reconnected and was able to continue Updates aliases and dependencies so that the local version TS version of workflows-client can be referenced during development, rather than the published version --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 03:18:16 -05:00
yindo closed this issue 2026-02-16 03:18:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama-ui#91