Repository navigation
Keep skipped imports out of translation PRs - #201
Conversation
Transifex imports survived file-level validation failures because the publisher collected every changed input, including files the translator had withheld. This let English replacements enter a blocked PR despite correct detection of the translation regression. Exclude explicitly skipped files before review and publication, retain their inputs for diagnosis, and leave partial runs incomplete so they do not advance the source baseline or send a success heartbeat.
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (11)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe pipeline now records skipped translation inputs, validates skip records before publication, preserves skipped-file evidence, and excludes skipped paths from publication. Runs with skipped inputs exit unsuccessfully without advancing the Git-source baseline or sending the success heartbeat. ChangesSkipped translation input publication
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Bug fix Sequence Diagram(s)sequenceDiagram
participant UpdateScript as update-translations.sh
participant Planner as localize.translation_publication
participant PRBatching as PR batching and semantic review
participant GitBaseline as Git-source baseline
participant SuccessHeartbeat as success heartbeat
UpdateScript->>Planner: Validate summary and candidate files
Planner-->>UpdateScript: Return filtered files and evidence path
UpdateScript->>PRBatching: Publish remaining files
Note over UpdateScript,SuccessHeartbeat: If skipped inputs remain, exit with status 1
Note over UpdateScript,GitBaseline: Do not advance the baseline
Note over UpdateScript,SuccessHeartbeat: Withhold the success heartbeat
Merge Risk: ⚪ Minimal · up to This change keeps skipped translation inputs out of translation PRs and fails runs that still have skipped work. No merge-blocking risk was found in the supplied context. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The change strengthens exclusion of invalid imports and prevents incomplete runs from reporting success. No new security vulnerability was established, but external integrations and deployment isolation remain incompletely verified. Retained concerns Security review detailsSecurity Blast Radius
Security Findings and Attack Paths
Trust Boundaries and Controls
Resilience and Maintainability Implications
Hardening Proposals
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 73.08% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 26 functions across 10 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. A rabbit checks the queue at dawn, Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Explain the validation summary contract and the touched regression checks. This addresses review documentation coverage without changing executable logic.
a3a1237 to
2407fad
Compare
Problem and change
In Bisq2 #5059, Transifex replaced two Portuguese strings with English. An unrelated existing control character caused preflight validation to skip the file, but publication still collected the imported changes. The quality gate detected the regression and the PR was blocked.
Publication now excludes explicitly skipped files before semantic review, batching and staging. It saves their imported contents and validation summary for diagnosis. Healthy files may still be published; a run with skipped work exits unsuccessfully before advancing the source baseline or sending its success heartbeat. Missing or malformed skip records fail closed.
Unsupported locales and missing source files also produce explicit skip records, and preserved debug output cannot overwrite skipped inputs.
Validation
Review follow-up
CodeRabbit completed a review of all 11 files at
1c74a610eb854c1e30a1c23132058414c9328392, with no actionable code findings and minimal merge risk. Its docstring-coverage warning is addressed by2407fade0335c836f41a7aa0f9a539d15357f3a1: four docstrings in three files. Independent review confirms identical executable AST after removing docstrings and no missing docstrings among touched functions; 62 focused checks passed again. CodeRabbit's follow-up is rate-limited, so this does not claim a second completed external review. CI validates the final head.