Skip to content

BuildY VibeChat v0.2.19

Choose a tag to compare

@github-actions github-actions released this 04 Dec 14:25
· 2 commits to main since this release

0.2.19

Settings > Server can update the server now, through the same official-release installer the daily timer uses, without giving the service user or the agents root.

Added

  • Update now. Settings > Server starts the official updater on demand (vibechat-server update, the newest GitHub release, checked against that release's SHA256SUMS before dpkg -i). The Studio shows a confirmation, then progress, and reconnects so the new version is visible. Design: ADR 0007.
  • A narrow privileged trigger. The service user writes /var/lib/vibechat/update-request (a fixed marker, no arguments). A systemd path unit vibechat-update-now.path starts the existing root vibechat-update.service. The service user is not in sudoers and cannot pick a tag, a URL or an unsigned package.
  • Host-token-only routes, rate-limited: POST /host/update and GET /host/update/status (Bearer only; a session cookie is not enough). The body and query must be empty (or {}). 409 if an update is already running, 429 if the last request was less than five minutes ago. The Studio calls GET/POST /desktop/update; the app holds the token.

Changed

  • Servers on 0.2.18 or earlier have no /host/update. Settings shows the existing console command sudo vibechat-server update instead of a button that cannot work.
  • Package postinstall enables the path unit on a fresh install and on an upgrade (so a server that updates through the daily timer, or a one-off sudo vibechat-server update, gains the trigger). If /opt/vibechat/rust is already present, postinstall also runs ensure-rust after ensure-go, to refresh the pinned toolchain.

Known limitations

  • A server on 0.2.18 or earlier needs one sudo vibechat-server update (or the daily timer) so the path unit is installed; after that, Update now is enough.
  • ensure-rust runs only when /opt/vibechat/rust already exists. A first-time lazy install in the data folder is still refreshed on the next Cargo project's first use.
  • A process that can write the request file can start the official updater. It still cannot choose a package, only the latest official one, and the route is rate-limited. The sandboxed agents do not see that folder.
  • Logs often come from this run's memory (the service user is not in the systemd-journal group).

Upgrade note

Server: sudo vibechat-server update (or wait for the daily official update), then use Update now in Settings > Server. The first update to 0.2.19 installs the path unit; if Rust was already installed under /opt/vibechat/rust, it also refreshes the pin. Check every asset against this release's SHA256SUMS. The desktop app adds the Update now card; a browser tab of the Studio still shows the console command.