Skip to content

Conversation

@sejas
Copy link
Member

@sejas sejas commented Dec 10, 2025

Related issues

Proposed Changes

  • Clean the selected remote site after closing the modal to fix the issue where new created sites were pulling without selecting that path.

Testing Instructions

  • Run npm start
  • Click on Add site
  • Select Pull an existing site
  • Finish the process
  • Click on Add site again
  • Select a blank site
  • Observe it creates a blank site and it doesn't pull anything

Pre-merge Checklist

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

@sejas sejas marked this pull request as ready for review December 10, 2025 11:27
@sejas sejas requested review from a team and ivan-ottinger December 10, 2025 11:27
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.

Thank you for the fix, Antonio! The change looks good and I cannot reproduce the issue anymore. No unexpected pull happens on creating a new site.

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 for quickly raising a fix Antonio! The changes LGTM too, and I can also confirm not being able to reproduce the original issue. I also tested opening deeplinks, which now also works as expected, no site is being pulled again. 👍

@github-actions
Copy link
Contributor

📊 Performance Test Results

Comparing 0f7a8fe vs trunk

site-editor

Metric trunk 0f7a8fe Diff Change
load 10844.00 ms 20047.00 ms +9203.00 ms 🔴 84.9%

site-startup

Metric trunk 0f7a8fe Diff Change
siteCreation 22750.00 ms 22777.00 ms +27.00 ms 🔴 0.1%
siteStartup 11030.00 ms 8022.00 ms -3008.00 ms 🟢 -27.3%

Results are median values from multiple test runs.

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

@sejas sejas merged commit eb3437e into trunk Dec 10, 2025
9 checks passed
@sejas sejas deleted the fix/stu-1121-pulling-remote-site-next-times branch December 10, 2025 12:26
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.

4 participants