Skip to content

fix: accept Codex batch JSON followed by token footer #698

Description

@randomparity

Running desloppify review --run-batches --runner codex --parallel --scan-after-import on macOS repeatedly fails after Codex returns a valid JSON review object followed by a tokens used footer. The run log records Runner exited 0 but output file is missing or invalid; treating as execution failure. The final JSON object is complete and valid before the footer, so the batch-result parser should either invoke Codex in JSON-only mode or extract and validate the final JSON object from stdout before rejecting the run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions