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

推荐订阅源

I
InfoQ
博客园_首页
美团技术团队
M
MIT News - Artificial intelligence
人人都是产品经理
人人都是产品经理
Blog — PlanetScale
Blog — PlanetScale
H
Help Net Security
J
Java Code Geeks
T
Tailwind CSS Blog
Jina AI
Jina AI
量子位
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
G
Google Developers Blog
爱范儿
爱范儿
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
宝玉的分享
宝玉的分享
小众软件
小众软件
MongoDB | Blog
MongoDB | Blog
博客园 - 三生石上(FineUI控件)
L
LangChain Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
V
Visual Studio Blog
博客园 - Franky
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

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
chore: simplify crabbox integration · openclaw/openclaw@6...
steipete · 2026-05-01 · via Recent Commits to openclaw:main

@@ -0,0 +1,78 @@

1+

---

2+

name: crabbox

3+

description: Use Crabbox for OpenClaw remote Linux validation, warmed reusable boxes, GitHub Actions hydration, sync timing, logs, results, caches, and lease cleanup.

4+

---

5+6+

# Crabbox

7+8+

Use Crabbox when OpenClaw needs remote Linux proof on owned capacity, a large

9+

runner class, reusable warm state, or a Blacksmith alternative.

10+11+

## Before Running

12+13+

- Run from the repo root. Crabbox sync mirrors the current checkout.

14+

- Prefer local targeted tests for tight edit loops.

15+

- Prefer Blacksmith Testbox when the task explicitly asks for Blacksmith or a

16+

Blacksmith-specific CI comparison.

17+

- Use Crabbox for broad OpenClaw gates when owned AWS/Hetzner capacity is the

18+

right remote lane.

19+

- Check `.crabbox.yaml` for repo defaults before adding flags.

20+

- Install with `brew install openclaw/tap/crabbox`; auth is required before use: `crabbox login`.

21+22+

## OpenClaw Flow

23+24+

Warm a reusable box:

25+26+

```sh

27+

pnpm crabbox:warmup -- --idle-timeout 90m

28+

```

29+30+

Hydrate it through the repository workflow:

31+32+

```sh

33+

pnpm crabbox:hydrate -- --id <cbx_id-or-slug>

34+

```

35+36+

Run broad proof:

37+38+

```sh

39+

pnpm crabbox:run -- --id <cbx_id-or-slug> --shell "OPENCLAW_TESTBOX=1 pnpm check:changed"

40+

pnpm crabbox:run -- --id <cbx_id-or-slug> --shell "corepack enable && pnpm install --frozen-lockfile && pnpm test"

41+

```

42+43+

Stop boxes you created before handoff:

44+45+

```sh

46+

pnpm crabbox:stop -- <cbx_id-or-slug>

47+

```

48+49+

## Useful Commands

50+51+

```sh

52+

crabbox status --id <id-or-slug> --wait

53+

crabbox inspect --id <id-or-slug> --json

54+

crabbox sync-plan

55+

crabbox history --lease <id-or-slug>

56+

crabbox logs <run_id>

57+

crabbox results <run_id>

58+

crabbox cache stats --id <id-or-slug>

59+

crabbox ssh --id <id-or-slug>

60+

```

61+62+

Use `--debug` on `run` when measuring sync timing.

63+64+

## Hydration Boundary

65+66+

`.github/workflows/crabbox-hydrate.yml` is repo-specific on purpose. It owns

67+

OpenClaw checkout, setup-node, pnpm setup, provider env hydration, ready marker,

68+

and keepalive. Crabbox owns runner registration, workflow dispatch, SSH sync,

69+

command execution, logs/results, local lease claims, and idle cleanup.

70+71+

Do not add OpenClaw-specific setup to Crabbox. Put repo setup in the hydration

72+

workflow and generic lease/sync behavior in Crabbox.

73+74+

## Cleanup

75+76+

Crabbox has coordinator-owned idle expiry and local lease claims, so OpenClaw

77+

does not need a custom ledger. Default idle timeout is 30 minutes unless config

78+

or flags set a different value. Still stop boxes you created when done.