Skip to content

Conversation

yousif-bugsnag
Copy link
Contributor

Added

  • Set default endpoints based on API key #643
  • (core) Added onSpanStart callbacks config option to allow spans to be inspected and modified on creation. #631
  • (svelte-kit-performance) Added new routing provider for instrumenting route change spans with SvelteKit #632
  • (core) Introduced SpanControlProvider interface and BugsnagPerformance.getSpanControls method to allow access to a registered SpanControlProvider. #634
  • (browser, react-native) Added @bugsnag/plugin-named-spans package for tracking and accessing open spans by name #644
  • (react-native) Added @bugsnag/plugin-react-native-span-access package for accessing native spans from Javascript #633 #636 #639 #645

yousif-bugsnag and others added 30 commits May 16, 2025 11:28
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.13 to 3.28.18.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v3.28.13...ff0a06e)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.28.18
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Sync next with main (v2.13.0)
yousif-bugsnag and others added 19 commits June 25, 2025 13:19
To be re-enabled once the Android Performance span control changes have been released
… Android module to be old architecture compatible
…module to plugin-react-native-span-access for further clarity
Add plugin-named-spans and plugin-react-native-span-access packages
Copy link

github-actions bot commented Jun 25, 2025

Browser bundle size

NPM build

Package
Before 216.76 kB
After 232.87 kB
± +16,111 bytes ⚠️

CDN build

Unminified Minfied Minified + gzipped
Before 109.36 kB 41.62 kB 12.20 kB
After 117.97 kB 45.63 kB 13.16 kB
± +8,605 bytes ⚠️ +4,015 bytes ⚠️ +962 bytes ⚠️

Code coverage

Ok File (✨=New File) Lines Branches Functions Statements
✨ /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/app-state.ts 100%
(+100%)
100%
(+100%)
100%
(+100%)
100%
(+100%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/config.ts 91.52%
(+0%)
61.53%
(+13.84%)
36.36%
(+13.64%)
89.39%
(+0%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/core.ts 98.14%
(-0.73%)
60%
(-6.66%)
83.33%
(-13.22%)
95.54%
(-2.86%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/index.ts 100%
(+0%)
42.85%
(+0%)
66.66%
(+6.66%)
97.5%
(+0.28%)
🔴 ✨ /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/plugin.ts 82.35%
(+82.35%)
58.33%
(+58.33%)
75%
(+75%)
78.26%
(+78.26%)
🔴 ✨ /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/prioritized-set.ts 75.75%
(+75.75%)
50%
(+50%)
84.61%
(+84.61%)
73.91%
(+73.91%)
🔴 ✨ /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/span-control-provider.ts 78.94%
(+78.94%)
50%
(+50%)
85.71%
(+85.71%)
77.27%
(+77.27%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/span-factory.ts 92.9%
(-0.33%)
91.78%
(+2.9%)
91.42%
(-0.68%)
90.15%
(-0.24%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/span.ts 87.62%
(+0%)
66.66%
(+6.66%)
72.34%
(+0%)
83.73%
(+0%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/validation.ts 97.29%
(+2.7%)
74.39%
(+1.89%)
77.14%
(+5.72%)
91.25%
(+2.5%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/clock.ts 91.66%
(+0.36%)
62.5%
(+0%)
100%
(+0%)
94.28%
(+0.53%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/index.ts 100%
(+0%)
100%
(+0%)
50%
(-16.66%)
100%
(+0%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/auto-instrumentation/full-page-load-plugin.ts 88.88%
(-1.86%)
52.38%
(-3.87%)
60%
(-2.5%)
85.14%
(-4.01%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/auto-instrumentation/network-request-plugin.ts 84.61%
(+4.29%)
51.35%
(-1.98%)
75%
(-3.57%)
82.29%
(+1.34%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/auto-instrumentation/resource-load-plugin.ts 79.74%
(-1.68%)
46.42%
(+7.65%)
72.72%
(-5.05%)
77.96%
(+0.41%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/auto-instrumentation/route-change-plugin.ts 92.47%
(-1.11%)
69.23%
(+17.62%)
69.23%
(-0.33%)
90.47%
(+0.3%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/on-settle/index.ts 100%
(+0%)
56.25%
(+6.25%)
95.65%
(+0.65%)
89.02%
(+0.45%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/react-native/lib/span-factory.ts 95.83%
(+0%)
28.12%
(+0%)
69.56%
(+0%)
92.77%
(+0.18%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/react-native/lib/auto-instrumentation/network-request-plugin.ts 91.83%
(+1.14%)
75%
(+6.58%)
100%
(+0%)
93.54%
(+1.71%)
✨ /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/plugin-named-spans/lib/index.ts 100%
(+100%)
100%
(+100%)
100%
(+100%)
100%
(+100%)
🔴 ✨ /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/plugin-react-native-span-access/dist/NativeBugsnagNativeSpans.ts 0%
(+0%)
100%
(+100%)
100%
(+100%)
0%
(+0%)
🔴 ✨ /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/plugin-react-native-span-access/lib/NativeBugsnagNativeSpans.ts 0%
(+0%)
100%
(+100%)
100%
(+100%)
0%
(+0%)
🔴 ✨ /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/plugin-react-native-span-access/lib/index.ts 0%
(+0%)
0%
(+0%)
0%
(+0%)
0%
(+0%)
🔴 ✨ /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/plugin-react-navigation/lib/navigation-tracker.ts 0%
(+0%)
0%
(+0%)
0%
(+0%)
0%
(+0%)
🔴 ✨ /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/svelte-kit/lib/index.ts 0%
(+0%)
100%
(+100%)
0%
(+0%)
0%
(+0%)
🔴 ✨ /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/svelte-kit/lib/svelte-kit-routing-provider.ts 75%
(+75%)
61.53%
(+61.53%)
66.66%
(+66.66%)
75%
(+75%)

Total:

Lines Branches Functions Statements
82.38%(-4.2%) 61.09%(-1.13%) 72.44%(-4.57%) 78.77%(-4.57%)

Generated against 26f0761 on 25 June 2025 at 15:15:21 UTC

gingerbenw
gingerbenw previously approved these changes Jun 25, 2025
@yousif-bugsnag
Copy link
Contributor Author

Force-merging with a single known failure (SvelteKit tests on Safari 13)

@yousif-bugsnag yousif-bugsnag merged commit 437710b into main Jun 25, 2025
131 of 135 checks passed
@yousif-bugsnag yousif-bugsnag deleted the release/v2.14.0 branch June 25, 2025 16:36
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.

6 participants