cloudfoundry / cloudfoundry/diego-release

Support HTTP2 healthchecks

Open
#1,001 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
206
Forks
228
Avg merge
1d 19h
Merged PRs (30d)
9

Description

Proposed Change

We have received requests for supporting HTTP/2 healthchecks in Diego. Currently, HTTP healthchecks are performed using HTTP/1.1, but some applications require HTTP/2.

Adding support for HTTP/2 healthchecks would require introducing a new property in the app manifest to specify that the healthcheck should use HTTP/2.

Proposed Change
Introduce a new property in the application manifest, such as:

health-check-http-version: http2

When this property is set, the healthcheck should be performed using HTTP/2 instead of HTTP/1.1.

Impact

  • Apps handling healthchecks will need to be updated to support HTTP/2, if they specify it in the manifest
  • Backward compatibility is maintained—if the property is not specified, the default will remain HTTP/1.1.
Acceptance criteria

I have an app that supports a http2 healthcheck
When i specify that I want a http2 healthcheck
Then a http2 healthcheck is perforemed

Related links

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are identified in the issue. Start by locating Diego's application-manifest parsing and existing HTTP/1.1 healthcheck handling, then determine how the new manifest property should select HTTP/2. Done means an app can request an HTTP/2 healthcheck while unspecified versions continue using HTTP/1.1, with coverage for both paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.