fix: local targets ignored when newt site is unhealthy (mixed target failover) #178

Closed
opened 2026-04-05 17:02:01 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Fizza-Mukhtar on 3/1/2026

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Fixes #2448

Problem

Local targets were ignored when Newt targets became unhealthy because
local sites always have online=false and were excluded by the anySitesOnline check.

Fix

Added early return for local site type in the target filter so they are
always considered available as fallback servers.

*Originally created by @Fizza-Mukhtar on 3/1/2026* ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. Fixes #2448 ## Problem Local targets were ignored when Newt targets became unhealthy because local sites always have online=false and were excluded by the anySitesOnline check. ## Fix Added early return for local site type in the target filter so they are always considered available as fallback servers.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#178