Skip to content

Conversation

HazAT
Copy link
Member

@HazAT HazAT commented Oct 13, 2025

Remove captureMessage from Apple templates to prevent accidental event spam and quota burn.


Open in Cursor Open in Web

Fixes #1093

cursoragent and others added 2 commits October 13, 2025 18:23
…accidental test spam (#1093)

This removes the example capture call entirely to prevent users from unintentionally sending many messages and burning quota.
Copy link

cursor bot commented Oct 13, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Copy link

github-actions bot commented Oct 13, 2025

Fails
🚫 Please consider adding a changelog entry for the next release.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

- Fixes #1093 ([#1094](https://github.com/getsentry/sentry-wizard/pull/1094))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description or adding a skip-changelog label.

Generated by 🚫 dangerJS against 139cd93

@HazAT HazAT marked this pull request as ready for review October 13, 2025 18:33
Copy link

codecov bot commented Oct 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 32.12%. Comparing base (0b97fe2) to head (139cd93).
⚠️ Report is 13 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1094   +/-   ##
=======================================
  Coverage   32.12%   32.12%           
=======================================
  Files         133      133           
  Lines       15695    15695           
  Branches     1100     1100           
=======================================
  Hits         5042     5042           
  Misses      10636    10636           
  Partials       17       17           
Flag Coverage Δ
unit-tests 32.12% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@HazAT HazAT changed the title Open pr for sentry-wizard issue 1093 Fixes #1093 Oct 13, 2025
Comment on lines -66 to -67
// Remove the next line after confirming that your Sentry integration is working.
SentrySDK.capture(message: "This app uses Sentry! :)")\n`;
Copy link
Member

Choose a reason for hiding this comment

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

@HazAT, I though we want to comment out capture message and not remove it

snippet += `
}
// Remove the next line after confirming that your Sentry integration is working.
SentrySDK.capture(message: "This app uses Sentry! :)")\n`;
Copy link
Member

Choose a reason for hiding this comment

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

Removing this is not aligned with our product which is waiting for the first issue to appear. Also mentioned this in our internal discussion

image

@philipphofmann
Copy link
Member

We decided to do #1102 instead.

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.

Apple: Comment out captureMessage

4 participants