[BEL] 建立独立告警纵切 E2E 与 Windows 构建运行验证 #134
Closed
opened 2026-08-29 08:45:42 +08:00 by ila
·
10 comments
No Branch/Tag Specified
dev
feat/183-bell-contact-schedule
docs/171-coordination-e2e-wiki
feature/155-coordination-e2e
docs/168-sync-coordination-wiki
feature/154-coordination-deployment
docs/152-153-connectors
feature/153-event-evidence-connector
feature/152-brain-control
docs/151-machine-identity-acceptance
task/151-machine-identity
docs/150-contract-acceptance
docs/148-149-contract-acceptance
feature/149-runtime-status-contract
feature/150-event-evidence-contract
feature/148-source-config-contract
docs/8-mvp-acceptance
feature/145-sense-e2e-isolation-cleanup
feature/134-bell-independent-e2e
feature/142-bell-ui-shell-startup
feature/140-bell-minimal-admin-menu
feature/138-bell-production-captcha
feature/133-bell-alert-lifecycle
feature/132-bell-rule-alert
feature/131-bell-event-receipt
feature/16-brain-local-events
feature/15-brain-rules
feature/14-brain-vision
feature/13-brain-decode
feature/11-brain-input
main
feat/sense-79-ops-alerts
feat/sense-78-outbox
feat/77-sense-media-shards
feat/76-sense-edge-node-status
feat/75-sense-quota-capacity
feature/74-sense-operations
feature/73-sense-local-events
feature/72-sense-bulk-provisioning
feature/113-record-parallel-acceptance
feature/113-sync-parallel-implementation-docs
feature/71-sense-e2e-regression
feature/62-bell-goadmin-skeleton
feature/10-brain-python-cuda-skeleton
feature/108-sync-devharness
feature/90-sense-root-launcher
feature/106-supervisor-sense
fix/101-sense-layout-shell
feature/104-sense-login-30-days
docs/99-acceptance
feature/99-sense-app-config
feature/70-sense-windows-delivery
fix/95-sense-media-path-constraint
feature/97-sense-password-login
docs/92-acceptance
fix/92-sense-capabilities-jsonb
docs/69-acceptance
feature/69-sense-area
feature/68-sense-liveview
feature/67-sense-mediamtx-reconcile
feature/66-sense-onvif-admission
feature/65-sense-device-credential
feature/64-sense-auth-rbac-audit
feature/61-sense-goadmin-source-baseline
docs/acceptance-batch-20260814
coordination/58-finalize-branch-governance
explore
agent/codex/56-sense-device-edit-payload
agent/codex/54-sense-liveview-on-demand
agent/codex/51-sense-auto-liveview
agent/codex/50-sense-split-camera-credentials
agent/codex/48-sense-onvif-digest
agent/codex/46-sense-env-loader
agent/codex/44-sense-empty-navigation
agent/codex/42-sense-password-length-only
agent/codex/40-sense-password-min-6
agent/codex/37-sense-windows-package
agent/codex/36-bell-docs
agent/codex/9-bell-mvp
agent/codex/21-sense-mvp
agent/codex/28-current-prototypes
agent/codex/5-goadmin-baseline
agent/codex/3-go-admin-ui-reuse
agent/codex/1-collaboration-rules
No results found.
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ila/yovision#134
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
状态
已完成(2026-08-29,PR #144 已合入 dev)
基本信息
原始需求与变化
目标
非目标
contracts/、外部通知或生产数据库。精确 write_paths
Bell/tests/e2e/**Bell/tests/fixtures/**Bell/tests/compatibility/**Bell/scripts/e2e/**Bell/scripts/build/**Bell/scripts/runtime/**Bell/scripts/test-independent-e2e.ps1Bell/config/bell.env.exampleBell/README-WINDOWS.mdBell/ACCEPTANCE.mdBell/README.md(仅补充可复制命令与入口)禁止写:Bell 业务实现目录、
Sense/**、Brain/**、contracts/**、docs/**、根级构建/部署配置。测试暴露产品缺陷时另建单。测试与运行设计
dist/。验收标准
node_modules、本地数据库或真实凭据。Bell/**测试/交付路径。验证命令
最终工单必须把真实可复制命令写入 Bell README/ACCEPTANCE;至少包括:
go test ./...、go vet ./...、go build ./...pnpm install --frozen-lockfile、pnpm lint、pnpm test:unit、pnpm build:prodpython dev_scripts/harness.py check --strictgit diff --check与写路径检查风险与回退
设计与文档影响
docs/镜像由共享文档协调 agent 按最终真实命令更新。状态:进行中(2026-08-29)
前置 #62、#131、#132、#133 均已由用户验收并关闭;从干净且与远端一致的
dev@452cd71035d6a1c2a6059dfd418950045286b1f3创建feature/134-bell-independent-e2e。本会话未提供代码知识图谱 MCP,按仓库规则回退本地只读代码/配置检查。固定基线保持不变:Go 1.26.5、Node 22.22.1、pnpm 9.15.1;当前系统 Node 符合,全局 pnpm 11.21.0 和 Go 1.23.0 不作为验收工具链,脚本将分别通过
corepack pnpm@9.15.1与GOTOOLCHAIN=go1.26.5隔离调用。设计证据复用 #33 及 #132/#133 已确认的 GoAdmin 外壳、Bell 普通预警后台和处置流程;本工单不新增页面或业务交互。实现仅写工单授权的
Bell/tests/**、Bell/scripts/**、配置示例与 Bell 交付文档,不修改业务实现、Sense、Brain、contracts、docs 或根级部署。状态:阻塞(2026-08-29)
Windows 包脚本已能固定 Go 1.26.5 / Node 22.22.1 / pnpm 9.15.1 构建后端和 UI,完成来源/许可证/静态资源/秘密/禁止目录审计,并生成
bell.exe、Web 资源、start/stop/check 与压缩包。首次包审计还发现冻结 Vue CLI module runtime 引用缺失,构建脚本已在包产物中固定使用完整 legacy bundle,审计通过。隔离 PostgreSQL 生产包 E2E 在登录处发现计划外产品缺陷:生产模式强制 captcha,但 Bell 最小匿名路由未注册
GET /api/v1/captcha;现有 captcha handler 同时把明文答案写日志。实际结果为迁移成功、包进程可安全清理,但POST /api/v1/login返回业务码 400“验证码错误”。已按本工单“发现功能缺陷时停止并建立独立单元工单”的门禁创建 #138。#134 当前工作区改动保留在
feature/134-bell-independent-e2e,未提交、未混入业务修复;须先确认并执行 #138,验收合入dev后,再从更新后的dev续做 #134 的完整 E2E、浏览器、冷重启和最终提交。#138 已于 2026-08-29 验收并经 PR #139 合入
dev@86c3e79121b9db9239dc7a1062bdd15540e25336。#134 分支已快进到该基线并恢复原实施现场,继续从生产包登录 E2E 失败点验证。状态:阻塞(2026-08-29)
#138 合入后,Windows 包已重新构建且包审计通过;隔离 E2E 已通过迁移、启动、登录并进入菜单验证。当前真实失败为管理员
GET /api/v1/menurole暴露“开发工具”等未启用默认菜单。后端对应模块已禁用,界面会形成可见但不可用入口。已按 #134 停止条件建立 #140。#134 当前分支保留构建/E2E/运行脚本和文档现场,不修改业务菜单迁移;须先确认、执行并验收 #140,再继续 E2E 与浏览器验证。
前置缺陷 #140 已由用户验收并经 PR #141 合入
dev@f99fe8d4f73c1f49248043092c7e50e1fabae0c4。管理员最小菜单阻塞解除,#134 恢复为进行中;后续从此前保存的 E2E 现场继续验证。状态:阻塞(2026-08-29)
#140 合入后,#134 已完成以下验证:
visible语义验证通过;浏览器级验收发现新的计划外产品缺陷:根页面 HTTP 200,但
#app为空,控制台首错为Cannot read properties of undefined (reading 'theme')。固定构建同时警告variables.scss/element-variables.scss没有 default export。根因与修复需要写Bell/ui/**,超出 #134 精确 write_paths,已建立 #142。#134 当前分支继续保留 E2E、构建、运行脚本和文档现场;须先确认、执行并验收 #142,再恢复真实浏览器外壳与最终全量闭环。
用户于 2026-08-29 表示“#134通过,做#142”。由于 #134 的明确浏览器验收仍被已复现的生产白屏阻断,本次先记录其对已通过 API/包级纵切的认可;最终关闭与验收收尾延后到 #142 验收合入并补跑浏览器闭环后,避免把未达成的验收项记录为通过。#134 现场将暂存隔离。
前置缺陷 #142 已由用户验收并经 PR #143 合入
dev@6194b664ee822912c51803024453457c9b1e1c36。生产 GoAdmin 外壳白屏阻塞解除;此前临时集成已验证登录、侧栏、顶部导航、标签页、预警页面与完整纵切。#134 恢复进行中,继续完成最终全量验证、提交、PR 和证据回写。最终实施证据(2026-08-29)
状态:待验收;实现已推送并提交 PR #144(
feature/134-bell-independent-e2e→dev)。最终差异
测试
GOTOOLCHAIN=go1.26.5 go test ./... -count=1:通过。go vet ./...、go build ./...:通过。python dev_scripts/harness.py check --strict:通过。pwsh -NoProfile -File Bell/scripts/test-independent-e2e.ps1:完整独立纵切通过,临时进程和目录已清理。VERSION.txt的source_commit与提交完全一致。git diff --check和授权写路径检查:通过;提交后工作区 clean(Bell/dist为忽略的构建产物)。提交与 PR
a35f1d6770d31541bbeb3f0ede7f566ce777eb08已知非阻塞项
文档影响
docs/不在本工单授权写路径内,未同步;由后续共享文档协调任务处理。等待用户对 PR #144 / #134 的最终验收;验收前不合并、不关闭。
验收结论(2026-08-29)
#134通过。dev。a35f1d6770d31541bbeb3f0ede7f566ce777eb08。dev合并提交:6702b8a5b9bc0c6383e707904074b9885eeb3661。origin/dev历史。长期文档影响已在 Bell 项目内 README/ACCEPTANCE/Windows 运行说明处理;共享 Wiki 与根镜像仍按协调任务边界处理,本次不重复修改。