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

mxschmitt / playwright-go / 29544834853
79%
main: 79%

Build:
Build:
LAST BUILD BRANCH: codex/fix-page-frames-race
DEFAULT BRANCH: main
Ran 17 Jul 2026 12:35AM UTC
Jobs 9
Files 62
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

17 Jul 2026 12:14AM UTC coverage: 79.03% (+0.03%) from 79.004%
29544834853

Pull #625

github

alvarorichard
fix: guard pageImpl.frames with lock to fix data race in Page.Frames()

pageImpl.frames was written by the connection dispatch goroutine
(onFrameAttached/onFrameDetached) and read by user goroutines via
Page.Frames()/Page.Frame() with no synchronization. Frames() also
returned the internal slice without copying, so callers aliased
memory mutated by the event goroutine.

Guard p.frames with the sync.RWMutex already embedded via
channelOwner, mirroring the existing pattern in browser.go and
browser_context.go. Frames() now returns a copy under RLock, Frame()
iterates a locked snapshot, and onFrameAttached/onFrameDetached
mutate under Lock with Emit kept outside the critical section since
handlers run synchronously and may re-enter Page methods.

Adds a regression test that fails with multiple DATA RACE reports
under -race before this change and passes after.
Pull Request #625: fix: guard pageImpl.frames to prevent data race

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

8770 of 11097 relevant lines covered (79.03%)

14542.45 hits per line

Jobs
ID Job ID Ran Files Coverage
1 ubuntu-latest-chromium - 29544834853.1 17 Jul 2026 12:35AM UTC 62
78.74
GitHub Action Run
2 ubuntu-latest-firefox - 29544834853.2 17 Jul 2026 12:39AM UTC 62
77.31
GitHub Action Run
3 windows-latest-firefox - 29544834853.3 17 Jul 2026 12:41AM UTC 62
77.31
GitHub Action Run
4 windows-latest-chromium - 29544834853.4 17 Jul 2026 12:39AM UTC 62
78.7
GitHub Action Run
5 macos-latest-firefox - 29544834853.5 17 Jul 2026 12:39AM UTC 62
77.31
GitHub Action Run
6 ubuntu-latest-webkit - 29544834853.6 17 Jul 2026 12:38AM UTC 62
13.96
GitHub Action Run
7 macos-latest-webkit - 29544834853.7 17 Jul 2026 12:36AM UTC 62
76.65
GitHub Action Run
8 macos-latest-chromium - 29544834853.8 17 Jul 2026 12:35AM UTC 62
78.7
GitHub Action Run
9 windows-latest-webkit - 29544834853.9 17 Jul 2026 12:37AM UTC 62
77.16
GitHub Action Run
Source Files on build 29544834853
  • Tree
  • List 62
  • Changed 58
  • Source Changed 0
  • Coverage Changed 58
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #625
  • PR Base - main (#28387148315)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc