Skip to content

Backend: expand maintenance mode with scoped degradation #548

@Otaiki1

Description

@Otaiki1

Build location

Work primarily in backend/src/maintenance. Keep related tests/docs beside that package unless this issue explicitly calls for a cross-package update.

Why this matters

Maintenance mode should allow disabling risky write paths while keeping safe read paths available.

What to build

  • Extend maintenance-mode service/guard to support scopes such as all, writes, raffles, notifications, monitor.
  • Add route metadata or decorators for scoped behavior.
  • Return retry guidance to clients.

Acceptance criteria

  • Tests cover each scope and skip-maintenance decorator behavior.
  • Docs list supported maintenance scopes and example env/config.

Suggested verification

cd backend && npm run lint && npm run test && npm run build

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions