Skip to content

Reject duplicate file entries in apply_patch - #31456

Open
bryane-oai wants to merge 1 commit into
mainfrom
bryane/codex-fixing-map-structure
Open

Reject duplicate file entries in apply_patch#31456
bryane-oai wants to merge 1 commit into
mainfrom
bryane/codex-fixing-map-structure

Conversation

@bryane-oai

Copy link
Copy Markdown

Ensure patches that declare the same file more than once are rejected consistently during verification and execution.

This avoids ambiguous patch representation and keeps behavior deterministic.

Adds regression coverage for both paths.

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@bryane-oai

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant