Skip to content

fix: serve peer list from daemon snapshot#257

Merged
LiranCohen merged 1 commit into
mainfrom
fix/local-peer-snapshot
Jul 11, 2026
Merged

fix: serve peer list from daemon snapshot#257
LiranCohen merged 1 commit into
mainfrom
fix/local-peer-snapshot

Conversation

@LiranCohen

Copy link
Copy Markdown
Contributor

Summary

  • materialize an immutable, rich last-good mesh snapshot inside the running daemon
  • serve meshd peer list from the validated local status socket before loading the identity vault or querying DWN
  • preserve the prior snapshot and expose refresh metadata when a remote rebuild fails
  • retain the existing remote path for old daemons, legacy state, mismatched profiles, and snapshots that are not ready
  • keep the tray/status peers backward compatible while adding node identity, ownership, label, expiry, and last-seen fields

Verification

  • go build ./...
  • go vet ./...
  • go test ./... -count=1 -race

Closes #252

@LiranCohen
LiranCohen merged commit 0f14a35 into main Jul 11, 2026
6 checks passed
@LiranCohen
LiranCohen deleted the fix/local-peer-snapshot branch July 11, 2026 21:05
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.

perf: investigate slow meshd peer list

1 participant