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

playwright-community / playwright-go / 28143035874
79%
main: 79%

Build:
Build:
LAST BUILD BRANCH: roll/v1.61.1
DEFAULT BRANCH: main
Ran 25 Jun 2026 02:37AM UTC
Jobs 8
Files 59
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 02:06AM UTC coverage: 78.507% (+0.006%) from 78.501%
28143035874

Pull #601

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 #601: fix: eliminate the two remaining connection-layer deadlocks (event-handler + jsonPipe)

78 of 92 new or added lines in 4 files covered. (84.78%)

7981 of 10166 relevant lines covered (78.51%)

6018.37 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
86.84
-1.56% connection.go
6
77.63
0.08% jsonPipe.go
Jobs
ID Job ID Ran Files Coverage
1 ubuntu-latest-webkit - 28143035874.1 25 Jun 2026 02:39AM UTC 59
76.76
GitHub Action Run
2 ubuntu-latest-chromium - 28143035874.2 25 Jun 2026 02:37AM UTC 59
78.35
GitHub Action Run
3 macos-latest-chromium - 28143035874.3 25 Jun 2026 02:38AM UTC 59
78.34
GitHub Action Run
4 windows-latest-chromium - 28143035874.4 25 Jun 2026 02:41AM UTC 59
78.25
GitHub Action Run
5 macos-latest-webkit - 28143035874.5 25 Jun 2026 02:42AM UTC 59
76.25
GitHub Action Run
6 windows-latest-webkit - 28143035874.6 25 Jun 2026 02:39AM UTC 59
76.72
GitHub Action Run
7 windows-latest-firefox - 28143035874.7 25 Jun 2026 02:41AM UTC 59
76.84
GitHub Action Run
8 ubuntu-latest-firefox - 28143035874.8 25 Jun 2026 02:40AM UTC 59
76.93
GitHub Action Run
Source Files on build 28143035874
  • Tree
  • List 59
  • Changed 17
  • Source Changed 0
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #601
  • 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