Skip to content

Conversation

axosoft-ramint
Copy link
Contributor

Closes #3627

Leverages getOrOpenPullRequestRepository to try to pre-identify the PR's repo, which then skips the "repo match" step in the deep link flow.

Note: this has undesirable effects with virtual repos, so I added a skipVirtual open to skip opening virtual uris for now. A bigger refactor of target opening logic (moving it out of the deep link service into its own service) will probably include better virtual repo support in the flow, but for now it doesn't work for most cases of Open in Worktree.

@axosoft-ramint axosoft-ramint requested a review from eamodio October 1, 2024 17:08
@axosoft-ramint axosoft-ramint added area-launchpad Issues or features related to Launchpad debt Technical debt labels Oct 1, 2024
Copy link
Member

@eamodio eamodio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@axosoft-ramint axosoft-ramint merged commit 7cd77ff into main Oct 1, 2024
3 checks passed
@axosoft-ramint axosoft-ramint deleted the debt/open-in-worktree-pr-repo-location branch October 1, 2024 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-launchpad Issues or features related to Launchpad debt Technical debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve repo location in Deep Link service for PRs

2 participants