Skip to content

Fix merge validation for truncated translated chunks#12

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/-bc-2cd39179-b734-4942-b51f-63624ccc9876-29f3
Draft

Fix merge validation for truncated translated chunks#12
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/-bc-2cd39179-b734-4942-b51f-63624ccc9876-29f3

Conversation

@cursor

@cursor cursor Bot commented May 28, 2026

Copy link
Copy Markdown

Summary

  • Reject whitespace-only and suspiciously short translated chunks during manifest validation
  • Fail merge immediately on read errors or blank chunk content
  • Add regression tests for truncated, blank, and unreadable chunk outputs

Validation

  • python3 -m unittest tests.test_merge_and_build.MergeMarkdownValidationTests -v
  • python3 -m compileall scripts tests
  • python3 -m unittest discover -s tests -p 'test_*.py' -v
Open in Web View Automation 

Co-authored-by: Rainman <deusyu@users.noreply.github.com>
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