feat: add automation wait commands
This commit is contained in:
parent
448a831a98
commit
e49b945259
5 changed files with 261 additions and 7 deletions
|
|
@ -32,6 +32,7 @@ The following command families are intended to be stable automation surfaces:
|
|||
- `geth keychain sigchain|verify-sigchain|import-sigchain|verify-checkpoint|fetch|explain|explain-signer`
|
||||
- `geth auth explain|grant|revoke|sync`
|
||||
- `geth sync status|now`
|
||||
- `geth wait daemon|peer|sync`
|
||||
- `geth secret status|create|rotate|bearer`
|
||||
- Local CAS object commands: `geth cas add|get|hash|has|pin|unpin|cleanup|providers|list|fetch`
|
||||
- File-root metadata commands: `geth cas root add|list|scan|sync|apply`
|
||||
|
|
|
|||
|
|
@ -243,14 +243,14 @@ Goal: make `geth` ergonomic and stable as a base layer for custom automation.
|
|||
- `[x]` Tests assert both code and operator-facing hint for representative
|
||||
failures.
|
||||
|
||||
- `[ ]` Add wait commands for automation.
|
||||
- `[x]` Add wait commands for automation.
|
||||
Acceptance criteria:
|
||||
- `[ ]` `geth wait daemon` can block until local control is ready.
|
||||
- `[ ]` `geth wait peer <node>` can block until peer control succeeds or
|
||||
- `[x]` `geth wait daemon` can block until local control is ready.
|
||||
- `[x]` `geth wait peer <node>` can block until peer control succeeds or
|
||||
times out.
|
||||
- `[ ]` `geth wait sync <node>` can block until required streams are healthy
|
||||
- `[x]` `geth wait sync <node>` can block until required streams are healthy
|
||||
or stale.
|
||||
- `[ ]` Wait commands support JSON output and timeout flags.
|
||||
- `[x]` Wait commands support JSON output and timeout flags.
|
||||
|
||||
- `[ ]` Make common commands idempotent.
|
||||
Acceptance criteria:
|
||||
|
|
|
|||
Loading…
Reference in a new issue