Conversation
|
/next |
Walkthrough此次更新涉及两个模块的改进。第一个模块在扩展实例销毁方法中移除了条件判断,采用可选链直接调用 Changes
Sequence Diagram(s)sequenceDiagram
participant 用户 as 用户
participant ES as ExtensionServiceImpl
participant PS as ProgressService
用户->>ES: 触发扩展重启 (ERestartPolicy.Always)
Note right of ES: 检查 isProgressShowing 标志
alt isProgressShowing 为 true
ES->>用户: 输出日志并跳过重启流程
else isProgressShowing 为 false
ES->>PS: 显示重启进度
ES->>ES: 设置 isProgressShowing = true
ES->>ES: 执行 doRestart() (具有副作用,不可取消)
ES->>PS: 隐藏重启进度
ES->>ES: 设置 isProgressShowing = false
ES->>用户: 重启完成
end
Suggested labels
Suggested reviewers
Warning There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure. 🔧 ESLint
yarn install v1.22.22 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
⏰ Context from checks skipped due to timeout of 90000ms (9)
🔇 Additional comments (6)
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
🎉 PR Next publish successful! 3.8.3-next-1742977855.0 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4498 +/- ##
==========================================
- Coverage 53.13% 53.12% -0.01%
==========================================
Files 1665 1665
Lines 102645 102648 +3
Branches 22216 22224 +8
==========================================
- Hits 54541 54536 -5
- Misses 40018 40025 +7
- Partials 8086 8087 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Types
Background or solution
ExtensionHost Restart时序,移除并发状态下的 cancel 逻辑(会导致 Extension 的 activate 方法重复调用多次问题)Changelog
优化 Sumi Extension 重启流程
Summary by CodeRabbit
重构
修复