fix(wechat): recognize news page intents and harden scheduled task delivery
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:
john
2026-08-02 06:46:33 +08:00
parent 26fe5912a3
commit b9f5720ce0
6 changed files with 114 additions and 4 deletions
+5 -1
View File
@@ -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);
});
}
};