Bug: Session Replays, User Location Changing upon clicking
Open
Nobody has claimed this yet.
bug
- Dominant language
- Python
- Stars
- 39.9k
- Forks
- 3.4k
- Avg merge
- 7h 27m
- Merged PRs (30d)
- 222
Description
Bug Description
When I click a session from the list in session replays, their country seems to change
How to reproduce
- Open person
- Go to their recordings
- choose different recordings
Additional context
Doesn't seem to happen for all users, they are possibly using a vpn?
https://github.com/user-attachments/assets/3529f457-3f2b-4f8c-8eee-6912bad58012
Debug info
- [Session: https://us.posthog.com/project/sTMFPsFhdP1Ssg/replay/01986725-8cae-7ab9-a7fc-8c2c91c8625a?t=4269
Admin: http://go/adminOrgUS/018f0ce1-76b3-0000-de88-2409540b979e (project ID 85440)] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables or https://eu.posthog.com/settings/project-details#variables]
- [ ] PostHog Hobby self-hosted with `docker compose`, version/commit: [please provide]
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue from the session replay list using the linked recording, opening a person and switching recordings as described. Trace the recording-selection flow and country display; no file or test is identified in the report. Done means the country remains consistent when switching recordings, with coverage for the affected case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, python, react, typescript
- Domain
- analytics, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100