PANA-8613: View traversal and decomposition - #3728
Draft
jonathanmos wants to merge 1 commit into
Draft
Conversation
🎉 All green!🧪 All tests passed 🎯 Code Coverage (details) 🔗 Commit SHA: 5ce8684 | Docs | View more details | Give us feedback! |
jonathanmos
force-pushed
the
jmoskovich/02-sr-new-pipeline
branch
from
August 19, 2026 10:38
1dd5cfc to
50400d0
Compare
jonathanmos
force-pushed
the
jmoskovich/03-sr-new-pipeline
branch
from
August 19, 2026 10:46
92ae883 to
5ce8684
Compare
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.
What does this PR do?
This is the third pr of the new pipeline.
Adds view traversal and decomposition for the new composition-based Session Replay capture pipeline:
AndroidWindowTraversalrecursively walks a window's native View hierarchy intoCapturedLayer/CapturedWireframetrees (combining what were separatelyTreeViewTraversalandSnapshotProducerin the legacy pipeline),AndroidCapturedSnapshotProducerassembles all active windows into oneCapturedFullSnapshot, and a newcomposition/mapperpackage providesText/WebView/Hidden/generic-fallback view mappers plus a background-shape-style resolver, wired intoDefaultRecorderProvider.Motivation
PANA-8613 — next step in the composition-pipeline workstream (following PANA-8612's capture orchestration): the orchestrator needs a real
CapturedSnapshotProducerthat can actually decompose the live View hierarchy instead of a stub.Additional Notes
ComposeViewhosts are detected by class name only (no compile-timeandroidx.composedependency) and handed off to an optionalcomposeHostCallbackrather than traversed as native children.Review checklist (to be filled by reviewers)