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(computer): give the cancelled-start cleanup its full budget

jeffreyf0e2db45eaf1
diff --git a/apps/computer/local-daemon/internal/provider/native/codex_runtime_test.go b/apps/computer/local-daemon/internal/provider/native/codex_runtime_test.go
index 2f34165f..c1657310 100644
--- a/apps/computer/local-daemon/internal/provider/native/codex_runtime_test.go
+++ b/apps/computer/local-daemon/internal/provider/native/codex_runtime_test.go
@@ -850,8 +850,6 @@ func jsonText(value any) string {
func TestCodexCancelledStartOnResidentKeepsHomeUsable(t *testing.T) {
fake := newCodexFake(t, []codexFakeTurn{{Status: "completed", Items: []map[string]any{codexAgentMessage("m", "ok", nil)}}}, nil)
- previous := codexCleanupBudget.set(2 * time.Second)
- t.Cleanup(func() { codexCleanupBudget.set(previous) })
rt := fake.runtime(nil)
spec := fake.spec()
out, _ := codexDrain(t, rt, "park", spec)