fix(host-health): retain trial ownership until requests settle (#1547)

This commit is contained in:
4gray authored and GitHub committed 2026-09-06 00:43:54 +02:00
1 parent 0140146716
commit e40f31db97
14 files changed
+606 -54

No files matched your search

+6
View File
@@ -1661,6 +1661,12 @@ No formal migration system yet. Schema changes are applied via raw SQL in the `c
## Portal Connectivity Preference
- Half-open trial slots follow the complete request lifetime with no elapsed-time
expiry. All four Electron/web-backend portal handlers release in `finally`,
independently of outcome reporting; cleanup preserves trial/epoch ownership
and works while the environment override is disabled. Contract:
`docs/architecture/host-connectivity-guard.md` ("Trial ownership follows the
request lifetime").
- Desktop Settings > General > Portal connections exposes default-on
`Settings.portalConnectivityGuard`. Only explicit false opts out. Save mirrors
the value to Electron `PORTAL_CONNECTIVITY_GUARD` and applies it without restart;