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

sds / overcommit / 42759854195
100%
master: 91%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 10 Nov 2026 05:05AM UTC
Jobs 18
Files 223
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

10 Nov 2026 05:04AM UTC coverage: 92.45% (+0.008%) from 92.442%
42759854195

push

github

web-flow
Fail when Git cannot enumerate tracked files (#923)

`overcommit --run` currently reports success when Git cannot read the
index, because `GitRepo.all_files` treats failed `git ls-files` commands
as valid empty output. Check both enumeration results and raise an
Overcommit error containing Git's exit status and output before running
hooks against an incomplete file list.

Fixes #909.

Reproduced locally with a corrupt index in a disposable repository: the
CLI regression test exited 0 before this change. Regression coverage
also checks the second enumeration command failing independently, a
valid empty index, untracked and deleted files, and a normal
trailing-whitespace failure. Existing deleted-file and submodule
behavior is preserved.

Validation: full local RSpec suite (1,718 examples); RuboCop on changed
Ruby files. GitHub Actions additionally exercises Linux and Windows on
Ruby 3.3, 3.4, and 4.0.

The first CI run passed all test jobs and lint, with aggregate coverage
increasing to 92.450%. Partial-shard Coveralls comparisons reported
decreases because added examples changed shard assignments. Additional
boundary controls preserve the existing assignment offsets; the final
run must pass those comparisons as well.

6 of 6 new or added lines in 1 file covered. (100.0%)

3343 of 3616 relevant lines covered (92.45%)

3814.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 ruby4.0-windows-shard4of5 - 42759854195.1 10 Nov 2026 05:06AM UTC 446
73.44
GitHub Action Run
2 ruby3.3-ubuntu-shard1of1 - 42759854195.2 10 Nov 2026 05:05AM UTC 446
92.41
GitHub Action Run
3 ruby3.4-windows-shard5of5 - 42759854195.3 10 Nov 2026 05:05AM UTC 446
73.42
GitHub Action Run
4 ruby3.4-ubuntu-shard1of1 - 42759854195.4 10 Nov 2026 05:05AM UTC 446
92.42
GitHub Action Run
5 ruby4.0-windows-shard1of5 - 42759854195.5 10 Nov 2026 05:05AM UTC 446
71.81
GitHub Action Run
6 ruby4.0-ubuntu-shard1of1 - 42759854195.6 10 Nov 2026 05:05AM UTC 446
92.42
GitHub Action Run
7 ruby4.0-windows-shard5of5 - 42759854195.7 10 Nov 2026 05:05AM UTC 446
73.47
GitHub Action Run
8 ruby3.4-windows-shard3of5 - 42759854195.8 10 Nov 2026 05:05AM UTC 446
77.62
GitHub Action Run
9 ruby3.3-windows-shard2of5 - 42759854195.9 10 Nov 2026 05:06AM UTC 446
72.33
GitHub Action Run
10 ruby4.0-windows-shard3of5 - 42759854195.10 10 Nov 2026 05:06AM UTC 446
77.62
GitHub Action Run
11 ruby3.4-windows-shard2of5 - 42759854195.11 10 Nov 2026 05:05AM UTC 446
72.28
GitHub Action Run
12 ruby3.3-windows-shard3of5 - 42759854195.12 10 Nov 2026 05:06AM UTC 446
77.65
GitHub Action Run
13 ruby3.3-windows-shard4of5 - 42759854195.13 10 Nov 2026 05:06AM UTC 446
73.47
GitHub Action Run
14 ruby3.4-windows-shard4of5 - 42759854195.14 10 Nov 2026 05:05AM UTC 446
73.44
GitHub Action Run
15 ruby3.3-windows-shard5of5 - 42759854195.15 10 Nov 2026 05:06AM UTC 446
73.47
GitHub Action Run
16 ruby4.0-windows-shard2of5 - 42759854195.16 10 Nov 2026 05:06AM UTC 446
72.2
GitHub Action Run
17 ruby3.3-windows-shard1of5 - 42759854195.17 10 Nov 2026 05:05AM UTC 446
71.84
GitHub Action Run
18 ruby3.4-windows-shard1of5 - 42759854195.18 10 Nov 2026 05:06AM UTC 446
71.81
GitHub Action Run
Source Files on build 42759854195
  • Tree
  • List 223
  • Changed 222
  • Source Changed 1
  • Coverage Changed 222
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42759854195
  • 3bf9d27b on github
  • Prev Build on main (#42756921082)
  • Next Build on main (#42760248530)
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