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

dangernoodle-io / TaipanMiner / 25282460041
90%

Build:
DEFAULT BRANCH: main
Ran 03 May 2026 02:58PM UTC
Jobs 1
Files 28
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

03 May 2026 02:57PM UTC coverage: 92.338%. Remained the same
25282460041

push

github

web-flow
fix(stratum): collapse two 4 KB line buffers into one (TA-298) (#311)

stratum_io kept a 4 KB file-scope `s_linebuf` recv accumulator AND a
parallel 4 KB `char line[4096]` on the stratum_task stack. Each socket
read accumulated into the static buffer, then a `memcpy` published the
extracted line into the stack buffer for `process_message`. Two copies of
the same data, costing 4 KB BSS + 4 KB stack permanently.

Refactor stratum_readline() to extract the line in-place: write the null
terminator into s_linebuf at the '\\n' position, return a pointer to the
buffer, and defer the post-line memmove to the next readline call (via
s_pending_consume). Caller now passes `const char **` instead of a
destination buffer.

Net win: drop the 4 KB stack array. BSS unchanged (s_linebuf must still
hold the largest mining.notify message, which can run several KB on pools
with deep merkle branches). A follow-up can shrink the 8 KB stratum task
stack now that we've freed 4 KB of it.

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>

707 of 852 branches covered (82.98%)

Branch coverage included in aggregate %.

1607 of 1654 relevant lines covered (97.16%)

249583.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25282460041.1 03 May 2026 02:58PM UTC 28
92.34
GitHub Action Run
Source Files on build 25282460041
  • Tree
  • List 28
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25282460041
  • a338a474 on github
  • Prev Build on main (#25282182937)
  • Next Build on main (#25282658918)
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