Skip to content

fix: materialize mesh topology updates locally#264

Open
LiranCohen wants to merge 1 commit into
mainfrom
feat/topology-materializer
Open

fix: materialize mesh topology updates locally#264
LiranCohen wants to merge 1 commit into
mainfrom
feat/topology-materializer

Conversation

@LiranCohen

Copy link
Copy Markdown
Contributor

Summary

  • make meshd peer list strictly socket-local and serve the daemon snapshot without DWN fallback latency
  • bootstrap one validated raw topology baseline, apply ordered subscription deltas transactionally, and hydrate only missing winning payloads
  • use exact DWN write/delete/prune/squash semantics, recipient-aware last-good parsing, and bounded audience-key miss caching
  • reserve full reconciliation for startup and repair, with cursor pagination, eight bounded workers, atomic cut fences, and request/record/byte limits
  • fail closed for unreadable ACL/relay/self state; publish an expired zero-peer down map for self revocation and reproject peer expiry locally
  • bound WebSocket and HTTP response memory, harden queue accounting, and preserve caller ownership for endpoint updates

Closes #260

Validation

  • go build ./...
  • go vet ./...
  • go test ./... -count=1 -race
  • git diff --check
  • independent production audit: no release blockers

Follow-ups

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: apply mesh topology subscription deltas locally

1 participant