Repository navigation
ref(nav3): [Part 1] Gather nav data keys in one package and simplify ArgumentSanitizer - #6702
Open
0xadam-brown wants to merge 2 commits into
Open
0xadam-brown wants to merge 2 commits into
0xadam-brown wants to merge 2 commits into
Conversation
This was referenced Nov 20, 2026
Contributor
PR risk: mediumFor commit Main concerns: data sent to Sentry, public contract, reach. Rules that block low also fired:
This label is a hint for reviewers, not an approval. |
📲 Install BuildsAndroid
|
This was referenced Nov 20, 2026
0xadam-brown
marked this pull request as ready for review
November 20, 2026 15:19
0xadam-brown
requested review from
markushi and
runningcode
and removed request for
a team
November 20, 2026 15:19
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want fixes drafted automatically? Bugbot Autofix can create code changes for findings. A team admin can enable Autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d03d53a. Configure here.
0xadam-brown
changed the base branch from
main
to
feat/nav3-serial-name-mappers-base
November 24, 2026 10:22
5 of 9 tasks
0xadam-brown
force-pushed
the
feat/nav3-serial-name-mappers-6
branch
from
November 25, 2026 15:30
c5cc387 to
19c6402
Compare
0xadam-brown
changed the base branch from
feat/nav3-serial-name-mappers-base
to
feat/nav3-serial-name-stack-base
November 25, 2026 15:33
0xadam-brown
marked this pull request as draft
November 25, 2026 15:33
This was referenced Nov 25, 2026
…gumentSanitizer The keys and values the Sentry UI shows (context, breadcrumb, and transaction keys, the /unknown name, and the argument drop reasons and limits) now live in one internal contract package, which the lifecycle package may import. A test pins each displayed string. ArgumentSanitizer recurses directly instead of through visit/exit helpers, checks a CharSequence's length before copying it, and has its own test suite.
0xadam-brown
force-pushed
the
feat/nav3-serial-name-mappers-6
branch
from
November 27, 2026 15:16
19c6402 to
328049c
Compare
4 of 9 tasks
0xadam-brown
marked this pull request as ready for review
November 27, 2026 17:23
Explains that the package holds internal values the Sentry UI displays or that define observable behavior, and that it may not depend on other navigation3 packages. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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 SerialName Mapper)
This stack replaces the
SerialNamehalf of #6696.SerialNameAndPropertieswill follow in its own stack.📜 Description
Refactoring ahead of the rest of the PR stack. No behavior changes.
Two larger changes:
.contractpackage. Both are effectively part of our public API, even if the strings are internal.ArgumentSanitizeruses to bound argument sizes. (Behavior and rules are unchanged, but code now recurses directly instead of going through visit/enter/exit helpers, and it's a bit more performant b/c it checks aCharSequences length before copying it.)💡 Motivation and Context
Keeps the diffs in subsequent PRs smaller and easier to read. Item (2) also adds tests that pin down the sanitizer's behavior ahead of the
SerialNameAndPropertiesPR stack (forthcoming), which changes how arguments are sanitized.addresses: JAVA-787 (link)
💚 How did you test it?
📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps
Continue with Part 2: Record why back stack entries are /unknown.
#skip-changelog
🤖 Generated with Claude Code