mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-03-18 10:23:07 +00:00
refactor(05-03): remove duplicated methods from AutoModeService
- Replace startAutoLoopForProject body with delegation to autoLoopCoordinator - Replace stopAutoLoopForProject body with delegation to autoLoopCoordinator - Replace isAutoLoopRunningForProject body with delegation - Replace getAutoLoopConfigForProject body with delegation - Replace resumeFeature body with delegation to recoveryService - Replace resumeInterruptedFeatures body with delegation - Remove runAutoLoopForProject method (~95 lines) - now in AutoLoopCoordinator - Remove failure tracking methods (~180 lines) - now in AutoLoopCoordinator - Remove resolveMaxConcurrency (~40 lines) - now in AutoLoopCoordinator - Update checkWorktreeCapacity to use coordinator - Simplify legacy startAutoLoop to delegate - Remove failure tracking from executeFeature (now handled by coordinator) Line count reduced from 3604 to 3013 (~591 lines removed)
This commit is contained in:
@@ -484,8 +484,9 @@ export class AutoLoopCoordinator {
|
||||
|
||||
/**
|
||||
* Resolve max concurrency from provided value, settings, or default
|
||||
* @public Used by AutoModeService.checkWorktreeCapacity
|
||||
*/
|
||||
private async resolveMaxConcurrency(
|
||||
async resolveMaxConcurrency(
|
||||
projectPath: string,
|
||||
branchName: string | null,
|
||||
provided?: number
|
||||
|
||||
Reference in New Issue
Block a user