Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Delete leftovers test: a loose bound on the event loop hold, the pass counts stay the hard check
milind-sonie531fd2ed003
diff --git a/server/host/delete-leftovers.many-uploads.test.ts b/server/host/delete-leftovers.many-uploads.test.tsindex 9c0af795ac..839cc107e0 100644--- a/server/host/delete-leftovers.many-uploads.test.ts+++ b/server/host/delete-leftovers.many-uploads.test.ts@@ -115,7 +115,8 @@ describe("deleting conversations that hold thousands of uploads", () => {expect(read).toBe(rowCount);expect(reads).toBeGreaterThan(rowCount / 64);expect(pauses).toBeGreaterThan(10);- expect(longestMs).toBeLessThan(1_000);+ // Loose on purpose (slow disks on CI): the old check held it for minutes in one turn; the counts above are the hard part.+ expect(longestMs).toBeLessThan(10_000);const stored = (file: string) => existsSync(join(DATA_DIR, "attachments", file));const expected = (file: string) => referenced.has(file) || kept.has(file) || pictured.has(file);