Repository navigation
Conversation
Pin the normalized address and port across probes and ownership checks. Include the final runtime read before freshness and target-exit checks. Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
✅ Deterministic PR hygiene checks passed. |
Based on #7027 by @luvs01. The opt-in health sentinel (#6671) now probes only numeric endpoints (loopback for default, localhost and every wildcard spelling the server accepts), pins that endpoint for its lifetime, and re-reads the runtime record before termination, so a DNS bind name or a changed record cannot turn unrelated timeouts into a kill of a healthy proxy. Co-authored-by: Epinephrine <[email protected]> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
Thank you, @luvs01! This is a good catch. A DNS bind name that resolves somewhere unreachable would have made the sentinel read timeouts as a hung proxy and kill a healthy one. The endpoint pinning and the reordered final read close the two remaining stale-evidence gaps. The contributor draft gate kept this PR in draft because the body has no four-box readiness checklist, so I carried your commit unchanged, with your authorship, onto current |
Summary
Verification
9cb9f4d5cfb43991f09ecc1564e0dcbbfe533846on current dev6da2774369aa32552e318e333902499683d053bc; all 12 changed files match reviewed source8d57b33770c6ea9991e47f1374f97d74642a09b8byte for byte.bun test --isolate --parallel=1 --timeout 60000 tests/service/service-health-sentinel-runner.test.ts tests/service/service-health-sentinel-policy.test.ts— 54 pass, 0 fail, 333 assertions.bun run typecheck,bun run structure:check,bun run privacy:scan, andgit diff --checkpassed. Privacy coverage is the materialized sparse checkout, including all changed files.Checklist
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>