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

推荐订阅源

aimingoo的专栏
aimingoo的专栏
量子位
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
Schneier on Security
Cisco Talos Blog
Cisco Talos Blog
T
ThreatConnect
J
Java Code Geeks
博客园 - 司徒正美
A
Arctic Wolf
T
True Tiger Recordings
C
Cybersecurity and Infrastructure Security Agency CISA
Cyberwarzone
Cyberwarzone
Know Your Adversary
Know Your Adversary
T
Threat Research - Cisco Blogs
V
Vulnerabilities – Threatpost
Recorded Future
Recorded Future
P
Palo Alto Networks Blog
The Hacker News
The Hacker News
The Register - Security
The Register - Security
S
Securelist
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
CXSECURITY Database RSS Feed - CXSecurity.com
Application and Cybersecurity Blog
Application and Cybersecurity Blog
I
Intezer
P
Privacy & Cybersecurity Law Blog
Scott Helme
Scott Helme
K
Kaspersky official blog
博客园 - 聂微东
Last Week in AI
Last Week in AI
V
V2EX
小众软件
小众软件
F
Fox-IT International blog
Martin Fowler
Martin Fowler
Apple Machine Learning Research
Apple Machine Learning Research
T
Tenable Blog
F
Future of Privacy Forum
Microsoft Security Blog
Microsoft Security Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
腾讯CDC
Stack Overflow Blog
Stack Overflow Blog
C
Check Point Blog
阮一峰的网络日志
阮一峰的网络日志
GbyAI
GbyAI
T
Threatpost
I
InfoQ
P
Proofpoint News Feed
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
Tor Project blog
G
GRAHAM CLULEY
D
DataBreaches.Net

Recent Commits to openclaw:main

fix(kilocode): normalize string stop param to array in stream wrapper… Doctor: expose shell completion health findings (#85566) · openclaw/openclaw@dc17412 fix(agents): honor effective exec policy for Claude live Bash (#86330) fix(test): stabilize e2e runtime imports fix(test): clean plugin gauntlet temp roots perf: cache plugin package realpaths (#86517) · openclaw/openclaw@69d728a fix(qa): settle restart races with live budget · openclaw/openclaw@2cac9e5 fix(qa): extend config mutation Windows budget fix(qa): extend config cleanup Windows budget · openclaw/openclaw@8a93851 test(crabbox): tolerate Windows shell capture fix(sessions): stop doctor OOM on large session stores and reclaim st… · openclaw/openclaw@89aea9b fix(ollama): strip inline kimi cloud reasoning leak (#86515) fix(discord): merge media captions into one message (#86487) · openclaw/openclaw@bc10fad fix(utils): clamp fetch timeout timers (#85985) fix(ui): preserve user code block rendering (#85942) fix(memory): prevent silent vector index degradation when embedding p… docs: clarify agent transcript placeholders · openclaw/openclaw@8da8bc4 test(qa): annotate live transport RTT measurements · openclaw/openclaw@bb6f37e fix(qqbot): derive outbound watchdog from configured timeouts (#85267… · openclaw/openclaw@aa702cf fix(test): clean kitchen sink rpc temp state · openclaw/openclaw@6f695c1 fix: quiet missing daily memory reads fix: tighten empty plugin registry reuse · openclaw/openclaw@026cfb6 perf: speed up agent transcript lookup · openclaw/openclaw@e7ad116 fix: guard QMD session stem fallback (#86482) · openclaw/openclaw@2e3b59b Guard OpenAI chat payload turns (#86497) · openclaw/openclaw@489e415 fix(gateway): keep session tool mirrors under pressure · openclaw/openclaw@459e89a docs: route github creation through agent transcript test(tools): add unmocked image custom-provider auth regression (#85733) · openclaw/openclaw@f0bfb3f refactor(plugin-sdk): rename plain text tool-call compat wrapper docs(skills): defer private release locators · openclaw/openclaw@23d38e4 Replace Sharp image backend with Photon (#86437) · openclaw/openclaw@b9f975b fix(agents): release embedded-attempt session lock on every exit path… · openclaw/openclaw@32ddfc2 fix: accept OpenClaw voice wake confusions (#86507) fix(crabbox): bootstrap macos js toolchain chore: add agent transcript skill · openclaw/openclaw@d63e8d4 fix(gateway): dedupe session tool fanout · openclaw/openclaw@89a21db fix: Hook ingress token unlocks password-mode gateway auth (#86453) · openclaw/openclaw@d51f268 fix #86077: keep fallback errors candidate scoped (#86134) · openclaw/openclaw@d6b7fe8 fix(diagnostics): reclaim wedged session lanes with a stale leaked ac… · openclaw/openclaw@6f76d9f fix: derive plugin media trust from metadata (#86410) · openclaw/openclaw@e761eb8 fix(media-understanding): normalize HEIC before image descriptions (#… · openclaw/openclaw@75c7236 fix: accept leading fuzzy Discord voice wake names (#86484) · openclaw/openclaw@8fe4f34 feat: promote provider tool call stream wrapper (#86489) fix(test): dedupe kitchen sink command assertions test: derive deprecated sdk usage guard (#86403) fix(qa): extend memory fallback Windows budget fix(ui): move control ui chunking helper out of runtime source · openclaw/openclaw@968c87d fix: quiet retained lost task noise (#86475) fix(build): keep control ui chunking out of deadcode · openclaw/openclaw@dc26069 fix: rotate realtime voice sessions on max duration · openclaw/openclaw@dc2c4aa fix(test): stream bundled plugin sweep logs · openclaw/openclaw@fc3cd49 docs: add bugfix changelog credits · openclaw/openclaw@2e7e4bc fix(models): show oauth marker auth status (#86378) · openclaw/openclaw@a6df39d fix: seed cron task progress summaries (#86313) · openclaw/openclaw@92afd8b fix(update): exclude prerelease tags from stable git channel (#86260) · openclaw/openclaw@28f169b fix(doctor): warn and continue when cron job store is unreadable (#86… fix(gateway): clear runtime config snapshot before in-process restart… · openclaw/openclaw@90caa3b fix(scripts): restore sparse crabbox changed gates · openclaw/openclaw@d270879 fix(build): support Windows UI builds · openclaw/openclaw@0bb9b42 Fix local embedding worker safety (#85348) · openclaw/openclaw@7ff29a9 fix(ui): scope chat session picker to active agent (#85965) · openclaw/openclaw@70c7d6f [codex] improve iOS realtime talk mode (#86355) · openclaw/openclaw@9ca52ce fix(scripts): dedupe docker lane resources · openclaw/openclaw@5e94469 docs: add code size guidance · openclaw/openclaw@9a60fcf fix(test): avoid source gateway import in rpc walk · openclaw/openclaw@e9b8a6e docs: add bugfix changelog entries · openclaw/openclaw@f950132 Fix heartbeat response loop guard (#86324) (#86357) · openclaw/openclaw@e2c174e fix(memory-core): filter REM dreaming candidates to light-staged entr… · openclaw/openclaw@8b42771 fix(telegram): propagate forum topic names into agent context (#86299) fix(slack): keep downloaded files out of reply media (#86318) · openclaw/openclaw@2fcd481 fix(cron): accept plus durations for one-shot jobs (#86341) · openclaw/openclaw@9239f94 fix(plugins): clear metadata memo at lifecycle boundaries · openclaw/openclaw@e7c696a chore(skills): normalize release skill routing · openclaw/openclaw@4737e19 docs(release): require early performance regression check · openclaw/openclaw@0336938 fix(qa): capture Windows gateway metrics · openclaw/openclaw@9afbfc1 feat(qa): add coverage scenario matching · openclaw/openclaw@a1fe86a fix(perf): avoid duplicate docker package ui build build: enable modern TypeScript module syntax · openclaw/openclaw@bbc1772 ci: include performance evidence in release validation fix(providers): stream ordinary tool-like prose promptly fix(perf): harden gateway restart bench exits · openclaw/openclaw@82bbcf6 fix(gateway): gate talk secret bootstrap handoff (#85690) · openclaw/openclaw@c791e42 fix: suppress async media incomplete-turn errors (#85933) · openclaw/openclaw@35dcd42 migrate auth credentials · openclaw/openclaw@f036bac fix migrate auth lint · openclaw/openclaw@50e6cb0 fix migrate supported auth imports · openclaw/openclaw@44bb2be fix migrate auth opt-out precedence · openclaw/openclaw@2016a51 honor migrate auth opt-out in plan · openclaw/openclaw@17edec7 address migrate auth review comments · openclaw/openclaw@0a98c2d fix ci blockers for migrate auth docs: add migrate auth changelog (#85667) · openclaw/openclaw@f7fcbdb fix(scripts): avoid duplicate install smoke ui build · openclaw/openclaw@b1b2841 fix(telegram): preserve inbound text entities (#83873) · openclaw/openclaw@b552919 chore: ignore Python bytecode caches · openclaw/openclaw@b6b2755 fix: make autoreview progress visible · openclaw/openclaw@236edb2 ci(release): fix plugin prerelease extension batch invocation test(telegram): provide topic cache store in message context harness · openclaw/openclaw@ff1fde1 test(agents): complete provider runtime test mocks · openclaw/openclaw@be8cd12 test(telegram): type topic cache harness store · openclaw/openclaw@84ab206 test(agents): sync provider runtime mocks · openclaw/openclaw@a289dd9
fix(crabbox): sync full sparse lease runs · openclaw/openclaw@e97e831
vincentkoc · 2026-05-25 · via Recent Commits to openclaw:main

@@ -63,7 +63,11 @@ function makeFakeGit(

6363

"process.exit(response.status ?? 0);",

6464

].join("\n");

6565

writeFileSync(gitPath, `${script}\n`, "utf8");

66-

writeFileSync(`${gitPath}.cmd`, `@echo off\r\n"${process.execPath}" "%~dp0git" %*\r\n`, "utf8");

66+

writeFileSync(

67+

`${gitPath}.cmd`,

68+

`@echo off\r\n"${process.execPath}" "%~dp0git" %*\r\n`,

69+

"utf8",

70+

);

6771

chmodSync(gitPath, 0o755);

6872

return binDir;

6973

}

