mirror of
https://github.com/leonvanzyl/autocoder.git
synced 2026-01-30 06:12:06 +00:00
Merge pull request #99 from cabana8471-arch/fix/auto-stop-on-completion
fix: stop spawning testing agents after project completion
This commit is contained in:
@@ -401,6 +401,10 @@ class ParallelOrchestrator:
|
|||||||
if passing_count == 0:
|
if passing_count == 0:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
# Don't spawn testing agents if all features are already complete
|
||||||
|
if self.get_all_complete():
|
||||||
|
return
|
||||||
|
|
||||||
# Spawn testing agents one at a time, re-checking limits each time
|
# Spawn testing agents one at a time, re-checking limits each time
|
||||||
# This avoids TOCTOU race by holding lock during the decision
|
# This avoids TOCTOU race by holding lock during the decision
|
||||||
while True:
|
while True:
|
||||||
|
|||||||
Reference in New Issue
Block a user