fix(platform-infra): bound public edge status output

This commit is contained in:
pikastech
2026-07-20 11:08:15 +02:00
parent f40a6f0c66
commit 56038de50c
3 changed files with 150 additions and 2 deletions
+6
View File
@@ -129,6 +129,10 @@
health path 或 expected A 与稳定错误码;
- `status` 是失败站点定位的唯一首选入口,
禁止再组合 plan、临时脚本和额外 `trans` probe
- 默认 target 状态只返回有界摘要,必须直接包含 authority、运行 commit、
managed/Compose fingerprint、endpoint 健康和 `firstFailure`
不得触发 `outputTruncated`
- 单站点详情使用 `--site <site-id>`,一次性完整对象使用显式 `--full`
- 输出保持 `valuesPrinted=false`,不披露 Secret 或 archive payload。
- 受控入口:
@@ -136,6 +140,8 @@
bun scripts/cli.ts platform-infra public-edge plan --target NC01
bun scripts/cli.ts platform-infra public-edge apply --target NC01 --dry-run
bun scripts/cli.ts platform-infra public-edge status --target NC01
bun scripts/cli.ts platform-infra public-edge status --target NC01 --site <site-id>
bun scripts/cli.ts platform-infra public-edge status --target NC01 --full
```
### 异地节点只读 Artifact Registry