Skip to content

fix: coordinate event-driven mesh refreshes#259

Merged
LiranCohen merged 3 commits into
mainfrom
fix/refresh-coordinator
Jul 11, 2026
Merged

fix: coordinate event-driven mesh refreshes#259
LiranCohen merged 3 commits into
mainfrom
fix/refresh-coordinator

Conversation

@LiranCohen

Copy link
Copy Markdown
Contributor

Summary

  • add one single-flight refresh coordinator that durably coalesces subscription, endpoint, manual, retry, startup, and anti-entropy invalidations
  • use authoritative stream health to switch between a 30-second fallback cadence and a 5-minute healthy cadence, with bounded debounce, rate-limit-aware jittered retry, and subscribe-before-repair fencing
  • preserve the immutable last-good local snapshot, derive peer liveness and expiry locally, and expose scheduler/stream health through the daemon status API
  • remove the redundant second startup DWN load by replaying an isolated local map after the engine event bus is ready
  • keep role-only topology streams on explicit polling fallback until the scalable observer stream in feat: add scalable MessagesSubscribe mesh invalidation stream #255 lands

Closes #258.

Validation

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

All pass locally.

@LiranCohen
LiranCohen merged commit a0ff8d7 into main Jul 11, 2026
6 checks passed
@LiranCohen
LiranCohen deleted the fix/refresh-coordinator branch July 11, 2026 22:08
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: coordinate event-driven mesh refreshes

1 participant