No description
先试一台(架构文档术语「金丝雀/种子」,界面文案去术语化为「先试一台/ 试验主机」,三方对照表见 internal/deploy/CONTEXT.md): - 开启后先对试验主机完整下发;成功(含无变更)后暂停,操作员人工核实 实机状态再放行其余主机;失败或操作员中止则其余主机零接触,逐台记 「未下发」(StatusSkipped=2,枚举尾部追加,前端数字协议不破坏) - 人工放行在单次 DeployHosts 调用内完成(引擎 ConfirmSeed 回调 + deploy:canary-await 事件 + DeployCanaryDecision 绑定),试验机与其余 主机使用同一配置包,杜绝「试验包 A、下发包 B」窗口;决策与部署操作 序号绑定、单次有效;等待无超时,取消视为不放行 - 前端:开关(主机数 >3 默认开,CANARY_DEFAULT_THRESHOLD)+ 试验主机 下拉 + 放行对话框(无变更有专属提醒、不可点遮罩关闭)+ 网格「试验」 徽标 + 失败清单 CSV 试验主机备注;为守单文件行数约束纯搬迁抽出 dialog.js / log-console.js / format.js EV-6(xlsx 自 EV-1 起可携带 BMC 凭据,落点 /tmp 世界可读): - SFTP 上传统一 chmod 0600,收紧失败即判上传失败(fail-closed) - 解压后对 xlsx / netmap.yaml 再收紧 600 - 原成功路径清理之外,失败路径与预检路径也尽力清理凭据文件 (独立 15s 超时上下文,保留 script_output.log / serverlog 排障) 对应架构文档 2025-7province docs/architecture-evolution.md EV-8 / EV-6。 |
||
|---|---|---|
| .scratch | ||
| build | ||
| docs | ||
| frontend | ||
| internal | ||
| pyhelper | ||
| scripts | ||
| .gitattributes | ||
| .gitignore | ||
| app.go | ||
| app_auth.go | ||
| app_connstore.go | ||
| app_deploy.go | ||
| app_deploy_test.go | ||
| app_dhcp.go | ||
| app_pybridge.go | ||
| app_pybridge_test.go | ||
| app_test.go | ||
| app_update.go | ||
| cgo_uniformtypeidentifiers_darwin.go | ||
| CLAUDE.md | ||
| CONTEXT-MAP.md | ||
| CONTEXT.md | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| README.md | ||
| VERSION | ||
| wails.json | ||
README
About
This is the official Wails Vanilla template.
You can configure the project by editing wails.json. More information about the project settings can be found
here: https://wails.io/docs/reference/project-config
Live Development
To run in live development mode, run wails dev in the project directory. This will run a Vite development
server that will provide very fast hot reload of your frontend changes. If you want to develop in a browser
and have access to your Go methods, there is also a dev server that runs on http://localhost:34115. Connect
to this in your browser, and you can call your Go code from devtools.
Building
To build a redistributable, production mode package, use wails build.