惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
J
Java Code Geeks
博客园 - 聂微东
量子位
C
Check Point Blog
T
The Blog of Author Tim Ferriss
T
Tailwind CSS Blog
G
Google Developers Blog
Google DeepMind News
Google DeepMind News
B
Blog
罗磊的独立博客
腾讯CDC
GbyAI
GbyAI
博客园 - 【当耐特】
A
About on SuperTechFans
M
MIT News - Artificial intelligence
U
Unit 42
D
Docker
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Y
Y Combinator Blog
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
S
SegmentFault 最新的问题
有赞技术团队
有赞技术团队

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix(doctor): warn and continue when cron job store is unr...
1052326311 · 2026-05-25 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -24,6 +24,7 @@ Docs: https://docs.openclaw.ai

2424

- Docker E2E: dedupe scheduler lane resources so npm/service package lanes are not over-counted and serialized unnecessarily.

2525

- Crabbox: bootstrap Git metadata for sparse remote changed gates so raw synced workspaces can run `pnpm check:changed` from the intended diff.

2626

- xAI/LM Studio: avoid buffering ordinary bracketed or `final` prose until stream completion while watching for plain-text tool-call fallbacks.

27+

- Doctor: warn and continue when the cron job store exists but cannot be read (e.g. owned by another user with `0600` mode inside Docker) so later health checks still run. (#86102)

2728

- Discord: suppress a bot's previous reply body and referenced media from prompt context when a user replies to that bot message, while keeping reply metadata for routing. (#86238) Thanks @fuller-stack-dev.

2829

- Docker E2E: avoid rebuilding the Control UI twice while preparing the shared OpenClaw package tarball for package-backed scenario runs.

2930

- Tests: avoid rebuilding the Control UI twice during the installer Docker smoke now that `pnpm build` includes `ui:build`.

Original file line numberDiff line numberDiff line change

@@ -566,6 +566,29 @@ describe("maybeRepairLegacyCronStore", () => {

566566

expectNoteContaining("managed dreaming job", "Cron");

567567

expectNoteContaining("Rewrote 1 managed dreaming job", "Doctor changes");

568568

});

569+
570+

it("warns and continues when the cron job store cannot be read", async () => {

571+

const storePath = await makeTempStorePath();

572+

// Force loadCronStore to throw a non-ENOENT read error by placing a

573+

// directory where the cron job store file would be. This mirrors the

574+

// Docker-on-root permission failure reported in #86102 without depending

575+

// on the test runner's effective uid (root bypasses chmod gates).

576+

await fs.mkdir(path.dirname(storePath), { recursive: true });

577+

await fs.mkdir(storePath);

578+

const prompter = makePrompter(true);

579+
580+

await expect(

581+

maybeRepairLegacyCronStore({

582+

cfg: { cron: { store: storePath } },

583+

options: {},

584+

prompter,

585+

}),

586+

).resolves.toBeUndefined();

587+
588+

expect(prompter.confirm).not.toHaveBeenCalled();

589+

expectNoteContaining("Unable to read cron job store at", "Cron");

590+

expectNoteContaining("later health checks will continue", "Cron");

591+

});

569592

});

570593
571594

describe("legacy WhatsApp crontab health check", () => {

Original file line numberDiff line numberDiff line change

@@ -335,7 +335,21 @@ export async function maybeRepairLegacyCronStore(params: {

335335

prompter: Pick<DoctorPrompter, "confirm">;

336336

}) {

337337

const storePath = resolveCronStorePath(params.cfg.cron?.store);

338-

const store = await loadCronStore(storePath);

338+

let store: Awaited<ReturnType<typeof loadCronStore>>;

339+

try {

340+

store = await loadCronStore(storePath);

341+

} catch (err) {

342+

const reason = err instanceof Error ? err.message : String(err);

343+

note(

344+

[

345+

`Unable to read cron job store at ${shortenHomePath(storePath)}.`,

346+

`- ${reason}`,

347+

`Fix the file's permissions or contents and re-run ${formatCliCommand("openclaw doctor")}; later health checks will continue.`,

348+

].join("\n"),

349+

"Cron",

350+

);

351+

return;

352+

}

339353

const rawJobs = (store.jobs ?? []) as unknown as Array<Record<string, unknown>>;

340354

if (rawJobs.length === 0) {

341355

return;