Skip to content

Conversation

@runningcode
Copy link
Contributor

@runningcode runningcode commented Oct 20, 2025

Summary

  • Add new isEnabled() method to the IDistributionApi interface
  • DistributionIntegration returns true to indicate the real integration is active
  • NoOpDistributionApi returns false to indicate no distribution functionality is available

This allows clients to check whether the distribution integration is enabled at runtime.

#skip-changelog

🤖 Generated with Claude Code

Add a new isEnabled() method to the IDistributionApi interface to allow
checking whether the distribution integration is active. The real
DistributionIntegration returns true, while NoOpDistributionApi returns false.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@github-actions
Copy link
Contributor

github-actions bot commented Oct 20, 2025

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against e173df6

@github-actions
Copy link
Contributor

github-actions bot commented Oct 20, 2025

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 305.54 ms 361.29 ms 55.74 ms
Size 1.58 MiB 2.12 MiB 548.13 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
85d7417 347.21 ms 394.35 ms 47.15 ms
d364ace 411.72 ms 430.81 ms 19.10 ms
ee747ae 396.82 ms 441.67 ms 44.86 ms
bdbe1f4 380.66 ms 464.44 ms 83.78 ms
c8125f3 383.82 ms 441.66 ms 57.84 ms
ee747ae 386.94 ms 431.43 ms 44.49 ms
806307f 357.85 ms 424.64 ms 66.79 ms
ee747ae 554.98 ms 611.50 ms 56.52 ms
b3d8889 371.69 ms 432.96 ms 61.26 ms
7314dbe 437.83 ms 505.64 ms 67.81 ms

App size

Revision Plain With Sentry Diff
85d7417 1.58 MiB 2.10 MiB 533.44 KiB
d364ace 1.58 MiB 2.11 MiB 539.75 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
bdbe1f4 1.58 MiB 2.11 MiB 538.88 KiB
c8125f3 1.58 MiB 2.10 MiB 532.32 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
806307f 1.58 MiB 2.10 MiB 533.42 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
b3d8889 1.58 MiB 2.10 MiB 535.06 KiB
7314dbe 1.58 MiB 2.10 MiB 533.45 KiB

Previous results on branch: no/add-distribution-is-enabled

Startup times

Revision Plain With Sentry Diff
e65d6e2 293.07 ms 358.29 ms 65.22 ms
e1aa798 406.61 ms 465.64 ms 59.03 ms

App size

Revision Plain With Sentry Diff
e65d6e2 1.58 MiB 2.11 MiB 539.88 KiB
e1aa798 1.58 MiB 2.11 MiB 539.75 KiB

Copy link
Contributor

@chromy chromy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@runningcode runningcode enabled auto-merge (squash) October 20, 2025 11:09
@runningcode runningcode merged commit b77456b into main Oct 20, 2025
61 checks passed
@runningcode runningcode deleted the no/add-distribution-is-enabled branch October 20, 2025 13:16
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