Skip to content

Conversation

@tomlongridge
Copy link
Contributor

Goal

Updates src/bugsnag/client/api/api.ts with latest changes from the Data Access API.

Changeset

Added extra instructions to the top of the file to describe the process of updating the client and removing the unwanted content.

Testing

Unit and manual tests.

gingerbenw and others added 27 commits November 19, 2025 14:49
* docs: 📝 add documentation for performance tools

* Update docs/products/SmartBear MCP Server/bugsnag-integration.md

Co-authored-by: Tom Longridge <[email protected]>

---------

Co-authored-by: Tom Longridge <[email protected]>
* feat: add network grouping tools

* update parameter descriptions

* docs: update integration docs

* fix: update return type of network request

* Update docs/products/SmartBear MCP Server/bugsnag-integration.md

Co-authored-by: Tom Longridge <[email protected]>

* drop unnecessary object property, and return array of endpoints

* test: add unit tests for new tools

---------

Co-authored-by: Tom Longridge <[email protected]>
* test(bugsnag): add types to mocks

The untyped mock objects hid some incorrect field names and made debugging tricky - this adds types to the mocks to ensure we spot breaking changes

* build: run tests on targeting integration branches
The untyped mock objects hid some incorrect field names and made debugging tricky - this adds types to the mocks to ensure we spot breaking changes
@github-actions
Copy link
Contributor

github-actions bot commented Nov 25, 2025

🎯 Coverage Target Met!

📈 Coverage Metrics

Metric Coverage Target Status
Lines 87.4% 80%
Functions 78.8% 80% ⚠️
Branches 87.7% 80%
Statements 87.4% 80%

📊 Test Statistics

  • Total Lines: 15,339 / 17,545
  • Total Functions: 189 / 240
  • Total Branches: 677 / 772
  • Total Statements: 15339 / 17545

🔍 Files Needing Coverage

File Coverage
src/bugsnag/client/api/CurrentUser.ts 0.0%
src/bugsnag/client/api/Error.ts 0.0%
src/bugsnag/client/api/Project.ts 0.0%
src/common/register-clients.ts 0.0%
src/common/transport-http.ts 0.0%

📝 Report generated on Node.js v24.10.0 • View workflow • Coverage by Vitest + v8

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