@@ -283,35 +287,40 @@ describe("scripts/crabbox-wrapper", () => {

283287

]);

284288

});

285289286-

it("finds a Crabbox checkout next to the Git common dir in linked worktrees", () => {

287-

const fakeWorkspaceParent = mkdtempSync(path.join(tmpdir(), "openclaw-linked-worktree-"));

288-

tempDirs.push(fakeWorkspaceParent);

289-

const gitCommonDir = path.join(fakeWorkspaceParent, "openclaw", ".git");

290-

const crabboxBinDir = path.join(fakeWorkspaceParent, "crabbox", "bin");

291-

mkdirSync(gitCommonDir, { recursive: true });

292-

writeFakeCrabbox(crabboxBinDir, "provider: aws\n");

293-

const gitResponses = {

294-

["rev-parse\u0000--git-common-dir"]: { stdout: `${gitCommonDir}\n` },

295-

};

296-

const gitBinDir = makeFakeGit(gitResponses);

297-298-

const result = spawnSync(

299-

process.execPath,

300-

["scripts/crabbox-wrapper.mjs", "run", "--provider", "aws", "--", "echo ok"],

301-

{

302-

cwd: repoRoot,

303-

encoding: "utf8",

304-

env: {

305-

...process.env,

306-

OPENCLAW_FAKE_GIT_RESPONSES: JSON.stringify(gitResponses),

307-

PATH: [gitBinDir, path.dirname(process.execPath)].join(path.delimiter),

290+

const itWithPosixLinkedWorktreeFixture = process.platform === "win32" ? it.skip : it;

291+292+

itWithPosixLinkedWorktreeFixture(

293+

"finds a Crabbox checkout next to the Git common dir in linked worktrees",

294+

() => {

295+

const fakeWorkspaceParent = mkdtempSync(path.join(tmpdir(), "openclaw-linked-worktree-"));

296+

tempDirs.push(fakeWorkspaceParent);

297+

const gitCommonDir = path.join(fakeWorkspaceParent, "openclaw", ".git");

298+

const crabboxBinDir = path.join(fakeWorkspaceParent, "crabbox", "bin");

299+

mkdirSync(gitCommonDir, { recursive: true });

300+

writeFakeCrabbox(crabboxBinDir, "provider: aws\n");

301+

const gitResponses = {

302+

["rev-parse\u0000--git-common-dir"]: { stdout: `${gitCommonDir}\n` },

303+

};

304+

const gitBinDir = makeFakeGit(gitResponses);

305+306+

const result = spawnSync(

307+

process.execPath,

308+

["scripts/crabbox-wrapper.mjs", "run", "--provider", "aws", "--", "echo ok"],

309+

{

310+

cwd: repoRoot,

311+

encoding: "utf8",

312+

env: {

313+

...process.env,

314+

OPENCLAW_FAKE_GIT_RESPONSES: JSON.stringify(gitResponses),

315+

PATH: [gitBinDir, path.dirname(process.execPath)].join(path.delimiter),

316+

},

308317

},

309-

},

310-

);

318+

);

311319312-

expect(result.status).toBe(0);

313-

expect(parseFakeCrabboxOutput(result).args).toContain("aws");

314-

});

320+

expect(result.status).toBe(0);

321+

expect(parseFakeCrabboxOutput(result).args).toContain("aws");

322+

},

323+

);

315324316325

it("accepts advertised providers from wrapped Crabbox help", () => {

317326

const result = runWrapper(

@@ -355,18 +364,14 @@ describe("scripts/crabbox-wrapper", () => {

355364

}

356365357366

it("falls back to normal sync decisions when git is missing from PATH", () => {

358-

const binDir = makeFakeCrabbox(

367+

const result = runWrapper(

359368

"provider: hetzner, aws, local-container, blacksmith-testbox, or cloudflare\n",

360-

);

361-

const result = spawnSync(

362-

process.execPath,

363-

["scripts/crabbox-wrapper.mjs", "run", "--provider", "aws", "--", "echo ok"],

369+

["run", "--provider", "aws", "--", "echo ok"],

364370

{

365-

cwd: repoRoot,

366-

encoding: "utf8",

367-

env: {

368-

...process.env,

369-

PATH: [binDir, path.dirname(process.execPath)].join(path.delimiter),

371+

gitResponses: {

372+

["rev-parse\u0000--git-common-dir"]: { status: 1 },

373+

["config\u0000--bool\u0000core.sparseCheckout"]: { status: 1 },

374+

["sparse-checkout\u0000list"]: { status: 1 },

370375

},

371376

},

372377

);

@@ -493,6 +498,35 @@ describe("scripts/crabbox-wrapper", () => {

493498

expect(parseFakeCrabboxOutput(result).cwd).toContain("openclaw-crabbox-sync-");

494499

});

495500501+

it("uses a temporary full checkout when clean sparse AWS syncs reuse a lease", () => {

502+

const result = runWrapper(

503+

"provider: hetzner, aws, local-container, blacksmith-testbox, or cloudflare\n",

504+

[

505+

"run",

506+

"--provider",

507+

"aws",

508+

"--target",

509+

"windows",

510+

"--id",

511+

"cbx_existing",

512+

"--",

513+

"corepack",

514+

"pnpm",

515+

"build",

516+

],

517+

{

518+

gitResponses: {

519+

["config\u0000--bool\u0000core.sparseCheckout"]: { stdout: "true\n" },

520+

["status\u0000--porcelain=v1"]: { stdout: "" },

521+

},

522+

},

523+

);

524+525+

expect(result.status).toBe(0);

526+

expect(result.stderr).toContain("syncing from temporary full checkout");

527+

expect(parseFakeCrabboxOutput(result).cwd).toContain("openclaw-crabbox-sync-");

528+

});

529+496530

it("bootstraps Git metadata for sparse changed gates on remote raw syncs", () => {

497531

const result = runWrapper(

498532

"provider: hetzner, aws, local-container, blacksmith-testbox, or cloudflare\n",

@@ -626,7 +660,7 @@ describe("scripts/crabbox-wrapper", () => {

626660

expect(parseFakeCrabboxOutput(result).cwd).toBe(repoRoot);

627661

});

628662629-

it("keeps existing AWS leases on the original sparse checkout", () => {

663+

it("uses a temporary full checkout when existing AWS leases sync clean sparse worktrees", () => {

630664

const result = runWrapper(

631665

"provider: hetzner, aws, local-container, blacksmith-testbox, or cloudflare\n",

632666

["run", "--provider", "aws", "--id", "cbx_existing", "--", "echo ok"],

@@ -639,8 +673,8 @@ describe("scripts/crabbox-wrapper", () => {

639673

);

640674641675

expect(result.status).toBe(0);

642-

expect(result.stderr).not.toContain("syncing from temporary full checkout");

643-

expect(parseFakeCrabboxOutput(result).cwd).toBe(repoRoot);

676+

expect(result.stderr).toContain("syncing from temporary full checkout");

677+

expect(parseFakeCrabboxOutput(result).cwd).toContain("openclaw-crabbox-sync-");

644678

});

645679646680

it("uses a temporary full checkout when clean sparse branches differ from the Blacksmith ref", () => {