feat: support configure ext host spawn options#3980
Conversation
|
🚅 Previously deployed to Railway in the core project. Environment has been deleted. |
Walkthrough此次更改引入了新的接口 Changes
Sequence Diagram(s)sequenceDiagram
participant A as Client
participant B as NodeExtProcessService
participant C as OverrideExtensionNodeService
A->>B: 请求生成进程
B->>B: 调用 getSpawnOptions()
B-->>A: 返回默认的 spawnOptions
A->>C: 请求生成进程
C->>C: 调用 getSpawnOptions()
C-->>A: 返回自定义的 spawnOptions
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 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 (
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3980 +/- ##
==========================================
- Coverage 54.86% 54.85% -0.02%
==========================================
Files 1569 1569
Lines 95660 95680 +20
Branches 19613 19622 +9
==========================================
+ Hits 52486 52487 +1
- Misses 35852 35870 +18
- Partials 7322 7323 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Types
Background or solution
Changelog
Summary by CodeRabbit
新特性
ExtHostSpawnOptions接口,允许更灵活的环境变量和执行参数配置。getSpawnOptions方法,提供扩展进程选项的获取功能。ICreateProcessOptions接口中添加了extHostSpawnOptions属性,增强了创建进程的灵活性。修复