Skip to content

Commit 9d07dff

Browse files
author
Peter Steinberger
committed
fix(cron): respect fs-safe policy boundary
1 parent c032c9a commit 9d07dff

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/cron/delivery.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/** Sends cron announce payloads and best-effort failure notifications. */
2-
import { withTimeout } from "@openclaw/fs-safe/advanced";
32
import { sendDurableMessageBatch } from "../channels/message/runtime.js";
43
import type { CliDeps } from "../cli/deps.types.js";
54
import { createOutboundSendDeps } from "../cli/outbound-send-deps.js";
65
import type { OpenClawConfig } from "../config/types.js";
76
import { formatErrorMessage } from "../infra/errors.js";
7+
import { withTimeout } from "../infra/fs-safe.js";
88
import { resolveAgentOutboundIdentity } from "../infra/outbound/identity.js";
99
import { buildOutboundSessionContext } from "../infra/outbound/session-context.js";
1010
import { getChildLogger } from "../logging.js";

‎src/gateway/server-cron-notifications.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Gateway cron notification delivery.
22
// Sends announce and webhook notifications for cron completion/failure events.
3-
import { withTimeout } from "@openclaw/fs-safe/advanced";
43
import {
54
normalizeOptionalLowercaseString,
65
normalizeOptionalString,
@@ -22,6 +21,7 @@ import type { CronJob, CronMessageChannel } from "../cron/types.js";
2221
import { normalizeHttpWebhookUrl } from "../cron/webhook-url.js";
2322
import { formatErrorMessage } from "../infra/errors.js";
2423
import { formatZonedTimestamp } from "../infra/format-time/format-datetime.js";
24+
import { withTimeout } from "../infra/fs-safe.js";
2525
import { fetchWithSsrFGuard } from "../infra/net/fetch-guard.js";
2626
import { SsrFBlockedError } from "../infra/net/ssrf.js";
2727
import { runWithGatewayIndependentRootWorkAdmission } from "../process/gateway-work-admission.js";

0 commit comments

Comments
 (0)