Repository navigation
v0.2.1
Breaking Changes
0.2.1 changes a few Rust types a caller matches on or builds.
Python and Node code written against 0.2.0 runs unchanged.
Rust
| 0.2.0 | 0.2.1 |
|---|---|
virtx::Error::Status(status, message) |
virtx::Error::Status { status, code, message, written }; match it with { status, .. } |
virtx_core::Error::Status(status, body) |
a third field, Members; match it with Status(status, body, ..) |
SandboxJobEntry, ImageJobEntry matched exhaustively |
#[non_exhaustive], with Other(UnknownEntry) for a kind a later server adds; a match needs a _ arm |
Server
- A
virtx-server-tcpbuilt onvirtx-uvmtakesvirtx-uvm's new signatures:Sandbox::execandMachine::exectakestdin, andSandbox::stdinis nowSandbox::write_stdin.
What's Changed
- The GPU's tests, in CI on a runner with a GPU, and the two Windows fixes they found by @khj809 in #194
- The workflows pin each action they named by a major tag to an exact release, and their PyPI and npm tools to a compatible range by @nuriyoo in #279
- An abins name is refused unless it is one plain path component, so a drive in front of it reaches no file outside abin/ by @nuriyoo in #299
- The
virtxcommand keeps a sign-in session in a directory only its owner can read or write, writesoidc.jsonand the.idand.tokenfiles there0600however a file there was left, and reads none of them that the directory's owner does not own by @nuriyoo in #298 - A guest that powers itself off ends its machine on x86_64 Linux, and one that halts or stops answering ends it once silent by @khj809 in #300
- A PATCH to a file is refused, so no file is written in part by @khj809 in #301
- A body or a path that does not read is refused naming what it takes, in the server's own words by @khj809 in #302
- A request the server turns away for now is sent again as PROTOCOL.md's 429 quota and 503 capacity say, a job's log is read on past a broken connection, and an error says the server's code by @khj809 in #305
- An image a sandbox stands on keeps its last tag, and removing it is refused 409 DENIED with nothing removed by @khj809 in #307
- virtx-server-tcp pulls Docker Hub's images from the mirror its config or embedder names first, none by default by @khj809 in #309
- An x86_64 guest boots without its clock checks and PCI probe by @khj809 in #322
- A sandbox on virtx-server-tcp is kept across the server's restart, parked, and keeps its last 100 ended jobs by @khj809 in #310
- The machine tests compile again: the halt test passes Sandbox::create its keys by @khj809 in #331
- An image whose config sets WorkingDir empty boots, and builds on it, starting in / by @khj809 in #329
- A server built on virtx-server-tcp keeps a project's data beyond its machine through a StorageBackend, and takes in or lets go of one sandbox by @khj809 in #333
- Sign-in commands in Python and Node packages' virtx CLI by @grf53 in #317
- A server built on virtx-server-tcp lists a home's sandboxes and parks them, those unused or all, for routes of its own by @khj809 in #311
- A server built on virtx-server-tcp holds its machines to room it gives, and a sandbox or build there is none for is refused 503 capacity by @khj809 in #303
- Each sandbox machine's coming up and going down is told in order with when, for an embedder to meter machine time by by @khj809 in #306
- A server built on virtx-server-tcp serves the projects themselves only where it merges them, as the config's server does by @khj809 in #308
- An embedder's homes can share what anonymous pulls bring, each layer one file across their stores by @khj809 in #312
- virtx-server-tcp stops on ctrl-break on Windows as on ctrl-c, and its machines are stopped by it rather than by the console by @khj809 in #325
- A forwarded port's connection that reaches nothing says why, as the forwarder's last error and a warning by @khj809 in #318
- An exec that accepts an event stream is answered with its log, and a client reads both in one request by @khj809 in #315
- A sandbox is made with a name, which no other sandbox has, and found again by it by @khj809 in #314
- A job's end says why the server ended it: its timeout, its cancelling, its sandbox's deletion or its VM's exit by @khj809 in #326
- A sandbox's port says what it is for, whether it is HTTP, and whom it lets in by @khj809 in #313
- A server built on virtx-server-tcp finds a home's sandbox by its id and counts them, all and those up by @khj809 in #334
- Root README on every package page, with package and virtx-uvm READMEs folded into docs by @grf53 in #319
- virtx's README opens with the VirtX logo by @nuriyoo in #345
- A job started with stdin reads what is written to it, and one that does not read holds back only its writer by @khj809 in #321
- A job ends when its process does, not when a program it left running lets go of its output by @khj809 in #323
- A command's processes, memory and CPU are held in cgroups, so a fork bomb leaves its sandbox answering, and one its memory runs out of ends oom by @khj809 in #324
- The tests check sandbox sizes, job cleanup, ports in both directions, parked disks and project removal by @selloriwoo in #330
- A home's registry lists the tags its StorageBackend keeps, brings a manifest it is asked for here first, and keeps there each tag it is pushed or removed by @khj809 in #335
- A sandbox is resized with PATCH /sandboxes/{id}: its vCPUs and memory from its VM's next boot, its disk grown and never shrunk by @khj809 in #336
- virtx builds on libkrun's upstream main, carrying eight commits of ours in place of eleven by @jhlee525 in #341
- A sandbox's upper disk is read and written through an embedder's storage where it says so, and libkrun is pinned at f4b0faee by @khj809 in #316
- A sandbox's guest is synced on request, and a disk that is its file alone is copied whole with its machine paused for the copy by @khj809 in #332
- The docs reach virtx cloud with Client.connect and an API key, and no longer name from_env by @khj809 in #353
- Each link text on the protocol and API reference pages leads to one place by @nuriyoo in #348
- Job stdin write sent outside the job's lock by @grf53 in #354
- A machine boots with its guest's random pool seeded and the kernel's crypto self-tests off by @jhlee525 in #355
- Forward-compatible server enums by @grf53 in #352
- A server built on virtx-server-tcp makes a sandbox under the id and port keys it chose by @khj809 in #358
- virtx-server-tcp says why WebDAV, its registry, a sandbox and an image job failed without the server's paths by @nuriyoo in #337
- A sandbox's disk an embedder keeps partly elsewhere is made whole before it is grown, and served as grown by @khj809 in #357
- A server built over virtx reads a sandbox's args, a refusal's status and a project's home by id by @khj809 in #359
- StorageBackend::made says a disk resized larger grows past the size it was told by @nuriyoo in #360
- Tests wait for a machine to park, a listener to close and a stdin to be shut by what each shows, not for a fixed time by @selloriwoo in #349
Full Changelog: v0.2.0...v0.2.1