Repository navigation
Expect the PR walkthrough's exact-patch link to name its line in the URL - #5341
Merged
Merged
Conversation
#5034 made navigateToDatum write the key it travels to into the URL (#<widget-id>:<key>), so a reload or copied URL reaches the same part. The nightly journey still expected the bare #pr-exact-patch fragment and failed before reaching the comment it exercises. It now expects the line's source key. Closes #5127
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.
#5034 made
navigateToDatumwrite the key it travels to into the URL (#<widget-id>:<key>), so a reload or a copied URL reaches the same part. Following the PR walkthrough'ssrc/summary.rs:259call location now leaves the URL at#pr-exact-patch:["src/summary.rs","source","new",259](percent-encoded). The nightly journeytest_pr_walkthrough_moves_from_semantic_call_to_exact_patch_commentstill expected the bare#pr-exact-patch, so it failed before reaching the line comment it exists to check. It now expects the line's source key in the URL. This keeps #5034's intended behavior and changes no product code.The test failed locally on current main with
Actual value: …/#pr-exact-patch:[%22src/summary.rs%22,%22source%22,%22new%22,259], matching the scheduled run 41432142330, and it passes with this change (--run-main --run-nightly).Closes #5127 — automated triage