-
Notifications
You must be signed in to change notification settings - Fork 16
Enable BugSnag error and performance on by default #282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
tomlongridge
wants to merge
5
commits into
main
Choose a base branch
from
tom/expand-bugsnag-usage
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* feat(common): add OTEL instrumentation * fix: ignore bump and telemetry in coverage * fix: call startActiveSpan without a guard
20dc673 to
7cc5bdc
Compare
Contributor
🎯 Coverage Target Met!📈 Coverage Metrics
📊 Test Statistics
🔍 Files Needing Coverage
📝 Report generated on Node.js v24.10.0 • View workflow • Coverage by Vitest + v8 |
sazap10
reviewed
Dec 15, 2025
also fixes an issue where the script was triggered for npm install commands too
sazap10
reviewed
Dec 16, 2025
sazap10
reviewed
Dec 16, 2025
| "src/pactflow/client/ai.ts", | ||
| "src/pactflow/client/base.ts", | ||
| "scripts/post-coverage-comment.js", | ||
| "scripts/bump.js", |
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should just change this to scripts/*.js
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Goal
Tracks errors and performance of the MCP server.
Design
Uses the OTel Node SDK configured for BugSnag Performance monitoring, with attributes for the transport mode and OS.
The
MCP_SERVER_BUGSNAG_API_KEYcan still be used to set the destination of the data, but if not specified it will go to SmartBear's instance. The variable can be set to an empty value to disable all instrumentation.Changeset
I've moved the environment variable reading to a
config.tsfile so it can be shared.Release stages are used to have BugSnag enabled for end-users when using a published SDK and not in development. This is updated by a new
build:productionscript that's triggered by thepreparephase and the Docker build.Testing
Confirmed the data appears (or not) when configured.