Skip to content

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): land the email edit conflict between the rename and the subject line

muterC97609c5f3f88
diff --git a/apps/teamhub/tests/integration/voice_live_canvas_test.go b/apps/teamhub/tests/integration/voice_live_canvas_test.go
index 29e4c3c4..0d0918d7 100644
--- a/apps/teamhub/tests/integration/voice_live_canvas_test.go
+++ b/apps/teamhub/tests/integration/voice_live_canvas_test.go
@@ -350,9 +350,10 @@ func TestVoiceLiveWritesAndChangesAnEmailCanvasAsTheAgent(t *testing.T) {
}
return string(state)
}
- // A change that lands while an edit is made, here after its title step,
- // is redone on the latest canvas as new operations and lands once.
- canvasConflicts.Store(documentID, &canvasConflictPlan{skip: 2, conflicts: 1})
+ // A change that lands while an edit is made, here after its title step
+ // and before its subject line, is redone on the latest canvas as new
+ // operations and lands once, the title included.
+ canvasConflicts.Store(documentID, &canvasConflictPlan{skip: 1, conflicts: 1})
before := computes.Load()
redone := call("edit-3c", "edit_email_canvas", map[string]string{"document_id": documentID, "revision_id": rewritten["revision_id"].(string),
"subject": "Saturday barbecue pickup", "body": "Hi Amy,\n\nBarbecue on Saturday!"})