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

Freegle / Iznik / 4987 / 4987
70%
master: 70%

Build:
DEFAULT BRANCH: master
Ran 18 Apr 2026 08:00PM UTC
Files 180
Run time 4s
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: 66.558% (-0.01%) from 66.57%
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)

10793 of 16216 relevant lines covered (66.56%)

15.74 hits per line

Source Files on job laravel - 4987
  • Tree
  • List 180
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4987
  • CircleCI Build #4987
  • f5d8604d on github
  • Prev Job for on master (#4967)
  • Next Job for 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