Tencent / Tencent/BrowserSkill
Bug: 守护进程反复重启,扩展无法稳定连接
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.7k
- Forks
- 399
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 74
Description
问题描述
bsk 守护进程每隔约 20-30 秒自动重启,导致浏览器扩展断开连接,无法稳定工作。
环境信息
- OS: Windows 11 x64
- bsk CLI: v0.1.11 / v0.2.0(均复现)
- 浏览器: Microsoft Edge
- 扩展版本: v0.2.0
日志证据
守护进程日志显示 periodic update check failed 后立即重启,形成无限循环。
今天(2026-09-08)守护进程已重启 81 次。
根本原因
bsk 的周期性更新检查失败时,会触发整个守护进程重启。重启后扩展断开连接,守护进程再次启动,再次检查更新,再次失败,形成循环。
复现步骤
- 安装 bsk CLI 和浏览器扩展
- 运行 bsk daemon start
- 等待约 20-30 秒,观察守护进程重启
- 扩展断开连接,session 丢失
临时解决方案
使用 Playwright + 本地 Chromium 替代 bsk 完成浏览器自动化任务。
期望行为
更新检查失败时不应触发守护进程重启,应记录错误并继续运行。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the daemon entry point invoked by bsk daemon start and trace the periodic update-check handling, using the reported periodic update check failed log as the starting point. Reproduce on Windows 11 with the listed CLI and extension versions, then verify that an update-check failure leaves the daemon running, preserves the browser connection, and records the error without repeated restarts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100