Repository navigation
fix(sync): remove generated MDX trailing whitespace - #129
Merged
Merged
Conversation
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
git diff --checkgate.Why
The GPT-6.1 Terra Docs coordinator produced a complete 3996-page report and passed MDX validation, then failed at Git's whitespace gate (
git exited 2). The generated diff contained 176 trailing-whitespace diagnostics in translated Responses code examples; two newly translated guides had additional prose/list line-end spaces.Validation
python3 -m compileall -q scripts tests && python3 -m unittest— 52 tests passed.node --test tests/mdx-validation.test.mjs— 4 tests passed.9f0013ca3867522e5bf9534bb9de3a49ec7068a6— 3996/3996 translations current.node scripts/validate_mdx.mjs /tmp/docs-terra-preview-whitespace-r2-20261101— 4161/4161 pages valid.git diff --cached --check HEAD— zero diagnostics.git diff --checkon this PR — passed.Release
Merge this generator fix, then rerun the Backend Docs coordinator. It will regenerate the content PR from the current source and translations. Rollback is a normal revert of this generator change.