Uh oh!
There was an error while loading. Please reload this page.
fix(storage): seed OpenCode Free's default inventory on create - #2443
Merged
Conversation
Onboarding "保存供应商" (and any other create that only states defaultModel) was collapsing OpenCode Free to a single enabled model, while bootstrap and #2431's e2e contract expect the three free models. Fill the omitted selection at the connection-store create seam.
Astro-Han
marked this pull request as ready for review
August 7, 2026 13:17
Uh oh!
There was an error while loading. Please reload this page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
#2431 made OpenCode Free's default inventory three free models (nemotron / mimo / deepseek) for bootstrap and the first-run e2e. The onboarding 保存供应商 path (and any other
connectionStore.createthat only statesdefaultModel) still collapsed to a single enabled model, soe2e/onboarding.spec.tsfails on main and on rename PR #2417 with:Fill the omitted selection at the connection-store create seam via
defaultEnabledModelIdsWhenOmitted('opencode-free'). Explicit subsets / empty lists stay as stated.Verification
npm run test -w @maka/core(pass)npm run test -w @maka/storage(pass), including:npm run format:checkon touched filesNot run: full desktop e2e locally (covered by CI once this lands; #2417 rebased on main should then green).
Refs #2417 (unblocks its e2e after rebase).