Decompose match preparation into testable stages #29

Open
opened 2026-09-15 16:42:57 +00:00 by EIREXE · 0 comments
Owner

Severity: Architecture

prepare_match is a 222-line system with 12 parameters at src/match_loading.rs:202-423. It combines content validation, asset resolution, session creation, stage/fighter spawning, and resource installation.

Fix: extract pure fighter preparation/validation, stage preparation, session construction, and final world mutation into separately testable units.

Severity: Architecture prepare_match is a 222-line system with 12 parameters at src/match_loading.rs:202-423. It combines content validation, asset resolution, session creation, stage/fighter spawning, and resource installation. Fix: extract pure fighter preparation/validation, stage preparation, session construction, and final world mutation into separately testable units.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: EIREXE/shinespark#29