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

jchook / rewait / 33700871708
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: readme-cli-bottom
DEFAULT BRANCH: main
Ran 03 Sep 2026 12:46AM UTC
Jobs 1
Files 15
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 Sep 2026 12:45AM UTC coverage: 100.0%. Remained the same
33700871708

Pull #15

github

jchook
Add the rewait command line tool and checkSocketResponse()

The rewait command builds checks from URLs: http://, https://, tcp://,
unix://, udp://, file:// or a plain path. HTTP checks take curl-style
options (-X, -H, -d, -u, -k, --cacert), socket checks can --send a
payload and match the reply, files can require a --min-size, and --once
suits Docker HEALTHCHECK. A single flag table drives both parsing and
--help, and docs/cli.md is generated from that help text with a test
that fails if the two drift.

checkSocketResponse() is the library half of the socket features: it
optionally sends a payload, then accumulates data until the body checks
pass, failing on close or after a timeout. The body-matching options are
shared with checkHttpResponse() through the exported MatchBodyOptions.

Also fixes two library bugs found along the way: http()'s auth option
was silently clobbered by the URL's empty credentials, and socket()
used the deprecated url.parse(), which printed a warning on every run.

Bumps version to 2.2.0.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015b9YwVTPmBeQqAhSwELNSV
Pull Request #15: Add the rewait command line tool and checkSocketResponse()

433 of 433 branches covered (100.0%)

Branch coverage included in aggregate %.

1155 of 1155 new or added lines in 12 files covered. (100.0%)

1929 of 1929 relevant lines covered (100.0%)

15.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33700871708.1 03 Sep 2026 12:46AM UTC 15
100.0
GitHub Action Run
Source Files on build 33700871708
  • Tree
  • List 15
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33700871708
  • Pull Request #15
  • PR Base - main (#33699786475)
  • Delete
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