Skip to content

PMM-15129 Fix gosec Go linter issues (p2)#5640

Draft
maxkondr wants to merge 7 commits into
mainfrom
PMM-15129-fix-golint-gosec-p2
Draft

PMM-15129 Fix gosec Go linter issues (p2)#5640
maxkondr wants to merge 7 commits into
mainfrom
PMM-15129-fix-golint-gosec-p2

fix

84089ab
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 15, 2026 in 1s

44.36% (+0.76%) compared to 31318c7

View this Pull Request on Codecov

44.36% (+0.76%) compared to 31318c7

Details

Codecov Report

❌ Patch coverage is 50.76923% with 64 lines in your changes missing coverage. Please review.
✅ Project coverage is 44.36%. Comparing base (31318c7) to head (84089ab).
⚠️ Report is 33 commits behind head on main.

Files with missing lines Patch % Lines
managed/cmd/pmm-managed/main.go 0.00% 12 Missing ⚠️
...naged/services/management/backup/backup_service.go 0.00% 5 Missing and 1 partial ⚠️
...aged/services/management/backup/restore_service.go 0.00% 5 Missing and 1 partial ⚠️
managed/services/alerting/service.go 82.75% 3 Missing and 2 partials ⚠️
managed/services/management/checks.go 83.87% 3 Missing and 2 partials ⚠️
managed/services/server/logs.go 0.00% 5 Missing ⚠️
managed/services/user/user.go 16.66% 3 Missing and 2 partials ⚠️
managed/utils/validators/alerting_rules.go 42.85% 2 Missing and 2 partials ⚠️
managed/cmd/pmm-encryption-rotation/main.go 0.00% 3 Missing ⚠️
managed/utils/encryption/encryption.go 0.00% 3 Missing ⚠️
... and 6 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5640      +/-   ##
==========================================
+ Coverage   43.59%   44.36%   +0.76%     
==========================================
  Files         415      415              
  Lines       43134    42903     -231     
==========================================
+ Hits        18804    19033     +229     
+ Misses      22454    21986     -468     
- Partials     1876     1884       +8     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.