Windows 0.3.4 connection resilience and fixed-grid source delta; no private history or other platform changes

This commit is contained in:
2026-11-05 03:41:46 +00:00
parent aff1a50d35
commit 991b029b37
25 changed files with 629 additions and 96 deletions
+3 -2
View File
@@ -4,8 +4,9 @@ internal static class ConnectionRecoveryPolicy
{
// A control-plane timeout is not evidence that the existing data-plane
// process needs to be destroyed. Revoked authorization still stops service.
internal static bool KeepExisting(bool reconnect, bool replacementStarted, bool coreRunning, Exception failure)
=> reconnect && !replacementStarted && coreRunning
internal static bool KeepExisting(bool reconnect, bool replacementStarted, bool coreRunning, Exception failure,
bool authorizationValid = true)
=> reconnect && !replacementStarted && coreRunning && authorizationValid
&& failure is not ApiException { StatusCode: 401 or 403 };
internal static bool SelfTest()