新增:BOSS 与智联扫描状态、日志和可确认控制 - #98
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BOSS 和智联扫描过去主要依赖页面状态,工作台关闭或浏览器连接故障后难以核实新增数、停止原因和控制是否执行。本次保留采集扩展,为每轮扫描登记后端记录,持久化事件、真实入库回执统计和暂停/继续/停止指令;两个平台页面共用扫描记录、时间线与脱敏导出。
验证:扩展 193/193;前端 244/244、typecheck、lint(0 errors / 26 warnings)和构建通过;后端全量 472 项,0 失败、3 跳过,另通过新增终态保护测试;离线浏览器 8/8;V27 一致性数据库备份迁移演练通过。新增双平台联调覆盖真实 HTTP / SQLite 入库、模拟 AI、后台重建及控制回执,全程无真实投递或收费 AI。
发布:CI 通过后更新现有 Alter Backend / 6866,保留新增表和历史事实用于回滚。实际 Chrome 加载 1.8.16、真实网站采集效果及脱敏 Fixture 导出仍为独立验收项,不能用离线测试或磁盘版本替代。
补充保障:停止回执首次发送失败后继续重试;终态快照不被迟到事件覆盖。Windows CI 曾在首次打开离线扩展页时发生 10 秒超时,已仅调整冷启动等待并增加模块就绪检查,业务断言保持不变;本地浏览器 8/8 再次通过。