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

推荐订阅源

美团技术团队
T
The Blog of Author Tim Ferriss
月光博客
月光博客
阮一峰的网络日志
阮一峰的网络日志
Engineering at Meta
Engineering at Meta
量子位
I
InfoQ
Jina AI
Jina AI
Microsoft Security Blog
Microsoft Security Blog
H
Help Net Security
H
Hackread – Cybersecurity News, Data Breaches, AI and More
G
Google Developers Blog
J
Java Code Geeks
Recent Announcements
Recent Announcements
aimingoo的专栏
aimingoo的专栏
小众软件
小众软件
V
V2EX
腾讯CDC
P
Proofpoint News Feed
A
About on SuperTechFans
爱范儿
爱范儿
U
Unit 42
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Last Week in AI
Last Week in AI

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
test: add update migration package gate · openclaw/opencl...
steipete · 2026-05-02 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -34,17 +34,17 @@ on:

3434

default: 1

3535

type: number

3636

published_upgrade_survivor_baseline:

37-

description: Published OpenClaw package baseline for the published-upgrade-survivor Docker lane

37+

description: Published OpenClaw package baseline for the published-upgrade-survivor/update-migration Docker lane

3838

required: false

3939

default: openclaw@latest

4040

type: string

4141

published_upgrade_survivor_baselines:

42-

description: Optional exact baseline list for published-upgrade-survivor lane expansion

42+

description: Optional exact baseline list for published-upgrade-survivor/update-migration lane expansion

4343

required: false

4444

default: ""

4545

type: string

4646

published_upgrade_survivor_scenarios:

47-

description: Optional scenario list for published-upgrade-survivor lane expansion

47+

description: Optional scenario list for published-upgrade-survivor/update-migration lane expansion

4848

required: false

4949

default: ""

5050

type: string

@@ -129,17 +129,17 @@ on:

129129

default: 1

130130

type: number

131131

published_upgrade_survivor_baseline:

132-

description: Published OpenClaw package baseline for the published-upgrade-survivor Docker lane

132+

description: Published OpenClaw package baseline for the published-upgrade-survivor/update-migration Docker lane

133133

required: false

134134

default: openclaw@latest

135135

type: string

136136

published_upgrade_survivor_baselines:

137-

description: Optional exact baseline list for published-upgrade-survivor lane expansion

137+

description: Optional exact baseline list for published-upgrade-survivor/update-migration lane expansion

138138

required: false

139139

default: ""

140140

type: string

141141

published_upgrade_survivor_scenarios:

142-

description: Optional scenario list for published-upgrade-survivor lane expansion

142+

description: Optional scenario list for published-upgrade-survivor/update-migration lane expansion

143143

required: false

144144

default: ""

145145

type: string

Original file line numberDiff line numberDiff line change

@@ -70,12 +70,12 @@ on:

7070

default: openclaw@latest

7171

type: string

7272

published_upgrade_survivor_baselines:

73-

description: Optional baseline list for published-upgrade-survivor; use release-history for last 6 plus key legacy releases

73+

description: Optional baseline list for published-upgrade-survivor/update-migration; use release-history or all-since-2026.4.23

7474

required: false

7575

default: ""

7676

type: string

7777

published_upgrade_survivor_scenarios:

78-

description: Optional scenario list for published-upgrade-survivor; use reported-issues for known upgrade failure shapes

78+

description: Optional scenario list for published-upgrade-survivor/update-migration; use reported-issues for known upgrade failure shapes

7979

required: false

8080

default: ""

8181

type: string

@@ -150,12 +150,12 @@ on:

150150

default: openclaw@latest

151151

type: string

152152

published_upgrade_survivor_baselines:

153-

description: Optional baseline list for published-upgrade-survivor; use release-history for last 6 plus key legacy releases

153+

description: Optional baseline list for published-upgrade-survivor/update-migration; use release-history or all-since-2026.4.23

154154

required: false

155155

default: ""

156156

type: string

157157

published_upgrade_survivor_scenarios:

158-

description: Optional scenario list for published-upgrade-survivor; use reported-issues for known upgrade failure shapes

158+

description: Optional scenario list for published-upgrade-survivor/update-migration; use reported-issues for known upgrade failure shapes

159159

required: false

160160

default: ""

161161

type: string

@@ -442,7 +442,7 @@ jobs:

442442

fi

443443

releases_json=""

444444

npm_versions_json=""

445-

if [[ "$REQUESTED_BASELINES" == *"release-history"* ]]; then

445+

if [[ "$REQUESTED_BASELINES" == *"release-history"* || "$REQUESTED_BASELINES" == *"all-since-"* ]]; then

446446

releases_json=".artifacts/package-candidate-input/openclaw-releases.json"

447447

npm_versions_json=".artifacts/package-candidate-input/openclaw-npm-versions.json"

448448

mkdir -p "$(dirname "$releases_json")"

Original file line numberDiff line numberDiff line change

@@ -0,0 +1,46 @@

1+

name: Update Migration

2+
3+

on:

4+

workflow_dispatch:

5+

inputs:

6+

workflow_ref:

7+

description: Trusted workflow/harness ref

8+

default: main

9+

required: true

10+

type: string

11+

package_ref:

12+

description: Branch, tag, or SHA to package as the update target

13+

default: main

14+

required: true

15+

type: string

16+

baselines:

17+

description: Published baselines to migrate; use all-since-2026.4.23 for full coverage

18+

default: all-since-2026.4.23

19+

required: true

20+

type: string

21+

scenarios:

22+

description: Update survivor scenarios

23+

default: plugin-deps-cleanup

24+

required: true

25+

type: string

26+
27+

permissions:

28+

actions: read

29+

contents: read

30+

packages: write

31+

pull-requests: read

32+
33+

jobs:

34+

update_migration:

35+

name: Update migration matrix

36+

uses: ./.github/workflows/package-acceptance.yml

37+

with:

38+

workflow_ref: ${{ inputs.workflow_ref }}

39+

source: ref

40+

package_ref: ${{ inputs.package_ref }}

41+

suite_profile: custom

42+

docker_lanes: update-migration

43+

published_upgrade_survivor_baselines: ${{ inputs.baselines }}

44+

published_upgrade_survivor_scenarios: ${{ inputs.scenarios }}

45+

telegram_mode: none

46+

secrets: inherit

Original file line numberDiff line numberDiff line change

@@ -192,7 +192,7 @@ For the dedicated update and plugin testing policy, including local commands,

192192

Docker lanes, Package Acceptance inputs, release defaults, and failure triage,

193193

see [Testing updates and plugins](/help/testing-updates-plugins).

194194
195-

Release checks call Package Acceptance with `source=artifact`, the prepared release package artifact, `suite_profile=custom`, `docker_lanes='doctor-switch update-channel-switch upgrade-survivor published-upgrade-survivor plugins-offline plugin-update'`, `published_upgrade_survivor_baselines=release-history`, `published_upgrade_survivor_scenarios=reported-issues`, and `telegram_mode=mock-openai`. This keeps package migration, update, stale-plugin-dependency cleanup, offline plugin, plugin-update, and Telegram proof on the same resolved package tarball. Cross-OS release checks still cover OS-specific onboarding, installer, and platform behavior; package/update product validation should start with Package Acceptance. The `published-upgrade-survivor` Docker lane validates one published package baseline per run. In Package Acceptance, the resolved `package-under-test` tarball is always the candidate and `published_upgrade_survivor_baseline` selects the fallback published baseline, defaulting to `openclaw@latest`; failed-lane rerun commands preserve that baseline. Set `published_upgrade_survivor_baselines=release-history` to expand the lane across a deduped history matrix: the latest six stable releases, `2026.4.23`, and the latest stable release before `2026-03-15`. Set `published_upgrade_survivor_scenarios=reported-issues` to expand the same baselines across issue-shaped fixtures for Feishu config, preserved bootstrap/persona files, tilde log paths, and stale legacy plugin dependency roots. Local aggregate runs can pass exact package specs with `OPENCLAW_UPGRADE_SURVIVOR_BASELINE_SPECS`, keep a single lane with `OPENCLAW_UPGRADE_SURVIVOR_BASELINE_SPEC` such as `openclaw@2026.4.15`, or set `OPENCLAW_UPGRADE_SURVIVOR_SCENARIOS` for the scenario matrix. The published lane configures the baseline with a baked `openclaw config set` command recipe, records recipe steps in `summary.json`, and probes `/healthz`, `/readyz`, plus RPC status after Gateway start. The Windows packaged and installer fresh lanes also verify that an installed package can import a browser-control override from a raw absolute Windows path. The OpenAI cross-OS agent-turn smoke defaults to `OPENCLAW_CROSS_OS_OPENAI_MODEL` when set, otherwise `openai/gpt-5.5`, so the install and gateway proof stays on the preferred GPT-5 test model.

195+

Release checks call Package Acceptance with `source=artifact`, the prepared release package artifact, `suite_profile=custom`, `docker_lanes='doctor-switch update-channel-switch upgrade-survivor published-upgrade-survivor plugins-offline plugin-update'`, `published_upgrade_survivor_baselines=release-history`, `published_upgrade_survivor_scenarios=reported-issues`, and `telegram_mode=mock-openai`. This keeps package migration, update, stale-plugin-dependency cleanup, offline plugin, plugin-update, and Telegram proof on the same resolved package tarball. Cross-OS release checks still cover OS-specific onboarding, installer, and platform behavior; package/update product validation should start with Package Acceptance. The `published-upgrade-survivor` Docker lane validates one published package baseline per run. In Package Acceptance, the resolved `package-under-test` tarball is always the candidate and `published_upgrade_survivor_baseline` selects the fallback published baseline, defaulting to `openclaw@latest`; failed-lane rerun commands preserve that baseline. Set `published_upgrade_survivor_baselines=release-history` to expand the lane across a deduped history matrix: the latest six stable releases, `2026.4.23`, and the latest stable release before `2026-03-15`. Set `published_upgrade_survivor_scenarios=reported-issues` to expand the same baselines across issue-shaped fixtures for Feishu config, preserved bootstrap/persona files, tilde log paths, and stale legacy plugin dependency roots. The separate `Update Migration` workflow uses the `update-migration` Docker lane with `all-since-2026.4.23` and `plugin-deps-cleanup` when the question is exhaustive published update cleanup, not normal Full Release CI breadth. Local aggregate runs can pass exact package specs with `OPENCLAW_UPGRADE_SURVIVOR_BASELINE_SPECS`, keep a single lane with `OPENCLAW_UPGRADE_SURVIVOR_BASELINE_SPEC` such as `openclaw@2026.4.15`, or set `OPENCLAW_UPGRADE_SURVIVOR_SCENARIOS` for the scenario matrix. The published lane configures the baseline with a baked `openclaw config set` command recipe, records recipe steps in `summary.json`, and probes `/healthz`, `/readyz`, plus RPC status after Gateway start. The Windows packaged and installer fresh lanes also verify that an installed package can import a browser-control override from a raw absolute Windows path. The OpenAI cross-OS agent-turn smoke defaults to `OPENCLAW_CROSS_OS_OPENAI_MODEL` when set, otherwise `openai/gpt-5.5`, so the install and gateway proof stays on the preferred GPT-5 test model.

196196
197197

### Legacy compatibility windows

198198
Original file line numberDiff line numberDiff line change

@@ -77,6 +77,7 @@ pnpm test:docker:plugins

7777

pnpm test:docker:plugin-update

7878

pnpm test:docker:upgrade-survivor

7979

pnpm test:docker:published-upgrade-survivor

80+

pnpm test:docker:update-migration

8081

```

8182
8283

Important lanes:

@@ -95,6 +96,12 @@ Important lanes:

9596

configures it through a baked `openclaw config set` recipe, updates it to the

9697

candidate tarball, runs doctor, checks legacy cleanup, starts the Gateway, and

9798

probes `/healthz`, `/readyz`, and RPC status.

99+

- `test:docker:update-migration` is the cleanup-heavy published-update lane. It

100+

starts from a configured Discord/Telegram-style user state, runs baseline

101+

doctor so configured plugin dependencies have a chance to materialize, seeds

102+

legacy plugin dependency debris for a configured packaged plugin, updates to

103+

the candidate tarball, and requires post-update doctor to remove the legacy

104+

dependency roots.

98105
99106

Useful published-upgrade survivor variants:

100107

@@ -109,10 +116,24 @@ pnpm test:docker:published-upgrade-survivor

109116

```

110117
111118

Available scenarios are `base`, `feishu-channel`, `bootstrap-persona`,

112-

`tilde-log-path`, and `versioned-runtime-deps`. In aggregate runs,

119+

`plugin-deps-cleanup`, `tilde-log-path`, and `versioned-runtime-deps`. In aggregate runs,

113120

`OPENCLAW_UPGRADE_SURVIVOR_SCENARIOS=reported-issues` expands to all reported

114121

issue-shaped scenarios.

115122
123+

Full update migration is intentionally separate from Full Release CI. Use the

124+

manual `Update Migration` workflow when the release question is "can every

125+

published stable release from 2026.4.23 onward update to this candidate and

126+

clean up plugin dependency debris?":

127+
128+

```bash

129+

gh workflow run update-migration.yml \

130+

--ref main \

131+

-f workflow_ref=main \

132+

-f package_ref=main \

133+

-f baselines=all-since-2026.4.23 \

134+

-f scenarios=plugin-deps-cleanup

135+

```

136+
116137

## Package Acceptance

117138
118139

Package Acceptance is the GitHub-native package gate. It resolves one candidate

@@ -148,6 +169,11 @@ This keeps package migration, update channel switching, stale plugin dependency

148169

cleanup, offline plugin coverage, plugin update behavior, and Telegram package

149170

QA on the same resolved artifact.

150171
172+

`release-history` is a bounded release-check sample: latest six stable releases,

173+

`2026.4.23`, and one older pre-date anchor. For exhaustive published update

174+

migration coverage, use `all-since-2026.4.23` in the separate Update Migration

175+

workflow instead of Full Release CI.

176+
151177

Run a package profile manually when validating a candidate before release:

152178
153179

```bash

Original file line numberDiff line numberDiff line change

@@ -445,6 +445,8 @@ The canonical checklist for update and plugin validation is

445445

[Testing updates and plugins](/help/testing-updates-plugins). Use it when

446446

deciding which local, Docker, Package Acceptance, or release-check lane proves a

447447

plugin install/update, doctor cleanup, or published-package migration change.

448+

Exhaustive published update migration from every stable `2026.4.23+` package is

449+

a separate manual `Update Migration` workflow, not part of Full Release CI.

448450
449451

Legacy package-acceptance leniency is intentionally time boxed. Packages through

450452

`2026.4.25` may use the compatibility path for metadata gaps already published

Original file line numberDiff line numberDiff line change

@@ -45,6 +45,7 @@ title: "Tests"

4545

- `pnpm test:docker:mcp-channels`: Starts a seeded Gateway container and a second client container that spawns `openclaw mcp serve`, then verifies routed conversation discovery, transcript reads, attachment metadata, live event queue behavior, outbound send routing, and Claude-style channel + permission notifications over the real stdio bridge. The Claude notification assertion reads the raw stdio MCP frames directly so the smoke reflects what the bridge actually emits.

4646

- `pnpm test:docker:upgrade-survivor`: Installs the packed OpenClaw tarball over a dirty old-user fixture, runs package update plus non-interactive doctor without live provider or channel keys, then starts a loopback Gateway and checks that agents, channel config, plugin allowlists, workspace/session files, stale legacy plugin dependency state, startup, and RPC status survive.

4747

- `pnpm test:docker:published-upgrade-survivor`: Installs `openclaw@latest` by default, seeds realistic existing-user files without live provider or channel keys, configures that baseline with a baked `openclaw config set` command recipe, updates that published install to the packed OpenClaw tarball, runs non-interactive doctor, writes `.artifacts/upgrade-survivor/summary.json`, then starts a loopback Gateway and checks that configured intents, workspace/session files, stale plugin config and legacy dependency state, startup, `/healthz`, `/readyz`, and RPC status survive or repair cleanly. Override one baseline with `OPENCLAW_UPGRADE_SURVIVOR_BASELINE_SPEC`, expand an exact matrix with `OPENCLAW_UPGRADE_SURVIVOR_BASELINE_SPECS`, or add scenario fixtures with `OPENCLAW_UPGRADE_SURVIVOR_SCENARIOS=reported-issues`; Package Acceptance exposes those as `published_upgrade_survivor_baseline`, `published_upgrade_survivor_baselines`, and `published_upgrade_survivor_scenarios`.

48+

- `pnpm test:docker:update-migration`: Runs the published-upgrade survivor harness in the cleanup-heavy `plugin-deps-cleanup` scenario, starting at `openclaw@2026.4.23` by default. The separate `Update Migration` workflow expands this lane with `baselines=all-since-2026.4.23` so every stable published package from `.23` onward updates to the candidate and proves configured-plugin dependency cleanup outside Full Release CI.

4849
4950

## Local PR gate

5051
Original file line numberDiff line numberDiff line change

@@ -1518,6 +1518,7 @@

15181518

"test:docker:session-runtime-context": "bash scripts/e2e/session-runtime-context-docker.sh",

15191519

"test:docker:timings": "node scripts/docker-e2e-timings.mjs",

15201520

"test:docker:update-channel-switch": "bash scripts/e2e/update-channel-switch-docker.sh",

1521+

"test:docker:update-migration": "env OPENCLAW_UPGRADE_SURVIVOR_PUBLISHED_BASELINE=1 OPENCLAW_UPGRADE_SURVIVOR_BASELINE_SPEC=${OPENCLAW_UPGRADE_SURVIVOR_BASELINE_SPEC:-openclaw@2026.4.23} OPENCLAW_UPGRADE_SURVIVOR_SCENARIO=${OPENCLAW_UPGRADE_SURVIVOR_SCENARIO:-plugin-deps-cleanup} bash scripts/e2e/upgrade-survivor-docker.sh",

15211522

"test:docker:upgrade-survivor": "bash scripts/e2e/upgrade-survivor-docker.sh",

15221523

"test:e2e": "node scripts/run-vitest.mjs run --config test/vitest/vitest.e2e.config.ts",

15231524

"test:e2e:openshell": "OPENCLAW_E2E_OPENSHELL=1 node scripts/run-vitest.mjs run --config test/vitest/vitest.e2e.config.ts extensions/openshell/src/backend.e2e.test.ts",

Original file line numberDiff line numberDiff line change

@@ -6,6 +6,7 @@ const SCENARIOS = new Set([

66

"base",

77

"feishu-channel",

88

"bootstrap-persona",

9+

"plugin-deps-cleanup",

910

"tilde-log-path",

1011

"versioned-runtime-deps",

1112

]);