Repository navigation
fix(native-chat): merge duplicate native-chat-types import - #19698
Conversation
#19230 added a second import of the same module, and the focused code-quality gate (import/no-duplicates, --deny-warnings) fails every PR opened on main since it merged. Claude-Session: 1fec75fd-224b-46ab-95fe-d88e0f3d9ff9
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe change consolidates Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to This cleanup consolidates native chat type imports without changing runtime behavior. The duplicate-import issue is resolved, with no remaining merge-readiness risk identified. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Description checkExplanation The description explains the duplicate import, the static-analysis failure, the lack of behavior changes, and the verification commands. However, it omits required template sections, including Resolution Complete the required template sections. Add a valid
✨ Finishing Touches📝 Generate docstrings
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 |

What
#19230 added a second
import type { NativeChatToolCallBlock }fromshared/native-chat-typesinNativeChatToolRun.tsx. The static-analysis job's focused code-quality gate runsimport/no-duplicateswith--deny-warnings, so every PR opened on main since 06:50 UTC fails that job. This merges the import into the existing statement. No behavior change.Verified
oxlint --config config/oxlint-code-quality-native-plugins.jsonon the file: cleantsc -p config/tsconfig.web.json: cleanUnblocks #19696 and anything else opened tonight.