feat(monitoring): consolidate host alerts into checks #470

Closed
simon wants to merge 1 commit from feat/global-checks-alert-options into main
Owner

Summary

  • replace Monitoring settings alert defaults with Global Checks templates
  • add host/global check apply actions that clone templates to hosts and create check-status alert rules when configured
  • add inline Alert on failure controls to host check add/edit dialogs and remove the host Monitoring Alerts child tab

Validation

  • pnpm --filter web type-check
  • node --experimental-strip-types --test lib/actions/*.test.mjs lib/actions/global-check-defaults.test.mjs
  • pnpm --filter web lint (passes with existing warnings)
  • BETTER_AUTH_URL=http://localhost:3000 POSTGRES_PASSWORD=postgres pnpm --filter web build initially fails for missing BETTER_AUTH_SECRET; rerun with BETTER_AUTH_SECRET set passes
  • pnpm --filter web test:unit still fails on existing unrelated static-contract tests tracked by #460
## Summary - replace Monitoring settings alert defaults with Global Checks templates - add host/global check apply actions that clone templates to hosts and create check-status alert rules when configured - add inline Alert on failure controls to host check add/edit dialogs and remove the host Monitoring Alerts child tab ## Validation - pnpm --filter web type-check - node --experimental-strip-types --test lib/actions/*.test.mjs lib/actions/global-check-defaults.test.mjs - pnpm --filter web lint (passes with existing warnings) - BETTER_AUTH_URL=http://localhost:3000 POSTGRES_PASSWORD=postgres pnpm --filter web build initially fails for missing BETTER_AUTH_SECRET; rerun with BETTER_AUTH_SECRET set passes - pnpm --filter web test:unit still fails on existing unrelated static-contract tests tracked by #460
feat(monitoring): consolidate host alerts into checks
All checks were successful
Conventional PR title / Conventional PR title (pull_request) Successful in 0s
PR Checks (Docker images) / Ansible API contract (pull_request) Successful in 7s
PR Checks (Docker images) / Detect Docker image changes (pull_request) Successful in 8s
Customer bundle check / validate (pull_request) Successful in 12s
Secret Scan / gitleaks (pull_request) Successful in 27s
SAST / semgrep (pull_request) Successful in 1m11s
PR Checks (Docker images) / Ingest Docker image (pull_request) Has been skipped
SAST / crypto-lint (no weak hashes / ciphers) (pull_request) Successful in 1m6s
PR Checks (Docker images) / Ansible API Docker image (pull_request) Has been skipped
SAST / gosec (agent) (pull_request) Successful in 2m10s
SAST / gosec (ingest) (pull_request) Successful in 2m10s
SAST / trivy (filesystem) (pull_request) Successful in 2m5s
SAST / trivy (config / IaC) (pull_request) Successful in 2m2s
PR Checks (Web) / Web (lint / type-check / build) (pull_request) Successful in 2m38s
PR Checks (Docker images) / Web Docker image (pull_request) Successful in 7m49s
2650e69f27
Author
Owner

Landed manually via squash commit 270e1b53a4 because the Forgejo merge API returned 405 for this PR. Released in web v0.217.0 and CT-Ops customer bundle v0.86.0.

Landed manually via squash commit 270e1b53a4a0549fcbfcaef41f8dd5c075e19682 because the Forgejo merge API returned 405 for this PR. Released in web v0.217.0 and CT-Ops customer bundle v0.86.0.
simon closed this pull request 2026-06-05 19:00:22 +00:00
All checks were successful
Conventional PR title / Conventional PR title (pull_request) Successful in 0s
PR Checks (Docker images) / Ansible API contract (pull_request) Successful in 7s
PR Checks (Docker images) / Detect Docker image changes (pull_request) Successful in 8s
Customer bundle check / validate (pull_request) Successful in 12s
Secret Scan / gitleaks (pull_request) Successful in 27s
SAST / semgrep (pull_request) Successful in 1m11s
PR Checks (Docker images) / Ingest Docker image (pull_request) Has been skipped
SAST / crypto-lint (no weak hashes / ciphers) (pull_request) Successful in 1m6s
PR Checks (Docker images) / Ansible API Docker image (pull_request) Has been skipped
SAST / gosec (agent) (pull_request) Successful in 2m10s
SAST / gosec (ingest) (pull_request) Successful in 2m10s
SAST / trivy (filesystem) (pull_request) Successful in 2m5s
SAST / trivy (config / IaC) (pull_request) Successful in 2m2s
PR Checks (Web) / Web (lint / type-check / build) (pull_request) Successful in 2m38s
PR Checks (Docker images) / Web Docker image (pull_request) Successful in 7m49s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carrtech/ct-ops!470
No description provided.