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

Freegle / Iznik / 4987
70%

Build:
DEFAULT BRANCH: master
Ran 18 Apr 2026 08:00PM UTC
Jobs 4
Files 988
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

18 Apr 2026 07:05PM UTC coverage: 71.505% (+0.03%) from 71.48%
4987

push

circleci

web-flow
fix(sentry): suppress Freestar ftUtils.js null-document errors (#206)

* fix(sentry): suppress Freestar ftUtils.js null-document errors

Freestar's third-party ad JS (ftUtils.js) calls
(this.isPlacementXdom?t:t.parent).document inside getPlacementPosition.
When t.parent is null (typically a cross-origin iframe context), this
throws "Cannot read properties of null (reading 'document')".

Sentry issue NUXT3-CES (id 6579683231): ~11,409 events from 956 users,
last seen 2026-04-18. We can't edit the vendored Freestar JS, so silence
the noise on our side.

- composables/useSuppressException.js: drop errors whose stack contains
  ftUtils.js or getPlacementPosition (Freestar signature; conservative
  enough not to mask real bugs in our own code).
- plugins/sentry.client.ts: add 'getPlacementPosition' to ignoreErrors
  as a belt-and-braces second filter.
- tests/unit/composables/useSuppressException.spec.js: add coverage for
  both Freestar matches and a negative control showing an unrelated
  null-document TypeError still passes through.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix(phpunit-ci): surface testenv.php failures and clear stale DB-down markers

CircleCI build 4933 on this PR (unrelated Sentry/Freestar change) showed
5 errors + 34 failures because testenv.php failed to connect to the
per-worker databases during setup. The bash runner printed "Test
environment setup complete." unconditionally and ran the suite on
unfixtured DBs, so the FreeglePlayground group was missing and all
dependent assertions collapsed into phantom failures that looked like
product bugs.

Two real defects contributed:

1. include/LoggedPDO.php::doConnect() caches a "host down" marker at
   /tmp/iznik.dbstatus.<host>:<port>.down on any connect error and then
   short-circuits every retry within 60s (`$checkit = FALSE`). Because
   allDownRetries=30 with 1s sleeps, the loop *never* re-tries a real
   connection before throwing — producing the "Sleep for all D... (continued)

13302 of 20339 branches covered (65.4%)

Branch coverage included in aggregate %.

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

38 existing lines in 6 files now uncovered.

95757 of 132180 relevant lines covered (72.44%)

21.59 hits per line

Coverage Regressions

Lines Coverage ∆ File
10
48.48
-42.42% iznik-nuxt3/components/FreeglerPhotoGrid.vue
10
83.64
0.71% iznik-nuxt3/components/MobileVisualiseList.vue
10
30.82
-6.85% iznik-nuxt3/pages/browse/[[term]].vue
5
82.6
-0.75% iznik-nuxt3/components/LoginModal.vue
2
92.11
-1.32% iznik-batch/app/Services/DonationService.php
1
96.35
-0.73% iznik-nuxt3/components/SpinButton.vue
Jobs
ID Job ID Ran Files Coverage
4987 playwright - 4987 18 Apr 2026 08:00PM UTC 227
45.06
CircleCI Job 4987
4987 laravel - 4987 18 Apr 2026 08:00PM UTC 180
66.56
CircleCI Job 4987
4987 go - 4987 18 Apr 2026 08:00PM UTC 118
80.27
CircleCI Job 4987
4987 vitest - 4987 18 Apr 2026 08:00PM UTC 685
64.46
CircleCI Job 4987
Source Files on build 4987
  • Tree
  • List 988
  • Changed 16
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • CircleCI Build #4987
  • f5d8604d on github
  • Prev Build on master (#4967)
  • Next Build on master (#5023)
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