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

mindersec / minder / 24279417376
59%

Build:
DEFAULT BRANCH: main
Ran 11 Apr 2026 09:26AM UTC
Jobs 1
Files 342
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

11 Apr 2026 09:17AM UTC coverage: 59.326% (+0.02%) from 59.308%
24279417376

push

github

web-flow
test(ruletypes): add table-driven unit tests for release phase conver… (#6328)

test(ruletypes): add table-driven unit tests for release phase conversion functions

Add pkg/ruletypes/util_test.go with 12 table-driven test cases covering:
- GetPBReleasePhaseFromDBReleaseStatus: nil input, all four valid DB statuses
  (alpha/beta/ga/deprecated), and an invalid status that must error
- GetDBReleaseStatusFromPBReleasePhase: all four valid protobuf phases,
  UNSPECIFIED (which defaults to GA via EnsureDefault), and an out-of-range
  enum value that must error

Both functions were previously at 0% statement coverage. After this change
GetPBReleasePhaseFromDBReleaseStatus reaches 100% and
GetDBReleaseStatusFromPBReleasePhase reaches 85.7% (the remaining branch
requires a Scan type-switch hit that is unreachable from valid Go code).

All tests are parallel, race-clean, and require no DB or network mocks.

19670 of 33156 relevant lines covered (59.33%)

36.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24279417376.1 11 Apr 2026 09:26AM UTC 342
59.33
GitHub Action Run
Source Files on build 24279417376
  • Tree
  • List 342
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24279417376
  • df9da39c on github
  • Prev Build on main (#24274295807)
  • Next Build on main (#24279484762)
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