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

systemd / systemd / 15889795658 / 1
72%
main: 72%

Build:
DEFAULT BRANCH: main
Ran 26 Jun 2025 03:29AM UTC
Files 1916
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

25 Jun 2025 05:44PM UTC coverage: 72.107% (+0.03%) from 72.081%
15889795658.1

push

github

yuwata
journal-gatewayd: fix handling of num_skip pointing beyond the last entry

When `num_skip` is supplied to the `Range` header, journal-gatewayd
always returns the very last record even though it should have been
skipped. This is because the `sd_journal_next_skip` always returns
non-zero value on the first call, leading to one iteration of the
`request_reader_entries` returning the last record.

To avoid this unexpected behavior, check that the number of lines we
have skipped by is not lower than the requested skip value. If it is,
then it means there are lines which should not be returned now -
decrement the n_skip counter then and return from the function, closing
the stream if follow flag is not set.

Fixes #37954

300532 of 416788 relevant lines covered (72.11%)

712881.46 hits per line

Source Files on job 15889795658.1
  • Tree
  • List 1916
  • Changed 65
  • Source Changed 7
  • Coverage Changed 63
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 15889795658
  • a7bfb9f7 on github
  • Prev Job for on main (#15864121842.1)
  • Next Job for on main (#15915051363.1)
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