Skip to content

New ServerHealth Block - #205

Merged
gmcgrady merged 4 commits into
masterfrom
sl-feature-server-health
Mar 27, 2026
Merged

New ServerHealth Block#205
gmcgrady merged 4 commits into
masterfrom
sl-feature-server-health

Conversation

@stphnlee

Copy link
Copy Markdown
Contributor

ROCK-8397 Converted ServerHealth.ashx into a block to confirm that Rock is running before returning that the server is healthy

…ck is running before returning that the server is healthy
Copilot AI review requested due to automatic review settings March 26, 2026 20:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Rock block (ServerHealth) to replace the prior ServerHealth.ashx approach, providing a health endpoint/UI that validates key Rock web-farm signals before reporting the node as healthy.

Changes:

  • Introduces a new ServerHealth Rock block code-behind that performs maintenance-mode, web-farm heartbeat, message bus, and cache-queue checks.
  • Adds the corresponding .ascx markup to render health status and details, with a manual refresh action.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
Plugins/org.secc.SystemsMonitor/org_secc/SystemsMonitor/ServerHealth.ascx.cs Implements health-check logic and sets HTTP status codes (200/503) based on Rock/node health.
Plugins/org.secc.SystemsMonitor/org_secc/SystemsMonitor/ServerHealth.ascx Provides UI layout for displaying health status/details and a refresh button.

Comment thread Plugins/org.secc.SystemsMonitor/org_secc/SystemsMonitor/ServerHealth.ascx.cs Outdated
Comment thread Plugins/org.secc.SystemsMonitor/org_secc/SystemsMonitor/ServerHealth.ascx.cs Outdated
Comment thread Plugins/org.secc.SystemsMonitor/org_secc/SystemsMonitor/ServerHealth.ascx.cs Outdated
stphnlee and others added 3 commits March 26, 2026 16:39
…Health.ascx.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…Health.ascx.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…Health.ascx.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@stphnlee
stphnlee requested a review from gmcgrady March 27, 2026 18:50

@gmcgrady gmcgrady left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addition of the new Rock block appears straight forward. Especially like the use of defined types to store the health check URL as opposed to hard coding or making it a text field configuration. That should make configuring for different environments relatively easy. Approving for merge.

@gmcgrady
gmcgrady merged commit 247a57c into master Mar 27, 2026
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.

3 participants