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

umputun / ralphex / 22338299817
82%

Build:
DEFAULT BRANCH: master
Ran 24 Feb 2026 05:44AM UTC
Jobs 1
Files 40
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

24 Feb 2026 05:42AM UTC coverage: 81.836% (-0.05%) from 81.886%
22338299817

push

github

web-flow
fix: make web dashboard reachable from host in Docker (#152)

* fix: make web dashboard reachable from host in Docker

The dashboard server was hardcoded to 127.0.0.1, making it unreachable
from the host when running via the Docker wrapper despite port mapping.

Add --host flag (default 127.0.0.1, env RALPHEX_WEB_HOST) so the bind
address is configurable. The Docker wrapper sets RALPHEX_WEB_HOST=0.0.0.0
when --serve is used, keeping non-Docker users on loopback by default.

Fixes #151

* fix: address review feedback on bind address PR

- use net.JoinHostPort for IPv6-safe address formatting
- add ConnectHost helper to map 0.0.0.0/:: to localhost in user-facing URLs
- bind Docker host port to 127.0.0.1 only (avoid exposing unauthenticated dashboard)
- respect existing RALPHEX_WEB_HOST env var in wrapper instead of unconditionally overriding

* fix: thread host through printWatchInfo for correct dashboard URL

* fix: handle IPv6 loopback in ConnectHost and add test coverage

- map ::1 and 127.0.0.1 to localhost in user-facing URLs
- add tests for ConnectHost and ServerConfig.host()

20 of 23 new or added lines in 3 files covered. (86.96%)

4 existing lines in 2 files now uncovered.

5402 of 6601 relevant lines covered (81.84%)

186.62 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
33.21
-0.13% cmd/ralphex/main.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
87.98
-0.51% pkg/web/session_manager.go
2
79.89
-1.09% pkg/web/watcher.go
Jobs
ID Job ID Ran Files Coverage
1 22338299817.1 24 Feb 2026 05:44AM UTC 40
81.84
GitHub Action Run
Source Files on build 22338299817
  • Tree
  • List 40
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6cfade1d on github
  • Prev Build on master (#22316222108)
  • Next Build on master (#22346112727)
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