Skip to content

Preserve optional fields in bulk normalization - #972

Merged
wangyinz merged 1 commit into
masterfrom
codex/issue-829-bulk-optional
Aug 23, 2026
Merged

wangyinz merged 1 commit into
masterfrom
codex/issue-829-bulk-optional

Conversation

@wangyinz

Copy link
Copy Markdown
Member

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.

@codecov

codecov Bot commented Aug 13, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.24%. Comparing base (69f44ae) to head (102edf0).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@wangyinz
wangyinz marked this pull request as draft August 14, 2026 06:03
@wangyinz
wangyinz marked this pull request as ready for review August 14, 2026 15:46
@wangyinz
wangyinz force-pushed the codex/issue-829-bulk-optional branch from 66d7b7b to 102edf0 Compare August 23, 2026 09:50
@wangyinz
wangyinz merged commit e505fcf into master Aug 23, 2026
18 checks passed
@wangyinz
wangyinz deleted the codex/issue-829-bulk-optional branch August 23, 2026 10:13
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.

Preserve optional matcher output in bulk_normalize

1 participant