apply_commit handles first-time spawns, request_spawn deprecated
This commit is contained in:
parent
6974634326
commit
66f1568e8f
6 changed files with 166 additions and 34 deletions
|
|
@ -203,8 +203,9 @@ read them à la carte.
|
|||
`actions.rs` and `dashboard.rs::lifecycle_action`, so the two
|
||||
surfaces never drift.
|
||||
- **Two-step spawn:** `request_init_config` → edit `agent.nix` →
|
||||
`request_spawn`. Never submit a Spawn approval without first
|
||||
reviewing the config template.
|
||||
`request_apply_commit`. The first apply_commit creates the
|
||||
container; subsequent ones rebuild it. `request_spawn` still
|
||||
works but is deprecated.
|
||||
- **Rate-limit sentinel:** `{state_dir}/hyperhive-rate-limited`
|
||||
is written by the harness on 429 and cleared on retry.
|
||||
`ContainerView.rate_limited` reads it for the dashboard badge.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue