oficina / docs Public

Docs: classify the team probe's plain-text 500

TestEveryPlainTextErrorIsClassified: GET /api/team is JSON fetched by a
provisioner, never a page, so its one http.Error (a marshal of a fixed
struct) stays text.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev 1b3c291e59b1c102ac50bea2f59f8de87e64d8ff parent 222298c
1 file changed, +1 −0
  • internal/docs/errors_test.go +1 −0

CI passed — run details

diff --git a/internal/docs/errors_test.go b/internal/docs/errors_test.go
index 06bced7..37249d5 100644
--- a/internal/docs/errors_test.go
+++ b/internal/docs/errors_test.go
@@ -260,6 +260,7 @@ func TestEveryPlainTextErrorIsClassified(t *testing.T) {
"stream.go:handlers.stream": {7, "live update stream"},
"team_access.go:teamRuntime.admission": {1, "shared guard, identity missing: a wiring failure, not a page state"},
"team_emission.go:writeGuardedBody": {1, "response already guarded"},
+ "team_probe.go:handlers.teamProbe": {1, "Alta's readiness probe JSON, fetched by a provisioner, never a page"},
}
got := httpErrorSites(t)
var problems []string