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

umputun / ralphex / 32586472500
86%

Build:
DEFAULT BRANCH: master
Ran 22 Aug 2026 05:02PM UTC
Jobs 1
Files 55
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

22 Aug 2026 05:01PM UTC coverage: 84.383% (+0.2%) from 84.191%
32586472500

push

github

web-flow
fix: surface a failed plan archive instead of reporting a clean success (#441)

* fix: surface a failed plan archive in the progress log and completion summary

When the archive commit is rejected - a commit-msg hook enforcing conventional
commits is the reported case - the plan move stays staged in the index while the
run prints "all phases completed successfully". The failure went to stderr only,
so nothing about it survived in the progress file, and a green run could hand
back a dirty tree with no recorded reason.

The failure now goes through the progress logger as a WARN, so the progress file
keeps it and a watch-mode dashboard picks it up, and the completion summary ends
with a "plan archive incomplete" line pointing at git status. The archive step
moves out of executePlan into archivePlan so the WARN itself is covered by a test
against a repo with a rejecting hook, not just the summary line.

This does not make the run non-green everywhere: the completion notification is
sent before the archive is attempted, the exit status is unchanged, and a
single-session --serve dashboard does not see the WARN. #439 stays open for the
archive commit's subject and for whether the staged rename should be rolled back.

Related to #439

* fix(test): stop the config Load tests writing to the real ~/.config/ralphex

TestLoad_SetsConfigDir and TestLoad_PopulatesAllFields call Load(""), which
resolves DefaultConfigDir() and installs the default config, prompts and agents
there. So `go test ./...` rewrote the user's own config directory on every run -
harmless while those files match the embedded defaults, and not harmless for a
config that has diverged.

Both now point HOME at a temp dir first, the same isolation
TestReset_EmptyConfigDirFallback already uses, so the default-dir path is still
exercised without touching real user state.

16 of 22 new or added lines in 1 file covered. (72.73%)

1 existing line in 1 file now uncovered.

7894 of 9355 relevant lines covered (84.38%)

225.71 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
53.1
1.05% cmd/ralphex/main.go

Coverage Regressions

Lines Coverage ∆ File
1
91.1
-0.34% pkg/web/session_manager.go
Jobs
ID Job ID Ran Files Coverage
1 32586472500.1 22 Aug 2026 05:02PM UTC 55
84.38
GitHub Action Run
Source Files on build 32586472500
  • Tree
  • List 55
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 82e888be on github
  • Prev Build on master (#32404424157)
  • Next Build on master (#32586694240)
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