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

playwright-community / playwright-go / 28138365091
78%
main: 79%

Build:
Build:
LAST BUILD BRANCH: roll/v1.61.1
DEFAULT BRANCH: main
Ran 25 Jun 2026 12:25AM UTC
Jobs 9
Files 58
Run time 1min
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

25 Jun 2026 12:21AM UTC coverage: 78.499% (-0.002%) from 78.501%
28138365091

Pull #599

github

mxschmitt
fix: prevent jsonPipe deadlock that hung remote connections

The remote-connection transport (jsonPipe) delivered incoming messages into
a bounded channel (buffer 10) from the outer connection's dispatch goroutine.
When more than 10 messages queued before the inner connection drained them,
that blocking send stalled the dispatch goroutine — which is also the only
goroutine that delivers replies. Any in-flight Send() awaiting a reply then
blocked forever.

This surfaced as a flaky hang in TestShouldUploadAFolderRemote: streaming
files to a remote server produces a burst of write/close responses plus async
page events, occasionally exceeding the buffer and deadlocking until the test
timeout. Reproduced deterministically by shrinking the buffer to 1; goroutine
dump showed the dispatch goroutine blocked on 'chan send' at jsonPipe while the
test goroutine blocked on 'chan receive' in jsonPipe.Send.

Replace the bounded channel with an unbounded, order-preserving queue drained
by Poll(), so the dispatch goroutine never blocks. Add unit tests covering the
non-blocking guarantee, ordering, blocking Poll, close, and drain-before-close.
Pull Request #599: fix: prevent jsonPipe deadlock that hung remote connections

33 of 39 new or added lines in 1 file covered. (84.62%)

7948 of 10125 relevant lines covered (78.5%)

6580.62 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
77.63
0.08% jsonPipe.go
Jobs
ID Job ID Ran Files Coverage
1 windows-latest-chromium - 28138365091.1 25 Jun 2026 12:29AM UTC 58
78.24
GitHub Action Run
2 ubuntu-latest-chromium - 28138365091.2 25 Jun 2026 12:25AM UTC 58
78.34
GitHub Action Run
3 ubuntu-latest-firefox - 28138365091.3 25 Jun 2026 12:27AM UTC 58
76.92
GitHub Action Run
4 macos-latest-chromium - 28138365091.4 25 Jun 2026 12:29AM UTC 58
78.29
GitHub Action Run
5 windows-latest-webkit - 28138365091.5 25 Jun 2026 12:27AM UTC 58
76.66
GitHub Action Run
6 macos-latest-webkit - 28138365091.6 25 Jun 2026 12:30AM UTC 58
76.24
GitHub Action Run
7 ubuntu-latest-webkit - 28138365091.7 25 Jun 2026 12:27AM UTC 58
76.77
GitHub Action Run
8 macos-latest-firefox - 28138365091.8 25 Jun 2026 12:31AM UTC 58
76.94
GitHub Action Run
9 windows-latest-firefox - 28138365091.9 25 Jun 2026 12:29AM UTC 58
76.85
GitHub Action Run
Source Files on build 28138365091
  • Tree
  • List 58
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #599
  • PR Base - main (#28136695452)
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