Repository navigation
Publish reviewed translations with equivalent link checks - #843
Merged
Merged
Conversation
Signed-off-by: zlareb1 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
Bind the marked work bag to the serialization check so later event tests cannot inherit it. Signed-off-by: zlareb1 <[email protected]>
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.
Changelog category (leave one):
Changelog entry
Publish twenty-three reviewed documentation translations across all five translation languages: nineteen architecture pages covering cost budgets, definition drafts, documentation translation and source push, plus the Korean tracker record contract and code-operation guide, and Spanish and Portuguese code-index freshness guidance. The Japanese definition-drafts page is excluded from this batch. Stored-page label checks compare equivalent translated and English fallback links through their canonical source targets.
Why
These generated pages have complete semantic and native-language reviews and available translated link destinations. A stored English fallback remains valid when its native destination becomes available; comparing raw URLs misidentifies its unchanged filename label as missing. Publishing them makes the budget, drafting, translation, source-push, tracker, code-operation and freshness contracts available through the existing native documentation navigation.
Scope and risk
Generated Markdown and two lines in the stored-label checker, plus focused regressions. The checker uses the existing canonical link comparison for both prepared English and stored text, relative to the translated page. Filename spelling, occurrence identity and untranslated-prose checks remain enforced. Each imported page retains its exact model output, source blob, configured model and bilingual authority notice. The maintained producer validates protected content and link dependencies before publication. Existing pending pages keep their generated bytes and source stamps. English remains canonical, and incomplete or stale coverage remains explicit.
Compatibility, rollout and rollback
Tests
Mirror-failure serialization tests restore their request-work context before later tests emit events. The four ordered cases reproduce one failure before isolation and all pass afterward; production required-tail checks remain intact.
Maintained provider-free imports accepted all twenty-three reviewed pages, with current-source invariants and dependency closure checks. Existing published pages remain unchanged.
Exact generated bytes, source blobs, complete independent semantic and native-language review receipts and active semantic exclusions checked for every added body.
Twenty-three focused stored-context checks pass, including routing changes for documentation and README pages, repeated filenames, changed labels, external destinations, missing occurrences and untranslated link prose.
The unchanged Korean output reproduces two failures with raw URL comparison, passes canonical comparison and still rejects altered-label and external-target controls.
Ruff, format, prose and
git diff --checkpass.Full unit, integration and strict documentation checks run in PR CI and must pass before merge. No heavy local suite ran.
AI assistance in the code (leave one; writing this description with AI is fine):
AI-generated (an agent wrote most of the diff): Codex prepared the generated-data imports, fixed the stored-label comparison and wrote the focused regressions. Translation prose comes from the approved translation model.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist