Skip to content

chore(analytics): remove dead Amplitude events and LISTEN_GATED#14304

Merged
dylanjeffers merged 1 commit into
mainfrom
chore/remove-dead-amplitude-events
May 14, 2026
Merged

chore(analytics): remove dead Amplitude events and LISTEN_GATED#14304
dylanjeffers merged 1 commit into
mainfrom
chore/remove-dead-amplitude-events

Conversation

@dylanjeffers
Copy link
Copy Markdown
Contributor

Summary

  • Removes zero-callsite Name enum entries: COMMENTS_REPLY_TO_COMMENT, CREATOR_NODE_SELECTION, SEARCH_TAB_CLICK, SERVICE_MONITOR_HEALTH_CHECK, SERVICE_MONITOR_REQUEST, SIGN_UP_REPAIR_START/SUCCESS/FAILURE
  • Removes deprecated social OAuth signup event families: all CREATE_ACCOUNT_*_TWITTER, _INSTAGRAM, _TIKTOK variants (enum entries, payload types, union members)
  • Removes BUY_AUDIO family events (BUY_AUDIO_SUCCESS, BUY_AUDIO_FAILURE, BUY_AUDIO_ON_RAMP_*, BUY_AUDIO_RECOVERY_*) replaced by BUY_USDC equivalents
  • Removes LISTEN_GATED fully: enum entry, ListenGated payload type, union member, and callsite in recordListen.ts
  • Removes ARTIST_COIN_PURCHASE and ARTIST_RECOMMENDATIONS_POPUP from FollowSource enum and updates their callsites to FollowSource.OVERFLOW / FollowSource.USER_LIST

Test plan

  • `npm run typecheck` passes in `packages/common` and `packages/web`
  • No references to removed enum values remain in the codebase

🤖 Generated with Claude Code

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 13, 2026

⚠️ No Changeset found

Latest commit: 1d28729

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dylanjeffers dylanjeffers enabled auto-merge (squash) May 14, 2026 19:52
Removes zero-callsite Name enum entries (COMMENTS_REPLY_TO_COMMENT,
CREATOR_NODE_SELECTION, SEARCH_TAB_CLICK, SERVICE_MONITOR_HEALTH_CHECK,
SERVICE_MONITOR_REQUEST, SIGN_UP_REPAIR_*), deprecated social OAuth signup
events (CREATE_ACCOUNT_*_TWITTER/INSTAGRAM/TIKTOK), BUY_AUDIO family events
replaced by BUY_USDC, LISTEN_GATED with its callsite and payload type,
and ARTIST_COIN_PURCHASE/ARTIST_RECOMMENDATIONS_POPUP from FollowSource.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@dylanjeffers dylanjeffers force-pushed the chore/remove-dead-amplitude-events branch from d6db033 to 1d28729 Compare May 14, 2026 19:55
@dylanjeffers dylanjeffers merged commit 0ad7eb6 into main May 14, 2026
4 checks passed
@dylanjeffers dylanjeffers deleted the chore/remove-dead-amplitude-events branch May 14, 2026 19:55
dylanjeffers added a commit that referenced this pull request May 14, 2026
Removes ~45 zero-callsite event definitions: legacy OAuth flows,
dead create-account stubs, wAUDIO transfer events, abandoned Social Proof
feature, playlist library UI events, performance instrumentation that never
shipped, and more. Follows up on #14304.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant