test: map the CodeRouter guide pane to its mobile wire kind

Merged
TE
1mo ago
+1-0

Main is red (#19109): MobileSurfaceKindMappingTests.everyPanelTypeMapsToItsCanonicalWireKind fails with canonicalKinds.count 16 != PanelType.allCases.count 17.

The CodeRouter guide pane (5f98c9800a43, @azooz2003-bit) added PanelType.coderouterGuide and its coderouterGuide wire kind in both mapping functions, but the test's canonical table wasn't updated. This adds the entry; product code is unchanged.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Summary by cubic

Fixes the failing MobileSurfaceKindMappingTests.everyPanelTypeMapsToItsCanonicalWireKind test by registering the coderouterGuide pane's canonical wire kind. The CodeRouter guide pane added PanelType.coderouterGuide but the test table wasn't updated, so the test failed on main; product code is unchanged.


[!NOTE]
Low Risk
Test-only update to a canonical mapping table; no runtime behavior changes.

Overview
Fixes a failing MobileSurfaceKindMappingTests case after PanelType.coderouterGuide was introduced: the test’s canonicalKinds dictionary now includes .coderouterGuide: "coderouterGuide", so its count matches PanelType.allCases and the test can assert that mobileSurfaceKind and Workspace.surfaceKind still emit the expected wire string.

No production mapping changes—only the test’s canonical vocabulary table is brought in line with the new panel type.

Reviewed by Cursor Bugbot for commit ae1c9b837e1b040bc0b3b9a0769b6b262206d3ad. Bugbot is set up for automated code reviews on this repo. Configure here.

Summary by CodeRabbit

  • Tests
    • Added coverage for the coderouterGuide panel-to-wire-kind mapping.