Repository navigation
Preserve optional fields in bulk normalization - #972
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #972 +/- ##
==========================================
- Coverage 72.24% 72.24% -0.01%
==========================================
Files 182 182
Lines 36108 36103 -5
Branches 2532 2532
==========================================
- Hits 26087 26082 -5
Misses 9115 9115
Partials 906 906 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
wangyinz
marked this pull request as draft
August 14, 2026 06:03
wangyinz
marked this pull request as ready for review
August 14, 2026 15:46
wangyinz
force-pushed
the
codex/issue-829-bulk-optional
branch
from
August 23, 2026 09:50
66d7b7b to
102edf0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #829
This PR makes bulk normalization persist every field actually returned by a matcher, including present optional fields, while leaving absent optional fields absent and preserving alias/prepend behavior exactly as atomic normalization does.
Validation includes an independent agent review, all four alias/prepend combinations, full MongoDB-backed normalization regressions, an exact baseline-red suite, Black, Ruff, py_compile, and diff checks.
This PR is ready for human review. It must not be merged automatically.