Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Tests: keep PR numbers out of four comments (#6233)

Milind Soni3dfe324e8370
diff --git a/server/host/chief-incident-spend.test.ts b/server/host/chief-incident-spend.test.ts
index c3de079e4e..e1a1b6bd04 100644
--- a/server/host/chief-incident-spend.test.ts
+++ b/server/host/chief-incident-spend.test.ts
@@ -147,7 +147,7 @@ describe("a routine every 5 minutes whose tool server is dead, for a day", () =>
});
describe("a routine every 5 minutes on a server whose engines cannot start, for a day", () => {
- // 9 runs, each started once more 30 s later while it waits for room (#6179); nothing reaches the AI until one starts.
+ // 9 runs, each started once more 30 s later while it waits for room; nothing reaches the AI until one starts.
it("tries 18 starts in 9 runs and starts 2 Chief turns", async () => {
const w = world(1, spawnRefused, true);
await w.passTo(START + 24 * HOUR);
diff --git a/server/routine-failure-spacing.test.ts b/server/routine-failure-spacing.test.ts
index 8dd8911c45..6b304a9039 100644
--- a/server/routine-failure-spacing.test.ts
+++ b/server/routine-failure-spacing.test.ts
@@ -157,7 +157,7 @@ describe("a routine every minute by cron whose tool server is dead", () => {
});
describe("a routine every 5 minutes on a server whose engines cannot start", () => {
- // Each of the 9 runs waits once for room (#6179) and then fails with the refusal, instead of a spawn every 30 s for an hour.
+ // Each of the 9 runs waits once for room and then fails with the refusal, instead of a spawn every 30 s for an hour.
it("tries 9 runs in its first day, each started once more 30 s later for room and no more, never its retry", async () => {
const h = harness(async () => { throw new Error(SPAWN_REFUSED); });
await h.passTo(START + 24 * HOUR, () => {});
diff --git a/server/shared-computers.gate.test.ts b/server/shared-computers.gate.test.ts
index 57b4be3f1e..574dfd4f27 100644
--- a/server/shared-computers.gate.test.ts
+++ b/server/shared-computers.gate.test.ts
@@ -189,7 +189,7 @@ it("features.sharedComputers true brings the whole surface back, for every paire
const listed = await internal("GET", "/api/internal/shared-computers");
expect(listed.status).toBe(200);
- // A bot not on This computer is told it is never in this list (#6203).
+ // A bot not on This computer is told it is never in this list.
expect(listed.body).toEqual({ computers: [], thisComputer: expect.stringContaining("This computer itself is never in this list") });
expect(await api("GET", "/api/shared-computers")).toEqual({ status: 200, body: { computers: [], known: [] } });
diff --git a/server/turn-prompt-budget.test.ts b/server/turn-prompt-budget.test.ts
index d37338989a..efad0e8891 100644
--- a/server/turn-prompt-budget.test.ts
+++ b/server/turn-prompt-budget.test.ts
@@ -68,7 +68,7 @@ const PROMPT_BUDGET_BASELINE: Record<string, number> = {
"routine": 3367,
"profile": 1016,
"team-memory": 286,
- // #6203: +130 bytes on both sandbox kinds, on purpose: the person's own files (C:\Users\…, /Users/…, Desktop) are reached only on This computer.
+ // Both sandbox kinds carry +130 bytes on purpose: the person's own files (C:\Users\…, /Users/…, Desktop) are reached only on This computer.
"computer:vm-private": 5913,
"computer:vm-shared": 5908,
"computer:box": 4382,