Skip to content

caffeinated-whale-cli: v3.1.2

Choose a tag to compare

@github-actions github-actions released this 19 Sep 07:53
· 89 commits to develop since this release

3.1.2 (2026-09-19)

A shared-mode fix so apps update works again on an app repo left owned by another uid.

Upgrade Steps

  • [ACTION REQUIRED] Anyone running shared mode should update to v3.1.2. After updating, run cwcli restart <instance> once per instance so the self-heal re-owns the instance's app source repositories - or, to repair a single app in place without a full restart, run cwcli apps update <instance> <app> --force.

Bug Fixes

  • apps update --force now clears git's "dubious ownership" refusal on an app repo owned by another uid. On a shared-mode or migrated instance, an app's source is often symlinked out of the bench to a shared tree (for example /workspace/.hdsrc/<app>) and stays owned by the pre-shared uid, so both git pull and the git status the conflict path relies on used to fail - making --force powerless. It now re-owns the real repo behind the symlink to the frappe user before pulling.
  • Shared-mode self-heal on cwcli start/restart now also re-owns app source repositories that live outside the bench. v3.1.1 re-owned the bench workspace itself but never followed apps/<app> symlinks out of it, so a migrated instance's app repos stayed stranded at the pre-shared uid and a plain apps update kept failing even after a restart. A restart now re-owns those repos too, so apps update works without needing --force.