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

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
U
Unit 42
IT之家
IT之家
Y
Y Combinator Blog
T
Tailwind CSS Blog
B
Blog
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
Jina AI
Jina AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
I
InfoQ
J
Java Code Geeks
F
Fortinet All Blogs
T
The Blog of Author Tim Ferriss
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
H
Hackread – Cybersecurity News, Data Breaches, AI and More
人人都是产品经理
人人都是产品经理
腾讯CDC
Hugging Face - Blog
Hugging Face - Blog
GbyAI
GbyAI
博客园 - 司徒正美
The GitHub Blog
The GitHub Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
L
LangChain Blog

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: tighten plugin prerelease workflow assertions · ope...
steipete · 2026-05-09 · via Recent Commits to openclaw:main

@@ -223,18 +223,86 @@ describe("scripts/lib/plugin-prerelease-test-plan.mjs", () => {

223223

expect(workflow.jobs["checks-node-extensions-shard"]).toBeUndefined();

224224

expect(preflight.outputs).not.toHaveProperty("run_plugin_prerelease_suite");

225225

expect(preflight.outputs).not.toHaveProperty("run_checks_node_extensions");

226-

expect(staticShard).toMatchObject({

226+

expect(staticShard).toEqual({

227+

if: "needs.preflight.outputs.run_plugin_prerelease_static == 'true'",

227228

name: "${{ matrix.check_name }}",

229+

needs: ["preflight"],

230+

permissions: {

231+

contents: "read",

232+

},

228233

"runs-on": "blacksmith-8vcpu-ubuntu-2404",

234+

steps: [

235+

{

236+

name: "Checkout",

237+

uses: "actions/checkout@v6",

238+

with: {

239+

"fetch-depth": 1,

240+

"fetch-tags": false,

241+

"persist-credentials": false,

242+

ref: "${{ needs.preflight.outputs.checkout_revision }}",

243+

submodules: false,

244+

},

245+

},

246+

{

247+

name: "Setup Node environment",

248+

uses: "./.github/actions/setup-node-env",

249+

with: {

250+

"install-bun": "false",

251+

},

252+

},

253+

{

254+

env: {

255+

PLUGIN_PRERELEASE_COMMAND: "${{ matrix.command }}",

256+

PLUGIN_PRERELEASE_TASK: "${{ matrix.task }}",

257+

},

258+

name: "Run plugin prerelease static shard",

259+

run: [

260+

"set -euo pipefail",

261+

'echo "Running ${PLUGIN_PRERELEASE_TASK}: ${PLUGIN_PRERELEASE_COMMAND}"',

262+

'bash -c "$PLUGIN_PRERELEASE_COMMAND"',

263+

"",

264+

].join("\n"),

265+

shell: "bash",

266+

},

267+

],

268+

strategy: {

269+

"fail-fast": false,

270+

matrix: "${{ fromJson(needs.preflight.outputs.plugin_prerelease_static_matrix) }}",

271+

},

272+

"timeout-minutes": 45,

229273

});

230274

expect(workflow.on.workflow_dispatch.inputs.full_release_validation).toBeUndefined();

231-

expect(workflow.on.workflow_dispatch.inputs.include_android).toMatchObject({

275+

expect(workflow.on.workflow_dispatch.inputs.include_android).toEqual({

232276

default: false,

277+

description: "Run Android lanes for this manual CI dispatch.",

278+

required: false,

233279

type: "boolean",

234280

});

235-

expect(manifestEnv).toMatchObject({

281+

expect(manifestEnv).toEqual({

282+

OPENCLAW_CI_CHECKOUT_REVISION: "${{ steps.checkout_ref.outputs.sha }}",

283+

OPENCLAW_CI_DOCS_CHANGED:

284+

"${{ github.event_name == 'workflow_dispatch' && 'true' || steps.docs_scope.outputs.docs_changed }}",

285+

OPENCLAW_CI_DOCS_ONLY:

286+

"${{ github.event_name == 'workflow_dispatch' && 'false' || steps.docs_scope.outputs.docs_only }}",

287+

OPENCLAW_CI_REPOSITORY: "${{ github.repository }}",

236288

OPENCLAW_CI_RUN_ANDROID:

237289

"${{ github.event_name == 'workflow_dispatch' && inputs.include_android && 'true' || steps.changed_scope.outputs.run_android || 'false' }}",

290+

OPENCLAW_CI_RUN_CONTROL_UI_I18N:

291+

"${{ github.event_name == 'workflow_dispatch' && 'true' || steps.changed_scope.outputs.run_control_ui_i18n || 'false' }}",

292+

OPENCLAW_CI_RUN_MACOS:

293+

"${{ github.event_name == 'workflow_dispatch' && 'true' || steps.changed_scope.outputs.run_macos || 'false' }}",

294+

OPENCLAW_CI_RUN_NODE:

295+

"${{ github.event_name == 'workflow_dispatch' && 'true' || steps.changed_scope.outputs.run_node || 'false' }}",

296+

OPENCLAW_CI_RUN_NODE_FAST_CI_ROUTING:

297+

"${{ github.event_name == 'workflow_dispatch' && 'false' || steps.changed_scope.outputs.run_node_fast_ci_routing || 'false' }}",

298+

OPENCLAW_CI_RUN_NODE_FAST_ONLY:

299+

"${{ github.event_name == 'workflow_dispatch' && 'false' || steps.changed_scope.outputs.run_node_fast_only || 'false' }}",

300+

OPENCLAW_CI_RUN_NODE_FAST_PLUGIN_CONTRACTS:

301+

"${{ github.event_name == 'workflow_dispatch' && 'false' || steps.changed_scope.outputs.run_node_fast_plugin_contracts || 'false' }}",

302+

OPENCLAW_CI_RUN_SKILLS_PYTHON:

303+

"${{ github.event_name == 'workflow_dispatch' && 'true' || steps.changed_scope.outputs.run_skills_python || 'false' }}",

304+

OPENCLAW_CI_RUN_WINDOWS:

305+

"${{ github.event_name == 'workflow_dispatch' && 'true' || steps.changed_scope.outputs.run_windows || 'false' }}",

238306

});

239307

expect(manifestEnv).not.toHaveProperty("OPENCLAW_CI_FULL_RELEASE_VALIDATION");

240308

expect(manifestScript).toContain("includeReleaseOnlyPluginShards: false");

@@ -262,15 +330,20 @@ describe("scripts/lib/plugin-prerelease-test-plan.mjs", () => {

262330

expect(pluginManifestScript).toContain(

263331

"Plugin prerelease plan unavailable in target ref; skipping static and Docker plugin prerelease lanes.",

264332

);

265-

expect(pluginWorkflow.on.workflow_dispatch.inputs.target_ref).toMatchObject({

333+

expect(pluginWorkflow.on.workflow_dispatch.inputs.target_ref).toEqual({

266334

default: "main",

335+

description: "Branch, tag, or full commit SHA to validate",

336+

required: false,

267337

type: "string",

268338

});

269-

expect(pluginWorkflow.on.workflow_dispatch.inputs.full_release_validation).toMatchObject({

339+

expect(pluginWorkflow.on.workflow_dispatch.inputs.full_release_validation).toEqual({

270340

default: false,

341+

description: "Enable release-only Docker prerelease lanes from Full Release Validation",

342+

required: false,

271343

type: "boolean",

272344

});

273-

expect(pluginManifestEnv).toMatchObject({

345+

expect(pluginManifestEnv).toEqual({

346+

EXPECTED_SHA: "${{ inputs.expected_sha }}",

274347

FULL_RELEASE_VALIDATION: "${{ inputs.full_release_validation && 'true' || 'false' }}",

275348

});

276349

expect(pluginManifestScript).toContain(

@@ -279,7 +352,7 @@ describe("scripts/lib/plugin-prerelease-test-plan.mjs", () => {

279352

expect(pluginManifestScript).toContain(

280353

"const runDocker = fullReleaseValidation && dockerLanes.length > 0;",

281354

);

282-

expect(pluginPreflight.outputs).toMatchObject({

355+

expect(pluginPreflight.outputs).toEqual({

283356

checkout_revision: "${{ steps.manifest.outputs.checkout_revision }}",

284357

plugin_prerelease_docker_lanes:

285358

"${{ steps.manifest.outputs.plugin_prerelease_docker_lanes }}",

@@ -310,9 +383,16 @@ describe("scripts/lib/plugin-prerelease-test-plan.mjs", () => {

310383

expect(

311384

staticShard.steps.find((step) => step.name === "Run plugin prerelease static shard").run,

312385

).toContain('bash -c "$PLUGIN_PRERELEASE_COMMAND"');

313-

expect(dockerSuite).toMatchObject({

386+

expect(dockerSuite).toEqual({

314387

if: "${{ inputs.full_release_validation && needs.preflight.outputs.run_plugin_prerelease_docker == 'true' }}",

388+

name: "plugin-prerelease-docker-suite",

315389

needs: ["preflight"],

390+

permissions: {

391+

actions: "read",

392+

contents: "read",

393+

packages: "write",

394+

"pull-requests": "read",

395+

},

316396

uses: "./.github/workflows/openclaw-live-and-e2e-checks-reusable.yml",

317397

with: {

318398

docker_lanes: "${{ needs.preflight.outputs.plugin_prerelease_docker_lanes }}",