Skip to content

Share one observability bus across duplicate copies - #1036

Merged
AbhinRustagi merged 3 commits into
mainfrom
abhin/observability-shared-bus
Aug 21, 2026
Merged

Share one observability bus across duplicate copies#1036
AbhinRustagi merged 3 commits into
mainfrom
abhin/observability-shared-bus

Conversation

@AbhinRustagi

Copy link
Copy Markdown
Contributor

Summary

  • Key the observability singleton on Symbol.for("openui.observability") so nested 0.0.2 vs 0.0.3 copies still share one bus — that's why LLM events vanished after the 0.0.3 publish.
  • Bump @openuidev/observability to 0.0.4, plus consumers so they can republish against it: react-headless 0.9.9, react-lang 0.2.14, devtools 0.0.8.

Test plan

  • Send a Cloud chat and confirm Inspect shows fetchLLM:request / fetchLLM:response alongside stream events
  • pnpm --filter @openuidev/observability test

Nested 0.0.2 vs 0.0.3 copies meant fetchLLM events never reached DevTools.
@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openui-docs Ready Ready Preview Aug 20, 2026 8:13pm

Request Review

@AbhinRustagi
AbhinRustagi merged commit b30b107 into main Aug 21, 2026
4 checks passed
@AbhinRustagi
AbhinRustagi deleted the abhin/observability-shared-bus branch August 21, 2026 06:20
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