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

bleedingdeacons / sentinel / 38790076252
85%

Build:
DEFAULT BRANCH: main
Ran 15 Oct 2026 07:02PM UTC
Jobs 1
Files 66
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

15 Oct 2026 06:58PM UTC coverage: 84.595% (+1.4%) from 83.188%
38790076252

push

github

web-flow
feat: page opted-in Monitor handsets on logged errors (#62)

* feat: page opted-in Monitor handsets on logged errors

When an error or a PHP fatal is logged, alert the Monitor handsets an
admin has opted in on Monitor Devices. Step 2 of the Hand-to-Monitor
migration.

Each error is stored as one alert per opted-in handset, addressed to that
handset, so neither push nor poll reaches anyone else. They share one
message id and are informational. Title "[channel] LEVEL", body the
message plus file:line; the log context is never sent.

A cooldown per distinct error (digits and hex folded) and an hourly cap
hold repeats back, and the next alert reports how many. The wp and
monitor channels are excluded by default. Delivery happens at shutdown,
after the response, and needs nothing from Unity.

Also fixes the logger never recording fatals while WordPress's fatal
error handler is on: that handler's wp_die() exits and cancels the
logger's shutdown handler, so the fatal is now captured from the
wp_die() wrapper first, once only.

* fix: deliver error alerts on the shutdown action

On the SiteGround test bed something exits from an earlier shutdown function, which cancels every shutdown function after it, so a delivery registered at the end of the queue never ran: a logged error raised no alert there while a fatal (sent at once) did. Deliver on WordPress's shutdown action instead, at the latest priority, with a plain shutdown function as the fallback.

5645 of 6673 relevant lines covered (84.59%)

15.07 hits per line

Coverage Regressions

Lines Coverage ∆ File
85
0.0
0.0% sentinel/sentinel/src/Monitor/Admin/DevicesListTable.php
79
59.87
-2.07% sentinel/sentinel/src/Logger/sentinel-logger.php
38
76.86
1.86% sentinel/sentinel/src/Monitor/Devices/WpdbDeviceRepository.php
21
82.84
76.78% sentinel/sentinel/src/Monitor/Admin/SettingsPage.php
19
95.51
-0.27% sentinel/sentinel/src/Monitor/Admin/DevicesPage.php
Jobs
ID Job ID Ran Files Coverage
1 38790076252.1 15 Oct 2026 07:02PM UTC 66
84.59
GitHub Action Run
Source Files on build 38790076252
  • Tree
  • List 66
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38790076252
  • fcf9d623 on github
  • Prev Build on main (#38785018299)
  • Next Build on main (#39132594213)
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