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

umputun / ralphex / 25464741497
83%

Build:
DEFAULT BRANCH: master
Ran 06 May 2026 10:30PM UTC
Jobs 1
Files 42
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

06 May 2026 10:29PM UTC coverage: 82.574% (-0.08%) from 82.658%
25464741497

push

github

web-flow
fix: pre-initialize config dir (#304)

* fix: pre-initialize config dir

If a user runs the Ralphex Docker image via a shell wrapper, the
.config/ralphex directory may not be initialized. This results in an
error when the container attempts to create the directory.

* fix(ralphex-dk): create config dir with 0700 and handle OSError

* fix(ralphex-dk): address PR review — test hermeticity and error style

* fix(ralphex-dk): extend Path.home() patch to all build_volumes test classes

the prior fix only added the Path.home() patch to TestBuildVolumes, but
five other classes still call build_volumes() without patching:
TestBuildVolumesGitignore, TestBuildDockerCmd, TestBuildVolumesClaudeHome,
TestSelinuxVolumeSuffix, TestClaudeConfigDirEnv. After the new
unconditional mkdir for ~/.config/ralphex, those would silently create
the dir in the developer's real HOME on every suite run.

extract the setUp/tearDown into a _FakeHomeTestCase base class and have
all six classes inherit from it. also patch HOME env var in addition to
Path.home so Path('~/...').expanduser() stays consistent with Path.home(),
preventing test_tilde_expansion from diverging.

verified with mtime check: real ~/.config/ralphex is no longer touched
when the suite runs.

---------

Co-authored-by: Umputun <umputun@gmail.com>

6852 of 8298 relevant lines covered (82.57%)

220.5 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
78.24
-3.11% pkg/web/watcher.go
1
91.1
-0.34% pkg/web/session_manager.go
Jobs
ID Job ID Ran Files Coverage
1 25464741497.1 06 May 2026 10:30PM UTC 42
82.57
GitHub Action Run
Source Files on build 25464741497
  • Tree
  • List 42
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ee3918e8 on github
  • Prev Build on master (#25362418760)
  • Next Build on master (#25509109438)
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