Repository navigation
RUM-17009: Extract shared RUM context into internal module - #4019
Conversation
|
⏳ PR checks are still running. This summary will update when all results arrive. 🎉 All green!🧪 All tests passed 🔄 Datadog retried 1 test - 1 passed on retry 🎯 Code Coverage (details) 🔗 Commit SHA: 83b1446 | Docs | View more details | Give us feedback! |
1d1e201 to
049b79c
Compare
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 049b79c39b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
More details
Existing feature-context maps remain compatible: serialized keys, defaults, and enum encodings are preserved across the module move. The completed static review found no actionable regressions in the updated consumers.
🤖 Bits Code Review · Commit 049b79c
f0472db to
81501e9
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 81501e9f38
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Hey @0xnm @kikoveiga! I have some doubts about these changes 🙂 Right now the PR exposes the full internal state of the RUM scopes: 17 fields, including
Meanwhile, judging by the diff, the other features only use What I'd suggest:
This would keep What do you think? |
|
@satween keeping two different classes - one for the shared context, another is internal for RUM, is also an option. Some enums should go to |
|
Thanks for the review! I'd lean toward keeping one shared The migrated readers currently use 11 fields. Splitting would duplicate those properties and require a mapping. We can always revisit this and separate if needed in the future. For the |
81501e9 to
0bbc151
Compare
Shouldn't session state enum be a decision maker rather that session ID? |
0bbc151 to
83b1446
Compare
@0xnm The enum should decide whether a session is tracked, the nullable ID indicates whether a session exists. Currently, |
|
@kikoveiga we can extend enum values if we want to |
What does this PR do?
This PR moves
RumContextand its supporting enums intodd-sdk-android-internal. This is part of the ongoing work in #3970 and after this comment.The idea is to keep it simple and have no behavior change here.
Review checklist (to be filled by reviewers)