

























fix(codex): rotate native threads before overflow
Fix Codex app-server native thread overflow recovery and CLI compaction fallback. - rotate Codex native startup bindings when rollout token pressure leaves too little headroom - keep byte-size rollout fuses ahead of rollout content reads - clear stale resumed context-engine bindings only when the stored thread id still matches - fall back to context-engine compaction when Codex owns/skips native compaction Verification: - node scripts/run-vitest.mjs run --config test/vitest/vitest.extension-codex.config.ts extensions/codex/src/app-server/startup-binding.test.ts extensions/codex/src/app-server/run-attempt.context-engine.test.ts extensions/codex/src/app-server/session-binding.test.ts --reporter=verbose - node scripts/run-vitest.mjs run --config test/vitest/vitest.agents.config.ts src/agents/command/cli-compaction.test.ts --reporter=verbose - git diff --check origin/main...HEAD - autoreview --mode branch --base origin/main: clean - GitHub CI for 466bfbe: green Co-authored-by: fuller-stack-dev <263060202+fuller-stack-dev@users.noreply.github.com>7 files changed
Lines changed: 838 additions & 156 deletions
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。