Skip to content

chore(bootstrap-peers): list moonwake-ledger node, HTTP only - #559

Merged
beardthelion merged 3 commits into
mainfrom
chore/bootstrap-peer-moonwake-ledger
Nov 9, 2026
Merged

beardthelion merged 3 commits into
mainfrom
chore/bootstrap-peer-moonwake-ledger

Conversation

@beardthelion

Copy link
Copy Markdown
Collaborator

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 use GITLAWB_P2P_BOOTSTRAP locally.

Kind of change

  • Bug fix
  • Feature
  • Security fix
  • Docs
  • Tests / CI
  • Refactor (no behavior change)
  • Breaking or protocol change (issue required first)

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.json gains a moonwake-ledger row: operator, did:key identity, https://node.moonwakeledger.com HTTP endpoint, p2p_multiaddr: null, added: 2026-10-02.
  • Merge detail: contributor commit preserved author-identical from b96d934f; one merge commit brings main at c805e35f with no conflicts. The merge commit sets the contributed p2p_multiaddr to null per 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 against https://node.moonwakeledger.com/ and /ready during review of the original PR: the did and p2p_peer_id in this row match what the node serves.

Before you request review

  • Scope is one logical change; no unrelated churn
  • cargo test --workspace passes locally
  • New behavior is covered by tests (required for fixes)
  • cargo fmt --all and cargo clippy --workspace --all-targets -- -D warnings are clean
  • Commit titles use Conventional Commits
  • Docs / .env.example updated if behavior or config changed (or N/A)
  • Checked existing PRs so this isn't a duplicate

Protocol & signing impact

  • Touches DID / did:key, Ed25519 / RFC 9421 signatures, UCAN, ref certs, or P2P wire formats
  • Discussed in an issue before implementation
  • Backward-compatible with existing nodes and previously signed history

The row carries a did:key string as data, like the five existing peers; no DID handling, signing, or wire format changes. The needs-issue tracking item stays on the original PR's triage thread.

Notes for reviewers

  • Original fork PR: bootstrap-peers: add moonwake-ledger with a dialable p2p multiaddr #498 (still open; will be pointed here and closed after this lands or on request). Maintainer takeover lane.
  • Two of the original review's three asks are folded in here: the dial field is null, and this PR uses a conventional chore: title. The third (a linked tracking issue) is a process item that stays with the original PR's needs-issue triage thread.
  • Known overlap: bootstrap-peers: add pocketlawb with a dialable p2p multiaddr #297 proposes the same class of change for a different operator and is held on the identical dial-seed question. Whichever lands first rebases the other; both should land as HTTP-only rows under current policy.
  • Recorded during original review, not an ask: embedded_seed_list_parses_successfully exercises parse_seed_list but not merge_into_vecs on 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.

@coderabbitai

coderabbitai Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

This 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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2798568e-94e7-4197-98f7-f05c87f799e4
Commits

Reviewing files that changed from the base of the PR and between 6c971e7 and 7768eb3.

Files selected for processing: 1

  • bootstrap-peers.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@beardthelion
beardthelion requested a review from jatmn November 9, 2026 14:53
@beardthelion

Copy link
Copy Markdown
Collaborator Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor
Action not completed

Review rate limited.


Your included review limit is currently reached under our Fair Usage Limits Policy. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 1 minute.

@jatmn jatmn left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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.

@beardthelion
beardthelion added this pull request to the merge queue Nov 9, 2026
Merged via the queue into main with commit 05afd68 Nov 9, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants