fix(update): preserve pnpm and Bun global installs (#107802)

* fix(update): preserve pnpm and bun global installs

* fix(update): anchor pnpm updates to invoking install

* fix(update): recover skipped pnpm lifecycle

* fix(update): fail closed on ambiguous pnpm ownership

* fix(update): tolerate pnpm probe warnings

* fix(update): bind pnpm installs to project owners

* fix(update): isolate pnpm mutations from caller pins

* docs(changelog): credit pnpm 11 report

Co-authored-by: jincheng-xydt <xu.jincheng@xydigit.com>

* chore(changelog): defer release note ownership

* fix(update): make package-root fallback explicit

* test(update): split pnpm scenario coverage

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
This commit is contained in:
jincheng-xydt
2026-07-15 23:03:35 +08:00
committed by GitHub
parent c41f46260c
commit b2e42e3645
12 changed files with 2055 additions and 89 deletions

View File

@@ -4023,7 +4023,10 @@ heartbeat_elapsed="\${BASH_REMATCH[1]}"
expect(runner).toContain('if [ "$UPDATE_FAILED" -ne 0 ]; then');
expect(runner).toContain('if [ "$GATEWAY_START_FAILED" -ne 0 ]; then');
expect(runner).toContain('if [ "$GATEWAY_HEALTH_FAILED" -ne 0 ]; then');
expect(runner).toContain("ActiveState=active");
expect(runner).toContain('printf "%s\\n" "\\$!" >"$GATEWAY_PID_FILE"');
expect(runner).toContain('printf "ActiveState=active\\nSubState=running');
expect(runner).toContain('status.service?.runtime?.status !== "running"');
expect(runner).toContain("FAIL: gateway service was not running before update");
expect(runner).toContain("OPENCLAW_NO_RESPAWN=1");
expect(runner).toContain("is-enabled)");
expect(runner).toContain("/healthz");