← 返回列表
全部 Skill›开发 Development›openclaw-parallels-smoke

openclaw-parallels-smoke

作者 @openclaw · 语言 en
Prepare, snapshot, run, rerun, debug, or interpret OpenClaw Parallels guest install, onboarding, gateway smoke, and upgrade checks across macOS, Windows, and Linux.
开发 Development包管理与发布通用执行命令访问网络敏感路径待翻译
最近源活动
—
检测 SKILL.md 语言
en
星标 ★
395,109
分支 Fork
0
安装选项
提示
指令
使用 AI 助手安装
将下面的提示复制到你正在使用的 AI 助手中。
下载完整 Skill 目录(含全部配套文件)。 下载压缩包 ↓
SKILL.md 原文预览

OpenClaw Parallels Smoke

Use this skill for Parallels guest workflows and smoke interpretation. Do not load it for normal repo work.

Global rules

  • Parallels is postpublish-confidence coverage by default, not a prerequisite

for the bounded beta-publish phase. Run it against one exact published

package version and record the Validation SHA + Tooling SHA run tuple that

authorized that package. Validation SHA maps to its Code SHA or Release SHA;

it is not a third release identity.

  • A failed postpublish Parallels lane does not retroactively unpublish a beta.

Classify it as product, harness/tooling/provenance, infrastructure/credential,

or wrapper failure. Only a confirmed product defect enters the next beta.

  • Use one coordinator and one lane per independent guest family. Diagnose and

retry one failed family once, then reassess; do not restart the aggregate

matrix automatically.

  • Inventory existing VMs and snapshots before provisioning anything. When a preconfigured pristine

snapshot matches the requested baseline, switch to it and reuse its user, tools, and base setup.

Do not create a new VM, reinstall macOS, or rebuild the guest baseline for a "fresh" run.

  • "Fresh" means restoring the closest existing pristine snapshot, not creating another snapshot.

Do not create ad-hoc snapshots unless the user explicitly asks or no suitable baseline exists;

restore the original snapshot and leave the guest stopped after an ad-hoc run.

  • Inspect the snapshot state before restoring it. A pristine poweron snapshot can contain the

preconfigured logged-in session; switch to it normally so Parallels resumes that session. Do not

pass --skip-resume at test entry unless the run intentionally needs to discard the saved session

and boot from the login window. --skip-resume is acceptable for final cleanup that must leave the

restored source guest stopped.

  • Gateway verification in smoke runs should use openclaw gateway status --deep --require-rpc unless the stable version being checked does not support it yet.
  • Stable 2026.3.12 pre-upgrade diagnostics may require a plain gateway status --deep fallback.
  • Treat precheck=latest-ref-fail on that stable pre-upgrade lane as baseline, not automatically a regression.
  • Pass --json for machine-readable summaries.
  • Per-phase logs land under .artifacts/parallels/openclaw-parallels-* by default. Override with OPENCLAW_PARALLELS_ARTIFACT_ROOT when a run needs another artifact volume.
  • Do not run local and gateway agent turns in parallel on the same fresh workspace or session.
  • Hard-cap every top-level Parallels lane with host timeout --foreground (or gtimeout --foreground if that is the available binary) so a stalled install, snapshot switch, or prlctl exec transport cannot consume the rest of the testing window. Defaults:
  • macOS: 75m
  • Linux: 75m
  • Windows: 90m
  • aggregate npm-update wrapper: 150m

If a lane hits the cap, stop there, inspect the newest /tmp/openclaw-parallels-* run directory and phase log, then fix or rerun the smallest affected lane. Do not keep waiting on a capped lane.

  • Actual OpenClaw npm install/update phases are a stricter signal than whole-lane caps: install phases should normally finish within 7 minutes, and update phases should normally show meaningful progress within 5 minutes. If a phase named install-main, install-latest, install-baseline, or install-baseline-package exceeds 420s, or a phase named update-dev / same-guest openclaw update exceeds 300s without new markers, start diagnosis from that phase log and guest process state. Current Windows update phases can still pass after roughly 10-15 minutes because doctor --fix may install bundled plugin runtime deps; keep the script hard cap near 20 minutes unless the log is truly stale.
  • For a full OS matrix, prefer running independent guest-family lanes in parallel when host capacity allows:
  • timeout --foreground 75m pnpm test:parallels:macos -- --json
  • timeout --foreground 90m pnpm test:parallels:windows -- --json
  • timeout --foreground 75m pnpm test:parallels:linux -- --json

Keep each lane in its own shell/session and track the run directory for each one. Before starting the matrix, run any required host build/package gate to completion. When current-main tgz packaging is needed, the smoke scripts hold a shared package lock through pnpm build, inventory/staging, and npm pack; if that lock is missing or broken, serialize the matrix instead of accepting concurrent dist mutation.

  • Do not run multiple smoke lanes against the same guest family at once. Tahoe lanes share the host HTTP port, and Windows/Linux lanes can collide on snapshot restore/start state if two jobs touch the same VM concurrently.
  • Do not run the aggregate pnpm test:parallels:npm-update wrapper in parallel with individual macOS/Windows/Linux smoke lanes; it touches the same guest families and snapshots.
  • Do not start Parallels lanes while any unrelated host command may rebuild, clean, or restage dist (pnpm build, pnpm ui:build, pnpm release:check, pnpm test:install:smoke, npm pack/install smoke, or Docker lanes that run package/build prep). Run unrelated build/package gates first, let them finish, then start the VM matrix. Concurrent dist mutation can make host npm pack fail with missing files and wastes a full VM cycle.
  • While running or optimizing the matrix, record wall-clock duration per lane and the slowest phase from /tmp/openclaw-parallels-* logs. Use that timing before changing smoke order, timeouts, or helper behavior.
  • If a host build changes tracked generated files, stop before spending VM time. Commit the generated artifact separately or fix the generato
评论
Oopenclaw
openclaw
openclaw/openclaw
查看 GitHub 仓库 查看作者的其他 Skill
来源信息
作者@openclaw
所属大类开发 Development / 包管理与发布
国内可用性通用
最近源活动—
风险提示执行命令、访问网络、敏感路径
提示:风险标签为程序静态扫描结果,仅作提示,不代表安全认证。安装前请阅读 SKILL.md 及其引用的脚本、权限,自行判断是否可信。