Repository navigation
fix(i18n): separate native UI call discovery by platform - #142295
roboclaw-bot wants to merge 3 commits into
Conversation
Keep Apple UI-call names out of Android protocol-string discovery and Android names out of Apple discovery. Preserve stable source identifiers and regenerate the canonical inventory. Worked on by: - @IWhatsskill Co-authored-by: IWhatsskill <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 10, 2026, 10:10 AM ET / 14:10 UTC (Revision 10). ClawSweeper reviewWhat this changesSeparates Android and Apple translation-string discovery, adds collision coverage, and removes HTTP-header false positives from the native source inventory. Merge readiness✅ Ready for maintainer review The fix remains useful: current main and the latest release still share call-name discovery across platforms. No introduced defect was found, and the updated body resolves the previous review’s evidence-scope request. Priority: P2 Review scores
Verification
How this fits togetherNative localization tooling scans Android and Apple source files to identify translatable text. Its inventory feeds the separate locale-refresh process that generates translations and platform resources. flowchart TD
A[Android source] --> C[Android UI call names]
B[Apple source] --> D[Apple UI call names]
C --> E[Extract translatable text]
D --> E
E --> F[Stable source inventory]
F --> G[Locale refresh and platform resources]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +72, Other +1. Total +73 across 3 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep discovery platform-scoped at the inventory producer and let the existing locale-refresh owner publish derived resources. Do we have a high-confidence way to reproduce the issue? Yes, from source: the shared discovery set lets an Apple UI helper named header classify Android HTTP-header literals as UI text. No runtime reproduction was executed in this read-only review. Is this the best way to solve the issue? Yes. Separating the existing producer’s platform sets repairs the demonstrated collision without adding a competing extraction path or changing source identifiers. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 878bc51433d4. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (9 earlier review cycles; latest 8 shown)
|
e394b7c to
cd2af30
Compare
Integrate the reviewed owner-scoped repairs and updated stack prerequisite. Retain the validated I layer source with only the inherited legacy agent-binding fix. Preserve the historical secondary parent and the validated layer source while restacking its prerequisite. Co-authored-by: IWhatsskill <[email protected]> Worked on by: - @IWhatsskill
cd2af30 to
c1f1b7e
Compare
Keep platform-scoped extraction, its regression coverage, and the stable source inventory in the source PR. Leave derived locale/resource cleanup to the existing serialized native refresh. Worked on by: - @IWhatsskill Co-authored-by: IWhatsskill <[email protected]>
|
Closing this PR in favor of a planned rebuild on current main. |
Related: #138726
What Problem This Solves
Fixes an issue where UI call names discovered on one native platform could cause protocol strings on the other platform to be classified as translatable UI copy.
Why This Change Was Made
Keep Android and Apple built-in and discovered call-name sets separate, while preserving the existing stable source-ID rules and canonical inventory generator.
User Impact
The native translation inventory no longer includes the affected false-positive Android entries. Real UI strings and existing translations retain their ownership; this does not change Talk routing or add translations.
Evidence
Source-only correction — September 10, 2026
Head:
6215c700c3db6687cf9f8724b35b352743791cf8. The source-only correction preserves the platform-scoped producer fix and intentional Accept inventory cleanup. Source-aware admission and native source verification pass; 37 focused tests passed, and canonical P0–P2 review of the correction returned zero findings.29 native-inventory tooling tests previously passed for the platform-scoped discovery change.
I removes the false-positive Accept source/inventory entry. Generated locale dictionaries, lookup code and Android resources are deliberately kept at the corresponding base here; their cleanup belongs to the Main-only native locale refresh workflow.
Prior generated-candidate evidence: the earlier regenerated candidate passed canonical validation of all 21 locales, Android/Apple resources and inventories. This is not a strict generated-parity claim for the current source-only PR.
Existing nonblocking localization quality advisories were not suppressed; no general translation cleanup was performed.
Current source-only verification: native source/inventory verification and the unchanged source-aware admission guard pass. The earlier strict 21-locale/generated-resource result belongs to the prior regenerated candidate.
Historical validation source tree: commit
e394b7c742ef26513d158ea5b53430db619bc57b. The local evidence above has its stated scope.Native locale publication boundary
This is a source-only PR. Source/inventory changes and program behavior are retained; generated native locale dictionaries, lookup tables and XML are owned by the serialized Main-only Native App Locale Refresh workflow after source landing. Source-aware admission and inventory verification are distinct from strict generated-resource parity. No refresh or Main merge is performed by this PR update.
The intentional Accept inventory cleanup and platform-specific discovery fix remain. Keeping predecessor-generated artifacts here removes mixed source/generated publication, not the producer fix.
Worked on by: