• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mpyw / sql-http-proxy / 20805587254
52%

Build:
DEFAULT BRANCH: master
Ran 08 Jan 2026 04:33AM UTC
Jobs 2
Files 10
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Jan 2026 04:32AM UTC coverage: 51.867%. First build
20805587254

push

github

mpyw
refactor: restructure project with proper package separation

Major changes:
- Reorganized to internal/ package layout
  - internal/cli/commands/ - CLI entry point
  - internal/config/ - Config parsing and validation
  - internal/db/ - Database connection management
  - internal/js/ - JavaScript transform execution (renamed from transform)
  - internal/server/ - HTTP handlers and routing
- Split handler.go into focused files
  - handler.go - Shared types and utilities
  - query_handler.go - Query handlers
  - mutation_handler.go - Mutation handlers
  - server.go - ServeMux setup
- Simplified app.go to use new package APIs
  - config.ValidateTransforms()
  - db.Connect()
  - server.NewServeMux()
- Added comprehensive e2e tests with 1:1 test/config file naming
- Added golangci-lint configuration
- Native Error objects always return 500 (security: don't trust user JS)
- Fixed test file naming conventions for clarity

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

504 of 969 new or added lines in 10 files covered. (52.01%)

514 of 991 relevant lines covered (51.87%)

15.94 hits per line

Uncovered Changes

Lines Coverage ∆ File
153
48.31
internal/server/mutation_handler.go
93
64.23
internal/server/query_handler.go
75
40.0
internal/config/config.go
66
0.0
internal/cli/commands/app.go
44
74.12
internal/js/transform.go
18
0.0
internal/server/server.go
9
0.0
internal/db/db.go
6
60.0
internal/server/handler.go
1
0.0
cmd/sql-http-proxy/main.go
Jobs
ID Job ID Ran Files Coverage
1 go1.23 - 20805587254.1 08 Jan 2026 04:33AM UTC 10
51.87
GitHub Action Run
2 go1.24 - 20805587254.2 08 Jan 2026 04:33AM UTC 10
51.87
GitHub Action Run
Source Files on build 20805587254
  • Tree
  • List 10
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20805587254
  • 9937cb17 on github
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc