Open
Conversation
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Contributor
Coverage report
Test suite run success3772 tests passing in 1453 suites. Report generated by 🧪jest coverage report action from 2048bb9 |
ad62394 to
f365302
Compare
| } | ||
| outputDebug(message) | ||
|
|
||
| if (error instanceof Error) { |
Contributor
There was a problem hiding this comment.
We don't need to wrap this as sendErrorToBugsnag already does this internally.
f365302 to
56a6782
Compare
alexanderMontague
approved these changes
Feb 13, 2026
56a6782 to
54c045e
Compare
3 tasks
54c045e to
2048bb9
Compare
Contributor
|
We detected some changes at Caution DO NOT create changesets for features which you do not wish to be included in the public changelog of the next CLI release. |
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
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.

WHY are these changes introduced?
Related to incident #inv-18682 (February 2026 OTLP failures)
When telemetry collection fails (e.g., OTLP endpoint unavailable), the CLI currently only logs to debug output, which means these failures go unnoticed unless users run with
--verbose. This leaves the operations team blind to systemic telemetry infrastructure issues.During the February 2026 incident, OTLP failures were silently occurring and only discovered when users manually reported CLI issues. We need visibility into telemetry failures without impacting the developer experience.
WHAT is this pull request doing?
Changes:
'expected_error'- infrastructure issue, not a CLI bug)Implementation:
sendErrorToBugsnaginanalytics.tsWhat this achieves:
Protection against overwhelming error reporting:
How to test your changes?
Automated tests:
pnpm test packages/cli-kit/src/public/node/analytics.test.tsThe new test
reports telemetry failures to Bugsnagverifies:sendErrorToBugsnagis called when telemetry fails'expected_error'(not a CLI bug)Manual testing:
Manual testing in development is limited because Bugsnag reporting is disabled in local/development environments (
isLocalEnvironment()returns true).The changes have been verified through:
In production, this will work correctly when:
isLocalEnvironment()returns falseNote: This PR provides operational visibility. A separate PR addresses preventing CLI crashes from unhandled OTLP rejections.
Post-release steps
n/a
Measuring impact
This is an operational improvement. Impact will be measured by:
Checklist