Skip to content

fix async bugs and add tests#25

Open
Andrew Kent (realark) wants to merge 6 commits into
mainfrom
ark/fix-async-bugs
Open

fix async bugs and add tests#25
Andrew Kent (realark) wants to merge 6 commits into
mainfrom
ark/fix-async-bugs

Conversation

@realark
Copy link
Copy Markdown
Contributor

@realark Andrew Kent (realark) commented May 27, 2026

  • redesign plugin to fix bugs introduced by using async hooks (use work queue plus bg span uploader)
  • add tests
  • add session replay tool w/ tests
  • fix misc bugs found from adding tests

this is a similar architecture and test approach to what we're doing in the opencode plugin: https://github.com/braintrustdata/braintrust-opencode-plugin

hooks fire and forget the event, bg worker does the http. shutdown
drains queue and waits for bg worker
@realark Andrew Kent (realark) marked this pull request as ready for review May 27, 2026 17:10
@realark Andrew Kent (realark) changed the title fix async bugs fix async bugs and add tests May 27, 2026
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