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

umputun / mpt / 16313523514
88%

Build:
DEFAULT BRANCH: master
Ran 16 Jul 2025 07:44AM UTC
Jobs 1
Files 12
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

16 Jul 2025 07:43AM UTC coverage: 76.946% (-2.4%) from 79.329%
16313523514

push

github

umputun
refactor: eliminate global gitCleanupFiles variable

- Replace global gitCleanupFiles with gitDiffer struct to encapsulate state
- Introduce GitDiffProcessor interface for dependency injection
- Move Builder methods from git.go to builder.go for better organization
- Change from manual cleanup to automatic cleanup via defer in Builder.Build()
- Add comprehensive mock call tracking to tests
- Improve thread safety by eliminating global state
- Maintain backward compatibility while improving architecture

This refactoring improves testability, eliminates potential race conditions,
and follows Go best practices for dependency injection and resource management.

77 of 100 new or added lines in 3 files covered. (77.0%)

22 existing lines in 1 file now uncovered.

1265 of 1644 relevant lines covered (76.95%)

19.68 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
78.57
0.79% pkg/prompt/builder.go
15
61.04
-24.22% pkg/prompt/git.go

Uncovered Existing Lines

Lines Coverage ∆ File
22
61.04
-24.22% pkg/prompt/git.go
Jobs
ID Job ID Ran Files Coverage
1 16313523514.1 16 Jul 2025 07:44AM UTC 12
76.95
GitHub Action Run
Source Files on build 16313523514
  • Tree
  • List 12
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 482b1d52 on github
  • Prev Build on master (#16231326616)
  • Next Build on master (#16314707654)
  • Delete
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