test(docker): stabilize package update lanes · openclaw/openclaw@82b9282
steipete
·
2026-04-27
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -350,7 +350,8 @@ const payloads =
|
350 | 350 | []; |
351 | 351 | const texts = payloads.map((x) => String(x?.text ?? "").trim()).filter(Boolean); |
352 | 352 | const match = texts.find((text) => text === expected); |
353 | | -process.stdout.write(match ?? texts[0] ?? ""); |
| 353 | +const containingMatch = texts.find((text) => text.includes(expected)); |
| 354 | +process.stdout.write(match ?? (containingMatch ? expected : texts[0]) ?? ""); |
354 | 355 | NODE |
355 | 356 | } |
356 | 357 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -41,6 +41,9 @@ git_root="/tmp/openclaw-git"
|
41 | 41 | mkdir -p "$git_root" |
42 | 42 | # Build the fake git install from the packed package contents, not the checkout. |
43 | 43 | tar -xzf "$package_tgz" -C "$git_root" --strip-components=1 |
| 44 | +# The package-derived fixture can carry patchedDependencies whose targets are |
| 45 | +# absent from the trimmed tarball install; that should not block update preflight. |
| 46 | +printf "\nallow-unused-patches=true\n" >>"$git_root/.npmrc" |
44 | 47 | ( |
45 | 48 | cd "$git_root" |
46 | 49 | npm install --omit=optional --no-fund --no-audit >/tmp/openclaw-git-install.log 2>&1 |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。