Skip to content

TensorQuay Agent 18.3.1

Choose a tag to compare

@TensorQuay-Dev TensorQuay-Dev released this 01 Dec 09:51
· 19 commits to main since this release
ac8f689

What this release fixes

  • A Desktop task starts about ten times sooner. The Desktop waited about 10 seconds for its screen sharing to warm
    up before the agent could start; the agent now starts at once, in about a second, and only a person's view of the
    screen waits for the warm-up, so a paste in Take over still works from the first.
  • An upgrade with microVMs chosen builds what they need by itself. When a release moves a built-in environment
    such as the Workstation to a newer image, its microVM root filesystem is now rebuilt at the gateway's start. Before,
    tasks on microVM workspaces in that environment couldn't start until an administrator pressed "Build them now".
  • Where tasks run has two options: Docker containers or microVMs. Picking the one your configuration file names
    hands the choice back to the file. The line while root filesystems build says each takes up to a minute.
  • Settings › Sandboxes says "Use not measured" for a sandbox whose use isn't measured yet, instead of "Not
    available", which read as if the sandbox itself were unavailable.
  • A task's page no longer shows "The server could not be reached" when the browser cut a read (as it can when a
    sandbox's network is made or removed on the same computer): it tries again before saying anything.
  • A page preview that holds Safari comes back with its scripts off, and says how long it held the browser, with
    Run scripts here and Open in a new tab.
  • A gateway that can't reach the Docker Engine says why in its log: the socket isn't there, nothing answers on
    it, or it refused the gateway (and which setting fixes each).
  • The Sandboxes page and Status show a removed sandbox network's real age, instead of 0 s.

Upgrade note

  • 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. 18.3.1 has no
    database migration and no protocol change: going back is pulling 18.3.0's images.
  • With microVMs chosen, the gateway builds the new images' root filesystems itself after the restart; Settings ›
    Environments › Where tasks run shows them building.

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.

Every change in 18.3.1

Fixes only: a Desktop task starts about 10 seconds sooner, an upgrade with microVMs chosen builds what they need by
itself, Where tasks run has two options, and four smaller fixes. No database migration and no protocol change.

Fixed

  • A Desktop task starts about 10 seconds sooner (RT-I-069, SBX-C-020). The Desktop started its agent only after
    its screen sharing had warmed up, which takes about 10 seconds, so every new Desktop task waited for it. The agent
    now starts at once; only a person's view of the screen waits for the warm-up, so a paste in Take over still reaches
    the clipboard from the first.
  • An upgrade with microVMs chosen builds the new environments' root filesystems by itself. When a release moved a
    built-in environment such as the Workstation to a newer image, the gateway's start could look for missing root
    filesystems before that move was stored, so the environment's stayed missing, and its tasks on microVM workspaces
    couldn't start, until an administrator pressed "Build them now" on Settings › Environments. The gateway now looks
    again once the built-in environments are in. Found on an upgrade to 18.3.0.
  • Where tasks run has two options (WEB-U-555). "Follow the configuration (Docker containers)" is gone: picking the
    backend gateway.toml names, after a confirm, saves no choice, so the file decides again, as that button did. The
    line while root filesystems build says each takes up to a minute, not a few minutes.
  • Settings › Sandboxes says "Use not measured" for a sandbox whose use isn't measured, not "Not available", which
    read as if the sandbox itself were unavailable; and a microVM's memory is described as what it takes on this
    computer, up to its size.
  • A task's page no longer says "The server could not be reached" when the browser cut its read (WEB-U-557).
    Chromium cuts in-flight reads when the computer's network interfaces change, as they do when a sandbox's network
    is made or removed on the same machine. The task page and the sign-in check now try such a read again, twice at
    most (after 250 ms, then 500 ms), before saying anything; a refusal, a missing task or a server error is still
    said at once. Before, in 18.3.0 too, the page showed the error until reloaded.
  • A preview that holds Safari comes back with its scripts off, and says why (WEB-U-538, WEB-E2E-122). Safari
    (and any browser that runs a previewed page on the app's own thread) stopped the whole app while the page's script
    was busy. The app now notices when it has stopped responding for over a second: the page is then reloaded with its
    scripts off, and the Files panel says how long it held the browser, with Run scripts here and Open in a new
    tab
    (the page on its own, still sandboxed, in a tab of its own). The page opens that way again until its scripts
    are run again or the file changes, so only its first run can stop the app. Judged by what happened, never by the
    browser's name: Chrome and Edge, which run the preview apart, never see it.
  • A gateway that can't reach the Docker Engine says why (SBX-U-029). Its log said only "sandbox configure failed:
    backend operation failed". It now names one of three causes: the socket was not found (mount the engine's socket,
    TQA_DOCKER_SOCKET, or set DOCKER_HOST), nothing answers on it (start the Docker Engine), or it refused the
    gateway (permission denied: the gateway needs the socket's group, TQA_DOCKER_GID).
  • The Sandboxes page and Status show a removed sandbox network's real age (SBX-U-028, GW-U-244). Every network the
    sweep removed, or couldn't remove, was listed as 0 s old; it now carries its creation time from the engine.

Install this release: git clone --branch v18.3.1 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.