You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
[0.2.0]
Fixed
Core updates (Admin → Updates, both the uploaded justflows.zip and the
remote "Update" button) no longer hang forever on "Updating…". The
copy/migrate/pnpm install/build/restart pipeline used to run synchronously
inside the HTTP request that started it, blocking the single Passenger worker
for minutes — so the site served nothing (the browser's request, /admin,
everything 499'd) and, if the process was recycled or OOM-killed mid-run, the
admin page was left with a request that never resolved. The work now runs in a
detached worker process (apps/server/dist/lib/core-update-worker.js); the
request returns immediately and both the caller and the admin UI follow
progress through .updates/status.json (new GET /api/updates/status). A file
lock rejects a second concurrent update with 409, a run whose worker has
died self-heals instead of wedging the UI, the admin page re-attaches to a running
update after a reload, and its fetches carry timeouts. Dependency install
now uses pnpm --frozen-lockfile (matching the workspace) instead of npm install at the repo root, falling back to npm only when pnpm is not on PATH. The one transitional upgrade to this build runs the pipeline in the
foreground (still writing status) when the worker cannot be bootstrapped from
the archive.