Skip to content

Conversation

@majiayu000
Copy link

Fixes #2345

Changes

  • Enable tagliatelle linter rule for JSON tags with snake_case convention in .golangci.yml
  • Add nolint:tagliatelle directives to struct fields that use non-snake_case JSON tags for external API compatibility (PBM, Grafana, Azure, Percona version service, MongoDB)

Enable the tagliatelle linter rule for JSON tags with snake_case
convention. Add nolint:tagliatelle directives to external API
response struct fields that must match external service formats
(PBM, Grafana, Azure, Percona version service, MongoDB).

Signed-off-by: majiayu000 <1835304752@qq.com>
@majiayu000 majiayu000 requested a review from a team as a code owner January 2, 2026 01:15
@majiayu000 majiayu000 requested review from JiriCtvrtka and idoqo and removed request for a team January 2, 2026 01:15
@codecov
Copy link

codecov bot commented Jan 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 45.93%. Comparing base (4e3b1ff) to head (bfc92f7).

Additional details and impacted files
@@           Coverage Diff           @@
##               v3    #4882   +/-   ##
=======================================
  Coverage   45.93%   45.93%           
=======================================
  Files         364      364           
  Lines       37880    37880           
=======================================
  Hits        17399    17399           
- Misses      18805    18806    +1     
+ Partials     1676     1675    -1     
Flag Coverage Δ
admin 17.82% <ø> (ø)
agent 53.53% <ø> (ø)
managed 46.57% <ø> (ø)
vmproxy 72.09% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

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.

Enable tagliatelle linter rule

1 participant