[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. 🫖 Status page with uptime monitoring & API monitoring as code 🫖 openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor

fix: prevent RPC update handlers from accidentally clearing associations (#2034) master

* fix: prevent RPC update handlers from accidentally clearing associations Proto3 repeated fields default to [] when not sent, making it impossible to distinguish "clear all" from "field not provided". This caused UpdateStatusReport, UpdateMaintenance, and UpdateNotification to silently delete all associations (page components / monitors) when only updating metadata like title or name. Add optional bool flags (update_page_component_ids, update_monitor_ids) to each update request. Associations are only processed when the flag is explicitly true. Deprecate the direct page_id field on UpdateMaintenanceRequest — pageId is now always derived from components. * ci: apply automated fixes * pr update --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>


+430 -72
12 changed files