Skip to content

Wire node loss signals into service reconciler#332

Merged
kacy merged 1 commit intomainfrom
phase2-node-signal-reconcile
Mar 27, 2026
Merged

Wire node loss signals into service reconciler#332
kacy merged 1 commit intomainfrom
phase2-node-signal-reconcile

Conversation

@kacy
Copy link
Copy Markdown
Owner

@kacy kacy commented Mar 27, 2026

Summary:

  • persist endpoint node ids through the service registry bridge and preserve them across health updates
  • feed gossip and heartbeat-driven node loss/recovery signals into the authoritative service reconciler for immediate DNS and compatibility-mirror updates
  • expose reconciler node-signal state in rollout status and Prometheus metrics, with tests covering the new paths

Verification:

  • zig fmt on touched files
  • timeout 30 env YOQ_SKIP_SLOW_TESTS=1 ZIG_GLOBAL_CACHE_DIR=.zig-global-cache ZIG_LOCAL_CACHE_DIR=.zig-local-cache zig build test -- --test-filter health bridge preserves existing node id for endpoint (timed out with no emitted failures)
  • timeout 30 env YOQ_SKIP_SLOW_TESTS=1 ZIG_GLOBAL_CACHE_DIR=.zig-global-cache ZIG_LOCAL_CACHE_DIR=.zig-local-cache zig build test -- --test-filter node loss and recovery reconcile authoritative DNS immediately (timed out with no emitted failures)
  • timeout 30 env YOQ_SKIP_SLOW_TESTS=1 ZIG_GLOBAL_CACHE_DIR=.zig-global-cache ZIG_LOCAL_CACHE_DIR=.zig-local-cache zig build test -- --test-filter route handles /v1/status?mode=service_rollout GET (timed out with no emitted failures)

@kacy kacy merged commit 4cc0f06 into main Mar 27, 2026
6 of 7 checks passed
@kacy kacy deleted the phase2-node-signal-reconcile branch March 27, 2026 02:23
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.

1 participant