fix(wechat): recognize news page intents and harden scheduled task delivery
Memind CI / Test, build, and release guards (push) Failing after 4s
Memind CI / Test, build, and release guards (push) Failing after 4s
Expand page.generate rules for post-page verbs and link-missing retries, recover HTML artifacts when shadow LLM agrees, and stop marking scheduled tasks failed when WeChat notification hits rate limits. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -49,13 +49,17 @@ export function startScheduledTaskWorker({
|
||||
taskId: task.id,
|
||||
recurrence: task.recurrence,
|
||||
},
|
||||
}).catch((err) => {
|
||||
logger.warn?.('Scheduled task web notification failed:', err);
|
||||
});
|
||||
}
|
||||
if (
|
||||
(notifyChannel === 'wechat' || notifyChannel === 'both')
|
||||
&& typeof sendScheduleNotification === 'function'
|
||||
) {
|
||||
await sendScheduleNotification({ userId: task.userId, text });
|
||||
await sendScheduleNotification({ userId: task.userId, text }).catch((err) => {
|
||||
logger.warn?.('Scheduled task wechat notification failed:', err);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user