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

推荐订阅源

L
LangChain Blog
B
Blog RSS Feed
阮一峰的网络日志
阮一峰的网络日志
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Help Net Security
MyScale Blog
MyScale Blog
WordPress大学
WordPress大学
Microsoft Azure Blog
Microsoft Azure Blog
GbyAI
GbyAI
小众软件
小众软件
大猫的无限游戏
大猫的无限游戏
Martin Fowler
Martin Fowler
Vercel News
Vercel News
S
SegmentFault 最新的问题
M
MIT News - Artificial intelligence
Microsoft Security Blog
Microsoft Security Blog
G
Google Developers Blog
Last Week in AI
Last Week in AI
Hugging Face - Blog
Hugging Face - Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
Google DeepMind News
Google DeepMind News
Engineering at Meta
Engineering at Meta
云风的 BLOG
云风的 BLOG

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(ci): route Windows proof away from Linux Testbox · op...
vincentkoc · 2026-06-19 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -85,12 +85,22 @@ jobs:

8585

env:

8686

ENABLE_WSL2_FEATURES: ${{ inputs.enable_wsl2_features }}

8787

IMPORT_UBUNTU_WSL2: ${{ inputs.import_ubuntu_wsl2 }}

88-

UBUNTU_WSL_ROOTFS_URL: https://cloud-images.ubuntu.com/wsl/releases/24.04/current/ubuntu-noble-wsl-amd64-wsl.rootfs.tar.gz

8988

run: |

9089

$ErrorActionPreference = "Continue"

9190

$ok = $false

9291

$restartRequired = $false

9392
93+

function Resolve-UbuntuWslRootfsUrl {

94+

$osArch = ([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture).ToString().ToLowerInvariant()

95+

switch ($osArch) {

96+

"x64" { $wslArch = "amd64" }

97+

"arm64" { $wslArch = "arm64" }

98+

default { throw "Unsupported Windows architecture for Ubuntu WSL rootfs: $osArch" }

99+

}

100+

Write-Host "ubuntu_wsl_rootfs_arch=$wslArch"

101+

"https://cloud-images.ubuntu.com/wsl/releases/24.04/current/ubuntu-noble-wsl-$wslArch-wsl.rootfs.tar.gz"

102+

}

103+
94104

function Invoke-WslText {

95105

param([string[]] $Arguments)

96106

$output = & wsl.exe @Arguments 2>&1

@@ -143,8 +153,9 @@ jobs:

143153

Write-Host "import_ubuntu_wsl2=true"

144154

$wslRoot = "C:\wsl\UbuntuProbe"

145155

$rootfs = "C:\wsl\ubuntu-noble-wsl.rootfs.tar.gz"

156+

$rootfsUrl = Resolve-UbuntuWslRootfsUrl

146157

New-Item -ItemType Directory -Force -Path @((Split-Path -Parent $rootfs), $wslRoot) | Out-Null

147-

Invoke-WebRequest -Uri $env:UBUNTU_WSL_ROOTFS_URL -OutFile $rootfs -UseBasicParsing

158+

Invoke-WebRequest -Uri $rootfsUrl -OutFile $rootfs -UseBasicParsing

148159

$import = Invoke-WslText -Arguments @("--import", "UbuntuProbe", $wslRoot, $rootfs, "--version", "2")

149160

Write-Host $import.Text

150161

Write-Host "wsl_import_exit=$($import.Code)"

Original file line numberDiff line numberDiff line change

@@ -2354,6 +2354,16 @@ if (provider && !isProviderAdvertised(provider, providers)) {

23542354

}

23552355
23562356

if (canonicalProvider === "blacksmith-testbox") {

2357+

if (isWindowsRemoteTarget(normalizedArgs)) {

2358+

console.error(

2359+

[

2360+

"[crabbox] provider=blacksmith-testbox supports Linux Testbox proof only; it cannot run Windows or WSL2 targets.",

2361+

"[crabbox] use provider=azure or provider=aws for brokered Crabbox Windows/WSL2 proof, provider=parallels for local Windows, or dispatch .github/workflows/windows-testbox-probe.yml for Blacksmith Windows runner probes.",

2362+

].join("\n"),

2363+

);

2364+

process.exit(2);

2365+

}

2366+
23572367

if (!satisfiesMinimumCrabboxVersion(version.text, minimumBlacksmithCrabboxVersion)) {

23582368

console.error(

23592369

[

Original file line numberDiff line numberDiff line change

@@ -142,6 +142,11 @@ describe("check-workflows", () => {

142142

expect(workflow).toContain(

143143

'$import = Invoke-WslText -Arguments @("--import", "UbuntuProbe", $wslRoot, $rootfs, "--version", "2")',

144144

);

145+

expect(workflow).toContain("function Resolve-UbuntuWslRootfsUrl");

146+

expect(workflow).toContain('"x64" { $wslArch = "amd64" }');

147+

expect(workflow).toContain('"arm64" { $wslArch = "arm64" }');

148+

expect(workflow).toContain("ubuntu-noble-wsl-$wslArch-wsl.rootfs.tar.gz");

149+

expect(workflow).toContain("ubuntu_wsl_rootfs_arch=$wslArch");

145150

expect(workflow).toContain('Write-Host "wsl_import_exit=$($import.Code)"');

146151

expect(workflow).toContain("wsl2_restart_required=true");

147152

expect(workflow).toContain("import_ubuntu_wsl2=skipped_restart_required");

Original file line numberDiff line numberDiff line change

@@ -633,6 +633,22 @@ describe.concurrent("scripts/crabbox-wrapper", () => {

633633

]);

634634

});

635635
636+

it("rejects Blacksmith Testbox for Windows-shaped proof", () => {

637+

for (const args of [

638+

["run", "--provider", "blacksmith-testbox", "--target", "windows", "--", "echo ok"],

639+

["run", "--provider", "blacksmith-testbox", "--windows-mode", "wsl2", "--", "echo ok"],

640+

]) {

641+

const result = runWrapper(azureProviderHelp, args);

642+
643+

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

644+

expect(result.stdout).toBe("");

645+

expect(result.stderr).toContain(

646+

"provider=blacksmith-testbox supports Linux Testbox proof only",

647+

);

648+

expect(result.stderr).toContain("windows-testbox-probe.yml");

649+

}

650+

});

651+
636652

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

637653

const result = runWrapper(

638654

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