Skip to content

fix: restore Tests and Helm Chart CI pipelines - #4

Draft
daimoniac wants to merge 1 commit into
mainfrom
cursor/fix-ci-pipelines-38f0
Draft

fix: restore Tests and Helm Chart CI pipelines#4
daimoniac wants to merge 1 commit into
mainfrom
cursor/fix-ci-pipelines-38f0

Conversation

@daimoniac

@daimoniac daimoniac commented Jul 29, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes the two failing main workflows from recent CI emails:

  • Helm Chart CI/CDct lint failed on trailing spaces in charts/suppline/values.yaml
  • Tests / Lintgolangci-lint gosimple S1016: MCP tool handlers should convert identical structs instead of copying fields into literals

Changes

  • Strip trailing whitespace in Helm values.yaml
  • Use direct conversions (ListScansParams(in), etc.) in internal/mcp/tools.go

Validation

  • go build ./internal/mcp/...
  • golangci-lint run ./internal/mcp/... (clean)
  • Confirmed no trailing spaces remain in values.yaml
  • PR CI: Helm Chart CI/CD ✅ and Tests
Open in Web Open in Cursor 

Clear trailing spaces in the Helm values file that failed chart-testing
lint, and use direct type conversions in MCP tool handlers to satisfy
gosimple S1016.

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