mirror of
https://github.com/FlipsideCrypto/flipside-mcp-extension.git
synced 2026-02-06 03:06:48 +00:00
* Add comprehensive unit tests for MCP proxy server - Add main_test.go with full test coverage for proxy functionality - Test client creation, authentication, URL conversion, and error handling - Include mock MCP server for integration testing - Update Makefile to run unit tests via 'make test' - Add build target for local development - Ensure proper proxy call forwarding and authentication verification 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Add comprehensive CI/CD pipeline with GitHub Actions - Add test.yml workflow for basic unit testing on PRs and pushes - Add ci.yml workflow with comprehensive testing, linting, and security scanning - Include cross-platform build verification (Linux, macOS, Windows) - Add golangci-lint configuration for consistent code quality - Add PR template for structured pull request reviews - Enable test coverage reporting with race detection - Include security scanning with gosec and govulncheck - Integrate Makefile testing to verify build system works 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Update README with testing and CI/CD documentation - Add comprehensive testing section with coverage details - Document CI/CD pipeline and quality gates - Include local testing commands for contributors - Explain how to ensure PRs pass all checks 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Fix linting and formatting issues for CI compliance - Fix errcheck violations: handle ParseBool and JSON encoding errors - Fix gofmt issues: remove trailing whitespace and ensure newlines - Update GitHub Actions to use upload-artifact@v4 (v3 deprecated) - Ensure all error return values are properly checked - Add proper error handling in mock server responses 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * ignore some ci checks for now --------- Co-authored-by: Claude <noreply@anthropic.com>
50 lines
1015 B
YAML
50 lines
1015 B
YAML
run:
|
|
timeout: 5m
|
|
modules-download-mode: readonly
|
|
|
|
linters:
|
|
enable:
|
|
- errcheck
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- staticcheck
|
|
- typecheck
|
|
- unused
|
|
- gofmt
|
|
- goimports
|
|
- goconst
|
|
- misspell
|
|
- revive
|
|
- unconvert
|
|
- unparam
|
|
- gosec
|
|
disable:
|
|
- deadcode # deprecated
|
|
- varcheck # deprecated
|
|
- structcheck # deprecated
|
|
|
|
linters-settings:
|
|
gosec:
|
|
excludes:
|
|
- G304 # file path provided as taint input - we handle this carefully
|
|
revive:
|
|
rules:
|
|
- name: exported
|
|
disabled: true # Allow unexported functions for internal use
|
|
errcheck:
|
|
check-type-assertions: true
|
|
check-blank: true
|
|
|
|
issues:
|
|
exclude-rules:
|
|
# Exclude some linters from running on tests files
|
|
- path: _test\.go
|
|
linters:
|
|
- gosec
|
|
- unparam
|
|
# Exclude gosec from main.go for environment variable usage
|
|
- path: main\.go
|
|
linters:
|
|
- gosec
|
|
text: "G104:" # Ignore unhandled errors for log output |