Fix the stale logging rule and drop go test from the README

This commit is contained in:
2026-09-08 20:18:52 +02:00
parent 8413f05f04
commit 9be4cd188a
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -71,8 +71,9 @@ This service runs in Kubernetes behind a TLS-terminating ingress.
- All upload code paths must enforce `maxUploadSize` via
`http.MaxBytesReader`, and clean up any partially written file/directory
on failure.
- New HTTP handlers must call `logRequest` with an accurate status code for
every response path.
- New HTTP handlers must write an explicit status code on every response
path. The `withLogging` middleware records what `responseRecorder` actually
saw, so a handler that returns without writing is logged as a 200.
- Keep the JSON error shape for `/upload` consistent with
`writeMultipartError` (`{"error": "..."}`).