fix: fail fast on missing host IPC dir for task runtimes

This commit is contained in:
Eyejoker
2026-03-25 21:40:34 +09:00
parent 5620301024
commit 24d93d5c78
6 changed files with 211 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
import { getTaskById, updateTaskStatusTracking } from './db.js';
import { logger } from './logger.js';
import {
isWatchCiTask,
renderWatchCiStatusMessage,
@@ -66,7 +67,17 @@ export function createTaskStatusTracker(
);
persist();
return;
} catch {
} catch (err) {
logger.debug(
{
taskId: task.id,
chatJid: task.chat_jid,
statusMessageId,
phase,
err,
},
'Failed to edit watcher status message, falling back to send',
);
statusMessageId = null;
persist();
}