Skip to content
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

fix(mfe): multiple versions #9595

Merged
merged 5 commits into from
Dec 12, 2024
Merged

Conversation

chris-olszewski
Copy link
Member

@chris-olszewski chris-olszewski commented Dec 9, 2024

Description

We had a bug where if there were multiple MFE configs that contained the same application we would defer to config name ordering for which config would get selected. This PR makes it so we now select the newest versioned configuration.

⚠️ Fix a bug I introduced in #9582 where I cast the relative unix path to a basic str and I then misused it with join_component.

Testing Instructions

Updated and added unit tests. Tested on a repo with multiple overlapping configs with different versions.

Copy link

vercel bot commented Dec 9, 2024

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 Dec 9, 2024 8:14pm
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 9, 2024 8:14pm
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 9, 2024 8:14pm
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 9, 2024 8:14pm
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 9, 2024 8:14pm
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 9, 2024 8:14pm
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 9, 2024 8:14pm
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 9, 2024 8:14pm
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 9, 2024 8:14pm

@chris-olszewski chris-olszewski marked this pull request as ready for review December 9, 2024 20:15
@chris-olszewski chris-olszewski requested a review from a team as a code owner December 9, 2024 20:15
@chris-olszewski chris-olszewski merged commit 7b113e5 into main Dec 12, 2024
37 checks passed
@chris-olszewski chris-olszewski deleted the olszewski/fix_mfe_multiple_versions branch December 12, 2024 15:52
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