Skip to content

chore: scope the SA1019 exclusion to protobuf deprecations - #1816

Merged
Dosik13 merged 1 commit into
mainfrom
fix/lint-sa1019-staticcheck
Aug 20, 2026
Merged

chore: scope the SA1019 exclusion to protobuf deprecations#1816
Dosik13 merged 1 commit into
mainfrom
fix/lint-sa1019-staticcheck

Conversation

@Dosik13

@Dosik13 Dosik13 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Description:

Golangci-lint v2.13.0 began reporting SA1019 for HAPI protobuf fields the SDK must keep reading for wire compatibility, turning CI red on every branch. Exclude those findings without disabling deprecation reporting for the SDK's other dependencies.

  • Exclude SA1019 for protobuf-origin deprecations via a scoped exclusion rule

Related issue(s):

Fixes #

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@lfdt-bot

lfdt-bot commented Aug 20, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@codecov

codecov Bot commented Aug 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: dosi <dosi.kolev@limechain.tech>
@Dosik13
Dosik13 force-pushed the fix/lint-sa1019-staticcheck branch from 32aac61 to 2121fff Compare August 20, 2026 11:23
@Dosik13
Dosik13 marked this pull request as ready for review August 20, 2026 11:25
@Dosik13
Dosik13 requested review from a team as code owners August 20, 2026 11:25
@Dosik13
Dosik13 requested a review from gsstoykov August 20, 2026 11:25
@Dosik13 Dosik13 changed the title chore: exclude SA1019 from staticcheck chore: scope the SA1019 exclusion to protobuf deprecations Aug 20, 2026
@Dosik13
Dosik13 merged commit 2378df9 into main Aug 20, 2026
16 checks passed
@Dosik13
Dosik13 deleted the fix/lint-sa1019-staticcheck branch August 20, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants