Skip to content

ref: Migrate Hacker News examples to Sentry#825

Open
cameroncooke wants to merge 3 commits into
mainfrom
cameroncooke/eme-1200-make-hn-better-canonical-example
Open

ref: Migrate Hacker News examples to Sentry#825
cameroncooke wants to merge 3 commits into
mainfrom
cameroncooke/eme-1200-make-hn-better-canonical-example

Conversation

@cameroncooke

@cameroncooke cameroncooke commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Removes the Emerge Tools branding and replace with Sentry branding, this repo acts as a best-in-class example for integration Snapshots, Size Analysis and Distribution.

Changes:

  • Replaced app-facing Emerge Tools copy and branding with Sentry branding.
  • Removed the Android built-by card and related Emerge UI references.
  • Removed obsolete Emerge SDK, config, package, plugin, and workflow references.
  • Updated iOS telemetry to use the Sentry org hackernews-ios project instead of the Emerge Tools org.
  • Kept iOS telemetry adjacent to the Android hackernews-android project in the main Sentry org.
  • Renamed Emerge GitHub workflows to Sentry workflow names.
  • Removed obsolete Emerge upload workflows.
  • Cleaned up Sentry snapshot testing workflows for Android and iOS.
  • Cleaned up Sentry size distribution and size analysis workflows.
  • Updated the remaining GitHub workflows to act as reference examples for configuring Sentry mobile uploads, snapshots, and size analysis.

Refs EME-1200

@sentry

sentry Bot commented Jun 17, 2026

Copy link
Copy Markdown

Sentry Snapshot Testing

Name Added Removed Changed Renamed Unchanged Skipped Status
com.emergetools.hackernews
com.emergetools.hackernews
4 4 12 2 114 0 ✅ Approved
com.emergetools.hackernews.debug
com.emergetools.hackernews.debug
0 1 8 0 75 0 ✅ Approved
com.emergetools.hackernews.swift-snapshot-testing
com.emergetools.hackernews.swift-snapshot-testing
- - - - - - ✅ 18 uploaded

⚙️ hackernews-ios Snapshot Settings

@sentry

sentry Bot commented Jun 17, 2026

Copy link
Copy Markdown

📲 Install Builds

iOS

🔗 App Name App ID Version Configuration
HackerNews com.emergetools.hackernews 3.10 (1) Release
HackerNews com.emergetools.hackernews 3.10 (1) AdHoc

Android

🔗 App Name App ID Version Configuration
Hacker News com.emergetools.hackernews 1.0.6 (17) release

⚙️ hackernews-android Build Distribution Settings

@cameroncooke cameroncooke force-pushed the cameroncooke/eme-1200-make-hn-better-canonical-example branch 2 times, most recently from 3b93d94 to b9fa731 Compare June 17, 2026 21:51
@cameroncooke cameroncooke marked this pull request as ready for review June 17, 2026 22:36
Replace Emerge's suite of products with Sentry for size analysis, snapshot
testing, and distribution across both platforms. This removes the Emerge
Gradle plugin, fastlane plugin, SDK dependencies, snapshot maven repos, and
emerge_config.yaml in favor of their Sentry equivalents.

Rename the CI workflows from ios/android_emerge_* to *_sentry_* and drop the
now-redundant ios_emerge_upload_snapshots workflow. Update the README, app
metadata, and "built by" UI to reference Sentry instead of Emerge.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cameroncooke cameroncooke force-pushed the cameroncooke/eme-1200-make-hn-better-canonical-example branch from b9fa731 to 63f2e65 Compare June 17, 2026 22:45
cameroncooke and others added 2 commits June 17, 2026 16:54
Move comment loading out of the view model initializer so previews can hold deterministic fixture state. Add a narrow per-preview diff threshold for the Send Feedback raster-only close icon diff.

Co-Authored-By: Codex <noreply@openai.com>
The Swift Snapshot Testing upload lane shared the same app_id as the
main app, causing its snapshots to be grouped under the wrong app in
Sentry. Use a dedicated app_id so these snapshots are tracked
separately.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Comment thread ios/HackerNews/Updates/AutoUpdateManager.swift
SentrySDK.start { options in
options.dsn =
"https://118cff4b239bd3e0ede8fd74aad9bf8f@o497846.ingest.sentry.io/4506027753668608"
"https://c726216bd362ec0bf67044f1ad1e8ffc@o1.ingest.us.sentry.io/4510761392078848"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why did this DSN change?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I moved the app to the sentry org instead of emerge tools so it matches the Android app.

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.

2 participants