Skip to content

add: Health endpoint documentation#613

Open
Kump3r wants to merge 3 commits into
concourse:masterfrom
Kump3r:health-endpoint-documentation
Open

add: Health endpoint documentation#613
Kump3r wants to merge 3 commits into
concourse:masterfrom
Kump3r:health-endpoint-documentation

Conversation

@Kump3r

@Kump3r Kump3r commented Jul 10, 2026

Copy link
Copy Markdown

Follow-up from concourse/concourse#9588

Kump3r and others added 2 commits July 10, 2026 13:38
Signed-off-by: i567488 <kalin.tonev@sap.com>
Signed-off-by: Taylor Silva <dev@taydev.net>

@taylorsilva taylorsilva left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM - Added a commit changing a few minor things.

Will merge once concourse/concourse#9640 is merged and we're sure the docs here conform with the output of the fly health command.

@taylorsilva taylorsilva moved this from Todo to In Progress in Pull Requests Jul 10, 2026
@Kump3r

Kump3r commented Jul 10, 2026

Copy link
Copy Markdown
Author

LGTM - Added a commit changing a few minor things.

Will merge once concourse/concourse#9640 is merged and we're sure the docs here conform with the output of the fly health command.

Thanks for the quick reviews!

Comment on lines +79 to +81
```
HTTP 333 Degraded
```

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Was reviewing concourse/concourse#9640 and noticed the client code didn't handle an HTTP 333 response. I then realized I don't recall this status code being a thing in the original PR. I looked at the health endpoint handler and I'm not seeing where we return HTTP 333: https://github.com/concourse/concourse/blob/master/atc/api/healthserver/health.go

I don't think HTTP status codes were discussed in the RFC as well, which is fine. This section here should be updated to reflect the code OR the code should be updated to reflect the docs here. I'm a bit worried about returning a non-standard HTTP status code, so updating the docs to reflect the fact that we actually return HTTP 200 here is probably what we should do.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Yes, I just forgot to fix this I guess. I had some stuff noted down during testing different approaches and reading trough articles and pushed an older version of the docs, not the final one. Silly me, good catch. There were also other things that were not from the latest health service merged. I will commit the most recent version. Sorry for the noise.

Signed-off-by: i567488 <kalin.tonev@sap.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants