Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

test(codex-plugin): give fake codex a startup-safe compressor budget (#4750)

now-ing527139ad494f
diff --git a/examples/codex-memory-plugin/scripts/auto-recall.test.mjs b/examples/codex-memory-plugin/scripts/auto-recall.test.mjs
index c00c5397b..43335585b 100644
--- a/examples/codex-memory-plugin/scripts/auto-recall.test.mjs
+++ b/examples/codex-memory-plugin/scripts/auto-recall.test.mjs
@@ -192,7 +192,13 @@ async function runEndpointCompressionCase({
OPENVIKING_CLI_CONFIG_FILE: join(stateDir, "missing-ovcli.conf"),
OPENVIKING_CREDENTIAL_SOURCE: "env",
OPENVIKING_RECALL_COMPRESS: "1",
- OPENVIKING_RECALL_TIMEOUT_MS: "10000",
+ // With recallTimeoutMs=10000 the compressor child inherits only
+ // max(1000, recallTimeoutMs - 10000) = 1000ms, which a fresh
+ // `node` cold start intermittently exceeds (seen in CI as
+ // compress_timeout → SIGKILL → empty args log). Give the fake
+ // codex subprocess a budget that cannot race with process startup.
+ OPENVIKING_RECALL_TIMEOUT_MS: "60000",
+ OPENVIKING_RECALL_COMPRESS_TIMEOUT_MS: "30000",
OPENVIKING_MIN_QUERY_LENGTH: "1",
OPENVIKING_SCORE_THRESHOLD: "0",
OPENVIKING_TIMEOUT_MS: "5000",