Skip to content

pkg/mcp: add tests for readonly enforcement, delete validation, and help resources#3831

Open
Ankitsinghsisodya wants to merge 4 commits into
knative:mainfrom
Ankitsinghsisodya:fix/mcp-missing-test-coverage
Open

pkg/mcp: add tests for readonly enforcement, delete validation, and help resources#3831
Ankitsinghsisodya wants to merge 4 commits into
knative:mainfrom
Ankitsinghsisodya:fix/mcp-missing-test-coverage

Remove unused readonly mode tests for delete and deploy tools

a07cc5e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 2, 2026 in 0s

53.46% (+2.23%) compared to aca4f21

View this Pull Request on Codecov

53.46% (+2.23%) compared to aca4f21

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.46%. Comparing base (aca4f21) to head (a07cc5e).
⚠️ Report is 18 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3831      +/-   ##
==========================================
+ Coverage   51.23%   53.46%   +2.23%     
==========================================
  Files         200      200              
  Lines       23441    23450       +9     
==========================================
+ Hits        12009    12537     +528     
+ Misses      10272     9659     -613     
- Partials     1160     1254      +94     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.