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

stacklok / minder / 9159810114
53%

Build:
DEFAULT BRANCH: main
Ran 20 May 2024 02:01PM UTC
Jobs 1
Files 192
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

20 May 2024 01:55PM UTC coverage: 49.955% (-0.04%) from 49.995%
9159810114

push

github

web-flow
Improve error handling for `GetCredentialStateForProvider` (#3373)

The `GetCredentialStateForProvider` swallows an error since it was
originally written for a codepath where the error was not important.
Since then, it is used in a second place where the error is important.
I'm not sure if it's possible for the error to get triggered in
practice, but I managed to trigger the error path while writing unit
tests, which led to a strange and hard to debug error happening after
the error was skipped over.

Refactor this function to return an error. Ignore it in the call site
where it should be ignored, and react to it where it is significant. As
a nice side effect of this change, the control flow of
`GetCredentialStateForProvider` is significantly simplified.

Some unrelated unit test improvements from an ongoing development branch
have also been added to this branch.

8 of 23 new or added lines in 4 files covered. (34.78%)

1 existing line in 1 file now uncovered.

9411 of 18839 relevant lines covered (49.95%)

52.43 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9159810114.1 20 May 2024 02:01PM UTC 0
49.95
GitHub Action Run
Source Files on build 9159810114
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #9159810114
  • c886c5dd on github
  • Prev Build on main (#9159035810)
  • Next Build on main (#9159833828)
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