Repository navigation
test(android): [Nav3 Lifecycle 4] Integration tests for lifecycle handoffs - #6307
Open
0xadam-brown wants to merge 1 commit into
Open
0xadam-brown wants to merge 1 commit into
0xadam-brown wants to merge 1 commit into
Conversation
This was referenced Oct 20, 2026
📲 Install BuildsAndroid
|
6 of 9 tasks
0xadam-brown
marked this pull request as ready for review
October 20, 2026 15:31
0xadam-brown
requested review from
adinauer,
markushi,
romtsn and
runningcode
as code owners
October 20, 2026 15:31
Exercise overlapping SentryNavEffect owners through real Robolectric Activity, Fragment, dialog, and ViewPager lifecycle transitions.\n\nRefs JAVA-274
0xadam-brown
force-pushed
the
feat/part-4-sentry-nav-effect-lifecycle
branch
from
October 21, 2026 11:27
f24236a to
810739e
Compare
0xadam-brown
force-pushed
the
feat/part-3-sentry-nav-effect-lifecycle
branch
from
October 21, 2026 11:27
9a50d5d to
4936eea
Compare
This branch has not been deployed
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.
PR Stack (Nav3 Lifecycle)
📜 Description
Add a Robolectric integration suite that drives real Activity, Fragment, dialog, and ViewPager lifecycle transitions around multiple
SentryNavEffectinstances.The tests verify which navigation root owns the shared scope, how state is restored during handoffs, and how navigation transactions behave when roots overlap or disappear.
💡 Motivation and Context
The lifecycle coordinator depends on Android lifecycle and Compose disposal ordering. Exercising framework-managed owners catches integration behavior that isolated coordinator and observer tests cannot model completely.
addresses: JAVA-785
💚 How did you test it?
n/a
📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps
The final PR adds runnable sample scenarios for multi-Activity and multi-Fragment Navigation 3 applications.
#skip-changelog