这是indexloc提供的服务,不要输入任何密码
Skip to content

fix(proxy): make proxy task persistent #10036

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 25, 2025

Conversation

chris-olszewski
Copy link
Member

Description

turbo watch dev wasn't working properly with local proxies if they were marked as persistent as they would be in a different run than the proxy task.

This isn't a perfect fix as we're introducing the same failure to find locally running dev tasks that aren't marked as persistent.

A few possible follow ups:

  • Error on any dev tasks that aren't marked as persistent to ensure the proxy ends up in the same run as the dev tasks.
  • (Stretch): Lift requirement to have dev tasks marked as persistent, this would probably require an overhaul of either watch or our Run abstraction to "share" parts of one run with another.

Testing Instructions

turbo watch dev with a microfrontend should no longer fail to find which locally running apps dev tasks

Copy link

vercel bot commented Feb 25, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 25, 2025 0:07am
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 25, 2025 0:07am
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 25, 2025 0:07am
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 25, 2025 0:07am
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 25, 2025 0:07am
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 25, 2025 0:07am
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 25, 2025 0:07am
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 25, 2025 0:07am
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 25, 2025 0:07am

@chris-olszewski chris-olszewski merged commit 4b1d04e into main Feb 25, 2025
39 checks passed
@chris-olszewski chris-olszewski deleted the olszewski/fix_mfe_local_proxy branch February 25, 2025 00:54
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.

2 participants