fix: extend batch installer selection timeout
This commit is contained in:
@@ -104,7 +104,7 @@ For other repositories:
|
||||
|
||||
## Selection Dialog Timeout
|
||||
|
||||
The plugin selection dialog has a default timeout of **2 minutes (120 seconds)**, allowing sufficient time for users to:
|
||||
The plugin selection dialog has a default timeout of **15 minutes (900 seconds)**, allowing sufficient time for users to:
|
||||
- Read and review the plugin list
|
||||
- Check or uncheck the plugins they want
|
||||
- Handle network delays
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
|
||||
## 选择对话框超时时间
|
||||
|
||||
插件选择对话框的默认超时时间为 **2 分钟(120 秒)**,为用户提供充足的时间来:
|
||||
插件选择对话框的默认超时时间为 **15 分钟(900 秒)**,为用户提供充足的时间来:
|
||||
- 阅读和查看插件列表
|
||||
- 勾选或取消勾选想安装的插件
|
||||
- 处理网络延迟
|
||||
|
||||
@@ -108,7 +108,7 @@ For other repositories:
|
||||
|
||||
## Selection Dialog Timeout
|
||||
|
||||
The plugin selection dialog has a default timeout of **2 minutes (120 seconds)**, allowing sufficient time for users to:
|
||||
The plugin selection dialog has a default timeout of **15 minutes (900 seconds)**, allowing sufficient time for users to:
|
||||
- Read and review the plugin list
|
||||
- Check or uncheck the plugins they want
|
||||
- Handle network delays
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
|
||||
## 选择对话框超时时间
|
||||
|
||||
插件选择对话框的默认超时时间为 **2 分钟(120 秒)**,为用户提供充足的时间来:
|
||||
插件选择对话框的默认超时时间为 **15 分钟(900 秒)**,为用户提供充足的时间来:
|
||||
- 阅读和查看插件列表
|
||||
- 勾选或取消勾选想安装的插件
|
||||
- 处理网络延迟
|
||||
|
||||
@@ -108,7 +108,7 @@ For other repositories:
|
||||
|
||||
## Selection Dialog Timeout
|
||||
|
||||
The plugin selection dialog has a default timeout of **2 minutes (120 seconds)**, allowing sufficient time for users to:
|
||||
The plugin selection dialog has a default timeout of **15 minutes (900 seconds)**, allowing sufficient time for users to:
|
||||
- Read and review the plugin list
|
||||
- Check or uncheck the plugins they want
|
||||
- Handle network delays
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
|
||||
## 选择对话框超时时间
|
||||
|
||||
插件选择对话框的默认超时时间为 **2 分钟(120 秒)**,为用户提供充足的时间来:
|
||||
插件选择对话框的默认超时时间为 **15 分钟(900 秒)**,为用户提供充足的时间来:
|
||||
- 阅读和查看插件列表
|
||||
- 勾选或取消勾选想安装的插件
|
||||
- 处理网络延迟
|
||||
|
||||
@@ -28,7 +28,7 @@ DEFAULT_BRANCH = "main"
|
||||
DEFAULT_TIMEOUT = 20
|
||||
DEFAULT_SKIP_KEYWORDS = "test,verify,example,template,mock"
|
||||
GITHUB_TIMEOUT = 30.0
|
||||
CONFIRMATION_TIMEOUT = 120.0 # 2 minutes for user confirmation
|
||||
CONFIRMATION_TIMEOUT = 900.0 # 15 minutes for user confirmation
|
||||
GITHUB_API = "https://api.github.com"
|
||||
GITHUB_RAW = "https://raw.githubusercontent.com"
|
||||
SELF_EXCLUDE_HINT = "batch-install-plugins"
|
||||
|
||||
@@ -20,7 +20,7 @@ Batch Install Plugins from GitHub v1.1.0 upgrades the install confirmation step
|
||||
- Replaced the install confirmation step with `__event_call__({"type": "execute"})`
|
||||
- Added a repository parser plus multi-repository discovery fan-out before filtering and installation
|
||||
- Returns a structured payload containing `confirmed` and `selected_ids`
|
||||
- Preserves the existing 120-second timeout for user interaction
|
||||
- Extends the user interaction timeout to 15 minutes (900 seconds)
|
||||
- Keeps installation ordering aligned with the requested repository order and filtered candidate list
|
||||
|
||||
## Validation
|
||||
|
||||
@@ -20,7 +20,7 @@ Batch Install Plugins from GitHub v1.1.0 将原本的安装确认步骤升级为
|
||||
- 使用 `__event_call__({"type": "execute"})` 替换安装确认步骤
|
||||
- 新增仓库解析和多仓库发现聚合流程,再进入过滤与安装阶段
|
||||
- 返回包含 `confirmed` 与 `selected_ids` 的结构化结果
|
||||
- 保留原有的 120 秒用户交互超时时间
|
||||
- 将用户交互超时时间延长到 15 分钟(900 秒)
|
||||
- 安装顺序仍与用户传入的仓库顺序和过滤后的候选列表保持一致
|
||||
|
||||
## 验证
|
||||
|
||||
Reference in New Issue
Block a user