• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / toolhive-studio / 24789477987
70%

Build:
DEFAULT BRANCH: main
Ran 22 Apr 2026 04:20PM UTC
Jobs 1
Files 476
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Apr 2026 04:16PM UTC coverage: 66.667% (+0.01%) from 66.656%
24789477987

push

github

web-flow
fix(playground): clear composer draft synchronously on submit (#2077)

* test(playground): cover composer draft clearing on submit

Lock in the render-vs-commit race that leaves a stale draft behind when the centered empty-state composer swaps for the bottom composer on the first message: both are keyed by the same threadId, and a debounced clear lets the new mount re-hydrate before the unmount flush runs.

* fix(playground): clear composer draft synchronously on submit

setText('') scheduled a debounced localStorage write, so the bottom composer's useState lazy initializer (which runs during render, before the unmounting centered composer's flush effect) re-read the just-sent draft and repopulated the textarea. Flush synchronously when the draft is reset to empty; typing still goes through the debounced path.

3894 of 6382 branches covered (61.02%)

3 of 3 new or added lines in 1 file covered. (100.0%)

6052 of 9078 relevant lines covered (66.67%)

120.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24789477987.1 22 Apr 2026 04:20PM UTC 476
66.67
GitHub Action Run
Source Files on build 24789477987
  • Tree
  • List 476
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24789477987
  • c9af1a4a on github
  • Prev Build on main (#24785506739)
  • Next Build on main (#24824209802)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc