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

推荐订阅源

Hugging Face - Blog
Hugging Face - Blog
Recent Announcements
Recent Announcements
V
Visual Studio Blog
博客园 - 叶小钗
H
Help Net Security
aimingoo的专栏
aimingoo的专栏
宝玉的分享
宝玉的分享
U
Unit 42
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
F
Fortinet All Blogs
V
V2EX
Stack Overflow Blog
Stack Overflow Blog
WordPress大学
WordPress大学
D
DataBreaches.Net
J
Java Code Geeks
H
Hackread – Cybersecurity News, Data Breaches, AI and More
A
About on SuperTechFans
酷 壳 – CoolShell
酷 壳 – CoolShell
量子位
C
Check Point Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
小众软件
小众软件
Microsoft Azure Blog
Microsoft Azure Blog
M
MIT News - Artificial intelligence

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
docs(test): explain cheap docker reruns · openclaw/opencl...
steipete · 2026-04-27 · via Recent Commits to openclaw:main

@@ -101,9 +101,11 @@ docker_lanes: install-e2e bundled-channel-update-acpx

101101

```

102102103103

That skips the three chunk matrix and runs one targeted Docker job against the

104-

prepared GHCR images and the prepared OpenClaw npm tarball. Live-only targeted

105-

reruns skip the E2E images and build only the live-test image. Release-path

106-

normal mode remains max three Docker chunk jobs:

104+

prepared GHCR images and a fresh OpenClaw npm tarball for the selected ref.

105+

Reruns usually need that new tarball because the fix being tested changed the

106+

package contents even if the SHA-tagged GHCR Docker image can be reused.

107+

Live-only targeted reruns skip the E2E images and build only the live-test

108+

image. Release-path normal mode remains max three Docker chunk jobs:

107109108110

- `core`

109111

- `package-update`

@@ -112,17 +114,50 @@ normal mode remains max three Docker chunk jobs:

112114

Docker E2E images never copy repo sources as the app under test: the bare image

113115

is a Node/Git runner, and the functional image installs the same prebuilt npm

114116

tarball that bare lanes mount. `scripts/package-openclaw-for-docker.mjs` is the

115-

single packer for local scripts and CI. `scripts/test-docker-all.mjs

116-

--plan-json` is the scheduler-owned CI plan for image kind, package, live image,

117-

lane, and credential needs. Docker lane definitions live in the single scenario

118-

catalog `scripts/lib/docker-e2e-scenarios.mjs`; planner logic lives in

117+

single packer for local scripts and CI and validates the tarball inventory

118+

before Docker consumes it. `scripts/test-docker-all.mjs --plan-json` is the

119+

scheduler-owned CI plan for image kind, package, live image, lane, and

120+

credential needs. Docker lane definitions live in the single scenario catalog

121+

`scripts/lib/docker-e2e-scenarios.mjs`; planner logic lives in

119122

`scripts/lib/docker-e2e-plan.mjs`. `scripts/docker-e2e.mjs` converts plan and

120123

summary JSON into GitHub outputs and step summaries. Every scheduler run writes

121-

`.artifacts/docker-tests/**/summary.json`. Read it

124+

`.artifacts/docker-tests/**/summary.json` plus `failures.json`. Read those

122125

before rerunning. Lane entries include `command`, `rerunCommand`, status,

123126

timing, timeout state, image kind, and log file path. The summary also includes

124127

top-level phase timings for preflight, image build, package prep, lane pools,

125-

and cleanup.

128+

and cleanup. Use `pnpm test:docker:timings <summary.json>` to rank slow lanes

129+

and phases before deciding whether a broader rerun is justified.

130+131+

## Cheap Docker Reruns

132+133+

First derive the smallest rerun command from artifacts:

134+135+

```bash

136+

pnpm test:docker:rerun <github-run-id>

137+

pnpm test:docker:rerun .artifacts/docker-tests/<run>/failures.json

138+

```

139+140+

The script downloads Docker E2E artifacts for a GitHub run, reads

141+

`summary.json`/`failures.json`, and prints a combined targeted workflow command

142+

plus per-lane commands. Prefer the combined targeted command when several lanes

143+

failed for the same patch:

144+145+

```bash

146+

gh workflow run openclaw-live-and-e2e-checks-reusable.yml \

147+

-f ref=<sha> \

148+

-f include_repo_e2e=false \

149+

-f include_release_path_suites=false \

150+

-f include_openwebui=false \

151+

-f docker_lanes='install-e2e bundled-channel-update-acpx' \

152+

-f include_live_suites=false \

153+

-f live_models_only=false

154+

```

155+156+

That path still runs the prepare job, so it creates a new tarball for `<sha>`.

157+

If the SHA-tagged GHCR bare/functional image already exists, CI skips rebuilding

158+

that image and only uploads the fresh package artifact before the targeted lane

159+

job. Do not rerun the full three-chunk release path unless the failed lane list

160+

or touched surface really requires it.

126161127162

## Docker Expected Timings

128163

@@ -158,19 +193,21 @@ lane log/artifacts first, not “run the whole thing again.”

158193

## Failure Workflow

159194160195

1. Identify exact failing job, SHA, lane, and artifact path.

161-

2. Read `summary.json` and the failed lane log tail.

162-

3. If the lane has `rerunCommand`, use that command as the starting point.

163-

4. For Docker release failures, dispatch `docker_lanes=<failed-lane>` on GitHub

164-

before considering local Docker.

165-

5. Patch narrowly, then rerun the failed file/lane only.

166-

6. Broaden to `pnpm check:changed` or CI only after the isolated proof passes.

196+

2. Read `failures.json`, `summary.json`, and the failed lane log tail.

197+

3. Use `pnpm test:docker:rerun <run-id|failures.json>` to generate targeted

198+

GitHub rerun commands.

199+

4. If the lane has `rerunCommand`, use that only as a local starting point.

200+

5. For Docker release failures, dispatch targeted `docker_lanes=<failed-lane>`

201+

on GitHub before considering local Docker.

202+

6. Patch narrowly, then rerun the failed file/lane only.

203+

7. Broaden to `pnpm check:changed` or CI only after the isolated proof passes.

167204168205

## When To Escalate

169206170207

- Public SDK/plugin contract changes: run changed gate plus relevant extension

171208

validation.

172209

- Build output, lazy imports, package boundaries, or published surfaces:

173210

include `pnpm build`.

174-

- Workflow edits: run `actionlint` or equivalent workflow sanity.

211+

- Workflow edits: run `pnpm check:workflows`.

175212

- Release branch or tag validation: use release docs and GitHub workflows; avoid

176213

local Docker unless Peter explicitly asks.