test: add stable json output fixtures

This commit is contained in:
Eric Wendland 2026-07-05 18:04:25 +02:00
commit 2921e5e976
6 changed files with 112 additions and 4 deletions

View file

@ -79,7 +79,7 @@ behavior.
- `[x]` Sync stream selection, watermarks, and run result helpers live in a
sync-focused module.
- `[x]` Per-module sync handlers have consistent interfaces.
- `[ ]` `geth sync status --json` output remains stable.
- `[x]` `geth sync status --json` output remains stable.
## Phase 2: Stable Automation Contracts
@ -94,12 +94,12 @@ and downstream projects.
- `[x]` Peer wire protocol compatibility is documented.
- `[x]` SQLite and signed-operation compatibility are documented.
- `[ ]` Add golden JSON tests.
- `[~]` Add golden JSON tests.
Acceptance criteria:
- `[ ]` Important script-facing commands have stable JSON fixture tests.
- `[x]` Important script-facing commands have stable JSON fixture tests.
- `[ ]` Error JSON includes stable codes for common operator and automation
failures.
- `[ ]` Fixture updates require intentional review.
- `[x]` Fixture updates require intentional review.
- `[~]` Expand protocol roundtrip tests.
Acceptance criteria: