fix: instance-aware frontline routing to prevent 503s in regions without instances by Flo4604 · Pull Request #5267 · unkeyed/unkey
This was referenced
Mar 18, 2026…out instances Frontline was routing to local sentinels without checking if the region had running instances, causing 503s. Now the router checks instance presence before selecting a sentinel, and falls back to a region that actually has running instances. Also consolidates routing logic: handler is now a thin 3-line caller, router owns all decisions via a single Route() call, and proxy dispatches via Forward().
Flo4604
marked this pull request as ready for review
Flo4604
deleted the
instance-aware-routing
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters