Skip to content

emrg: run all auto_evolve projects concurrently via asyncio.gather - #45

Merged
argszero merged 1 commit into
masterfrom
feature/parallel-evolution-coroutines
Jul 18, 2026
Merged

emrg: run all auto_evolve projects concurrently via asyncio.gather#45
argszero merged 1 commit into
masterfrom
feature/parallel-evolution-coroutines

Conversation

@argszero

Copy link
Copy Markdown
Owner

Changes

Completes the multi-project evolution rant by replacing round-robin serial execution with concurrent coroutines:

  • Before: one project per 30min tick, picked via (seq-1) % len(projects)
  • After: all auto_evolve projects run concurrently each tick via asyncio.gather
  • Each project gets its own _run_evolution_cycle coroutine with unique sub-seq
  • return_exceptions=True — failed projects don't block others
  • Falls back to single self-evolution when no projects configured

Rant addressed

Completes the multi-project evolution rant (2026-07-18):

每个起一个独立协程并发跑、共享 daemon 的 LLM client 和工具,不要限流

Verification

  • 159 tests pass ✅
  • Import + CLI OK ✅
  • Zero conflict markers ✅

Open PRs status

PRLGTMsStatus
#423/3 ✅merged this cycle
#432/3CI badge README
#441/3/rant project selector

- Replace round-robin (one project per 30min) with asyncio.gather
- All projects evolve concurrently, sharing daemon's LLM client/tools
- Each project uses unique sub_seq and isolated session_id/cwd
- Failed projects don't block others (return_exceptions=True)
- Falls back to single self-evolution when no projects configured
Completes the multi-project evolution rant (2026-07-18)

@argszeroargszero left a comment

Copy link
Copy Markdown
OwnerAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle #16

@argszeroargszero left a comment

Copy link
Copy Markdown
OwnerAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle #17

@argszeroargszero left a comment

Copy link
Copy Markdown
OwnerAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle #18

@argszero
argszero merged commit 089ea54 into masterJul 18, 2026
1 check passed
@argszero
argszero deleted the feature/parallel-evolution-coroutines branch July 28, 2026 11:59
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@argszero