Merged
Conversation
94069fd to
dd7e452
Compare
5 tasks
6d90ec5 to
788e115
Compare
dd7e452 to
f3ad9e9
Compare
788e115 to
a0a9105
Compare
Read-only scanner that walks vc_biomodelxml.bmxml and vc_mathmodelxml.mmxml, reports every row with codepoints rejected by XmlChars (C0 controls, unpaired surrogates, non-character codepoints, U+FFFD per project policy). Streams CLOBs through a Reader, caps in-memory size (--max-clob-mb), and uses an autoFlush PrintWriter so output is durable even if the long-running scan is interrupted. Output is TSV with kind/model_id/userid/offset/cp_hex/ snippet so corrupted models can be triaged for repair. Motivated by the two failing biomodels (311226221, 311875206); knowing the full scope of corruption in the prod DB is a prerequisite for choosing between repair-in-place and mark-broken. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
f3ad9e9 to
98e0736
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.
Summary
Why
PR #1676 fixed the import-side charset hygiene that was producing the corrupt CLOBs and PR #1677 added input-validation guards so future writes can't reach this state. This PR is the third leg: tell us how widespread the existing corruption is, so we can decide repair-in-place vs. mark-broken without speculation.
Test plan
Notes
🤖 Generated with Claude Code