fix(heartbeat): update task timestamps on alerts-disabled exit

Fixes: #3034825973
This commit is contained in:
Chinar Amrutkar
2026-04-04 10:07:20 +00:00
committed by Peter Steinberger
parent dbfb0b5618
commit e0634aab66

View File

@@ -957,6 +957,8 @@ export async function runHeartbeatOnce(opts: {
} }
if (!visibility.showAlerts) { if (!visibility.showAlerts) {
heartbeatSuccess = true;
await updateTaskTimestamps();
await restoreHeartbeatUpdatedAt({ await restoreHeartbeatUpdatedAt({
storePath, storePath,
sessionKey, sessionKey,