8000 chore(cli): increase healthcheck timeout in TestSupportbundle by johnstcn · Pull Request #17291 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

chore(cli): increase healthcheck timeout in TestSupportbundle #17291

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 9, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
F308
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(coderd): debugDeploymentHealth: return 503 instead of 404 when he…
…alth report unavailable
  • Loading branch information
johnstcn committed Apr 8, 2025
commit bd3b1144b9061ee149d14090595505866af23cdc
2 changes: 1 addition & 1 deletion coderd/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func (api *API) debugDeploymentHealth(rw http.ResponseWriter, r *http.Request) {

select {
case <-ctx.Done():
httpapi.Write(ctx, rw, http.StatusNotFound, codersdk.Response{
httpapi.Write(ctx, rw, http.StatusServiceUnavailable, codersdk.Response{
Message: "Healthcheck is in progress and did not complete in time. Try again in a few seconds.",
})
return
Expand Down
Loading
0