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:
Leon van Zyl
2026-01-26 15:53:06 +02:00
committed by GitHub

View File

@@ -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: