Skip to content

Conversation

@kevinmdavis
Copy link
Contributor

@kevinmdavis kevinmdavis commented May 14, 2025

Summary

Registers the /healthz endpoint when listening on a duplex http/grpc port, just like the http port does when running in non-duplex mode.

The current helm charts use this endpoint for the liveness and readiness probes, so I'm assuming this should be exposed even when HTTP and gRPC are listening on the same port.

Fixes #2047

Release Note

  • /healthz is now exposed when running the HTTP and gRPC servers on the same port.

@kevinmdavis kevinmdavis requested a review from a team as a code owner May 14, 2025 20:57
Registers the `/healthz` endpoint when listening on a duplex http/grpc port, just like the `http` port does when running in non-duplex mode.

The current helm charts use this endpoint for the liveness and readiness probes, so I'm assuming this should be exposed even when HTTP and gRPC are listening on the same port.

Signed-off-by: Kevin Davis <[email protected]>
Copy link
Contributor

@Hayden-IO Hayden-IO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for catching and fixing this!

@Hayden-IO Hayden-IO requested a review from bobcallaway May 14, 2025 21:11
@codecov
Copy link

codecov bot commented May 14, 2025

Codecov Report

Attention: Patch coverage is 53.84615% with 6 lines in your changes missing coverage. Please review.

Project coverage is 43.37%. Comparing base (cf238ac) to head (1b0917e).
Report is 388 commits behind head on main.

Files with missing lines Patch % Lines
cmd/app/serve.go 53.84% 4 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2046       +/-   ##
===========================================
- Coverage   57.93%   43.37%   -14.56%     
===========================================
  Files          50       72       +22     
  Lines        3119     5671     +2552     
===========================================
+ Hits         1807     2460      +653     
- Misses       1154     2987     +1833     
- Partials      158      224       +66     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: Kevin Davis <[email protected]>
@Hayden-IO Hayden-IO merged commit e458565 into sigstore:main May 27, 2025
13 checks passed
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.

/healthz not exposed on duplex port

3 participants