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
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

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