Repository navigation
chore(bootstrap-peers): list moonwake-ledger node, HTTP only - #559
Conversation
|
Warning Review limit reachedThis review ran on the open-source allowance, not this organization's plan, because the pull request author doesn't have an assigned seat. Waiting won't change this — ask an organization admin to assign them a seat, or add seats in Billing if every seat is already assigned, then retry. Next included review available in 36 minutes. View limit details
|
|
@coderabbitai full review |
Action not completed
|
jatmn
left a comment
There was a problem hiding this comment.
🟢 Thanks for the contribution. I do not see any actionable issues from my review.
Merge readiness
Rebase onto current main before merge. The branch is one commit behind live target head a2262d92b2029d7228e3bf8528aad4d7ed1865db (fix(node): implement reconciliation sweep as durability backstop (#551)). The three-dot diff does not touch that code; rebase is still worth doing so merge metadata and CI run on the latest tree.
cargo audit failed on this PR’s checks run, but the same job also fails on live main (a2262d92). This PR changes only bootstrap-peers.json, so treat audit as a repository-wide merge gate, not a regression introduced here.
The PR body’s verify section says the did and p2p_peer_id “in this row” match the live node. The seed schema field is p2p_multiaddr (null here by policy); live p2p_peer_id lives on GET /, not in the JSON row. That wording is easy to misread during review — consider tightening it for maintainers, not a code change.
GitHub merge state is BLOCKED pending human review (REVIEW_REQUIRED). Required PR checks other than cargo audit completed successfully on head c9ff596d1b8ace387a532df346ab965f6b131166.
Summary
Carries #498 (
bootstrap-peers: add moonwake-ledger with a dialable p2p multiaddr) onto an upstream branch so the upstream-only Code Quality check can run. The moonwake-ledger node joins the canonical seed list as an HTTP listing; its dial field lands null, matching every other row.Motivation & context
A public node operator asked to be listed in
bootstrap-peers.json. The HTTP listing is in policy; a compile-time/dns4/.../p2p/...seed is not. Embedded seeds currently contribute zero libp2p dials fleet-wide, and admitting the first third-party dial target is a network-ops call being held until Gitlawb-operated dial multiaddrs ship or a written seed-operator bar exists (the same hold applied on #297). Operators who want to dial the peer meanwhile can useGITLAWB_P2P_BOOTSTRAPlocally.Kind of change
None of the listed kinds fit exactly: this is a seed-list data update (
chore), with no code, docs, or test changes.What changed
bootstrap-peers.jsongains amoonwake-ledgerrow: operator,did:keyidentity,https://node.moonwakeledger.comHTTP endpoint,p2p_multiaddr: null,added: 2026-10-02.b96d934f; one merge commit bringsmainatc805e35fwith no conflicts. The merge commit sets the contributedp2p_multiaddrtonullper the dial-seed policy above.How a reviewer can verify
cargo test -p gitlawb-node --bin gitlawb-node bootstrap::The bootstrap module's tests pass on the merged tree, including
embedded_seed_list_parses_successfully. The live node identity was verified againsthttps://node.moonwakeledger.com/and/readyduring review of the original PR: thedidandp2p_peer_idin this row match what the node serves.Before you request review
cargo test --workspacepasses locallycargo fmt --allandcargo clippy --workspace --all-targets -- -D warningsare clean.env.exampleupdated if behavior or config changed (or N/A)Protocol & signing impact
did:key, Ed25519 / RFC 9421 signatures, UCAN, ref certs, or P2P wire formatsThe row carries a
did:keystring as data, like the five existing peers; no DID handling, signing, or wire format changes. Theneeds-issuetracking item stays on the original PR's triage thread.Notes for reviewers
chore:title. The third (a linked tracking issue) is a process item that stays with the original PR'sneeds-issuetriage thread.embedded_seed_list_parses_successfullyexercisesparse_seed_listbut notmerge_into_vecson the shipped file, so a malformed multiaddr would stay green in CI until runtime skip. With all dial fields null this is dormant; worth a maintainer follow-up if first-party dial seeds ever land.