Files
Nexus/docs/audit/2026-07-01-gate-catchup-terminal-btpanel.md
2026-07-08 22:31:31 +08:00

1.9 KiB
Raw Permalink Blame History

审计 — 2026-07-01 补录门禁(宝塔 / Terminal / 快捷命令)

Changelog: docs/changelog/2026-07-01-gate-catchup-terminal-btpanel.md

Step 3 规则扫描

文件 规则 结论
ssh_bootstrap.py 无变更不写盘、不 reload PASS
terminal.py 静态路由 reorder 先于 {id} PASS
useServerQuickAdd.ts 复用 Servers add-by-ip 契约 PASS
ServerQuickAddDialogs.vue 与 Servers 弹窗一致 PASS
TerminalPage.vue 成功后 loadServers + newSession PASS
TerminalQuickCommandsSettings.vue @click.stop 防列表吞事件 PASS

Closure

状态 说明
重复 bootstrap 踢宝塔会话 FIXED if actions: 才 reload
reorder 被 {id} 抢路由 FIXED 路由顺序调整 + 单测
Terminal 无快速添加 FIXED TabBar 按钮 + 共用对话框
6/30 部署跳过门禁 补录 本 changelog/audit + pre_deploy

文件清单

  • server/infrastructure/btpanel/ssh_bootstrap.py
  • server/api/terminal.py
  • tests/test_btpanel_ssh_bootstrap.py
  • tests/test_terminal_quick_commands.py
  • frontend/src/composables/servers/useServerQuickAdd.ts
  • frontend/src/components/servers/ServerQuickAddDialogs.vue
  • frontend/src/utils/openServerTerminal.ts
  • frontend/src/components/terminal/TerminalTabBar.vue
  • frontend/src/pages/TerminalPage.vue
  • frontend/src/pages/ServersPage.vue
  • frontend/src/components/TerminalQuickCommandsSettings.vue
  • deploy/pre_deploy_check.sh

DoD

  • Step 3 规则扫描
  • Closure 表
  • 文件清单与本次批次一致
  • pytest tests/test_btpanel_ssh_bootstrap.py tests/test_terminal_quick_commands.py 通过
  • pre_deploy_check.sh 全门通过(Gate 3 回退或本机 :8600

验证

.venv/bin/pytest tests/test_btpanel_ssh_bootstrap.py tests/test_terminal_quick_commands.py -q
bash deploy/pre_deploy_check.sh