Phase 2b: launcher delegate driver, log-based failure diagnosis, fixture builder

Verified on a disposable fixture: start reports world_db_incompatible for a
pristine DB with a newer binary; stop is graceful; live install untouched.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ДмитрийandClaude Sonnet 5.5 committed 2026-09-30 07:04:59 +05:00
1 parent e1b8267022
commit bbf06793ba
6 files changed
+306

No files matched your search

+12
View File
@@ -33,6 +33,8 @@ pub enum ErrorCode {
WorldserverAlreadyRunning,
InvalidConfigValue,
DiskFull,
OperationInProgress,
StartupFailed,
HashMismatch,
PathRejected,
Unknown,
@@ -95,6 +97,16 @@ impl ErrorCode {
"Free up some space or choose another drive, then try again.",
&[ChooseAnotherFolder, Retry],
),
ErrorCode::OperationInProgress => (
"Another action is still in progress",
"The server is busy starting or stopping. Wait a moment and try again.",
&[Retry],
),
ErrorCode::StartupFailed => (
"Server could not start",
"A service stopped while starting. Check the details for the cause.",
&[FixAutomatically, ShowDetails],
),
ErrorCode::HashMismatch => (
"A downloaded file is damaged",
"The file did not match its checksum and was not used.",