Rename ReplayMap to ReplayManager#1306
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR renames the ReplayMap class to ReplayManager to better reflect its evolved role as an orchestrator between different Session Replay components rather than just a simple mapping structure.
- Renames
ReplayMapclass toReplayManagerthroughout the codebase - Updates all references, imports, and variable names to use the new naming
- Updates comments and documentation to reflect the new name
Reviewed Changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| test/replay/unit/replayPredicates.test.js | Updates test description from "ReplayMap" to "ReplayManager" |
| test/replay/unit/replayManager.test.js | Comprehensive renaming of class, variables, and error messages |
| test/replay/unit/queue.replayManager.test.js | Updates test descriptions and mock class names |
| test/replay/unit/index.js | Updates module exports to reference renamed test files |
| test/replay/integration/sessionRecording.test.js | Updates imports and variable names |
| test/replay/integration/replayManager.test.js | Updates imports, test descriptions, and variable names |
| test/replay/integration/queue.replayManager.test.js | Updates test descriptions and variable names |
| test/replay/integration/index.js | Updates module exports |
| test/replay/integration/e2e.test.js | Updates imports and variable names |
| src/rollbar.js | Updates parameter name and constructor call |
| src/queue.js | Updates parameter names, comments, and error messages |
| src/browser/replay/replayManager.js | Updates class name, comments, and error messages |
| src/browser/core.js | Updates import and variable names |
| CLAUDE.md | Updates documentation references |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
waltjones
approved these changes
Sep 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of the change
This PR renames the
ReplayMaptoReplayManagerdue to its nature changing from a mapping of occurrences to replays to an orchestrator between the different components that make up the Session Replay feature (Replays, Recorder, Telemetry, Tracing and API).No code documentation hasn't been changed in this PR.
Type of change