Skip to content

Remote compact task fails with unknown variant auto, expected high or original #25191

@bsb66

Description

@bsb66

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

codex-cli 0.133.0

What subscription do you have?

pro

What platform is your computer?

win11

What issue are you seeing?

Codex shows an internal error during remote context compaction:

Error running remote compact task: stream disconnected before completion: unknown variant auto, expected high or original at line 1 column 212507
Expected:
The remote compact task should complete successfully, or tolerate/normalize auto if older/newer clients may emit it.

Actual:
The stream disconnects before completion because a serialized field contains auto, while the server/parser only accepts high or original.

Likely cause:
A schema mismatch between client and remote compaction service. A field that looks like an image/detail setting is serialized as auto, but the receiving side only accepts the enum variants high and original.

Environment:
Codex desktop app, Windows workspace, timezone Europe/Bucharest. Error occurred during conversation compaction, not while running user code.

What steps can reproduce the bug?

Codex shows an internal error during remote context compaction:

Error running remote compact task: stream disconnected before completion: unknown variant auto, expected high or original at line 1 column 212507
Expected:
The remote compact task should complete successfully, or tolerate/normalize auto if older/newer clients may emit it.

Actual:
The stream disconnects before completion because a serialized field contains auto, while the server/parser only accepts high or original.

Likely cause:
A schema mismatch between client and remote compaction service. A field that looks like an image/detail setting is serialized as auto, but the receiving side only accepts the enum variants high and original.

Environment:
Codex desktop app, Windows workspace, timezone Europe/Bucharest. Error occurred during conversation compaction, not while running user code.

What is the expected behavior?

to do

Additional information

no

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appapp-serverIssues involving app server protocol or interfacesbugSomething isn't workingcontextIssues related to context management (including compaction)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions