Skip to content

fix(i18n,test): drop setup-only keys and fix the default-tab test #28543 left red - #28603

Merged
Jinwoo-H merged 4 commits into
mainfrom
fix/i18n-drop-setup-only-keys
Oct 14, 2026
Merged

Jinwoo-H merged 4 commits into
mainfrom
fix/i18n-drop-setup-only-keys

Conversation

@Jinwoo-H

@Jinwoo-H Jinwoo-H commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1
Prod 6 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​11 $\color{#cf222e}{\Huge{\mathbf{−}}}$​25 $\color{#cf222e}{\Huge{\mathbf{−}}}$​14

ELI5

Main's translation check fails because five translated language files still have three phrases that the English file no longer has. This deletes them.

What Changed

Removes auto.components.settings.AgentsPane.setupOnly, ...setupOnlyHint and auto.components.agent.AgentCombobox.setupOnly from es, fr, ja, ko and zh. #28543 removed them from en.json, and the "Verify localization catalogs" step on main (and on every PR) fails on keys English no longer has.

Why

The keys are unused, so deleting them is the whole fix. Nothing on screen changes.

Also: stale test fixture

orca-runtime-default-tab-agent-status.test.ts built its runtime without a store. #28543 intentionally reads settings before creating default tabs (so a setup-only create can skip them), so a storeless runtime now throws runtime_unavailable and no tab gets its template title. The fixture now has a store; behaviour is unchanged.

Linked Issue

N/A (main CI fix)

Visual Proof

N/A: unused translation strings only.

Testing

pnpm run verify:localization-catalogs exits 1 on main ("extra:" for the three keys) and 0 with this change. verify:localization-coverage passes.

  • Automated tests added/updated, or explained why not below (the catalog verifier is the test)

Main's localization catalog check fails on these three stale keys in es/fr/ja/ko/zh.
@coderabbitai

coderabbitai Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 552ce64b-b355-4b88-beda-58d518459c40
📥 Commits

Reviewing files that changed from the base of the PR and between e5cae6b and 5d3547d.

📒 Files selected for processing: 1
  • src/main/native-chat/agent-session-wire/structured-agent-session-message-options.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.

📝 Walkthrough

The Spanish, French, Japanese, Korean, and Chinese locale files remove setup-only agent settings translations. The Japanese and Korean files also remove the setup-only agent picker translation. The headless runtime test helper now defaults to a session store initialized with getDefaultWorkspaceSession(), while still accepting a supplied store. The structured agent session message write context now supplies a now callback that returns context.now().

Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to 5d354

The locale cleanup does not remove text used by the inspected renderer paths, and the test setup and session-write clock support their intended behavior. No concrete user-facing or operational regression is established; the PR appears ready for merge after normal checks.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 2 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title clearly summarizes both main changes: removing obsolete localization keys and fixing the default-tab test fixture.
Description check Passed The description explains the user impact, changes, rationale, visual impact, and verification steps. It also explains the stale test fixture and reports the relevant localization checks. Some template…
  • Fix all pre-merge checks with AI
✨ Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

#28543 reads settings before creating default tabs (setup-only skips them), so a storeless runtime now fails provisioning with runtime_unavailable.
@Jinwoo-H Jinwoo-H changed the title fix(i18n): drop the setup-only keys removed from en.json (fix main CI) fix(i18n,test): drop setup-only keys and fix the default-tab test #28543 left red Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant