Skip to content

Add E2E tests for Skills API endpoints - #3997

Merged
JAORMX merged 1 commit into
mainfrom
jaormx/skills-api-e2e-tests
Mar 4, 2026
Merged

JAORMX merged 1 commit into
mainfrom
jaormx/skills-api-e2e-tests

Conversation

@JAORMX

@JAORMX JAORMX commented Mar 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add comprehensive E2E tests for the Skills REST API (/api/v1beta/skills)
  • Covers validate, build, list, install, info, uninstall endpoints plus full lifecycle integration
  • 24 test cases covering happy paths, error handling (bad JSON, invalid names, 404s, path traversal), and a complete install→list→info→uninstall→verify cycle
  • Follows existing api_secrets_test.go patterns: Ginkgo v2 + Gomega, local response structs, By() narrative, ExpectWithOffset helpers

This covers the E2E testing portion of #3655 (ServerBuilder wiring + E2E tests). Groups-related tests are excluded as they depend on #3654.

Test plan

  • task build passes
  • task lint passes (0 issues)
  • task license-check passes
  • task test-e2e -- --label-filter="skills" runs skills tests (requires Docker runtime)
  • task test-e2e full suite shows no regressions

🤖 Generated with Claude Code

Add comprehensive end-to-end tests for the Skills REST API covering
validate, build, list, install, info, uninstall, and full lifecycle
integration. This covers the E2E testing portion of the ServerBuilder
wiring (#3655), excluding groups-related tests which depend on #3654.

Part of #3655

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@github-actions github-actions Bot added the size/L Large PR: 600-999 lines changed label Mar 4, 2026
@codecov

codecov Bot commented Mar 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.55%. Comparing base (f93bad7) to head (f76cc03).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3997      +/-   ##
==========================================
+ Coverage   68.47%   68.55%   +0.08%     
==========================================
  Files         437      437              
  Lines       44725    44751      +26     
==========================================
+ Hits        30624    30681      +57     
+ Misses      11715    11680      -35     
- Partials     2386     2390       +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.

@JAORMX
JAORMX merged commit 07bcbcc into main Mar 4, 2026
33 checks passed
@JAORMX
JAORMX deleted the jaormx/skills-api-e2e-tests branch March 4, 2026 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L Large PR: 600-999 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants