Repository navigation
Conversation
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. |
|
Code review on PR #20676 (head f7c2d73): approve. Read against the diff; tests not run.
Stays visible as a limit, not blocking: short literals such as The entry cites an owner decision of 2026-11-02. I did not see that decision directly; #19885 records it as a maintainer decision. |
✅ SSOT Configuration Compliance: Passing🎉 No new hardcoded values of either class — Known backlog in |
|
Branch audit (zero-change deletion). This PR shows 0 changed files against |
Closes #19885
Thinking Path
label:andzeroText:, freezing existing entries once as a recorded exception to shrink-only.What Changed
repo_tests/_ui_literal_scan.py:_SCRIPT_LITERALalso matcheslabel:andzeroText:. The scan stays.vueonly, under both apps'src.docs/developer/RATCHET_BASELINES.md: the recorded exception, with the decision, date, count and reconciliation. It is one time and not a precedent.label: t('area.thing.label')and names i18n: the zero-size file text and the performance tab labels render untranslated #19885.True count
autobot-frontendlabel:autobot-slm-frontendlabel:zeroText:Reconciliation with the 187 lines in 32 files seen when deciding: a plain regex reproduces exactly that. 120 are detected. 66 are under 5 characters or have no lowercase letter (
Info,PDF,Chat), which the shared rule skips for every key. 1 is in a template expression. The issue's "about 24" is the file count.Blind spot left in place: those 66 include real visible text such as
Chat. Catching them means a different rule for every key, so it wasn't done here.Verification
hardcoded_ui_literal_ratchet_12732_test.py,slm_frontend_bare_ui_literals_test.py: 68 passed. NewTestLabelAndZeroTextFields: positive and negative controls per field, a real component (FleetSummary.vue), and a new literal failing the frozen baseline per field.no_file_gainsfailed naming these literals; then regenerated.GitHub,Redis,WebSocket)..tsfiles are not scanned or measured.zeroText:has no real hit, so its controls are synthetic.Model Used
Claude Opus 5.5