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

推荐订阅源

GbyAI
GbyAI
B
Blog
Stack Overflow Blog
Stack Overflow Blog
量子位
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
Tailwind CSS Blog
MongoDB | Blog
MongoDB | Blog
小众软件
小众软件
博客园 - 三生石上(FineUI控件)
Recent Announcements
Recent Announcements
U
Unit 42
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
腾讯CDC
D
DataBreaches.Net
Microsoft Azure Blog
Microsoft Azure Blog
G
Google Developers Blog
M
MIT News - Artificial intelligence
P
Proofpoint News Feed
罗磊的独立博客
L
LangChain Blog
V
Visual Studio Blog
雷峰网
雷峰网
aimingoo的专栏
aimingoo的专栏
宝玉的分享
宝玉的分享

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
ci: add Windows testbox probe · openclaw/openclaw@9dc3271
vincentkoc · 2026-05-04 · via Recent Commits to openclaw:main

@@ -0,0 +1,111 @@

1+

name: Windows Testbox Probe

2+3+

on:

4+

workflow_dispatch:

5+

inputs:

6+

target_ref:

7+

description: "Git ref or SHA to check out"

8+

required: false

9+

default: "main"

10+

type: string

11+

keepalive_minutes:

12+

description: "Minutes to keep the Windows runner alive for SSH inspection"

13+

required: false

14+

default: "20"

15+

type: string

16+

require_wsl2:

17+

description: "Fail the run when WSL2 is unavailable"

18+

required: false

19+

default: false

20+

type: boolean

21+22+

permissions:

23+

contents: read

24+25+

env:

26+

FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"

27+28+

jobs:

29+

probe:

30+

name: Windows probe

31+

runs-on: ${{ github.repository == 'openclaw/openclaw' && 'blacksmith-16vcpu-windows-2025' || 'windows-2025' }}

32+

timeout-minutes: 75

33+

defaults:

34+

run:

35+

shell: pwsh

36+

steps:

37+

- name: Checkout

38+

uses: actions/checkout@v6

39+

with:

40+

ref: ${{ inputs.target_ref || github.ref }}

41+

persist-credentials: false

42+

submodules: false

43+44+

- name: Probe native Windows

45+

run: |

46+

$ErrorActionPreference = "Stop"

47+

Write-Host "runner=$env:RUNNER_NAME"

48+

Write-Host "machine=$env:COMPUTERNAME"

49+

Write-Host "workspace=$env:GITHUB_WORKSPACE"

50+

Write-Host "target_ref=${{ inputs.target_ref || github.ref }}"

51+

Write-Host ("os=" + [System.Environment]::OSVersion.VersionString)

52+

Write-Host ("arch=" + [System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)

53+

Write-Host ("powershell=" + $PSVersionTable.PSVersion.ToString())

54+

cmd.exe /c ver

55+

git --version

56+57+

- name: Probe WSL2

58+

id: wsl2

59+

run: |

60+

$ErrorActionPreference = "Continue"

61+

$ok = $false

62+63+

$wsl = Get-Command wsl.exe -ErrorAction SilentlyContinue

64+

if (-not $wsl) {

65+

Write-Warning "wsl.exe is not available on this runner."

66+

} else {

67+

Write-Host "wsl.exe=$($wsl.Source)"

68+

wsl.exe --status

69+

Write-Host "wsl_status_exit=$LASTEXITCODE"

70+

wsl.exe --list --verbose

71+

Write-Host "wsl_list_exit=$LASTEXITCODE"

72+

wsl.exe --exec bash -lc 'set -euo pipefail; uname -a; if [ -f /etc/os-release ]; then sed -n "1,8p" /etc/os-release; fi'

73+

if ($LASTEXITCODE -eq 0) {

74+

$ok = $true

75+

}

76+

Write-Host "wsl_exec_exit=$LASTEXITCODE"

77+

}

78+79+

if ($ok) {

80+

"wsl2_ok=true" >> $env:GITHUB_OUTPUT

81+

"OPENCLAW_WSL2_PROBE_OK=true" >> $env:GITHUB_ENV

82+

Write-Host "wsl2_ok=true"

83+

} else {

84+

"wsl2_ok=false" >> $env:GITHUB_OUTPUT

85+

"OPENCLAW_WSL2_PROBE_OK=false" >> $env:GITHUB_ENV

86+

Write-Warning "wsl2_ok=false"

87+

}

88+89+

- name: Keep runner alive for SSH inspection

90+

env:

91+

KEEPALIVE_MINUTES: ${{ inputs.keepalive_minutes }}

92+

run: |

93+

$ErrorActionPreference = "Stop"

94+

$minutes = 20

95+

if ($env:KEEPALIVE_MINUTES -match '^\d+$') {

96+

$minutes = [int]$env:KEEPALIVE_MINUTES

97+

}

98+

$minutes = [Math]::Max(0, [Math]::Min($minutes, 60))

99+

Write-Host "keepalive_minutes=$minutes"

100+

for ($i = 1; $i -le $minutes; $i++) {

101+

Write-Host "keepalive minute $i/$minutes"

102+

Start-Sleep -Seconds 60

103+

}

104+105+

- name: Enforce WSL2 requirement

106+

if: ${{ inputs.require_wsl2 }}

107+

run: |

108+

if ($env:OPENCLAW_WSL2_PROBE_OK -ne "true") {

109+

Write-Error "WSL2 probe failed or WSL2 is unavailable on this Windows runner."

110+

exit 1

111+

}