fix: expose server deployment trigger

This commit is contained in:
npc0-hue
2026-07-28 15:11:01 +08:00
parent e4ef4024a8
commit c5806cc6b7
10 changed files with 151 additions and 5 deletions
@@ -0,0 +1,9 @@
## 1. Server detail deployment action
- [x] 1.1 Add an explicit Deploy / Retry deploy handler that invokes the existing fenced API with current config version and operation feedback.
- [x] 1.2 Render the action only for deployable draft or failed instances and prevent duplicate submission while pending.
## 2. Verification
- [x] 2.1 Extend focused server-detail tests to cover the deploy trigger and its state guards.
- [x] 2.2 Run frontend tests, the structure check, and strict OpenSpec validation.