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

fix(mfe): properly handle versionless configuration #9945

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 2 commits into from
Feb 12, 2025

Conversation

chris-olszewski
Copy link
Member

@chris-olszewski chris-olszewski commented Feb 12, 2025

Description

TSIA

We were requiring the version to exist in VersionOnly schema so we could decide which config schema to use.

I'm assuming I broke this in #9883, but it's not immediately obvious to me how.

Testing Instructions

Added failing unit test for versionless Config::load_from_dir call

Copy link

vercel bot commented Feb 12, 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 12, 2025 2:52pm
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 2:52pm
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 2:52pm
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 2:52pm
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 2:52pm
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 2:52pm
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 2:52pm
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 2:52pm
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 2:52pm

@chris-olszewski chris-olszewski marked this pull request as ready for review February 12, 2025 14:52
@chris-olszewski chris-olszewski requested a review from a team as a code owner February 12, 2025 14:52
@chris-olszewski chris-olszewski merged commit ef93b23 into main Feb 12, 2025
40 checks passed
@chris-olszewski chris-olszewski deleted the olszewski/fix_mfe_missing_version_parse branch February 12, 2025 15:23
chris-olszewski added a commit that referenced this pull request Feb 13, 2025
### Description

TSIA

We were requiring the version to exist in `VersionOnly` schema so we
could decide which config schema to use.

I'm assuming I broke this in
#9883, but it's not immediately
obvious to me how.

### Testing Instructions

Added failing unit test for versionless `Config::load_from_dir` call
joshnuss pushed a commit to joshnuss/turborepo that referenced this pull request Feb 15, 2025
### Description

TSIA

We were requiring the version to exist in `VersionOnly` schema so we
could decide which config schema to use.

I'm assuming I broke this in
vercel#9883, but it's not immediately
obvious to me how.

### Testing Instructions

Added failing unit test for versionless `Config::load_from_dir` call
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