fix: restore sweep-test-coverage-state.csv after union-merge corruption#2753
Merged
brendancol merged 1 commit intoJun 1, 2026
Merged
Conversation
PR xarray-contrib#2712's squash merge ran the merge=union driver against a branch based on the older multi-line CSV format. The union duplicated the header three times, duplicated several module rows, and split multi-line notes fields across physical lines. Restore the file to one header plus one single-line row per module (adds the proximity row xarray-contrib#2712 intended to add). No data lost: the retained rows are the compacted versions already on main before the merge. The merge=union root cause is tracked separately.
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.
What
Restores
.claude/sweep-test-coverage-state.csvto its canonical form: one header line and one single-line row per module.Why
The squash merge of #2712 left the file corrupted on
main:reproject,rasterize,zonal,resample,polygonize,geotiff)notesfields are split across separate physical linesThe cause is the
merge=uniondriver set for.claude/sweep-*-state.csvin.gitattributes. The #2712 branch was based on the older multi-line CSV format;mainhad since been compacted to single-line CRLF rows. Unioning those two formats at merge time produced duplicated and split lines. The file went from 9 lines to 43.The fix
Rewrite the file as one header plus nine single-line rows (the eight modules already on
mainbefore #2712, plus theproximityrow #2712 meant to add). No data is lost — the retained rows are the compacted2026-05-29versions that were onmainimmediately before the merge; the duplicates were stale2026-05-27copies the union pulled back in.Net change: 43 physical lines down to 10.
Scope
CSV only. The
merge=uniondriver that caused this is a separate problem and is tracked on its own; this PR just repairs the data.