feat(mobile): capture pull_request_merged
Merged
SA
2mo ago+4+4+0123456789-0-0-0123456789
Summary
Mobile only sends pull_request_opened, so merging a PR from the phone was invisible in PostHog (181 opens in 60 days, zero signal on merges). Adds pull_request_merged from the merge mutation's success callback, with the same workspace_id / pr_number keys as the open event.
Also serves as the JS-only end-to-end check of deploy.yml after #7750: expected run is fingerprint unchanged from build 46 → Build production: SKIPPED → update published to preview.
Test plan
- Biome, mobile
bun test(129 pass) - After merge: EAS run shows no production build and a preview publish
Summary by cubic
Adds a pull_request_merged event to PostHog when a PR is merged from the mobile app, closing the gap where merging was invisible (only pull_request_opened was tracked).
- Fires from the merge mutation's success callback with the same
workspace_idandpr_numberkeys as the open event. - Also serves as the JS-only end-to-end check of the deploy workflow.
Summary by CodeRabbit
- Analytics
- Pull request merge events are now recorded with the associated workspace and pull request details.