Skip to content

Conversation

@gavande1
Copy link
Contributor

@gavande1 gavande1 commented Nov 6, 2025

Related issues

Proposed Changes

  • Update Studio deeplink URL scheme from wpcom-local-dev:// to wp-studio://.
  • Update docs

Testing Instructions

  • Check out this branch in Studio
  • Run Studio. npm start
  • Try to log in to the WordPress.com account
  • Make sure you are logged in without any regression.

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?

@gavande1 gavande1 self-assigned this Nov 6, 2025
@gavande1 gavande1 requested a review from a team November 6, 2025 12:49
@gavande1 gavande1 changed the title Studio: Update Studio deeplink URL scheme from wpcom-local-dev to wp-studio Studio: Update Studio deeplink URL scheme from wpcom-local-dev to wp-studio Nov 6, 2025
Copy link
Contributor

@gcsecsey gcsecsey left a comment

Choose a reason for hiding this comment

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

Thanks Rahul for tackling updating the deeplink scheme! 🙌

The changes LGTM and work well with the backend PR. I'm redirected to the app using the new scheme, and I'm logged in as expected. I experienced no regressions.

Redirect After login
Image Image

@github-actions
Copy link
Contributor

github-actions bot commented Nov 6, 2025

📊 Performance Test Results

Comparing f8786e9 vs trunk

site-editor

Metric trunk f8786e9 Diff Change
load 12154.00 ms 11878.00 ms -276.00 ms 🟢 -2.3%

site-startup

Metric trunk f8786e9 Diff Change
siteCreation 21300.00 ms 22164.00 ms +864.00 ms 🔴 4.1%
siteStartup 10041.00 ms 11046.00 ms +1005.00 ms 🔴 10.0%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change

Copy link
Contributor

@epeicher epeicher left a comment

Choose a reason for hiding this comment

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

Thanks @gavande1! I have tested it, and I can see that the new protocol prefix is being used successfully. LGTM! :shipit:

OAuth After
Image Image

Copy link
Contributor

@ivan-ottinger ivan-ottinger left a comment

Choose a reason for hiding this comment

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

Thanks for the update, Rahul! The change looks good. I think we could also update other occurrences of wpcom-local-dev in the codebase - e.g. in the related tests and docs.

@ivan-ottinger
Copy link
Contributor

One more thing: Maybe I missed it somewhere in other discussions, but what about the sync-connect-site deeplink that is still used in Calypso with the old scheme? I am guessing you are planning to update it a separate PR, right?

@gavande1
Copy link
Contributor Author

gavande1 commented Nov 7, 2025

One more thing: Maybe I missed it somewhere in other discussions, but what about the sync-connect-site deeplink that is still used in Calypso with the old scheme? I am guessing you are planning to update it a separate PR, right?

@ivan-ottinger, Yes. I am planning to address it in a separate PR. I am working on it right now. I will raise the PR soon.

@gavande1 gavande1 force-pushed the stu-936-update-studio-deeplink-url-scheme branch from f89f709 to 2ca248c Compare November 7, 2025 14:21
@gavande1 gavande1 force-pushed the stu-936-update-studio-deeplink-url-scheme branch from 2ca248c to f0a03ca Compare November 18, 2025 09:25
@gavande1
Copy link
Contributor Author

To close the loop, I have created Automattic/wp-calypso#107172 PR to address changes related to Calypso.

@epeicher
Copy link
Contributor

Hi @gavande1. the Lint error has been fixed as part of #2082 so a merge or rebase should fix the issue
CleanShot 2025-11-18 at 13 33 39@2x

@ivan-ottinger
Copy link
Contributor

Hi @gavande1. the Lint error has been fixed as part of #2082 so a merge or rebase should fix the issue

There were a couple more existing lint issues which are now addressed in #2084.

Copy link
Contributor

@ivan-ottinger ivan-ottinger left a comment

Choose a reason for hiding this comment

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

I gave this a second review and test round. The changes look good and work as expected. Log in works correctly with the updated deeplink URL. 👍🏼

We just need a rebase. 🙂

@gavande1 gavande1 force-pushed the stu-936-update-studio-deeplink-url-scheme branch from f0a03ca to 5ef6d1f Compare November 19, 2025 12:07
@gavande1
Copy link
Contributor Author

Thanks @epeicher and @ivan-ottinger. I have updated the branch with master. The tests should pass now.

@gavande1
Copy link
Contributor Author

@gcsecsey and @ivan-ottinger, what do you think about merging this? It might affect the auth flow, but smoke testing should uncover any problems. I believe it's safe to go ahead with merging this.

Copy link
Contributor

@gcsecsey gcsecsey left a comment

Choose a reason for hiding this comment

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

Thanks @gavande1 for following up on this and updating the tests! I also gave this another test and the deeplink flows work as described. 👍

@gcsecsey and @ivan-ottinger, what do you think about merging this? It might affect the auth flow, but smoke testing should uncover any problems. I believe it's safe to go ahead with merging this.

I agree, I think the Studio side changes are good to go and as we've merged 195524-ghe-Automattic/wpcom previously, we shouldn't see any regressions.

@ivan-ottinger
Copy link
Contributor

ivan-ottinger commented Nov 20, 2025

Yeah, I agree we can marge this one - unless @nightnei has any objections as the release wrangler. 🙂

→ Asked in p1763628611277539/1763546848.727229-slack-C04GESRBWKW.

@gavande1 gavande1 merged commit 0585fbf into trunk Nov 20, 2025
9 checks passed
@gavande1 gavande1 deleted the stu-936-update-studio-deeplink-url-scheme branch November 20, 2025 11:40
@gavande1 gavande1 mentioned this pull request Nov 20, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants