docs: Redis wording, stale /health example and undocumented in-memory peer mesh
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 72/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- rust
- Domain
- backend-api-design, documentation
Research direction
Start with docs/FEDERATION_TLS.md, docs/API.md, .gitignore, and the running health payload and peer registration script named in the issue. Compare the docs and ignore rules with the stated running behavior and consolidated tree, then update them to meet all five acceptance criteria. Done when markdownlint-cli2 reports 0 issues and the Rust suite passes.
Written by the indexing model from the issue text.
Description
Problem
sonaraim-node documentation still describes Redis and a stale node identity, and it does not warn that the peer mesh is held in memory. An operator who restarts a node and follows the docs ends up with a node that silently does not federate.
Evidence (read-only audit, 2026-12-04)
docs/FEDERATION_TLS.md:19— "Redis and gossip UDP traffic stay inside the private network"; the datastore is Valkey since#26(src/valkey_store.rs,VALKEY_URLwith legacyREDIS_URLfallback).docs/API.md:29-41— theGET /healthexample returns"http_bind": "0.0.0.0:8040"and"p2p_listen_addr": "/ip4/0.0.0.0/tcp/4001", while the running node binds HTTP on:8031and gossips over/ip4/0.0.0.0/udp/9031/quic-v1; the example also omitsvalkey_last_error, which/healthexposes and which the deployment verifies isnull.docs/API.md§POST /v1/p2p/peers/GET /v1/p2p/peersdoes not state that the mesh is in memory: after any node restart the peers must be registered again (deploy/scripts/register-federation-peers.shin the coordinator), otherwise replication stops without any error..gitignorediverges from the consolidated tree inalfonsodg/sonaraim(this repo still ignores.kiro/).
Expected vs actual
- Expected: the docs name Valkey, show a
/healthpayload that matches the running node (includingvalkey_last_error), and state that peer registration is volatile and must be repeated after restarts. - Actual: the docs name Redis, show a stale bind/gossip example without
valkey_last_error, and say nothing about the volatile mesh.
Acceptance criteria
- No document in this repository describes Redis as the running datastore; the legacy
REDIS_URLfallback stays documented where it is real. - The
GET /healthexample matches the running payload, includingvalkey_last_errorand a QUIC/UDPp2p_listen_addr. - The peer endpoints document that the mesh is in memory and must be re-registered after every node restart.
.gitignorematches the consolidated tree inalfonsodg/sonaraim.markdownlint-cli2reports 0 issues and the Rust suite stays green.
- Dominant language
- Rust
- Stars
- 0
- Forks
- 0
- Avg merge
- 4m
- Merged PRs (30d)
- 1
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from alfonsodg/sonaraim-node
-
bug(node): SigV4 presign date applies the epoch offset twice — media uploads can never validateOpenarea::node effort::s impact::medium priority::medium source::auto status::review type::bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
alfonsodg/sonaraim-node#29 · 1 comment ·
-
area::node effort::xs impact::low priority::low source::auto status::review type::docs
Difficulty 1/5 1-3 hours Newbie friendliness 78/100
alfonsodg/sonaraim-node#28 · 1 comment ·
-
area::node effort::m impact::medium priority::medium source::user status::review type::refactor
Difficulty 1/5 Under an hour Newbie friendliness 20/100
alfonsodg/sonaraim-node#26 · 1 comment ·
-
area::node effort::m impact::high priority::medium source::auto status::review type::bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
alfonsodg/sonaraim-node#25 · 2 comments ·
-
area::node effort::s impact::low priority::low source::auto status::review type::feature
Difficulty 3/5 1-2 days Newbie friendliness 64/100
alfonsodg/sonaraim-node#24 ·
All issues in alfonsodg/sonaraim-node
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
open-telemetry/otel-arrow#5040 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
snaglet-org/snaglet#67 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
comp-s3queue
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
ClickHouse/ClickHouse#137649 ·
Maintainers usually reply within 1 day