feat: add automation wait commands
This commit is contained in:
parent
448a831a98
commit
e49b945259
5 changed files with 261 additions and 7 deletions
|
|
@ -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