Skip to content

refactor(studio): extract version migration workflow - #502

Merged
athNdev merged 1 commit into
mainfrom
codex/studio-workflows-migration
Nov 17, 2026
Merged

athNdev merged 1 commit into
mainfrom
codex/studio-workflows-migration

Conversation

@athNdev

@athNdev athNdev commented Nov 17, 2026

Copy link
Copy Markdown
Owner

W22/OSS-341 second cohesive Studio workflow extraction, continuing merged PR500.\n\n- \ eatures/modpacks/studio/migration.ts\ owns simulate/apply Packwiz version migration with an injected apiFetch seam; the route keeps form state, toasts and post-apply loadPack.\n- Outgoing request is byte-identical: POST /api/v1/packwiz/packs/{id}/migrate with target_mc/target_loader/apply; non-2xx still maps to the same error toast.\n- 7 new regression tests; knowledge concept updated with the mechanical-move note.\n\nVerification: bun install --frozen-lockfile, bun check 0/0, bun test 270 pass/0 fail, bun lint clean, knowledge-lint 38/38 queries and 59 concepts.

Move the Studio version-migration request/report logic into a cohesive
studio/migration.ts module with an injected apiFetch seam. The route stays a
composition shell owning form state, toasts and the post-apply reload.

Outgoing POST to /api/v1/packwiz/packs/{id}/migrate and its
target_mc/target_loader/apply body are byte-identical, as is the HTTP <status>
failure message and fallback. Adds 7 regression tests and records the mechanical
move in the module-form-codecs decision concept.
@athNdev
athNdev merged commit 518b64b into main Nov 17, 2026
13 checks passed
@athNdev
athNdev deleted the codex/studio-workflows-migration branch November 17, 2026 14:02
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.

1 participant