Signal the lead when a task is created, except tasks it created
This commit is contained in:
@@ -30,7 +30,7 @@ func TestRateLimitedTurn(t *testing.T) {
|
||||
t.Fatalf("create project: %v", err)
|
||||
}
|
||||
task := api.Task{Id: "t1", ProjectId: "p1", Title: "t", Branch: "b", WorktreePath: "/nonexistent", BaseRef: "x", Status: api.TaskStatusActive, CreatedBy: "alice", CreatedAt: now}
|
||||
err = st.CreateTask(ctx, task)
|
||||
err = st.CreateTask(ctx, task, "alice")
|
||||
if err != nil {
|
||||
t.Fatalf("create task: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user