openai / openai/codex

Remote compaction v2 fails

Open
#42,393 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug context
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What version of the Codex App are you using (From “About Codex” dialog)?

Latest

What subscription do you have?

Plus

What platform is your computer?

macOS (Apple Silicon / ARM64)

What issue are you seeing?

Error running remote compact task: Fatal error:
remote compaction v2 expected exactly one compaction output item, got 0 from 3 output items

What steps can reproduce the bug?
  1. Start a long-running task using /goal.
  2. Let the task run long enough for context compaction to be triggered.
  3. The remote compaction fails with the error above.
  4. Clicking “Continue” may trigger the same error again.
What is the expected behavior?

Context compaction should complete successfully and the /goal task should continue running without interruption.

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with a long-running /goal task until remote compaction v2 is triggered, then trace the remote compaction path associated with the reported error. Done means compaction completes successfully and the /goal task continues without interruption, including after selecting “Continue”.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
ai-infra-agents
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.