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

mindersec / minder / 12160307325
58%

Build:
DEFAULT BRANCH: main
Ran 04 Dec 2024 01:15PM UTC
Jobs 1
Files 308
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

04 Dec 2024 01:02PM UTC coverage: 55.187% (-0.03%) from 55.218%
12160307325

push

github

web-flow
Simplify propagation of action settings (#5132)

* Simplify propagation of action settings

Currently, action settings are passed around via a complex dance of
getter/setter functions that span multiple places in the executor.

However, this is not necessary, as we've already read these settings at
the beginning of execution, and can just set them in place where we need
them.

This simplifies this logic and leverages the aggregate profile structure
to set this. It also enforces the setting as part of the action driver
initiatlization.

Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>

* Fix unit tests

Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>

* Fix linter issues

Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>

---------

Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>

29 of 44 new or added lines in 10 files covered. (65.91%)

6 existing lines in 5 files now uncovered.

16458 of 29822 relevant lines covered (55.19%)

38.73 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
33.16
-2.98% internal/engine/actions/actions.go
2
26.32
-1.46% internal/engine/actions/alert/alert.go
2
46.85
0.24% internal/engine/actions/alert/security_advisory/security_advisory.go
2
51.0
0.25% internal/engine/actions/remediate/gh_branch_protect/gh_branch_protect.go
2
60.38
0.11% internal/engine/actions/remediate/pull_request/pull_request.go
2
73.79
0.26% internal/engine/actions/remediate/rest/rest.go
4
44.44
-2.61% internal/engine/actions/remediate/remediate.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
51.0
0.25% internal/engine/actions/remediate/gh_branch_protect/gh_branch_protect.go
1
60.38
0.11% internal/engine/actions/remediate/pull_request/pull_request.go
1
73.79
0.26% internal/engine/actions/remediate/rest/rest.go
1
46.85
0.24% internal/engine/actions/alert/security_advisory/security_advisory.go
2
73.73
-0.85% internal/eea/eea.go
Jobs
ID Job ID Ran Files Coverage
1 12160307325.1 04 Dec 2024 01:15PM UTC 308
55.19
GitHub Action Run
Source Files on build 12160307325
  • Tree
  • List 308
  • Changed 20
  • Source Changed 12
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12160307325
  • d26452d6 on github
  • Prev Build on main (#12160298943)
  • Next Build on main (#12174848544)
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

© 2025 Coveralls, Inc