Repository navigation
fix(i18n): add the three activity keys #18245 left out of en.json - #18250
Conversation
verify:localization-catalog and verify:localization-extraction both exited 1 on main. The failure was masked: the Lint step failed first on max-lines, so every later static-analysis step was skipped.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe English locale adds the Merge Risk: ⚪ Minimal · up to This localized change adds three missing English catalog entries without altering application behavior, and no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Description checkExplanation The description gives clear problem, cause, fix, scope, and verification details, but it does not follow the repository template. The required Linked Issue entry is blank, and the required Visual Proof, Testing, AI Disclosure, Review, boundary, Notes, and Checklist sections are missing. Resolution Add the missing template sections. Provide an issue reference after "Fixes #". For this non-visual catalog-only change, add "N/A" with a brief reason under Visual Proof. Document testing steps and platforms, AI disclosure if applicable, review considerations, the agent skill boundary checkbox, Notes, and the required Checklist items. Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)
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. Comment |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — added three missing i18n catalog keys to en.json that were introduced by #18245 but not registered in the catalog, causing both verify:localization-catalog and verify:localization-extraction to fail on main.
activityOptionsunderauto.components.activity.ActivityPrototypePage— auto-resolved by the sync tool.openActivity/closeActivityunderdashboard.sidebar— added by hand (ternary-selected inSidebarHeader.tsx, so the sync tool cannot see them).
All three English strings match the translate(key, fallback) defaults at the call sites byte-for-byte; the JSON nesting is correct; no user-visible behavior change.
DeepSeek Pro (free via Pullfrog for OSS) | 𝕏
CI failure analysis:
|
…json (stablyai#18250) verify:localization-catalog and verify:localization-extraction both exited 1 on main. The failure was masked: the Lint step failed first on max-lines, so every later static-analysis step was skipped.

Problem
verify:localization-catalogandverify:localization-extractionboth exit 1 onmain. Three keys referenced from source are missing fromen.json:All three were introduced by c2fce80 (#18245) and are absent at its parent.
Why nobody saw it
mainwas also failing oxlintmax-linesonsrc/shared/process-table-snapshot.ts. Because theLintstep fails first, every later step instatic analysis— including both localization checks — was skipped. #18246 fixed the lint error and has now landed, so this localization failure is the next blocker for every open PR.The break reached
mainbecause #18245 was merged past a red required check: itsstatic analysisfailed at 20:36:06 and it merged at 20:43:06. Separately, #18226 merged 8 seconds after its CI started (run created 20:42:07, merged 20:42:15, cancelled 20:42:39). Neither is in scope here, but they are the useful context for whoever owns CI merge policy — a green-required-check gate would have caught this before it reachedmain.Fix
pnpm run sync:localization-catalogresolves only the statically-analyzable key (activityOptions). The twodashboard.sidebar.*keys are selected through a ternary inSidebarHeader.tsx, so the catalog tool cannot see them; the extraction check does, and reports them with an empty default. Those two are added by hand.Total diff: 3 keys, 5 insertions in
en.json, no churn elsewhere.English strings match the inline
translate(key, fallback)defaults at each call site exactly, which is also whatSidebarHeader.test.tsxasserts asaria-label:dashboard.sidebar.openActivityView activitydashboard.sidebar.closeActivityTurn off activity viewauto.…ActivityPrototypePage.activityOptionsActivity optionsNo #18245 UI follow-up needed
All three call sites use
translate(key, fallback)with correct English fallbacks, so the UI has been rendering the right copy all along — no raw keys, no placeholder text were user-visible. The only breakage was CI. The keys still belong in the catalog: without them the strings are invisible to the translation pipeline and can never be localized (they were counted as missing in all four non-English locales).Verification
Confirmed the three added keys introduce zero new inline-default drift (drift set is byte-identical before and after against a fixed extraction snapshot).