Skip to content

test: add concurrency test for parallel executeTask calls (Issue #123) - #192

Open
rafaio1 wants to merge 1 commit into
Lilly-Protocol:mainfrom
rafaio1:bounty/issue-123-concurrency-test
Open

test: add concurrency test for parallel executeTask calls (Issue #123)#192
rafaio1 wants to merge 1 commit into
Lilly-Protocol:mainfrom
rafaio1:bounty/issue-123-concurrency-test

Conversation

@rafaio1

@rafaio1 rafaio1 commented Aug 26, 2026

Copy link
Copy Markdown

Summary

Adds concurrency test verifying that AgentRuntime.executeTask handles parallel submissions correctly with per-task result accuracy and complete memory recording.

Tests Added

  • ✅ 20 tasks submitted concurrently via Promise.all
  • ✅ Each result resolves with correct output and taskId
  • ✅ Memory store contains entries for all submitted tasks

Verification

All tests pass locally via npx vitest run tests/agent-runtime.test.ts.

Closes #123

Sign up for free to 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.

[Bounty: $40] Add concurrency test for parallel executeTask calls

1 participant