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

infrawatch / sg-core / 20776752706
51%
master: 50%

Build:
Build:
LAST BUILD BRANCH: OSPRH-23826/fix-long-messages-handling-grow-buffer
DEFAULT BRANCH: master
Ran 07 Jan 2026 09:29AM UTC
Jobs 1
Files 18
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

07 Jan 2026 09:19AM UTC coverage: 50.89% (+0.9%) from 50.027%
20776752706

Pull #157

github

vkmc
Add configurable buffer size and tests for large message handling

Made buffer size configurable via bufferSize parameter (default 65535,
min 1024, max 10MB) to handle different message size requirements.

Fixed TCP socket handling to properly receive messages larger than the
buffer by implementing multi-read logic that:
- Peeks at message length header to determine total message size
- Reads additional data in chunks until complete message is received
- Validates messages don't exceed 100MB max size
- Properly combines remaining data from previous reads

Improved error handling to distinguish between TCP (can read more) and
UDP/Unix datagram sockets (message gets truncated by OS).

Added comprehensive tests with 1500-byte buffers for all socket types
(TCP, UDP, Unix) to verify correct handling of messages within buffer,
exceeding buffer, and multiple message scenarios.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Pull Request #157: Add configurable buffer size and tests for large message handling

53 of 68 new or added lines in 1 file covered. (77.94%)

24 existing lines in 1 file now uncovered.

972 of 1910 relevant lines covered (50.89%)

0.57 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
15
61.07
4.68% plugins/transport/socket/main.go

Uncovered Existing Lines

Lines Coverage ∆ File
24
61.07
4.68% plugins/transport/socket/main.go
Jobs
ID Job ID Ran Files Coverage
1 20776752706.1 07 Jan 2026 09:29AM UTC 18
50.89
GitHub Action Run
Source Files on build 20776752706
  • Tree
  • List 18
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #157
  • PR Base - master (#17729669544)
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