Tencent / Tencent/BrowserSkill

Bug: 守护进程反复重启,扩展无法稳定连接

Open
#202 0 comments 1 reaction 0 assignees View on GitHub

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 的周期性更新检查失败时,会触发整个守护进程重启。重启后扩展断开连接,守护进程再次启动,再次检查更新,再次失败,形成循环。

复现步骤

  1. 安装 bsk CLI 和浏览器扩展
  2. 运行 bsk daemon start
  3. 等待约 20-30 秒,观察守护进程重启
  4. 扩展断开连接,session 丢失

临时解决方案

使用 Playwright + 本地 Chromium 替代 bsk 完成浏览器自动化任务。

期望行为

更新检查失败时不应触发守护进程重启,应记录错误并继续运行。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.