Skip to content

v0.13.0

Latest

Choose a tag to compare

@github-actions github-actions released this 11 Nov 16:48
4619bd2

To install or upgrade, see Releases and upgrades.

Upgrade notes

  • The upgrade drains every host. The new host agent cannot adopt a VM from an earlier
    build. Before helm upgrade of either chart changes anything, a job cordons every host
    and evicts each running session to a checkpoint. Each session resumes the next time it is
    used. A session the job cannot evict within upgradeDrain.timeoutSeconds stops the
    upgrade. The drain is safe to repeat: if it fails with a database error about a missing
    column, run the same helm upgrade again. With upgradeDrain.enabled: false, evict
    every session before the upgrade. To roll back past this release, drain the hosts first
    the same way. (#1734, #1778, #1783)
  • Firecracker hosts need a session-disk pool and two kernel modules. Node-prep in the
    engram-host-fleet chart builds a device-mapper thin pool and loads dm_thin_pool and
    ublk_drv; the node also needs thin-provisioning-tools. With node-prep disabled, the
    node image must provide the pool (ENGRAM_THIN_POOL). The host agent does not start the
    Firecracker backend without a pool. Without /dev/ublk-control, it writes each disk in
    full before its VM starts. (#1733, #1783)
  • Node-prep makes room for the pool. When the pool would leave less than 15% of the
    disk free, node-prep clears the chunk cache first, so the first resumes on that host are
    slower. A disk that is still too small fails node-prep with no change.
    storage.chunkCacheDiskFraction now defaults to 0.3. (#1744)
  • Three database migrations (0126, 0127, 0128). Either chart can be upgraded first.
    Migration 0126 marks dead an idle session whose only recoverable state was the host's
    live disk manifest.
  • With the operator enabled, set operator.capacityFloor below the host count (0 for
    a single host). The operator replaces a host pod only when the fleet keeps that many
    Ready hosts without it.
  • Removed. Delete these from your values, environment and alert policies:
    • The nbd chart values, ENGRAM_NBD_MAX_SLOTS and ENGRAM_NBD_WARM_SLOTS.
    • firecracker.restoreMode and ENGRAM_FC_RESTORE_MODE. Every resume restores memory
      lazily, so the host image must ship engram-uffd-handler.
    • ENGRAM_QUARANTINE_CAPTURE_TIMEOUT_SECS, and the metrics
      engram_quarantine_stuck_total and engram_durability_rollback_total.
    • engrams admin flush and the FlushSession RPC.
  • Fleet API. HostView replaces nbd_slots_total and nbd_slots_in_use with
    pool_data_free_mib, pool_data_total_mib, pool_metadata_free_mib and
    pool_metadata_total_mib. The capability vector reports session_disk where it
    reported nbd.
  • The first enable or refresh of each image uploads it in full and captures again. The
    new disk layout shares no chunks with images packed before. Sessions, checkpoints and
    base snapshots that exist are not changed. (#1759)
  • The Slack app needs new scopes. The bot token asks for im:write, mpim:write and
    groups:write. Update the app from the manifest and install it again. (#1702)
  • The orchestrator logs JSON by default. Set ENGRAM_LOG_FORMAT=pretty for the old
    format. (#1753)
  • Save your GitHub token again in Settings → Credentials before you use the "Mine"
    filter on Reviews. A token saved earlier names no login. (#1719)
  • To build from source, you need Node 26 and Rust 1.94 or later. (#1736, #1573)

Added

  • An automation is an agent with ways in. A definition has one agent, scoped per
    event, per key (a thread, a pull request, an issue) or per automation. Each way in
    starts the agent, reaches it, or closes it. The Slack threads built-in and the web
    canvas use this model. (#1694, #1695, #1700)
  • Connectors for Vanta, Rippling and Google Workspace. A connector can get its token with
    a client-credentials grant or a service-account grant. (#1702, #1703)
  • The Slack connector opens direct messages and private channels, finds a member by
    email, and creates and invites to channels. (#1702)
  • A "Programmatic only" profile setting. Only automations, API keys and admins can start
    sessions on such a profile. (#1713)
  • A configurable API region for OpenRouter, for workspaces that permit only regional
    hosts. (#1714)
  • An All / Mine switch on Reviews. (#1719)
  • storage.ioScheduler (engram-host-fleet, default none): node-prep sets the I/O
    scheduler of the work-dir disk. (#1766)

Changed

  • The kernel owns the session disk. A VM's disk is a thin volume in a device-mapper
    pool, and a host agent restart does not touch a running VM's disk. A create writes
    nothing. A resume starts the VM first and copies the missing part of the disk in behind
    it, so the time to the first prompt does not grow with the disk size. A checkpoint
    pauses the VM for tens of milliseconds and uploads only the changed blocks. (#1733,
    #1783)
  • One chunk fill engine per host serves memory and disk restores, with one priority order
    and one shared limit. (#1764)
  • Images are packed with a layout that keeps most disk chunks stable from one version to
    the next, so a new version uploads and stages about a third of the data. An image with
    no suggested disk size gets a disk of 4× its data. (#1759)
  • Placement refuses a host whose pool has less than ENGRAM_PLACEMENT_POOL_FLOOR_BYTES
    (16 GiB by default) of data space or 64 MiB of metadata space.
  • A parked VM keeps its host until a queued session has no other room. (#1782)
  • A prompt does not wait for a checkpoint upload. (#1758)
  • Destroying a VM does not wait for a guest shutdown. (#1755)
  • The orchestrator caches a verified API key for 5 s. A revoked key can work for up to
    5 s on another replica. (#1753)
  • Dependency updates.

Fixed

  • A live move whose destination never loaded the state ended the session. The source now
    resumes. (#1750)
  • A resume could wait in the queue while a host had room, after the image's memory config
    grew. (#1789)
  • A live move of a large session failed on a request above 4 MiB. (#1788)
  • A rate-limited upload to the chunk store retried after 300 ms. It now backs off for
    seconds. (#1784)
  • A session could die on resume after a second base capture of its image. (#1730)
  • A deploy could evict sessions that had survived the host agent restart. (#1728)
  • The coordinator kept dialing a host at an old address. (#1745)
  • Scheduled automations: re-enable and "Run now" work for a cron way in. (#1716,
    #1717)
  • The Slack bot reads group direct messages. (#1709)
  • The vanta CLI sends list filters as repeated parameters. (#1711)
  • The TUI cursor stays on its row when a space ends a wrapped row. (#1693)
Artifacts

Release 0.13.0 at 4619bd272bc6

Artifact Tag Built from Digest
coordinator 0.13.0 61737653a240 sha256:c52e209b26942d5a99eb343eedf769bca82eb6cdf31d51133dcc7eb14dbabbb3
host-agent 0.13.0 61737653a240 sha256:9246b3da5ba883e6ee448bee145a7b6b0e5cce0b3c883bbd4e902cb4b77b3e25
host-operator 0.13.0 61737653a240 sha256:473c95601def067738fa663d81bf189f537be89a9ebd68abe99767c439d5204b
web 0.13.0 8ab96cc5d196 sha256:73492b1eb112d17b1e66a1654526cec91e9d7f7c5308c8421b9d37658539f421
orchestrator 0.13.0 d2d860d906ff sha256:2987bb69f864f159530a11af50821fe8e6d580e39f5a18ca099b509c146d73f7
node-assets 0.13.0 61737653a240 sha256:31da182780258ac27a944c99294ac663b5f3de827b3198d07fd891c0bf7a9d78
cli-tools 0.13.0 4619bd272bc6 sha256:b1266a7729420a559d7f3bdcda5038f1d3ee2bd5b50e85be4cf24dc01268a05a