Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.
test(teamhub): expect Task Run activities from the Agent Service history
shoudi zhenga7470ad658b6
diff --git a/apps/teamhub/tests/integration/task_runtime_presentation_test.go b/apps/teamhub/tests/integration/task_runtime_presentation_test.goindex e8a879e4..50c5df5c 100644--- a/apps/teamhub/tests/integration/task_runtime_presentation_test.go+++ b/apps/teamhub/tests/integration/task_runtime_presentation_test.go@@ -116,9 +116,10 @@ func TestTaskRuntimePresentationHistoryAndPrivacy(t *testing.T) {if strings.Contains(string(body), "private") || !strings.Contains(string(body), "Working") || !strings.Contains(string(body), "Checking workspace") {t.Fatalf("public Task events: %s", body)}- native := get(alice, "/v0/rooms/"+roomID+"/runs/"+runID+"/activities", 200)- if !strings.Contains(string(native), `"status":"unavailable"`) {- t.Fatalf("native history leaked %s", native)+ // A Task Run's activities come from the Agent Service's native history, which this environment cannot reach.+ native := get(alice, "/v0/rooms/"+roomID+"/runs/"+runID+"/activities", 503)+ if !strings.Contains(string(native), `"MESSAGE_ACTIVITIES_UNAVAILABLE"`) {+ t.Fatalf("Task Run activities without an Agent Service: %s", native)}get(http.DefaultClient, path, 401)// Finish with no tool completion and no Message. The Run still owns history.