Skip to content

Add MCP burned budget range tool - #824

Merged
slok merged 2 commits into
mainfrom
slok/add-burned-budget-tool
May 25, 2026
Merged

Add MCP burned budget range tool#824
slok merged 2 commits into
mainfrom
slok/add-burned-budget-tool

Conversation

@slok-bot

Copy link
Copy Markdown
Collaborator

Summary

  • add the get_burned_budget_range MCP tool
  • return compressed time series with RFC3339 start timestamp and shared step metadata
  • explain the normalized remaining-budget semantics in the tool description

AI

AI-assistant: openai/gpt-5.4
Usage: assisted

Signed-off-by: Slok Bot <slok69+slokbot@gmail.com>
@slok-bot
slok-bot requested a review from slok as a code owner May 25, 2026 14:55
@codecov-commenter

codecov-commenter commented May 25, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 38.04348% with 57 lines in your changes missing coverage. Please review.
✅ Project coverage is 31.18%. Comparing base (24d9a45) to head (f0c9411).

Files with missing lines Patch % Lines
internal/http/mcp/tools/toolsmock/mocks.go 0.00% 46 Missing ⚠️
...rnal/http/mcp/tools/get_slo_burned_budget_range.go 81.39% 4 Missing and 4 partials ⚠️
internal/http/mcp/mcp.go 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #824      +/-   ##
==========================================
+ Coverage   31.11%   31.18%   +0.06%     
==========================================
  Files         147      148       +1     
  Lines        9040     9132      +92     
==========================================
+ Hits         2813     2848      +35     
- Misses       5983     6036      +53     
- Partials      244      248       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: Slok Bot <slok69+slokbot@gmail.com>
@slok
slok merged commit 636daa0 into main May 25, 2026
23 of 24 checks passed
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.

3 participants