Skip to content

Commit ea11a45

Browse files
author
EC
committed
fix(cron): default isolated agentTurn delivery to none, don't fail run on delivery error
Fixes #90378 - Change default deliveryMode from 'announce' to 'none' for isolated agentTurn cron jobs without explicit delivery config - Don't propagate delivery errors as job-level run failures - Fixes channel-required errors on fresh installs without a configured delivery channel - Fixes cron jobs silently disappearing during 5.x → 6.x upgrade when memory-core overwrites the SQLite cron store
1 parent 1a3ce7c commit ea11a45

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/cli/cron-cli/register.cron-add.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ export function registerCronAddCommand(cron: Command) {
269269
? "announce"
270270
: hasNoDeliver
271271
? "none"
272-
: "announce"
272+
: "none"
273273
: undefined;
274274

275275
const optionName = normalizeOptionalString(opts.name);

src/cron/delivery-plan.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export function resolveCronDeliveryPlan(job: CronJob): CronDeliveryPlan {
8282
(delivery as { accountId?: unknown } | undefined)?.accountId,
8383
);
8484
if (hasDelivery) {
85-
const resolvedMode = mode ?? "announce";
85+
const resolvedMode = mode ?? "none";
8686
const channel =
8787
resolvedMode === "announce"
8888
? resolveAnnounceChannel({ channel: deliveryChannel, to })

0 commit comments

Comments
 (0)