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

推荐订阅源

云风的 BLOG
云风的 BLOG
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
IT之家
IT之家
Recent Announcements
Recent Announcements
B
Blog
D
Docker
V
V2EX
GbyAI
GbyAI
L
LangChain Blog
博客园 - Franky
U
Unit 42
T
The Blog of Author Tim Ferriss
A
About on SuperTechFans
博客园 - 【当耐特】
Google DeepMind News
Google DeepMind News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Vercel News
Vercel News
博客园_首页
D
DataBreaches.Net
人人都是产品经理
人人都是产品经理
Y
Y Combinator Blog
量子位
Blog — PlanetScale
Blog — PlanetScale
罗磊的独立博客

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): route native Windows hydrate jobs · opencla...
vincentkoc · 2026-06-23 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -773,6 +773,39 @@ function ensureAwsMacOnDemandMarket(commandArgs, providerName) {

773773

return normalizedArgs;

774774

}

775775
776+

function ensureNativeWindowsHydrateJob(commandArgs) {

777+

if (

778+

commandArgs[0] !== "actions" ||

779+

commandArgs[1] !== "hydrate" ||

780+

!isNativeWindowsRemoteTarget(commandArgs)

781+

) {

782+

return commandArgs;

783+

}

784+
785+

const currentJob = optionValue(commandArgs, "--job");

786+

if (currentJob && currentJob !== "hydrate") {

787+

return commandArgs;

788+

}

789+
790+

const normalizedArgs = [...commandArgs];

791+

const replacementJob = "hydrate-windows-daemon";

792+

const optionEnd = commandOptionEnd(normalizedArgs);

793+

for (let index = 0; index < optionEnd; index += 1) {

794+

const arg = normalizedArgs[index];

795+

if (arg === "--job" || arg === "-job") {

796+

normalizedArgs[index + 1] = replacementJob;

797+

return normalizedArgs;

798+

}

799+

if (arg.startsWith("--job=") || arg.startsWith("-job=")) {

800+

normalizedArgs[index] = `${arg.slice(0, arg.indexOf("=") + 1)}${replacementJob}`;

801+

return normalizedArgs;

802+

}

803+

}

804+
805+

normalizedArgs.splice(optionEnd, 0, "--job", replacementJob);

806+

return normalizedArgs;

807+

}

808+
776809

const localPathRunOptions = new Set([

777810

"capture-stderr",

778811

"capture-stdout",

@@ -2735,7 +2768,7 @@ const provider = selectedProvider(args, providers);

27352768

const canonicalProvider = providerAliases.get(provider) ?? provider;

27362769

const commandProviderValue = commandProvider(args);

27372770

let normalizedArgs = ensureAwsMacOnDemandMarket(

2738-

ensureAzureWindowsProvider(args, provider, providers),

2771+

ensureNativeWindowsHydrateJob(ensureAzureWindowsProvider(args, provider, providers)),

27392772

provider,

27402773

);

27412774
Original file line numberDiff line numberDiff line change

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

813813

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

814814

});

815815
816+

it("uses the native Windows daemon job for Windows hydrate actions", () => {

817+

const result = runWrapper(azureProviderHelp, [

818+

"actions",

819+

"hydrate",

820+

"--provider",

821+

"aws",

822+

"--target",

823+

"windows",

824+

"--id",

825+

"cbx_existing",

826+

]);

827+
828+

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

829+

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

830+

"actions",

831+

"hydrate",

832+

"--provider",

833+

"aws",

834+

"--target",

835+

"windows",

836+

"--id",

837+

"cbx_existing",

838+

"--job",

839+

"hydrate-windows-daemon",

840+

]);

841+

});

842+
843+

it("repairs generic hydrate jobs for native Windows hydrate actions", () => {

844+

const result = runWrapper(azureProviderHelp, [

845+

"actions",

846+

"hydrate",

847+

"--provider",

848+

"aws",

849+

"--target",

850+

"windows",

851+

"--job",

852+

"hydrate",

853+

"--id",

854+

"cbx_existing",

855+

]);

856+
857+

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

858+

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

859+

"actions",

860+

"hydrate",

861+

"--provider",

862+

"aws",

863+

"--target",

864+

"windows",

865+

"--job",

866+

"hydrate-windows-daemon",

867+

"--id",

868+

"cbx_existing",

869+

]);

870+

});

871+
872+

it("repairs generic hydrate job assignments for native Windows hydrate actions", () => {

873+

const result = runWrapper(azureProviderHelp, [

874+

"actions",

875+

"hydrate",

876+

"--provider",

877+

"aws",

878+

"--target",

879+

"windows",

880+

"--job=hydrate",

881+

"--id",

882+

"cbx_existing",

883+

]);

884+
885+

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

886+

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

887+

"actions",

888+

"hydrate",

889+

"--provider",

890+

"aws",

891+

"--target",

892+

"windows",

893+

"--job=hydrate-windows-daemon",

894+

"--id",

895+

"cbx_existing",

896+

]);

897+

});

898+
899+

it("keeps post-delimiter hydrate payloads untouched for native Windows hydrate actions", () => {

900+

const result = runWrapper(azureProviderHelp, [

901+

"actions",

902+

"hydrate",

903+

"--provider",

904+

"aws",

905+

"--target",

906+

"windows",

907+

"--id",

908+

"cbx_existing",

909+

"--",

910+

"--job",

911+

"hydrate",

912+

]);

913+
914+

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

915+

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

916+

"actions",

917+

"hydrate",

918+

"--provider",

919+

"aws",

920+

"--target",

921+

"windows",

922+

"--id",

923+

"cbx_existing",

924+

"--job",

925+

"hydrate-windows-daemon",

926+

"--",

927+

"--job",

928+

"hydrate",

929+

]);

930+

});

931+
932+

it("keeps explicit non-native hydrate jobs for Windows hydrate actions", () => {

933+

const result = runWrapper(azureProviderHelp, [

934+

"actions",

935+

"hydrate",

936+

"--provider",

937+

"aws",

938+

"--target",

939+

"windows",

940+

"--job",

941+

"hydrate-github",

942+

"--id",

943+

"cbx_existing",

944+

]);

945+
946+

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

947+

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

948+

"actions",

949+

"hydrate",

950+

"--provider",

951+

"aws",

952+

"--target",

953+

"windows",

954+

"--job",

955+

"hydrate-github",

956+

"--id",

957+

"cbx_existing",

958+

]);

959+

});

960+
961+

it("keeps WSL2 hydrate actions on the requested job", () => {

962+

const result = runWrapper(azureProviderHelp, [

963+

"actions",

964+

"hydrate",

965+

"--provider",

966+

"aws",

967+

"--target",

968+

"windows",

969+

"--windows-mode",

970+

"wsl2",

971+

"--job",

972+

"hydrate",

973+

"--id",

974+

"cbx_existing",

975+

]);

976+
977+

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

978+

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

979+

"actions",

980+

"hydrate",

981+

"--provider",

982+

"aws",

983+

"--target",

984+

"windows",

985+

"--windows-mode",

986+

"wsl2",

987+

"--job",

988+

"hydrate",

989+

"--id",

990+

"cbx_existing",

991+

]);

992+

});

993+
816994

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

817995

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

818996