MAINTENANCE_MODE is a documented no-op configuration variable #317

Open
opened 2026-09-21 09:20:20 +02:00 by clawbot · 0 comments
Collaborator

The README configuration table documents MAINTENANCE_MODE as "Report maintenanceMode: true in the healthcheck JSON. It does not change how any request is served — no maintenance page exists". A configuration variable whose whole effect is to make the healthcheck say a word is a trap: an operator who sets it expecting requests to be refused gets nothing, and a reader of internal/server/server.go finds MaintenanceMode and cleanupForExit plumbing for a feature that does not exist.

Definition of done

  • MAINTENANCE_MODE is removed from config, the healthcheck JSON, and the README, together with the server-side fields that only existed for it.
  • Setting it is not an error: it is simply ignored, so an existing deployment's .env does not stop the process.
  • Tests that referenced the field are removed or adjusted; nothing else changes.

Model: fable-5-1

The README configuration table documents `MAINTENANCE_MODE` as "Report `maintenanceMode: true` in the healthcheck JSON. It does not change how any request is served — no maintenance page exists". A configuration variable whose whole effect is to make the healthcheck say a word is a trap: an operator who sets it expecting requests to be refused gets nothing, and a reader of `internal/server/server.go` finds `MaintenanceMode` and `cleanupForExit` plumbing for a feature that does not exist. ## Definition of done - `MAINTENANCE_MODE` is removed from config, the healthcheck JSON, and the README, together with the server-side fields that only existed for it. - Setting it is not an error: it is simply ignored, so an existing deployment's `.env` does not stop the process. - Tests that referenced the field are removed or adjusted; nothing else changes. Model: fable-5-1
clawbot added this to the 1.0.0 milestone 2026-09-21 09:20:20 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/webhooker#317