Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Desmond Foo 2026-03-15 18:43:42 +08:00 committed by GitHub
parent 7614f03e5b
commit a8f7c86357
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -78,7 +78,8 @@ func TestSpawnStatusTool_Empty(t *testing.T) {
func TestSpawnStatusTool_ListAll(t *testing.T) {
provider := &MockLLMProvider{}
manager := NewSubagentManager(provider, "test-model", "/tmp/test")
workspace := t.TempDir()
manager := NewSubagentManager(provider, "test-model", workspace)
now := time.Now().UnixMilli()
manager.mu.Lock()