Skip to content

refactor(monitoring): retire built-in monitoring - #707

Merged
RentnerKev merged 3 commits into
mainfrom
refactor/retire-built-in-monitoring
Dec 5, 2026
Merged

RentnerKev merged 3 commits into
mainfrom
refactor/retire-built-in-monitoring

Conversation

@RentnerKev

Copy link
Copy Markdown
Member

Summary

  • Retire the platform-run monitoring scheduler, duplicate dashboard and legacy host-monitoring routes. The signed Monitoring app owns periodic checks and the Proxy Hosts monitoring controls.
  • Preserve the exact v1 handoff archive, pending notification continuity, one-shot diagnostics and Caddy failover. Report the official Monitoring app as the replacement in upgrade metadata.
  • Remove scheduler-only tooling and keep the bounded notification, discovery, recovery and signed-package checks.

Verification

  • The signed Monitoring app on a deployed dev instance showed existing host policies, historical incidents and fresh samples after the instance restart.
  • Fifty-three focused PostgreSQL cases pass for migration, abort and retry, notification continuity, and lock ordering. Focused UI, route, diagnostic, workflow and unit checks also pass.
  • The native AMD64 and ARM64 app fixtures, production smokes and repository checks are required for merge.

Related to RentnerProxy/app-monitoring#1.

@coderabbitai

coderabbitai Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Too many files!

This PR contains 163 files, which is 63 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

This organization's CodeRabbit subscription is cancelled. Resubscribe in Billing to continue reviews beyond the free-tier limit.

Run configuration

Commits

Reviewing files that changed from the base of the PR and between e5a8863 and 5880f67.

Files ignored due to path filters: 1

  • web/src/routeTree.gen.ts is excluded by !**/routeTree.gen.ts
