Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
test(llm-proxy): bound both serial admin DNS lookups
Alfredo Lopez0f7e6b5a92c8
diff --git a/codex-llm-proxy/test/server.security.test.ts b/codex-llm-proxy/test/server.security.test.tsindex 6356598ef..e81c3e065 100644--- a/codex-llm-proxy/test/server.security.test.ts+++ b/codex-llm-proxy/test/server.security.test.ts@@ -1631,6 +1631,7 @@ describe('codex-llm-proxy attempt telemetry', () => {expectNoForbiddenKeys(lines[0]!)}, 15_000)+ // Both admin routes look up serially: 30 s bounds two 15 s lookup budgets.it('(r4-l1b) logs a catalog DNS lookup failure by cause code on both admin routes', async () => {for (const [route, operation] of [['/internal/admin/v1/codex/models', 'catalog_list'],@@ -1675,7 +1676,7 @@ describe('codex-llm-proxy attempt telemetry', () => {error.mockRestore()}}- }, 15_000)+ }, 30_000)it('logs a mapped control-api failure without an err entry', async () => {const { res, lines } = await run(diff --git a/grok-llm-proxy/test/server.security.test.ts b/grok-llm-proxy/test/server.security.test.tsindex 48ebb91a3..0800c266f 100644--- a/grok-llm-proxy/test/server.security.test.ts+++ b/grok-llm-proxy/test/server.security.test.ts@@ -1599,6 +1599,7 @@ describe('grok-llm-proxy attempt telemetry', () => {expectNoForbiddenKeys(lines[0]!)}, 15_000)+ // Both admin routes look up serially: 30 s bounds two 15 s lookup budgets.it('(r4-l1b) logs a catalog DNS lookup failure by cause code on both admin routes', async () => {for (const [route, operation] of [['/internal/admin/v1/grok/models', 'catalog_list'],@@ -1643,7 +1644,7 @@ describe('grok-llm-proxy attempt telemetry', () => {error.mockRestore()}}- }, 15_000)+ }, 30_000)it('logs a mapped control-api failure without an err entry', async () => {const { res, lines } = await run({