Repository navigation
caffeinated-whale-cli: v3.4.0
3.4.0 (2026-09-30)
A speed release:
inspectand every app lookup built on it are several times faster on large instances, plus fixes that makestart,stop, and shared-mode installs safer.
New Features
cwcli axi setup-wizard <project> <site>completes Frappe's setup wizard headlessly, so a freshly created site stops landing in the setup-wizard state (where a non-System-Manager desk renders without its navbar).cwcli axi init --complete-setupdoes the same during provisioning and reports the result in the same init document;--country,--currency, and--timezoneset the wizard's defaults. It is idempotent and creates no user.
Bug Fixes
cwcli starton a frappe container that exits right after starting, or dies partway through the start, now reports a clean "not running" error with the container's exit code and adocker logshint, instead of Docker's raw409 ... is not runningtraceback.- A shared-mode uid remap can no longer brick an instance: every workspace re-own now runs before the
frappeuser's identity is changed, a failed re-own stops before that change, and the container's main process is held for the length of the remap so it cannot exit halfway through. cwcli stopnow takes MariaDB down last and gives it 60 seconds to shut down, instead of Docker's default (as little as 1 second on Docker Desktop). If the database is still killed before it finishes,stopreports the unclean shutdown and exits non-zero rather than claiming a clean stop.rmgives the database the same grace period and warns on an unclean shutdown.- One unreadable bench or site no longer breaks a whole
inspector app lookup: its cached rows are kept and marked unverified, with a warning naming the bench or site and the step that failed. - Bench discovery no longer silently drops every bench under a search path when one subdirectory in it is unreadable.
cwcli setup migratenow completes on an instance holding a real bench; container-only symlinks are copied as links instead of followed.cwcli run -iwithout a terminal now waits for its command to finish, instead of returning success while the command keeps running in the background.
Performance Improvements
- Measured on a 32-bench, 47-site instance, with byte-identical
inspect --jsonandaxi inspectoutput before and after:- A full
inspectwent from about 101 s to about 13 s. Each bench is now read in one container exec with a single Frappe process, instead of one exec per fact and onebench --sitecall per site. - A cached
inspectwent from about 22 s to under 1 s, and bench discovery from about 9 s to about 0.1 s. - Finding which sites have an app installed (used by
apps update,apps checkout,apps list --installed, andapps install) went from about 3.5 s to about 0.5 s per bench. - The cache refresh after
apps install/uninstall/checkout,update,rm-site,rm-bench, andinitnow re-reads only the bench that changed, going from about 52 s to about 1 s. If that refresh fails, the project's cache is cleared so the next read re-inspects instead of serving stale data.
- A full