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

supabase / pg_net / 26056941098
93%

Build:
DEFAULT BRANCH: master
Ran 18 May 2026 07:58PM UTC
Jobs 1
Files 6
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

18 May 2026 07:55PM UTC coverage: 93.47% (+0.04%) from 93.433%
26056941098

push

github

web-flow
fix: report worker activity to pg_stat_activity (#255)

* fix: report worker activity to pg_stat_activity

Background workers must call pgstat_report_activity() themselves to
update state/state_change in pg_stat_activity; regular user backends
get this for free via tcop/postgres.c. Without it the pg_net worker
shows up with a blank state column, making it impossible to tell
from monitoring whether the worker is idle, processing a tick, or
stuck in a transaction. Adds STATE_IDLE / STATE_RUNNING transitions
around the inner work loop.

cmd_str is NULL, matching what other background workers (e.g.
logical replication apply worker) do; backend_type already
identifies it as "pg_net <ver> worker" so a query-column label
would be redundant.

* test: verify worker state is reported in pg_stat_activity

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

501 of 536 relevant lines covered (93.47%)

202.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26056941098.1 18 May 2026 07:58PM UTC 6
93.47
GitHub Action Run
Source Files on build 26056941098
  • Tree
  • List 6
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26056941098
  • 83475041 on github
  • Prev Build on master (#26049357052)
  • Next Build on master (#26109585449)
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