Commit Graph

14 Commits

Author SHA1 Message Date
Colin Adler 4d5a7b2d56
chore(codersdk): move all tailscale imports out of `codersdk` (#12735)
Currently, importing `codersdk` just to interact with the API requires
importing tailscale, which causes builds to fail unless manually using
our fork.
2024-03-26 12:44:31 -05:00
Cian Johnston 2cb9bfd517
refactor(coderd): move healthcheck report structs to codersdk (#12279)
Moves healthcheck report-related structs from coderd/healthcheck to codersdk
This prevents an import cycle when adding a codersdk.Client method to hit /api/v2/debug/health.
2024-02-23 13:13:28 +00:00
Cian Johnston 07895006d9
refactor(coderd/healthcheck): make Warnings an object with { Code, Message } (#10950)
- Adds health.Message { code string, mesasge string }
- Refactors existing warnings []string to be of type []health.Message instead
2023-11-30 14:49:50 +00:00
Cian Johnston 4f9292859d
feat(coderd/healthcheck): add access URL error codes and healthcheck doc (#10915)
Relates to #8965

- Added error codes for separate code paths in health checks
- Prefixed errors and warnings with error code prefixes
- Added a docs page with details on each code, cause and solution

Co-authored-by: Muhammad Atif Ali <atif@coder.com>
2023-11-30 12:15:40 +00:00
Marcin Tojek 2b574e2b2d
feat: add `dismissed` property to the healthcheck section (#10940) 2023-11-29 16:37:40 +00:00
Marcin Tojek 78df68348a
feat: include health severity in reports (#10817) 2023-11-23 16:08:41 +01:00
Colin Adler 3aef070959
fix: return non-null warning arrays in healthcheck (#10774) 2023-11-17 22:25:44 +00:00
Marcin Tojek 8999d5785a
feat: do not fail DERP healthcheck if WebSocket is used (#10714) 2023-11-17 16:00:49 +01:00
Colin Adler 8ee500c59d
fix: generate typescript types for healthcheck pkg (#8846) 2023-08-03 16:20:46 -05:00
Colin Adler b8a143566b
fix: use `*string` instead of `error` in healthcheck response (#8234) 2023-06-27 19:13:54 +00:00
Colin Adler f1d27ba42d
hotfix(healthcheck): properly calculate healthy status (#7746) 2023-05-31 20:17:33 +00:00
Colin Adler 022372dd73
feat(healthcheck): add websocket report (#7689) 2023-05-30 14:22:32 -05:00
Colin Adler 57c4de4647
feat(healthcheck): add accessurl check (#7193) 2023-04-18 15:52:00 -05:00
Colin Adler 7738274b3e
feat(coderd): add DERP healthcheck (#6936) 2023-04-03 06:28:42 +00:00