Files selected for processing: 163

  • .github/scripts/ci/worker-postgres-evidence.sh
  • .github/workflows/arm64-appliance.yml
  • .github/workflows/production-smokes.yml
  • .github/workflows/runtime-reliability.yml
  • scripts/runtime-scale/Types/background-evidence.types.ts
  • scripts/runtime-scale/Types/background.types.ts
  • scripts/runtime-scale/Types/monitoring.types.ts
  • scripts/runtime-scale/background-capture-read.ts
  • scripts/runtime-scale/background-capture-settlement.ts
  • scripts/runtime-scale/background-capture.ts
  • scripts/runtime-scale/background-contention-fixture.ts
  • scripts/runtime-scale/background-contention-run.ts
  • scripts/runtime-scale/background-contention.ts
  • scripts/runtime-scale/background-evidence.ts
  • scripts/runtime-scale/background-extended.ts
  • scripts/runtime-scale/background-fixture.ts
  • scripts/runtime-scale/background-network.ts
  • scripts/runtime-scale/background-recovery.ts
  • scripts/runtime-scale/background-run.ts
  • scripts/runtime-scale/background-source.config.ts
  • scripts/runtime-scale/background.ts
  • scripts/runtime-scale/background.validation.ts
  • scripts/runtime-scale/monitoring-native.ts
  • scripts/runtime-scale/monitoring.ts
  • web/src/config/app-requirements.config.ts
  • web/src/config/background-workers.config.ts
  • web/src/config/host-monitoring-ui.config.ts
  • web/src/config/host-monitoring.config.ts
  • web/src/features/Admin/HostMonitoring/Components/MonitoringCheckStrip.tsx
  • web/src/features/Admin/HostMonitoring/Components/MonitoringChecksTable/Hooks/useMonitoringChecksTableLogic.ts
  • web/src/features/Admin/HostMonitoring/Components/MonitoringChecksTable/Types/checks-table.types.ts
  • web/src/features/Admin/HostMonitoring/Components/MonitoringChecksTable/index.tsx
  • web/src/features/Admin/HostMonitoring/Components/MonitoringDurationChart/Hooks/useMonitoringDurationChartLogic.ts
  • web/src/features/Admin/HostMonitoring/Components/MonitoringDurationChart/Types/duration-chart.types.ts
  • web/src/features/Admin/HostMonitoring/Components/MonitoringDurationChart/index.tsx
  • web/src/features/Admin/HostMonitoring/Components/MonitoringOverview.tsx
  • web/src/features/Admin/HostMonitoring/Hooks/useHostMonitoringDialogLogic.ts
  • web/src/features/Admin/HostMonitoring/Types/host-monitoring-dialog.types.ts
  • web/src/features/Admin/HostMonitoring/index.tsx
  • web/src/features/Admin/ProxyHostManagement/Components/ProxyHostsTable/Components/HostAvailabilityBadge.tsx
  • web/src/features/Admin/ProxyHostManagement/Components/ProxyHostsTable/Components/ProxyHostAppMonitoringCell.tsx
  • web/src/features/Admin/ProxyHostManagement/Components/ProxyHostsTable/Components/ProxyHostMonitoringCell.tsx
  • web/src/features/Admin/ProxyHostManagement/Components/ProxyHostsTable/Hooks/useProxyHostsTableColumns.ts
  • web/src/features/Admin/ProxyHostManagement/Components/ProxyHostsTable/Hooks/useProxyHostsTableLogic.ts
  • web/src/features/Admin/ProxyHostManagement/Components/ProxyHostsTable/Types/table-logic.types.ts
  • web/src/features/Admin/ProxyHostManagement/Components/ProxyHostsTable/index.tsx
  • web/src/features/Admin/ProxyHostManagement/Hooks/useHostMonitoringAppSummaries.ts
  • web/src/features/Admin/ProxyHostManagement/Hooks/useHostMonitoringSummaries.ts
  • web/src/features/Admin/ProxyHostManagement/Hooks/useProxyHostManagementLogic.ts
  • web/src/features/Admin/ProxyHostManagement/Types/host-monitoring-overview.types.ts
  • web/src/features/Admin/ProxyHostManagement/Types/management-logic.types.ts
  • web/src/features/Admin/ProxyHostManagement/Types/proxy-host-table.types.ts
  • web/src/features/Admin/ProxyHostManagement/index.tsx
  • web/src/lib/Admin/ProxyHostManagement/Types/table-actions.types.ts
  • web/src/lib/Admin/ProxyHostManagement/proxyHostTableActions.ts
  • web/src/lib/HostMonitoring/Types/host-monitoring-client.types.ts
  • web/src/lib/HostMonitoring/Types/host-monitoring-presentation.types.ts
  • web/src/lib/HostMonitoring/Types/host-monitoring.types.ts
  • web/src/lib/HostMonitoring/hostMonitoringCache.ts
  • web/src/lib/HostMonitoring/hostMonitoringClient.ts
  • web/src/lib/HostMonitoring/hostMonitoringResponses.ts
  • web/src/lib/HostMonitoring/presentation.ts
  • web/src/lib/HostMonitoring/state.ts
  • web/src/lib/HostMonitoring/validation.ts
  • web/src/lib/Language/Locales/de.json
  • web/src/lib/Language/Locales/en.json
  • web/src/lib/Language/Locales/es.json
  • web/src/lib/Language/Locales/fr.json
  • web/src/lib/Language/Locales/it.json
  • web/src/lib/Language/Locales/nl.json
  • web/src/lib/Language/Locales/pl.json
  • web/src/lib/Language/Locales/pt.json
  • web/src/routes/api/admin/monitoring/history.ts
  • web/src/routes/api/admin/monitoring/policy.ts
  • web/src/routes/api/admin/monitoring/summary.ts
  • web/src/server/HostMonitoring/Types/host-monitoring-batch.types.ts
  • web/src/server/HostMonitoring/Types/host-monitoring-http.types.ts
  • web/src/server/HostMonitoring/Types/host-monitoring-probe.types.ts
  • web/src/server/HostMonitoring/Types/host-monitoring-service.types.ts
  • web/src/server/HostMonitoring/Types/host-monitoring-worker.types.ts
  • web/src/server/HostMonitoring/Types/host-monitoring.repository.types.ts
  • web/src/server/HostMonitoring/host-monitoring-app-response.server.ts
  • web/src/server/HostMonitoring/host-monitoring-response.server.ts
  • web/src/server/HostMonitoring/host-monitoring.batch.ts
  • web/src/server/HostMonitoring/host-monitoring.capture.server.ts
  • web/src/server/HostMonitoring/host-monitoring.capture.ts
  • web/src/server/HostMonitoring/host-monitoring.errors.ts
  • web/src/server/HostMonitoring/host-monitoring.execution.ts
  • web/src/server/HostMonitoring/host-monitoring.handoff.server.ts
  • web/src/server/HostMonitoring/host-monitoring.observability.ts
  • web/src/server/HostMonitoring/host-monitoring.probe.ts
  • web/src/server/HostMonitoring/host-monitoring.repository.ts
  • web/src/server/HostMonitoring/host-monitoring.service.ts
  • web/src/server/HostMonitoring/host-monitoring.storage.ts
  • web/src/server/HostMonitoring/host-monitoring.worker.server.ts
  • web/src/server/HostMonitoring/host-monitoring.worker.ts
  • web/src/server/LegacyHandoff/worker-admission.server.ts
  • web/src/server/Notifications/Types/notification-internal.types.ts
  • web/src/server/Notifications/Types/notification-state.types.ts
  • web/src/server/Notifications/host-availability.repository.ts
  • web/src/server/Notifications/host-availability.ts
  • web/src/server/ProxyRuntime/proxy-runtime-data.ts
  • web/src/server/RuntimeDiagnostics/domain-diagnostics-data.ts
  • web/src/start.ts
  • web/src/tests/Helpers/historicalHostOutage.ts
  • web/src/tests/features/Admin/HostMonitoring/checks-table.test.tsx
  • web/src/tests/features/Admin/HostMonitoring/duration-chart.test.tsx
  • web/src/tests/features/Admin/HostMonitoring/monitoring-check-strip.test.tsx
  • web/src/tests/features/Admin/HostMonitoring/monitoring-dialog.test.tsx
  • web/src/tests/features/Admin/ProxyHostManagement/proxy-hosts-ui.test.tsx
  • web/src/tests/features/Admin/ProxyHostManagement/row-action-stability.test.tsx
  • web/src/tests/lib/HostMonitoring/hostMonitoringClient.test.ts
  • web/src/tests/lib/HostMonitoring/presentation.test.ts
  • web/src/tests/lib/HostMonitoring/state.test.ts
  • web/src/tests/lib/HostMonitoring/validation.test.ts
  • web/src/tests/lib/RuntimeDiagnostics/background-worker-report.test.ts
  • web/src/tests/routes/api/route-contracts.coverage.test.ts
  • web/src/tests/server/AppRuntime/upstream-probes.test.ts
  • web/src/tests/server/Foundation/worker-lifecycle.test.ts
  • web/src/tests/server/Foundation/worker-lock-order.db.test.ts
  • web/src/tests/server/Foundation/worker-operation.test.ts
  • web/src/tests/server/Foundation/worker-postgres-profile.db.test.ts
  • web/src/tests/server/HostMonitoring/host-monitoring-app.service.test.ts
  • web/src/tests/server/HostMonitoring/host-monitoring-cleanup-admission.test.ts
  • web/src/tests/server/HostMonitoring/host-monitoring-fence.db.test.ts
  • web/src/tests/server/HostMonitoring/host-monitoring-handoff.db.test.ts
  • web/src/tests/server/HostMonitoring/host-monitoring-observability.test.ts
  • web/src/tests/server/HostMonitoring/host-monitoring-release-batch.test.ts
  • web/src/tests/server/HostMonitoring/host-monitoring-response.test.ts
  • web/src/tests/server/HostMonitoring/host-monitoring-service.coverage.db.test.ts
  • web/src/tests/server/HostMonitoring/host-monitoring.batch.test.ts
  • web/src/tests/server/HostMonitoring/host-monitoring.capture-publication.test.ts
  • web/src/tests/server/HostMonitoring/host-monitoring.capture.test.ts
  • web/src/tests/server/HostMonitoring/host-monitoring.probe.test.ts
  • web/src/tests/server/HostMonitoring/host-monitoring.repository.db.test.ts
  • web/src/tests/server/HostMonitoring/host-monitoring.service.db.test.ts
  • web/src/tests/server/HostMonitoring/host-monitoring.service.test.ts
  • web/src/tests/server/HostMonitoring/host-monitoring.worker.test.ts
  • web/src/tests/server/LegacyHandoff/worker-gate.test.ts
  • web/src/tests/server/Notifications/backup-outcomes.test.ts
  • web/src/tests/server/Notifications/host-availability-handover.test.ts
  • web/src/tests/server/Notifications/host-availability.db.test.ts
  • web/src/tests/server/Notifications/host-availability.test.ts
  • web/src/tests/server/RuntimeDiagnostics/domain-diagnostics-data.test.ts
  • web/src/tests/server/Updates/upgrade-preview.test.ts
  • web/src/tests/start.coverage.test.ts
  • web/src/tests/tooling/production-smokes-workflow.test.ts
  • web/src/tests/tooling/runtime-scale/monitoring-signal.db.test.ts
  • web/src/tests/tooling/runtime-scale/monitoring.test.ts
  • web/src/tests/tooling/scripts/runtime-reliability/harness-dns.test.ts
  • web/src/tests/tooling/scripts/runtime-scale/background-capture-read.test.ts
  • web/src/tests/tooling/scripts/runtime-scale/background-capture-settlement.test.ts
  • web/src/tests/tooling/scripts/runtime-scale/background-capture.test.ts
  • web/src/tests/tooling/scripts/runtime-scale/background-contention-cleanup.test.ts
  • web/src/tests/tooling/scripts/runtime-scale/background-contention.test.ts
  • web/src/tests/tooling/scripts/runtime-scale/background-evidence.test.ts
  • web/src/tests/tooling/scripts/runtime-scale/background-extended.test.ts
  • web/src/tests/tooling/scripts/runtime-scale/background-inventory.db.test.ts
  • web/src/tests/tooling/scripts/runtime-scale/background-provenance.test.ts
  • web/src/tests/tooling/scripts/runtime-scale/background-recovery.test.ts
  • web/src/tests/tooling/scripts/runtime-scale/background-telemetry.test.ts
  • web/src/tests/tooling/scripts/runtime-scale/background.db.test.ts
  • web/src/tests/tooling/scripts/runtime-scale/background.test.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@RentnerKev
RentnerKev merged commit e82a2a0 into main Dec 5, 2026
49 checks passed
@RentnerKev
RentnerKev deleted the refactor/retire-built-in-monitoring branch December 5, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant