fix: relax to guard so implicit-recipient jobs also get failure notifications

This commit is contained in:
XING 2026-04-04 09:34:34 +08:00 committed by Frank Yang
parent b3ce519c94
commit ebd4c03c59
1 changed files with 1 additions and 1 deletions

View File

@ -483,7 +483,7 @@ export function buildGatewayCronService(params: {
} else {
// No explicit failureDestination — fall back to primary delivery channel (#60608)
const primaryPlan = resolveCronDeliveryPlan(job);
if (primaryPlan.mode === "announce" && primaryPlan.requested && primaryPlan.to) {
if (primaryPlan.mode === "announce" && primaryPlan.requested) {
const { agentId, cfg: runtimeConfig } = resolveCronAgent(job.agentId);
void sendFailureNotificationAnnounce(
params.deps,