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

Altinity / altinity-mcp / 26739958359
77%

Build:
DEFAULT BRANCH: main
Ran 01 Jun 2026 06:57AM UTC
Jobs 1
Files 22
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

01 Jun 2026 06:55AM UTC coverage: 76.766% (-1.8%) from 78.578%
26739958359

push

github

BorisTyshkevich
fix(test): add email claim to forged JWT in E2E auth-rejection test

The parallel subtests share one server instance whose chOAuthMethodCache
may be cold when ExecuteQuery_InvalidBearerTokenRejectedByClickHouse runs.
On the cold path, Bearer is probed first (Antalya rejects the unsigned JWT),
then MCP falls back to Basic — which requires an email claim to build the
Basic username.  Without the claim, MCP errors before reaching ClickHouse
and the assertion `contains "AUTHENTICATION_FAILED"` fails.

Adding `email` to the forged JWT lets the Basic probe reach ClickHouse in
both warm-cache (Bearer) and cold-cache (Basic fallback) scenarios, so
ClickHouse always issues the AUTHENTICATION_FAILED the test expects.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

4695 of 6116 relevant lines covered (76.77%)

1.05 hits per line

Coverage Regressions

Lines Coverage ∆ File
219
69.02
2.28% cmd/altinity-mcp/oauth_server.go
158
80.16
-5.55% cmd/altinity-mcp/main.go
153
64.34
-0.64% pkg/server/server_dynamic_tools.go
76
80.85
-6.89% pkg/server/server.go
17
91.27
-4.01% pkg/server/server_client.go
15
87.3
1.19% pkg/config/cli_reflect.go
Jobs
ID Job ID Ran Files Coverage
1 26739958359.1 01 Jun 2026 06:57AM UTC 22
76.77
GitHub Action Run
Source Files on build 26739958359
  • Tree
  • List 22
  • Changed 7
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26739958359
  • ee949ea7 on github
  • Prev Build on main (#26455335120)
  • Next Build on main (#26809032861)
  • 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