Skip to content

feat: add App.Ready so an App is a health source on its own - #3

Merged
patdowney merged 1 commit into
mainfrom
feat/app-health-source
Nov 15, 2026
Merged

patdowney merged 1 commit into
mainfrom
feat/app-health-source

Conversation

@patdowney

Copy link
Copy Markdown
Contributor

Summary

  • Add App.Ready, which delegates to Readiness().Ready.
  • App already has Live; with Ready it satisfies both dioad/net health interfaces (LivenessResource, ReadinessResource), so it can be passed to Server.AddHealthSource or WithReadiness as one value.

This lets connect drop its serviceHealth wrapper (dioad/connect#559, Q4).

Test plan

  • make verify
  • TestApp_IsAHealthSourceOnItsOwn asserts the interface and that Ready and Live behave

🤖 Generated with Claude Code

https://claude.ai/code/session_01SS4MAwAn85D1gkEzLtjYaZ

App already had Live; with Ready it satisfies both of dioad/net's health
interfaces and can be passed to AddHealthSource as one value.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SS4MAwAn85D1gkEzLtjYaZ
@patdowney
patdowney merged commit 6be29bd into main Nov 15, 2026
1 check passed
@patdowney
patdowney deleted the feat/app-health-source branch November 15, 2026 18:35
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