Batch 4: Download Subsystem Integration
Core refactor batch. Replaces the old DownloadManager/DownloadTask with the new layered download abstractions, integrates cross-version package support, and connects the DownloadProgressReporter bridge.
Tasks
- DownloadPlan model — Create DownloadPlan record with asset list + strategy metadata
- BuildDownloadPlan logic — Cross-version package selection, version chain building, frozen package filtering, forced update marking
- PacketDTO cross-version fields — Add FromVersion, IsCrossVersion, MinClientVersion, SourceArchiveHash, TargetArchiveHash
- ClientUpdateStrategy → new abstractions — Replace old DownloadManager calls with IDownloadSource → BuildDownloadPlan → IDownloadOrchestrator.ExecuteAsync
- OSSUpdateStrategy → new abstractions — Same pattern: DownloadSource → DownloadPlan → DownloadOrchestrator
- UpgradeUpdateStrategy pipeline — Remove old DownloadManager+DownloadAsync; read from ProcessInfo.DownloadResults
- Delete old DownloadManager + DownloadTask — Remove after confirming no remaining references
- DownloadProgressReporter bridge — Connect IProgress → EventManager events
Related
- Refactor plan: GeneralUpdate-refactor-plan.md
Batch 4: Download Subsystem Integration
Core refactor batch. Replaces the old DownloadManager/DownloadTask with the new layered download abstractions, integrates cross-version package support, and connects the DownloadProgressReporter bridge.
Tasks
Related