fix(api): platform check type switch binds the platform's checkers only #149

Merged
Sebi merged 1 commits from fix/check-types-own-checkers into main 2026-11-24 20:48:59 +00:00
Owner

Check types switched off in the admin area used to disappear for every organization, own checkers included, and the organization's own check type setting only listed what the platform still offered.

  • The platform switch binds the platform's checkers only: organizations with own regions keep the type there. Creating or editing such a monitor with a platform region answers 422 check_type_own_checkers_only; existing monitors keep the platform regions they had but gain none.
  • Passive types (heartbeat, alertmanager) run on no checker and stay switched off entirely.
  • The organization chooses its types independently: its settings list every type, marking platform-switched ones "own checkers only".
  • The monitor editor marks such types "own checkers only"; GET /api/v1/org/check-types adds own_checkers_only.

🤖 Generated with Claude Code

https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3

Check types switched off in the admin area used to disappear for every organization, own checkers included, and the organization's own check type setting only listed what the platform still offered. - The platform switch binds the platform's checkers only: organizations with own regions keep the type there. Creating or editing such a monitor with a platform region answers 422 `check_type_own_checkers_only`; existing monitors keep the platform regions they had but gain none. - Passive types (heartbeat, alertmanager) run on no checker and stay switched off entirely. - The organization chooses its types independently: its settings list every type, marking platform-switched ones "own checkers only". - The monitor editor marks such types "own checkers only"; `GET /api/v1/org/check-types` adds `own_checkers_only`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Sebi added 1 commit 2026-11-24 20:46:18 +00:00
fix(api): platform check type switch binds the platform's checkers only
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / image (pull_request) Waiting for needed jobs
ci / lint (pull_request) Successful in 11m25s
ci / test (pull_request) Successful in 12m34s
ci / build (pull_request) In progress
bd887523de
Switching a check type off in the admin area removed it for every
organization, own checkers included, and hid it from the organization's
own choice. The platform switch now only keeps such monitors off the
platform's regions: organizations with regions of their own still create
them there (422 check_type_own_checkers_only on a platform region), and
the editor marks them "own checkers only". Passive types, which no
checker runs, stay switched off entirely.

The organization's check types are chosen independently of the
platform's: its settings list every type, and the platform switch no
longer rewrites that choice.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Sebi merged commit acd8c2252d into main 2026-11-24 20:48:59 +00:00
Sebi deleted branch fix/check-types-own-checkers 2026-11-24 20:49:02 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ZB-Server/uptimesebi#149