Skip to content

Conversation

@laniehei
Copy link
Member

What changed?

Instead of returning healthy, return unhealthy if no hosts available.

Why?

It's a fair assertion that if there are no hosts available, the service is not healthy.

How did you test it?

  • [x ] built
  • [ x] run locally and tested manually
  • covered by existing tests
  • added new unit test(s)
  • added new functional test(s)

Potential risks

There could be a false positive edge case that I'm not considering, but unlikely.

@laniehei laniehei requested a review from yux0 September 18, 2025 00:29
@laniehei laniehei requested a review from a team as a code owner September 18, 2025 00:29
@yux0
Copy link
Contributor

yux0 commented Sep 18, 2025

Is it possible to add a unit test?

@laniehei laniehei enabled auto-merge (squash) September 23, 2025 22:38
@laniehei laniehei merged commit b1cef4f into temporalio:main Sep 23, 2025
58 checks passed
deepakkarki pushed a commit that referenced this pull request Sep 25, 2025
## What changed?
Instead of returning healthy, return unhealthy if no hosts available.

## Why?
It's a fair assertion that if there are no hosts available, the service
is not healthy.

## How did you test it?
- [x ] built
- [ x] run locally and tested manually
- [ ] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)

## Potential risks
There could be a false positive edge case that I'm not considering, but
unlikely.
@temporal-cicd temporal-cicd bot mentioned this pull request Sep 25, 2025
temporal-cicd bot added a commit that referenced this pull request Sep 25, 2025
Patch release 1.29.0 with PR(s):
- [#8345](#8345)
- [#8368](#8368)

---------

Co-authored-by: Lanie Hei <[email protected]>
Co-authored-by: Will Duan <[email protected]>
Co-authored-by: temporal-cicd[bot] <temporal-cicd[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants