10000 feat: add `dismissed` property to the healthcheck section by mtojek · Pull Request #10940 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

feat: add dismissed property to the healthcheck section #10940

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 17 commits into from
Nov 29, 2023
Merged
Prev Previous commit
Next Next commit
update generated
  • Loading branch information
mtojek committed Nov 29, 2023
commit 60a5b89b1c7246db161aca1aaa491da323aca62d
15 changes: 15 additions & 0 deletions coderd/apidoc/docs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions coderd/apidoc/swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10000
2 changes: 1 addition & 1 deletion coderd/healthcheck/accessurl.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type AccessURLReport struct {
Healthy bool `json:"healthy"`
Severity health.Severity `json:"severity" enums:"ok,warning,error"`
Warnings []string `json:"warnings"`
Dismissed bool `json:"dismissed`
Dismissed bool `json:"dismissed"`

AccessURL string `json:"access_url"`
Reachable bool `json:"reachable"`
Expand Down
2 changes: 1 addition & 1 deletion coderd/healthcheck/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type DatabaseReport struct {
Healthy bool `json:"healthy"`
Severity health.Severity `json:"severity" enums:"ok,warning,error"`
Warnings []string `json:"warnings"`
Dismissed bool `json:"dismissed`
Dismissed bool `json:"dismissed"`

Reachable bool `json:"reachable"`
Latency string `json:"latency"`
Expand Down
2 changes: 1 addition & 1 deletion coderd/healthcheck/derphealth/derp.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type Report struct {
Healthy bool `json:"healthy"`
Severity health.Severity `json:"severity" enums:"ok,warning,error"`
Warnings []string `json:"warnings"`
Dismissed bool `json:"dismissed`
Dismissed bool `json:"dismissed"`

Regions map[int]*RegionReport `json:"regions"`

Expand Down
2 changes: 1 addition & 1 deletion coderd/healthcheck/websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type WebsocketReport struct {
Healthy bool `json:"healthy"`
Severity health.Severity `json:"severity" enums:"ok,warning,error"`
Warnings []string `json:"warnings"`
Dismissed bool `json:"dismissed`
Dismissed bool `json:"dismissed"`

Body string `json:"body"`
Code int `json:"code"`
Expand Down
2 changes: 1 addition & 1 deletion coderd/healthcheck/workspaceproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type WorkspaceProxyReport struct {
Severity health.Severity `json:"severity"`
Warnings []string `json:"warnings"`
Error *string `json:"error"`
Dismissed bool `json:"dismissed`
Dismissed bool `json:"dismissed"`

WorkspaceProxies codersdk.RegionsResponse[codersdk.WorkspaceProxy] `json:"workspace_proxies"`
}
Expand Down
5 changes: 5 additions & 0 deletions docs/api/debug.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 23 additions & 8 deletions docs/api/schemas.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions site/src/api/typesGenerated.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0