mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-07 13:19:07 -05:00
[PR #1900] [MERGED] Reset hcHealth to "unknown" when health check is disabled #9535
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/1900
Author: @Copilot
Created: 11/20/2025
Status: ✅ Merged
Merged: 12/6/2025
Merged by: @oschwartz10612
Base:
main← Head:copilot/fix-hc-health-status-unknown📝 Commits (2)
94b34c4Initial planbe4d697Set hcHealth to 'unknown' when health check is disabled in updateTarget📊 Changes
1 file changed (+8 additions, -1 deletions)
View changed files
📝
server/routers/target/updateTarget.ts(+8 -1)📄 Description
When disabling a target's health check via
updateTarget, thehcHealthstatus remains at its previous value (e.g., "unhealthy"). This causes previously unhealthy targets to stay excluded from serving traffic even after health checking is turned off.Changes
hcHealthto "unknown" whenhcEnabledis set tofalseornullhcHealthwhen health check is being disabledFixes #1865
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.