Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
test(codex): isolate the inherited HEALTH_REGION value in the restarted-server test
AdityaUmale1fed9dd3a919
diff --git a/server/drivers/codex.test.ts b/server/drivers/codex.test.tsindex 051b999262..b0b32742ec 100644--- a/server/drivers/codex.test.ts+++ b/server/drivers/codex.test.ts@@ -1713,6 +1713,7 @@ process.stdout.write(JSON.stringify({jsonrpc:'2.0',id:m.id,result})+'\\n');});`)});it("runs a turn for a restarted custom server, leaving the host's restart count out of its environment", async () => {+ vi.stubEnv("HEALTH_REGION", "inherited");await create();const dump = join(scratch, "custom-restarted.json");process.env.FAKE_CODEX_DUMP = dump;