Repository navigation
refactor(studio): extract dependency reconciliation workflow - #500
Merged
Merged
Conversation
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 free
to 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.
W22/OSS-341 slice: the first cohesive Studio workflow moves into features/modpacks/studio/.\n\n- \studio/dependencies.ts\ owns required (transitive) dependency reconciliation for the pack: optional deps, duplicate/visited entries, depth bound of three, best-effort installs and version lookup are unchanged from the route implementation.\n- \studio/[id]/+page.svelte\ is now a composition shell for this workflow (95 lines of inline logic removed) and keeps its toasts/presentation.\n- Tests moved with the behavior: 11 dependency tests cover required/optional filtering, empty key fallback, cycles, depth bound, failed lookups/installs and duplicate suppression.\n- Malformed persisted JSON keeps the existing mechanical empty-row fallback; this PR does not claim stricter validation.\n\nVerification: frozen bun install, \�un run check\ 0/0 both workspaces, \�un run test\ 263 pass/0 fail after merging current main; knowledge-lint 59 concepts green.