Skip to content

fix: resolve CI lint failures (MCP gosimple + Helm trailing spaces) - #5

Draft
daimoniac wants to merge 1 commit into
mainfrom
cursor/fix-ci-failures-5cc6
Draft

fix: resolve CI lint failures (MCP gosimple + Helm trailing spaces)#5
daimoniac wants to merge 1 commit into
mainfrom
cursor/fix-ci-failures-5cc6

Conversation

@daimoniac

@daimoniac daimoniac commented Jul 29, 2026

Copy link
Copy Markdown
Owner

Summary

CI on main was failing in two workflows after recent commits:

  1. Tests / Lintgolangci-lint gosimple S1016 in internal/mcp/tools.go: identical input→params structs should use type conversion instead of field-by-field literals.
  2. Helm Chart CI/CDct lint failed on trailing spaces in charts/suppline/values.yaml.

Changes

  • Use ListScansParams(in), ListVEXParams(in), etc. in MCP tool handlers.
  • Strip trailing whitespace from Helm values.yaml.

Validation

  • Tests (PR): Unit Tests ✅, Lint ✅
  • Helm Chart CI/CD (PR): lint-and-test ✅
Open in Web Open in Cursor 

Convert identical MCP input structs with type conversions (gosimple S1016)
and strip trailing spaces from charts/suppline/values.yaml for chart-testing.

Co-authored-by: Stefan Knott <daimoniac@users.noreply.github.com>
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.

2 participants