Skip to content

TensorQuay Agent 18.3.0

Choose a tag to compare

@TensorQuay-Dev TensorQuay-Dev released this 01 Dec 01:45
· 33 commits to main since this release
63920f9

What's new

  • Choose where tasks run: Docker containers or microVMs, side by side in one installation. Settings › Environments
    › Where tasks run says where new workspaces run, whether this computer is ready for microVMs (and if not, what to
    do), and how many workspaces run on each. An administrator chooses after a confirm, and the gateway then builds the
    microVMs' root filesystems itself. Each workspace keeps where it was made, so existing tasks run as before. The
    Desktop always runs in Docker.
  • The channels list shows the work left: each open channel says how many to-dos are still open and how many
    proposals wait for a vote, or "Nothing waiting".
  • Give back a to-do place taken by mistake: "Give back" beside "Report back" frees the place, and the channel's
    agents are told the to-do is open again.
  • A decision says the channel stays open, and that its … menu ends it once the work is done.

What this release fixes

  • Sign in waits until the page is ready. A sign-in clicked before the page had finished loading could leave you
    on the sign-in page.
  • Settings › Models says what an empty Context window means: "Not set (32,768 assumed)", and why to set the real
    window from the model provider's page.
  • The upgrade steps move the Workstation, the Desktop and the test model too, and the microVM guide's kernel
    step works on an installation made by deploy/install.sh.

Upgrade note

  • Back up the database first (pg_dump). 18.3.0 has one database migration (0112), applied when the gateway
    starts, with your data kept. There is no runtime protocol change.
  • Pull this release's images with your installation's options (deploy/pull-images.sh --workstation --desktop
    where you use them, and --fake-model with the test model), then restart as the upgrade guide says.
  • Nothing changes until you choose microVMs. To offer them beside Docker, follow the
    microVM guide: the
    host's one root step, the VM host image and the guest kernel (sections 2 and 3), then a [firecracker] section in
    gateway.toml (section 4, "Beside Docker").

Known issues

  • On microVMs, a task's disk is slower than the host's: about 56 % of the host disk's speed for sequential writes,
    36 % for random writes and 65 to 86 % for reads. Docker containers, the default, reach about 85 % or more. Choose
    microVMs for their isolation, not for disk-heavy work.
  • Two lines on Settings say less than they should, and change in 18.3.1: under Where tasks run, "Follow the
    configuration (Docker containers)" means what gateway.toml sets; on Sandboxes, a microVM row's "Not available"
    means its use isn't measured, not that the sandbox is unavailable.

Every change in 18.3.0

Choose where tasks run, Docker containers or microVMs (Firecracker), side by side in one installation, on Settings ›
Environments: the gateway builds the microVMs' root filesystems itself, and each workspace keeps where it was made.
Also: the channels list shows the work left, a person can give back a to-do place, a decision says the channel stays
open, and signing in and an unset context window are clearer. One database migration (0112), applied at the gateway's
start with the data kept: back up first. No runtime protocol change.

Fixed

  • Sign in waits until the page is ready (WEB-U-548). A sign-in clicked, or Enter pressed, before the page had
    finished loading went the browser's plain way and signed no one in, which left the person on the sign-in page. Until
    the page is ready, Sign in (and Create administrator) stays disabled for that moment.
  • Settings › Models says what an empty Context window means (WEB-U-549). It said "The server's own", but tasks
    then assume 32,768 tokens and plan with three quarters of that, so a hosted model with a far larger window had long
    conversations summarised early or cut off. The field now says "Not set (32,768 assumed)" and why setting the real
    window from the provider's model page matters.
  • The Japanese words for a to-do whose places were all taken no longer carry Chinese characters.
  • A to-do with one place says "1 of 1 place taken" (WEB-U-554), not "1 of 1 places taken", in English, Spanish,
    French and Tamil.
  • The upgrade steps move the Workstation, the Desktop and the test model too. Step 2 of
    Upgrading to a new release ran deploy/pull-images.sh with no
    options, so an installation with those environments kept the earlier release's images for them; it now names the
    installation's own options (--workstation, --desktop, --fake-model).
  • The microVM guide's kernel step works on an installation made by deploy/install.sh
    (deploy/firecracker/README.md, section 3). The storage root belongs to the
    gateway's user there, so building the kernel straight into it failed with permission denied; the kernel is now built
    into a folder of your own and copied in as that user. The guide also says the gateway builds the root filesystems.

Added

  • Choose where tasks run, Docker containers or microVMs, on Settings › Environments (GW-I-403, GW-I-404,
    WEB-U-555).
    "Where tasks run" says where new workspaces run, whether this computer is ready for microVMs (and, if
    not, what to do, with the one root step named), each environment not yet ready for them, and how many workspaces
    run on each; an administrator saves the choice after a confirm. Each workspace keeps the backend it was made with,
    so existing workspaces run as before; a fork or a helper's copy takes its source's; the Desktop always gets a Docker
    workspace, and a Desktop task on a microVM workspace is refused before it starts. GET/PUT /api/v1/admin/sandbox-backend; migration 0112 adds workspaces.backend.
  • Docker and microVM sandboxes run side by side (SBX-D-010, ADR-0006's amendment). A [firecracker] section
    beside backend = "docker" connects microVMs too, on a network of their own the gateway makes and joins; if they
    can't connect at start, Docker's sandboxes run as before and the page says why. Before, an installation ran one
    backend, chosen in gateway.toml.
  • The gateway builds the environments' microVM root filesystems (SBX-F-040, GW-U-243). Choosing microVMs, or
    "Build them now", builds each environment's root filesystem in the background, one at a time, the same bytes as
    images/rootfs/build_rootfs.py; the page says what is building and what failed. POST /api/v1/admin/sandbox-backend/rootfs.
  • A decision says the channel stays open (WEB-U-550). Under a channel's newest decision, its owner or an
    administrator reads that the channel stays open and that its … menu ends it once the work is done. A decision ends
    its proposal, never the channel.
  • The channels list shows the work left (GW-I-400, WEB-U-551). An open channel's row says how many to-dos are
    still open and how many proposals wait for a vote, or "Nothing waiting". A to-do stays open while a place is free
    or a taker's latest report is failed or blocked. GET /api/v1/channels gives each channel open_votes and
    todos_open.
  • A person can give back their place on a to-do (GW-I-401, GW-I-402, WEB-U-552, WEB-U-553). A place taken by
    mistake stayed "Working" until a report. In the to-dos panel, "Give back" beside "Report back" frees the place after
    a confirm, until the person reports on it; the log says who gave it back, and the channel's agents are told the
    to-do is open again, as when it was posted. New: POST /api/v1/channels/{id}/tasks/{seq}/give-back and the notice
    kind place_given_back, with task_seq (ADR-0014, amendment of 28 Nov 2026).

Install this release: git clone --branch v18.3.0 https://github.com/TensorQuay/tensorquay-agent.git && cd tensorquay-agent && deploy/install.sh
(the install guide does the same by
hand). Upgrading: back up the database first, then follow
Upgrading to a new release.
The full history is in CHANGELOG.md.