Skip to content

Conversation

@Dumbris
Copy link
Contributor

@Dumbris Dumbris commented Dec 9, 2025

Summary

  • Fixed 22 @Router annotations in internal/httpapi/server.go to include /api/v1 prefix for consistency
  • Added health endpoint documentation stubs (/healthz, /readyz) for Swagger
  • Fixed binary E2E tests that were failing due to missing API key authentication
  • Fixed TestGracefulShutdownNoPanic test that was hanging due to stderr pipe blocking

Test plan

  • All 31 internal packages pass unit tests
  • All 38 API E2E tests pass
  • OAS coverage at 100%
  • Linter passes with 0 issues

🤖 Generated with Claude Code

- Fix 22 @router annotations in internal/httpapi/server.go to include /api/v1 prefix
- Add health endpoint documentation stubs (/healthz, /readyz) for Swagger
- Update Makefile to exclude specs directory from swagger generation
- Fix binary E2E tests to use API key authentication:
  - Add TestAPIKey constant and include in all HTTP requests
  - Update HTTPClient to support API key header
  - Fix expected status codes for nonexistent server (404 vs 500)
- Fix TestGracefulShutdownNoPanic: start stderr reading goroutine immediately
  to prevent server blocking when debug logging fills pipe buffer
- Regenerate swagger.yaml with corrected endpoint paths

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@github-actions
Copy link

github-actions bot commented Dec 9, 2025

📦 Build Artifacts

Workflow Run: View Run
Branch: fix/swagger-api-v1-prefix-and-e2e-tests

Available Artifacts

  • archive-darwin-amd64 (23 MB)
  • archive-darwin-arm64 (20 MB)
  • archive-linux-amd64 (12 MB)
  • archive-linux-arm64 (11 MB)
  • archive-windows-amd64 (22 MB)
  • archive-windows-arm64 (20 MB)
  • frontend-dist-pr (0 MB)
  • installer-dmg-darwin-amd64 (25 MB)
  • installer-dmg-darwin-arm64 (23 MB)

How to Download

Option 1: GitHub Web UI (easiest)

  1. Go to the workflow run page linked above
  2. Scroll to the bottom "Artifacts" section
  3. Click on the artifact you want to download

Option 2: GitHub CLI

gh run download 20061158281 --repo smart-mcp-proxy/mcpproxy-go

Note: Artifacts expire in 14 days.

@Dumbris Dumbris merged commit f0ca376 into main Dec 9, 2025
22 checks passed
@Dumbris Dumbris deleted the fix/swagger-api-v1-prefix-and-e2e-tests branch December 9, 2025 14:38
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