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

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
人人都是产品经理
人人都是产品经理
Engineering at Meta
Engineering at Meta
小众软件
小众软件
I
InfoQ
有赞技术团队
有赞技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Martin Fowler
Martin Fowler
月光博客
月光博客
雷峰网
雷峰网
aimingoo的专栏
aimingoo的专栏
云风的 BLOG
云风的 BLOG
Last Week in AI
Last Week in AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
SegmentFault 最新的问题
The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
V
Visual Studio Blog
博客园 - 叶小钗
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
GbyAI
GbyAI
P
Proofpoint News Feed
Apple Machine Learning Research
Apple Machine Learning Research

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(crabbox): prefer Azure for Windows targets (#87186) ·...
vincentkoc · 2026-05-27 · via Recent Commits to openclaw:main

@@ -278,6 +278,8 @@ afterAll(() => {

278278

});

279279280280

describe.concurrent("scripts/crabbox-wrapper", () => {

281+

const azureProviderHelp =

282+

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

281283

const advertisedProviderAliasHelp = [

282284

"provider: hetzner, aws, gcp, local-container, blacksmith-testbox,",

283285

" namespace-devbox, runpod, semaphore, cloudflare, railway, exe-dev, or ssh",

@@ -353,6 +355,108 @@ describe.concurrent("scripts/crabbox-wrapper", () => {

353355

]);

354356

});

355357358+

it("prefers Azure for unqualified Windows runs", () => {

359+

const result = runWrapper(azureProviderHelp, [

360+

"run",

361+

"--target",

362+

"windows",

363+

"--windows-mode",

364+

"wsl2",

365+

"--",

366+

"corepack",

367+

"pnpm",

368+

"check:changed",

369+

]);

370+371+

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

372+

expect(parseFakeCrabboxOutput(result).args).toEqual([

373+

"run",

374+

"--target",

375+

"windows",

376+

"--windows-mode",

377+

"wsl2",

378+

"--provider",

379+

"azure",

380+

"--",

381+

"corepack",

382+

"pnpm",

383+

"check:changed",

384+

]);

385+

expect(result.stderr).toContain("provider=azure");

386+

});

387+388+

it("keeps explicit provider env overrides for Windows runs", () => {

389+

const result = runWrapper(

390+

azureProviderHelp,

391+

["run", "--target", "windows", "--", "echo ok"],

392+

{ env: { CRABBOX_PROVIDER: "aws" } },

393+

);

394+395+

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

396+

expect(parseFakeCrabboxOutput(result).args).toEqual([

397+

"run",

398+

"--target",

399+

"windows",

400+

"--",

401+

"echo ok",

402+

]);

403+

expect(result.stderr).toContain("provider=aws");

404+

});

405+406+

it("keeps the configured provider for Windows runs when Azure is unavailable", () => {

407+

const result = runWrapper(

408+

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

409+

["run", "--target", "windows", "--", "echo ok"],

410+

);

411+412+

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

413+

expect(parseFakeCrabboxOutput(result).args).toEqual([

414+

"run",

415+

"--target",

416+

"windows",

417+

"--",

418+

"echo ok",

419+

]);

420+

expect(result.stderr).toContain("provider=aws");

421+

});

422+423+

it("keeps existing Windows lease selections on the configured provider", () => {

424+

const result = runWrapper(azureProviderHelp, [

425+

"run",

426+

"--id",

427+

"cbx_existing",

428+

"--target",

429+

"windows",

430+

"--",

431+

"echo ok",

432+

]);

433+434+

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

435+

expect(parseFakeCrabboxOutput(result).args).toEqual([

436+

"run",

437+

"--id",

438+

"cbx_existing",

439+

"--target",

440+

"windows",

441+

"--",

442+

"echo ok",

443+

]);

444+

expect(result.stderr).toContain("provider=aws");

445+

});

446+447+

it("prefers Azure for unqualified Windows warmups", () => {

448+

const result = runWrapper(azureProviderHelp, ["warmup", "--target", "windows"]);

449+450+

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

451+

expect(parseFakeCrabboxOutput(result).args).toEqual([

452+

"warmup",

453+

"--target",

454+

"windows",

455+

"--provider",

456+

"azure",

457+

]);

458+

});

459+356460

it("fails closed for AWS proof when broker auth is missing", () => {

357461

const result = runWrapper(

358462

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