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

umputun / ralphex / 21224224536
75%
master: 80%

Build:
Build:
LAST BUILD BRANCH: refactor-git-service
DEFAULT BRANCH: master
Ran 21 Jan 2026 08:16PM UTC
Jobs 1
Files 9
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

21 Jan 2026 08:13PM UTC coverage: 75.284% (-0.1%) from 75.379%
21224224536

Pull #9

github

melonamin
add early dirty worktree check before branch operations

detect uncommitted changes before createBranchIfNeeded() attempts
to switch branches. go-git's wt.Checkout() fails with a cryptic error
when the worktree is dirty - this provides a clear error message instead.

- add IsDirty() method to pkg/git that checks for staged changes
  or modified tracked files (untracked files are intentionally ignored
  since they don't prevent checkout)
- call IsDirty() at the start of createBranchIfNeeded() after the
  "already on feature branch" early return
- add table-driven tests covering clean, staged, modified, and
  untracked scenarios
Pull Request #9: Add early dirty worktree check before branch operations

17 of 25 new or added lines in 2 files covered. (68.0%)

1459 of 1938 relevant lines covered (75.28%)

23.16 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
27.88
0.4% cmd/ralphex/main.go
4
70.1
0.78% pkg/git/git.go
Jobs
ID Job ID Ran Files Coverage
1 21224224536.1 21 Jan 2026 08:16PM UTC 9
75.28
GitHub Action Run
Source Files on build 21224224536
  • Tree
  • List 9
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #9
  • PR Base - master (#21222990299)
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