08Extend vx
What changed in each release
Pick the vx you run, from vx --version. The list keeps only the releases after it.
Unreleased
Section titled “Unreleased”DetailsIn the next release
Locks, lock problems, dry runs and edited configs
Section titled “Locks, lock problems, dry runs and edited configs”.vx/projects.lock is version 9 and .vx/dependencies.lock version 6. Run vx lock once to rewrite both.
vx lock --check --format json lists each problem as { code, message }, not as a string.
vx run --dry=json → vx run --dry --format json; --dry=pretty → --dry; pipeline dry: 'json' → dry: true, format: 'json'.
After editing a vx.config.ts, run vx lock before vx run, vx show, vx why or vx pipeline: the run refuses with VX_E_LOCK, naming the file, instead of running the config the lock holds.
Sandboxed tasks do not read credential stores
Section titled “Sandboxed tasks do not read credential stores”A sandboxed task does not read browser profiles, ~/.config/sops/age, ~/.config/rclone, ~/.my.cnf, ~/.password-store or ~/.sentryclirc.
A task that needs one names it in exec.sandbox.allow.read.
Variables whose names hold PASSPHRASE or end in _PASS are masked in output.
Run history starts empty once
Section titled “Run history starts empty once”The local index schema is v58: it resets once, so the run history starts empty.
Nothing to do. vx last and vx why show only runs made after the upgrade. A piped run prints the Tasks header once.
A --force run replaces the entry its key held
Section titled “A --force run replaces the entry its key held”A --force run replaces the local entry under its key. A custom cache layer drops kept() and stampWritten(): vx does not call them.
A --filter that matches nothing refuses the run
Section titled “A --filter that matches nothing refuses the run”A --filter that matches no project, an exclusion too, refuses the run even when another filter matched. Fix or remove it in your CI scripts and pipelines.
Fail a task whose declared output path matched nothing
Section titled “Fail a task whose declared output path matched nothing”A declared output that matches no files fails the task instead of warning.
An output named by path (dist/index.js, dist) must exist. A wildcard (dist/**) may match nothing, as long as one output matched.
Run your tasks once after upgrading. A task that fails with outputs matched no files (<glob>) needs that glob fixed to match what the command writes, or removed from outputs.files.
Replace --continue with --fail-fast
Section titled “Replace --continue with --fail-fast”--continue is gone: use --fail-fast. Rename each one you use:
--continue→--fail-fastrun.continue→run.failFastVX_RUN_CONTINUE→VX_RUN_FAIL_FAST- pipeline key
continue→failFast RunOptions.continueMode→failFast
Replace each use:
--continue=neverorrun.continue: 'never': use--fail-fastorrun.failFast: true. Tasks still running are killed.--continue,--continue=always: remove it. A failed task’s dependents never run.--continue=deps-ok: remove it. That is the default.
Drop the lock merge driver, name it .vx/projects.lock
Section titled “Drop the lock merge driver, name it .vx/projects.lock”vx lock writes .vx/projects.lock, not .vx/projects.lock.jsonl, and vx lock --merge is gone.
Delete the old lock, the old attributes file and the merge driver, then lock again:
git rm .vx/projects.lock.jsonl .vx/.gitattributesgit config --remove-section merge.vx-lockvx lockgit add .vxvx lock writes .vx/.gitattributes only when none exists, so the old one goes first. After a merge conflict in a lock, run vx lock and commit.
Forwarded args reach one task, CI prints failed tasks only
Section titled “Forwarded args reach one task, CI prints failed tasks only”Args after -- go to one task in one project. A run with --affected, several tasks, or a filter that picks the task in two projects is refused.
Run each task on its own: vx run test --filter ui -- --watch.
On CI a run prints only failed tasks. To see every task, pass --output-logs full or set VX_RUN_OUTPUT_LOGS=full.
Refuse two tasks whose outputs can share a path
Section titled “Refuse two tasks whose outputs can share a path”vx lock refuses two tasks whose output globs can match one path, such as *.js beside *b*. Narrow one glob so the two tasks write no common path.
DetailsFor plugin authors and server hosts
Replace --continue with --fail-fast: the JavaScript API
Section titled “Replace --continue with --fail-fast: the JavaScript API”RunOptions.continueMode is failFast.
v0.0.659
Section titled “v0.0.659”Make the artifact ceiling a setting, 1 GiB by default
Section titled “Make the artifact ceiling a setting, 1 GiB by default”The default artifact ceiling is 1 GiB, not 2 GiB. Raise it with cache.artifactCeiling or VX_CACHE_ARTIFACT_CEILING.
DetailsFor plugin authors and server hosts
Stream a failed task’s outputs to the remote
Section titled “Stream a failed task’s outputs to the remote”PreparedRun.keepRunEntry takes (name, body: Blob), not (name, bytes: Uint8Array).
Make the artifact ceiling a setting, 1 GiB by default: the JavaScript API
Section titled “Make the artifact ceiling a setting, 1 GiB by default: the JavaScript API”RunOptions.artifactCeiling is removed.
v0.0.658
Section titled “v0.0.658”Make the GitHub worker job one command
Section titled “Make the GitHub worker job one command”The worker workflow’s parent input, the run’s RUNNER_TEMP list of worker runs and github()’s adopt of workers a step started are gone; run vx dte init again to rewrite both workflows.
Let Yarn 2+ start the vx bin
Section titled “Let Yarn 2+ start the vx bin”@vzn/vx does not ship launcher.sh; bin.vx is ./launcher.cjs.
Distributed task execution plans with one engine
Section titled “Distributed task execution plans with one engine”dte({ scheduler }) is removed.
Keep a root-installed package the root’s own
Section titled “Keep a root-installed package the root’s own”A workspace package installed only by the root package.json does not order, keys or --affected-selects other projects; declare it in the package.json of each project that loads it.
Put the vx version in every cache key
Section titled “Put the vx version in every cache key”Every cache key moves; each cached task misses once after the upgrade, and after every later one.
Keep a run’s cache hits as one packed row
Section titled “Keep a run’s cache hits as one packed row”The index schema is v57. Run history starts empty once; nothing to do.
A cached task with no stored artifact to reuse runs once more.
A run writes no runs row for a cache hit until something reads the history. vx last, vx why and vx info write those rows out first.
If a tool reads cache.db directly, it sees hits only up to the last of those commands.
DetailsFor plugin authors and server hosts
Wait on a late worker, never give up and ask again
Section titled “Wait on a late worker, never give up and ask again”A DteAdapter’s cancel() gets no late argument and kept() is not called; drop both from a custom adapter.
Hash issuer, repository and ref in object names
Section titled “Hash issuer, repository and ref in object names”A vx-cache-server object’s name is <hash(issuer)>/<hash(repository)>/<hash(ref)>/<hash>, not the percent-encoded names.
Each of the first three parts is the first 32 hex digits of a SHA-256.
Artifacts stored under the old names are not read. blobName() is async: await it.
v0.0.656
Section titled “v0.0.656”DetailsFor plugin authors and server hosts
An uncached task ends before its files are home
Section titled “An uncached task ends before its files are home”ExecuteRequest.download and ExecuteResult.outputs gain ‘trailing’, and TaskArtifacts.save resolves the stored output.
v0.0.655
Section titled “v0.0.655”Everyday workspaces never cache a wrong build
Section titled “Everyday workspaces never cache a wrong build”CACHE_VERSION is vx-cache-v56 and the index schema is v56. Caches start empty once, so every cached task misses once after you upgrade.
Run vx lock again after you upgrade. vx-lockfile digests changed, so vx lock --check fails on the old lock.
What changed: a workspace package’s own version counts under bun() and npm(), and so do pnpm()’s injected copies.
Drop core’s root and config entry shims
Section titled “Drop core’s root and config entry shims”@vzn/vx does not ship index.ts or config/index.ts; a vx binary from 0.0.484 or older cannot load it.
DetailsFor plugin authors and server hosts
Group executor capabilities and distribution
Section titled “Group executor capabilities and distribution”TaskExecutor keys moved into two groups. Any other executor key refuses the run.
remote,sandbox,servers,runtime,exclusive,timeouts,platforms,capacity→ undercapabilitiesworkers,demand,running,unneeded,footer,machines,idealMs,advice,profile→ underdistribution
@vzn/vx does not export localFloor, LocalFloor, sandboxRequestFor, sweepPlaceholders, SandboxRequest or BoundedCapture.
It also drops answerRuntime, packageManagerPath and sampleTrees.
A worker calls workerRuntime({ root }) and uses prepare(task) → run() / sweep(), probe, packageManager and sample.
foldScriptHooks is not exported
Section titled “foldScriptHooks is not exported”@vzn/vx does not export foldScriptHooks.
For migrator authors:
ApplyMigrationArgsdropsunmapped: passemptyReasonandexample.MigrationMember’spackageJson→esModule- Core runs no formatter unless the migrator passes
written.
Lockfile plugins name importers links
Section titled “Lockfile plugins name importers links”LockfileClaim’s importers option and hook are links, and LockfileImporter is not exported from @vzn/vx.
Group TaskOutcome by concern, a union by status
Section titled “Group TaskOutcome by concern, a union by status”TaskOutcome fields moved into groups. Update each read:
storedDurationMs,storedCpuMs,storedPeakRssBytes→cache.stored.{durationMs, cpuMs, peakRssBytes}restored,saved,inputFiles,artifactBytes,outputBytes→cache.*inputChanges,unkeyed,driftedInput,keylessBy→cache.*cacheOff→cache.off;outputs: 'deferred'→cache.deferred: truequeuedMs,admissionHeldMs,fetchMs,saveMs→timing.*wallclockStartNs,wallclockEndNs→timing.startNs,timing.endNscpuMs,peakRssBytes,peakCores,avgRssBytes→usage.*where,carried→placement.*whereCores,whereMemoryBytes,cpuShare→placement.cores,placement.memoryBytes,placement.cpuShareattempts→attempts.countfailedAttempts,attemptOutputs,flaky→attempts.failed,attempts.outputs,attempts.flakysandboxViolations,sandboxViolationLines,sandboxFix→sandbox.violations,sandbox.lines,sandbox.fix
A skipped outcome has no exitCode. Read exitCodeOf(outcome) for the exit code a record writes.
A skipped outcome keeps hash only when --fail-fast stopped it after its key was computed.
The groups and status variants are exported as types.
RunOptions loses staged, discovered, selectedByDiff, selectedOutright, affectedReasons and remoteRequested.
It also loses remoteReadOnlyByDefault, summaryTable, holdPersistent, watch, keep and commandWindows.
vx’s CLI passes those internally; run() and planRun() do not read them. Drop them from your calls.
Cache does not record runs
Section titled “Cache does not record runs”Cache loses recordRun, recordRuns, recordMeasures, recordRunBundle and recordRemoteErrors. No public replacement: core records each run itself.
CacheLayer and LayeredCache lose recordRunBundle. A custom layer’s recordRunBundle is not called.
On Cache, call these through cache.memo.<name> (StoreMemo):
hashFile,hashBytes,hashFilesknownBlobSizes,rememberBlobSizes,holdBlobSizes,storeHeldBlobSizesblobVerdict,rememberBlobVerdictloadOutputFilesBatch,isOutputsCurrent,recordOutputDirs,recordOutputStampsloadOutputDirsBatch,outputDirsCurrentfoldMemo()→cache.memo.folds
CacheLayer and LayeredCache lose hashFile, loadOutputFilesBatch, isOutputsCurrent, recordOutputDirs, recordOutputStamps, loadOutputDirsBatch and outputDirsCurrent.
A layer hands those out as layer.memo (TaskMemo).
Check tokens with @vzn/vx-devtools
Section titled “Check tokens with @vzn/vx-devtools”The relay does not export parseAllow, TokenError, Allowed, repositoryClaimOf or workflowClaimOf. Use parseAllow, Refusal and Admits from @vzn/vx-devtools.
Refusal texts changed. Update any script or alert that matches them:
this relay's ALLOW→this server's ALLOWrepository <r>names the token field, lowercased:repositoryorproject_path.workflow <w>→job_workflow_ref <w>orci_config_ref_uri <w>- The audience hint ends
or set the server's AUDIENCE. - The issuer is checked before the header’s
alg. - A signature no held key made reads
bad signature.
The image bundles @vzn/vx-devtools, so build it from the repo root.
Time worker warm-ups as tasks in history
Section titled “Time worker warm-ups as tasks in history”PLUGIN_HOOKS gains measures, before schedule.
v0.0.654
Section titled “v0.0.654”vx lock records the discover stage; runs read it
Section titled “vx lock records the discover stage; runs read it”The projects lock is version 6; a workspace must re-run vx lock after upgrading, and a discover plugin’s change to projects or edges reaches runs only through vx lock.
vx lock records the project stage; runs read it
Section titled “vx lock records the project stage; runs read it”A workspace with a project-stage plugin (turbo(), nx(), bun()/pnpm()/npm()/yarn()) must re-run vx lock after upgrading; until then a run maps nothing the lock does not record.
Save nothing when a run removes a committed output
Section titled “Save nothing when a run removes a committed output”CACHE_VERSION is vx-cache-v55: caches start empty once, so every cached task misses once after upgrading.
An additive task keeps the outputs it left
Section titled “An additive task keeps the outputs it left”CACHE_VERSION is vx-cache-v54: caches start empty once, so every cached task misses once after upgrading.
Keep tree entries without sidecar or outputs/ level
Section titled “Keep tree entries without sidecar or outputs/ level”CACHE_VERSION is vx-cache-v53: caches start empty once, so every cached task misses once after upgrading.
v0.0.653
Section titled “v0.0.653”Close the next hardening batch
Section titled “Close the next hardening batch”SCHEMA_VERSION v55; the next run on every machine misses once.
Close stale hits, leaks and data loss found by hardening
Section titled “Close stale hits, leaks and data loss found by hardening”CACHE_VERSION is vx-cache-v52; entries saved before it are never read, so the next run misses once.
Group machines into worker types for exec.worker
Section titled “Group machines into worker types for exec.worker”dte() groups machines into worker types:
dte({ workers: { <size>: {...} } })→dte({ workers: { <type>: { machines: { <name>: {...} } } } })
Machine names in output and adapter options read <type>.<machine>.
Show a run’s own log; hold a shared cache dir in clean
Section titled “Show a run’s own log; hold a shared cache dir in clean”The local cache index is schema v54; what it recorded before is dropped on first open, so the next run misses once.
Name a runs row’s run by integer, not 36-char text
Section titled “Name a runs row’s run by integer, not 36-char text”The local cache index is schema v53; run history recorded before it is dropped on first open.
Place config refusals at their line, name what they lack
Section titled “Place config refusals at their line, name what they lack”A size setting with no unit is refused; write ‘32KiB’.
Refuse inputs.tasks lists that pick no dependency
Section titled “Refuse inputs.tasks lists that pick no dependency”A negation-only inputs.tasks list, and an exact pkg#task entry naming only a transitive dependency, are refused.
Cut cache and history requests per run
Section titled “Cut cache and history requests per run”vxCache() names several scopes in one vx-scope header. An older vx-cache-server refuses that with 400.
Deploy the server first, then upgrade vxCache().
VxCacheLayer.start() is gone: open() asks the server nothing, and the first check learns the server’s limits.
Store entry stdout as zstd, not text
Section titled “Store entry stdout as zstd, not text”The local cache index is schema v52; logs cached before it are dropped on first open.
DetailsFor plugin authors and server hosts
Ask Blobs.size for the bucket’s own answer
Section titled “Ask Blobs.size for the bucket’s own answer”Blobs.size takes a second argument, bucket. A Blobs of your own answers from the bucket itself when it is true, never from a mark it keeps; one that keeps no mark ignores it.
Keep remote hits when a token is refused
Section titled “Keep remote hits when a token is refused”RemoteCacheLayer.get may return undefined (no answer), so a caller that tests only for null must treat undefined as a miss too.
Clean only vx stores under ~/.vx; name failed saves once
Section titled “Clean only vx stores under ~/.vx; name failed saves once”Cache.formatChange is gone; it was never read.
Close affected, sandbox, summary and migrate bugs from the hunt
Section titled “Close affected, sandbox, summary and migrate bugs from the hunt”VxCacheLayer.put’s meta parameter carries replace.
Close watch, lock, DTE and history bugs found by the bug hunt
Section titled “Close watch, lock, DTE and history bugs found by the bug hunt”RemoteCacheLayer.put’s meta may carry replace, which a layer honours by writing over its stored entry, and Cache.recordRuns takes the run’s head.
v0.0.652
Section titled “v0.0.652”Remove outputs.bin and outputs.mount
Section titled “Remove outputs.bin and outputs.mount”outputs.bin and outputs.mount are refused as unknown fields. Call a tool by path, or install it outside vx and key on its version with inputs.runtime.
v0.0.651
Section titled “v0.0.651”Key runs from the dependencies lock
Section titled “Key runs from the dependencies lock”A run refuses when a lockfile a plugin reads changed after your last vx lock, or when .vx/dependencies.lock.json is missing.
Run vx lock after each install.
The lock is version 3 (files record extras). For plugin authors: KeyHookContext gains locked(file), and FingerprintDigests gains extras.
Write each repeated task in projects.lock once
Section titled “Write each repeated task in projects.lock once”.vx/projects.lock.json is version 5 (repeated tasks written once, in pool). Run vx lock.
Keep artifacts in issuer/repo/branch folders
Section titled “Keep artifacts in issuer/repo/branch folders”A vx-cache scope on the wire is its ref, percent-encoded (refs%2Fheads%2Fmain), not its hash. The server refuses a hashed scope with 400.
blobName() is synchronous and names readable folders. Artifacts stored before are not read again; they expire in a day.
Deploy the server and upgrade vxCache() together.
Store each results row’s waited, outputs and blocks
Section titled “Store each results row’s waited, outputs and blocks”SCHEMA_VERSION is v51: the first run after upgrading resets the index (run history goes; artifacts stay).
DetailsFor plugin authors and server hosts
Draw every line vx prints from one UI kit
Section titled “Draw every line vx prints from one UI kit”The façade’s ui is the new kit: report(title, rows), table(columns, rows) with Columns, and Style/Inline from src/ui replace the src/util/ui.ts forms.
Drop waited, show usual from the first row, title lists
Section titled “Drop waited, show usual from the first row, title lists”Logger.taskStart takes only the node; the task:start event carries no waitedMs.
Read issuer keys through the Worker shared cache
Section titled “Read issuer keys through the Worker shared cache”OidcOptions.fetchJson is called as fetchJson(url, fresh): fresh is true for a reload of keys already read, which must reach the issuer. A fetchJson that took one argument still works.
v0.0.650
Section titled “v0.0.650”Run history moves into cache.db
Section titled “Run history moves into cache.db”SCHEMA_VERSION is v50. Run history starts empty once; nothing to do. Stored artifacts stay.
A run’s steps, warnings and failed output live in the steps, warnings and failures tables of cache.db. Lockfile parses live in its lockfile_memos table.
vx does not write or read <cacheDir>/steps/, warnings/, failures/ or lockfile-claims/. You may delete them.
vx cache clean does not take those folder names from a cache dir you named.
If you call runFailures or taskLog, pass the index handle, not the cache dir.
DetailsFor plugin authors and server hosts
One grid for both task lists, with cost and place
Section titled “One grid for both task lists, with cost and place”Logger.taskStart is called as taskStart(node, info?) with info.waitedMs, and the task:start event carries waitedMs: a logger or bus subscriber that matched on their exact shape takes the new field.
Hand plugins history rows, not a cache.db handle
Section titled “Hand plugins history rows, not a cache.db handle”@vzn/vx does not export LocalHistoryProvider, and Cache has no dbHandle(). A plugin cannot open cache.db.
Read run history with localHistory(cache, { recent, branch, defs }). It returns loadFor, p50sFor, resourcesFor, hasImported and importTimings.
v0.0.647
Section titled “v0.0.647”Close the last hardening batch before v0.0.647
Section titled “Close the last hardening batch before v0.0.647”VxCacheLayer.hasMany resolves null, not an empty map, once the remote is off for the run.
If you call the cache layer yourself, treat null as “cannot say”, as core does.
CACHE_VERSION is vx-cache-v51: every cached task misses once after you upgrade. Nothing to do.
Release post for v0.0.647
Section titled “Release post for v0.0.647”Several flags, config values and plugin options were renamed or tightened. Update each one you use:
vx cache clean --dry-run→--dry(its JSON fielddryRun→dry)vx run --dry=text→--dry=pretty- A duration in
Mis refused: write minutes asm. baseBranch: 'origin/main'is refused: writebaseBranch: 'main'.- A glob brace like
{src,lib}matches each alternative on its own. - An
inputs.tasksentry that matches no dependency is refused. - A dependency rule selector that
--filterwould misread is refused. inputs.runtimeprobes see only the essential env. Name any other variable ininputs.env.vxHistory({ defaultBranch })→vxHistory({ baseBranch })- Timings in the remote cache need
vxHistory({ url }). turboCache({ apiUrl })→turboCache({ url })nxCache({ server, accessToken })→nxCache({ url, token })reapi()reads noVX_REAPI_*variable. Pass its options in code instead.
Land the second mega branch of open PRs
Section titled “Land the second mega branch of open PRs”CACHE_VERSION is vx-cache-v50: every cached task misses once after upgrading.
Name the server options url and headers
Section titled “Name the server options url and headers”vxHistory({ server, serverHeaders }) is vxHistory({ url, headers }).
Store and send repo and refs plainly
Section titled “Store and send repo and refs plainly”/v1/timings/query takes {issuer, repository, refs, hashes} in the body; capabilities name maxQueryRefs. Update @vzn/vx-history with the server.
Drop timings shared through the remote cache
Section titled “Drop timings shared through the remote cache”vxHistory() does not write or read timings through the remote cache (ctx.cache); share them with a history server.
Name the repository on every request; public reads
Section titled “Name the repository on every request; public reads”vxCache() requires issuer and repository, as does vxHistory() with a server; x-artifact-scope and x-artifact-max-* are vx-scope and vx-max-*; Access.issuer keeps its scheme, so stored keys move.
Name a repository by org/name, not its id
Section titled “Name a repository by org/name, not its id”A TRUST rule names a repository by org/name. Rename:
- GitHub:
repository_id→repository - GitLab:
project_id→project_path Access:id→repository
Stored keys change, so the cache and history start cold once.
A merge queue or train reads and writes its base branch
Section titled “A merge queue or train reads and writes its base branch”CacheRefs takes the plugin’s refs; without github() or gitlab(), CI reads git’s branch and the default branch only.
Drop the check run; github() writes the job summary only
Section titled “Drop the check run; github() writes the job summary only”github() does not take checks, checkName or fetchFn, and @vzn/vx-ci does not export FetchFn.
Speak Turbo’s routes, cache downloads per DC
Section titled “Speak Turbo’s routes, cache downloads per DC”The server speaks Turbo’s routes. Rename:
GET /v1/artifacts/download/<hash>→GET /v1/artifacts/<hash>POST /v1/artifacts/check→POST /v1/artifactsx-vx-scope→x-artifact-scope;x-vx-max-*→x-artifact-max-*MAX_CHECK_KEYS/maxCheckKeys→MAX_CHECK_HASHES/maxCheckHashes(lookups, 6 by default on Workers)
The check takes { hashes, scopes } and answers { <hash>: { size, scope } | null }.
Gone: POST /v1/artifacts/download, MAX_BATCH_ARTIFACTS, maxBatchArtifacts and x-vx-max-batch-artifacts.
Deploy the server and vxCache() together.
Send and store scopes as their refs’ hashes
Section titled “Send and store scopes as their refs’ hashes”A vx-cache or vx-history scope is sent as its ref’s hash, never the ref itself: the first 128 bits of SHA-256, as 32 lowercase hex digits.
This covers x-vx-scope, check and download keys, and history query scopes. A plain ref gets a 400.
Upgrade vxCache(), vxHistory() and the servers together.
One bucket, no database, exact-key reads
Section titled “One bucket, no database, exact-key reads”vx-cache-server stores everything in one bucket. It drops its database (--db, Postgres, D1), the timings routes and the sweep (TRUSTED_DAYS, BRANCH_DAYS, TIMING_DAYS).
To expire old entries, set lifecycle rules on the bucket.
/v1/artifacts/check and the batch download take { keys: [{ scope, hash }] }. A single download names its ref in x-vx-scope. x-artifact-read-scopes is gone.
vxCache() does not keep timings or orders tasks. Declare vxHistory() for that.
Rename vx-schedule-history to vx-history
Section titled “Rename vx-schedule-history to vx-history”@vzn/vx-schedule-history is @vzn/vx-history: scheduleHistoryPlugin() is vxHistory(), ScheduleHistoryOptions is VxHistoryOptions, and its notes say “[vx] vx-history:”.
OIDC only, task timings, batch uploads
Section titled “OIDC only, task timings, batch uploads”The server’s routes are:
GET /v1/artifacts/download/<hash>POST /v1/artifacts/download,/v1/artifacts/upload,/v1/artifacts/checkPOST /v1/timings/uploadand/v1/timings/queryGET /v1/capabilities
PUT, HEAD, /v1/runs and /v1/tasks/query are gone.
Config changes:
TOKENSandRUN_DAYSare gone;TIMING_DAYSkeeps timingsMAX_ARTIFACT_BYTES→MAX_UPLOAD_BYTES(maxUploadBytes)
Every request needs a CI OIDC token. vxCache() drops token, history and oidc, and serves CI jobs only.
Deploy the server and vxCache() together, on an empty database and bucket.
Speak Turbo’s remote cache API under /v1
Section titled “Speak Turbo’s remote cache API under /v1”The server and vxCache() speak Turbo’s remote cache API under /v1; update both together and start the server on an empty database and bucket.
Add vx dte init; gitlab() triggers worker pipelines
Section titled “Add vx dte init; gitlab() triggers worker pipelines”gitlab() takes no include and vx dte plan is gone: run vx dte init to write the new .gitlab-ci.yml, give each size a max, and drop VX_DTE_GITLAB_TOKEN.
Learn a crowded task’s need, not its share
Section titled “Learn a crowded task’s need, not its share”Index schema v48 -> v49; the local index is rebuilt.
Keep remote hits in the index and trust them at once
Section titled “Keep remote hits in the index and trust them at once”Index schema v46 -> v47; the local index is rebuilt.
Call DTE agents workers
Section titled “Call DTE agents workers”DTE agents are called workers. Rename:
vx dte agent→vx dte workerdte({ agents })→dte({ workers })VX_DTE_AGENT→VX_DTE_WORKERgithub()default workflow →vx-worker.yml, with aworkersinput- GitLab job template →
.vx-worker; its bridge →vx-workers
The run list’s column header reads · worker.
DetailsFor plugin authors and server hosts
Close known lockfile, cache, DTE and watch issues
Section titled “Close known lockfile, cache, DTE and watch issues”FingerprintClaim.extraFiles(file, bytes, ctx) may return a promise, and DteAdapter.cancel(ids, late?) may return the ids it left running: a plugin implementing either takes the new arguments.
Keep numeric signals, forward args into compounds
Section titled “Keep numeric signals, forward args into compounds”RunResult.signal is string | number: an executor or telemetry plugin that reads it must accept a number for a signal with no name.
Servers accept CI by the ALLOW string, not TRUST
Section titled “Servers accept CI by the ALLOW string, not TRUST”The cache and history servers read ALLOW in place of TRUST, the same string the DTE relay reads: space-separated issuer:owner/repo:workflow entries.
In @vzn/vx-devtools:
parseTrust→parseAllow;TrustRule→AllowedoidcAuthandoidcTokenAuthtakeallow, nottrust
Protected refs are gone: any run of a listed workflow writes its branch’s cache. Set ALLOW to each repository’s CI workflow.
Drop the test transports from the options
Section titled “Drop the test transports from the options”github({ append, sizeOf }) and otel({ post }) are removed; @vzn/vx-otel does not export PostFn or OtlpTls.
Answer 502 when the issuer’s keys cannot be read
Section titled “Answer 502 when the issuer’s keys cannot be read”TokenError’s status may be 502 (the issuer’s keys could not be read), besides 401 and 403. Treat 502 as a retry, not a refusal.
Count no upload a remote skipped
Section titled “Count no upload a remote skipped”RemoteCacheLayer.put resolves void or false; false means nothing was sent and no upload is counted.
Store nothing
Section titled “Store nothing”--state is gone from vx-dte-server, and RelayStore, Stored, store and stored from its API: the relay stores nothing. Deploy it with a vx-dte that rejoins a run after a relay restart.
Take uploads one artifact at a time
Section titled “Take uploads one artifact at a time”POST /v1/artifacts/upload is gone; upload each artifact with PUT /v1/artifacts/<hash>. maxUploadBytes is one artifact’s size, and Workers clamp maxBatchArtifacts (batch download only) to 495.
Name objects by issuer, id, scope and hash
Section titled “Name objects by issuer, id, scope and hash”The trusted scope is gone. Cache objects and history rows live under new names; old ones are not read. Access drops repo and trustedRef; the history query takes scopes, not scope.
Move the CI token check into @vzn/vx-devtools
Section titled “Move the CI token check into @vzn/vx-devtools”@vzn/vx-cache-server does not export oidcAuth, parseTrust, Access, Authorize, OidcOptions or TrustRule; import them from @vzn/vx-devtools.
Move criticalPath into core
Section titled “Move criticalPath into core”@vzn/vx-schedule-history does not export criticalPath or criticalPathPriorities; import criticalPath from @vzn/vx.
Run many Bun nodes over one Postgres
Section titled “Run many Bun nodes over one Postgres”createCacheServer() and evict() take a Store (sqliteStore(db) or postgresStore(url)) in place of a Db, and artifacts gain a blob column: start on an empty database and bucket.
Rename @vzn/vx-dte-relay to vx-dte-server
Section titled “Rename @vzn/vx-dte-relay to vx-dte-server”The package is @vzn/vx-dte-server, at packages/vx-dte-server; import it under that name.
Serve the relay API under /v1/
Section titled “Serve the relay API under /v1/”The relay’s socket is at /v1/sessions/<session>/socket; deploy the relay and vx-dte together.
Speak the Switchboard protocol, v1
Section titled “Speak the Switchboard protocol, v1”The relay and vx-dte speak switchboard.v1 only; deploy them together. Kept.role is ‘host’ | ‘peer’, PROOF_HEADER is ‘relay-proof’, and upgrade takes the agreed protocol.
Replay a worker’s output in the order it was written
Section titled “Replay a worker’s output in the order it was written”ArtifactRun takes output (CapturedChunk[]) in place of stdout/stderr; TaskArtifacts.restore and output resolve CapturedChunk[]. BoundedCapture and CapturedChunk are exported.
Join on the socket only, drop pin and rate limit
Section titled “Join on the socket only, drop pin and rate limit”A participant joins only on its socket (socket?join=); POST join, the orchestrator’s job pin and the rate limit are gone, and a refused socket closes with 4000 plus its status.
Keep runs in socket attachments, not storage
Section titled “Keep runs in socket attachments, not storage”A relay host passes no store and calls no open(); it keeps what attach returns with each socket and hands the pairs back as sockets.
One round-trip per remote hit, never “up to date”
Section titled “One round-trip per remote hit, never “up to date””CacheLayer.probeFirst is removed, with the probe gate behind it.
Name the setting that asked for a missing remote
Section titled “Name the setting that asked for a missing remote”RunOptions.remoteRequested is the name of the setting that asked ('--cache-policy'), not a boolean.
Drop the agent names the relay still took
Section titled “Drop the agent names the relay still took”The relay refuses a join with role agent; join as worker.
Mark the relay’s socket-only protocol breaking
Section titled “Mark the relay’s socket-only protocol breaking”The relay answers only join and socket over HTTP; send, poll, leave and remove go down the socket. createRelay requires upgrade, and RelaySocket.close takes a code and reason.
v0.0.646
Section titled “v0.0.646”Drop Turbo, Nx and Vite Task flags and verbs
Section titled “Drop Turbo, Nx and Vite Task flags and verbs”Turbo, Nx and Vite Task flag aliases on vx run and vx watch → removed; vx run-many, affected, graph, query, ls, reset, daemon, login, logout, link and unlink hints → removed
Make run ids random UUIDs no one can guess
Section titled “Make run ids random UUIDs no one can guess”VX_DTE_RUN and a relay run id are a random v4 UUID; set VX_DTE_RUN=$(uuidgen) where it was the CI run id.
Name the task with no inputs that stops a hit
Section titled “Name the task with no inputs that stops a hit”TaskOutcome.keyless is replaced by keylessBy: the id of the task with no inputs that the key depends on.
Run history starts empty once; nothing to do.
Carry each task’s measured need in the shared timings
Section titled “Carry each task’s measured need in the shared timings”Index schema v44 -> v45; the local index is rebuilt.
Keep where each task ran and on what size
Section titled “Keep where each task ran and on what size”Index schema v43 -> v44; the local index is rebuilt.
Agents described by their machine, adapter optional
Section titled “Agents described by their machine, adapter optional”VX_DTE_SIZE is removed; agents sizes need memory.
Keep a sampled run’s peak cores and mean memory
Section titled “Keep a sampled run’s peak cores and mean memory”SCHEMA_VERSION is v43: the local cache index and run history from v42 are dropped on first open.
DetailsFor plugin authors and server hosts
Take only sends, remove and leave frames
Section titled “Take only sends, remove and leave frames”A socket frame of { n, to, body } is answered 400; send it as { n, sends: [{ to, body }] }.
Drop the frames version from join
Section titled “Drop the frames version from join”A relay’s join does not answer frames; a socket always takes sends, remove and leave frames.
Allow issuer:repo:workflow entries in one ALLOW
Section titled “Allow issuer:repo:workflow entries in one ALLOW”One ALLOW list replaces three trust settings. Each entry reads issuer:owner/repo:workflow.
- Worker:
ISSUERS,REPOSITORIES,WORKFLOWS→ALLOW vx-dte-relay:--issuer,--repository,--workflow→--allowcreateVerifier:issuers,repositories,workflows→allow
The orchestrator signs its requests with a key
Section titled “The orchestrator signs its requests with a key”An orchestrator joins with key, its P-256 public key, and signs each request as it in a vx-proof header; POST remove takes an agent off the run.
The relay accepts named repositories, deploys with cf
Section titled “The relay accepts named repositories, deploys with cf”vx-dte-relay needs --repository owner/repo and the Worker needs REPOSITORIES; wrangler.jsonc is replaced by cloudflare.config.ts (deploy with cf).
Sign relay keys by GitHub OIDC, with no secret
Section titled “Sign relay keys by GitHub OIDC, with no secret”@vzn/vx-dte-relay binds a run by repository_id or project_id only; runClaimsOf does not name run_id or pipeline_id.
A task an agent has not begun reads waiting
Section titled “A task an agent has not begun reads waiting”TaskExecutor.running may return null (the task waits for a machine), and RunContext.whereRunning may too; a caller that compared with undefined only must handle null.
v0.0.645
Section titled “v0.0.645”Scope Turbo cache reads by ref, keys stay plain
Section titled “Scope Turbo cache reads by ref, keys stay plain”Task keys carry no branch scope, and turboCache() and nxCache() drop the x-vx-cache-scope header.
turboCache() picks how reads are scoped:
scope: 'header'(default): sendsx-artifact-read-scopeson every readscope: 'key': keys entries by ref
The server’s OIDC trust policy decides who may write. VX_CACHE_SCOPE scopes only plugin entries.
Install vx on init, migrate only Turbo and Nx
Section titled “Install vx on init, migrate only Turbo and Nx”vx init hands only Turbo and Nx repos to @vzn/vx-migrate. A repo with only a package.json gets an empty root project.
To turn package.json scripts into tasks, run bunx @vzn/vx-migrate.
vx init also installs @vzn/vx globally and as a root devDependency.
Drop the local cache hit check
Section titled “Drop the local cache hit check”cache.store.verify (VX_CACHE_STORE_VERIFY) is removed: a local hit restores its stored files unchecked.
DetailsFor plugin authors and server hosts
Run a task here when its download is slower
Section titled “Run a task here when its download is slower”Plugin API: RemoteCacheLayer.has resolves ArtifactInfo or null ({ size, durationMs }, either one, or {}), not a boolean; hasMany resolves a Map of the held keys to ArtifactInfo, not a Set.
v0.0.644
Section titled “v0.0.644”Drop run-end housekeeping and cache.retention
Section titled “Drop run-end housekeeping and cache.retention”A run does not clean the cache at its end. cache.retention is removed, with VX_CACHE_RETENTION_OLDER_THAN and VX_CACHE_RETENTION_MAX_SIZE.
To trim the cache, run vx cache clean --older-than or vx cache clean --max-size.
@vzn/vx-migrate does not map Turbo’s cacheMaxSize / cacheMaxAge or Nx’s maxCacheSize.
Rename cache.store.compress to decompress
Section titled “Rename cache.store.compress to decompress”cache.store.compress is cache.store.decompress (VX_CACHE_STORE_DECOMPRESS), default true: plain files. compress: true is decompress: false.
Size embedded entries with cache.store.embeddings
Section titled “Size embedded entries with cache.store.embeddings”cache.store.embedded is cache.store.embeddings (VX_CACHE_STORE_EMBEDDINGS): false, or the largest entry kept in the index as a size string, default ‘32KiB’. true is not a value.
Read […] in a task glob as a character class
Section titled “Read […] in a task glob as a character class”A […] in a task glob is a character class, as in every glob tool; escape a literal route directory: app/\[id\]/**. CACHE_VERSION is vx-cache-v48.
Keep local entries as plain files a hit copies out
Section titled “Keep local entries as plain files a hit copies out”CACHE_VERSION is vx-cache-v47; a v46 local cache is not read. Set cache.store.compress: true to keep the tar.zst form.
DetailsFor plugin authors and server hosts
Read one plugin cache key per request
Section titled “Read one plugin cache key per request”Plugin API: on a branch, ctx.cache.get, has and hasMany do not fall back to the default branch’s entry; pass false to read it.
v0.0.643
Section titled “v0.0.643”Scope a branch’s remote cache by owner/repo:branch
Section titled “Scope a branch’s remote cache by owner/repo:branch”The remote cache for a branch is scoped by <owner>/<repo>:<branch>. Update these names:
--cache-scopeandcache.scope→ setVX_CACHE_SCOPErun.affectedBase→baseBranch(a branch name)VX_RUN_AFFECTED_BASE→VX_BASE_BRANCH
A bare --affected on the base branch is refused; it does not fall back to HEAD~1. Pass --affected=<sha> there.
github() scopes by <owner>/<repo>:<branch>, not pr-<n>. The config hook’s ctx gains setBranch.
The local cache stores every entry under its task key, whatever the scope.
v0.0.642
Section titled “v0.0.642”Read vx docs from the version’s tag on GitHub
Section titled “Read vx docs from the version’s tag on GitHub”vx docs needs the network: it reads packages/vx/docs at the version’s tag on GitHub and refuses with VX_E_NETWORK when it cannot. The npm package does not ship docs/*.md.
Read a warm task’s key back from the cache index
Section titled “Read a warm task’s key back from the cache index”The cache index moves to schema v42: the first run after upgrading drops the index once, so every cached task misses one time.
Make the artifacts table a rowid table
Section titled “Make the artifacts table a rowid table”The cache index moves to schema v41: the first run after upgrading drops the small artifacts kept inside the index once, so those tasks miss one time.
Reserve vx’s names only where vx writes them
Section titled “Reserve vx’s names only where vx writes them”.git, .vx and vx.lock.json are reserved only at a project’s root (and each project’s vx.lock.json for workspaceFiles). Deeper down, they are normal inputs and outputs.
restorableOutput takes a scope: 'project' or 'workspace'.
Every cached task misses once after the upgrade (cache version v46). Nothing to do.
Keep symlinks under outputs as links
Section titled “Keep symlinks under outputs as links”A symlink under a task’s outputs is cached and restored as a link, not as a copy of its target. An absolute link, or one pointing out of the workspace, fails the save.
CacheLayer.save drops readable.
Every cached task misses once after the upgrade (cache version v45). Nothing to do.
Bring back empty output directories on a hit
Section titled “Bring back empty output directories on a hit”Every cached task misses once after upgrading (cache version v44): a v43 artifact records no empty directories.
v0.0.641
Section titled “v0.0.641”Leave reads and writes to core’s cache policy
Section titled “Leave reads and writes to core’s cache policy”turboCache() and nxCache() ignore TURBO_CACHE, TURBO_REMOTE_CACHE_READ_ONLY, NX_SKIP_REMOTE_CACHE and NX_DISABLE_REMOTE_CACHE. RemoteCacheLayer.access is removed.
To keep untrusted pull requests from writing the shared cache, set vx’s cache.policy, or pass --cache-policy=local:rw,remote:r.
Stop ignoring Bun’s compile temp files in core
Section titled “Stop ignoring Bun’s compile temp files in core”vx does not skip the temp files bun build --compile writes. A broad input glob like **/* on a compile task, or on a task in the same directory, picks them up.
Add both excludes to that task’s inputs.files:
'!**/*.bun-build''!**/.????????????????-????????.tmp/**'
DetailsFor plugin authors and server hosts
Restore only the task’s declared outputs
Section titled “Restore only the task’s declared outputs”Cache.restoreOutputs and CacheLayer.restoreOutputs take the task’s declared outputs as a fourth argument; a restore writes only the names they select.
v0.0.640
Section titled “v0.0.640”Read gitignored inputs named outright
Section titled “Read gitignored inputs named outright”run.rules.upfrontKeys and VX_RUN_RULES_UPFRONT_KEYS are removed; a task reading another task’s outputs must depend on it and leave it out of inputs.tasks.
Move inputs onto the task
Section titled “Move inputs onto the task”tasks.<name>.cache.inputs is tasks.<name>.inputs; cache without exec is refused; a task depending on an uncached task with no inputs never hits; .vx/projects.lock.json is version 4.
DetailsFor plugin authors and server hosts
Never hold a run on fetched schedule weights
Section titled “Never hold a run on fetched schedule weights”PreparedRun.priorities takes an optional ScheduleRun (step, refined).
v0.0.639
Section titled “v0.0.639”Count remote failures and live uploads in the footer
Section titled “Count remote failures and live uploads in the footer”RunContext.cache.uploads is replaced by RunContext.cache.traffic: uploads in flight and each key’s remote failures. The runs table adds remote_error (SCHEMA_VERSION v40).
Remove --kill-grace and --teardown-timeout
Section titled “Remove --kill-grace and --teardown-timeout”--kill-grace, --teardown-timeout, run.killGrace, run.teardownTimeout, VX_RUN_KILL_GRACE and VX_RUN_TEARDOWN_TIMEOUT are removed; the grace is 2 s and the teardown bound 3 s.
Remove --ready-notice and run.readyNotice
Section titled “Remove --ready-notice and run.readyNotice”--ready-notice, run.readyNotice and VX_RUN_READY_NOTICE are removed; the readiness notice fires after a fixed 10 s.
Remove vx run --tag
Section titled “Remove vx run --tag”vx run --tag is gone, and @vzn/vx-otel drops its vx.tag.<key> attributes.
Remove vx run --graph
Section titled “Remove vx run --graph”vx run --graph is removed. Use vx run <task> --dry=json (each task carries deps) and render it yourself.
Remove vx run --summarize and --format json
Section titled “Remove vx run --summarize and --format json”vx run --summarize, vx run --format json and schemas/summary.json are removed.
Read a run’s result with vx last --format json. vx run --dry=json still prints the plan.
Removed fields: RunOptions.summarize / json, RunSummary.json, OutputContext.json.
Remove vx run --report and --report-file
Section titled “Remove vx run --report and --report-file”vx run --report and --report-file are removed; use github() from @vzn/vx-ci for the job summary.
DetailsFor plugin authors and server hosts
One LayeredCache over every declared remote
Section titled “One LayeredCache over every declared remote”CacheLayer.save does not take skipLocalWrite. Only core’s own ChainedCache set it; a caller passing it drops the field.
Remove vx run --tag: the JavaScript API
Section titled “Remove vx run --tag: the JavaScript API”RunOptions.tags and RunContextRecord.tags are removed (TELEMETRY_SCHEMA_VERSION 4).
v0.0.638
Section titled “v0.0.638”Lay out every refusal as a notice
Section titled “Lay out every refusal as a notice”Refusals on stderr do not read vx <verb>: <message>; scripts should read --format json or the exit code.
Output components for every verb and plugin
Section titled “Output components for every verb and plugin”vx lock prints ✓ vx lock N project configs → .vx/projects.lock.json. A refusal prints ✗ vx lock lock not written, with what, why and the fix under it.
applyMigration’s lock option returns { code, said }.
Name --affected’s workspace file, policy as spec
Section titled “Name --affected’s workspace file, policy as spec”CachePolicy in run history and telemetry records reads local:rw,remote:r, the --cache-policy spec, not lR,lW.
Stop ignoring *.tsbuildinfo as an input
Section titled “Stop ignoring *.tsbuildinfo as an input”vx stops ignoring *.tsbuildinfo by default. A tracked, or untracked and not ignored, tsbuildinfo is an input of any task whose globs reach it.
To keep it out of keys, add it to .gitignore or declare it an output.
Cache everything the outputs hold under clean: false
Section titled “Cache everything the outputs hold under clean: false”Under cache.outputs.clean: false a leftover output file is saved and restored on every machine; before, its presence meant nothing was cached.
Stop vx watch re-running on its own run’s writes
Section titled “Stop vx watch re-running on its own run’s writes”vx lock refuses a cached task whose inputs read another task’s outputs through a glob like **/* beside **/dist/**.
Install the vx skill with bunx skills add vznjs/vx
Section titled “Install the vx skill with bunx skills add vznjs/vx”bunx skills add vznjs/vx/packages/vx/skills/vx does not exist; install the agent skill with bunx skills add vznjs/vx.
Drop the VX_CACHE_OUTPUTS_CLEAN variable
Section titled “Drop the VX_CACHE_OUTPUTS_CLEAN variable”VX_CACHE_OUTPUTS_CLEAN is not read. Set cache.outputs.clean in .vx/workspace.ts or on the task instead.
Share blob sizes and the flaky record across worktrees
Section titled “Share blob sizes and the flaky record across worktrees”SCHEMA_VERSION v38 (blob_sizes and task_outcomes in the store): the local index resets once. A repeat cache hit does not count as another pass in flaky counts.
Give plugins ctx.cache over the workspace cache
Section titled “Give plugins ctx.cache over the workspace cache”SCHEMA_VERSION v37 (plugin_blobs, unique remote task_durations rows): the local index resets once.
DetailsFor plugin authors and server hosts
Keep a CI run’s bytes and hand plugins a run report
Section titled “Keep a CI run’s bytes and hand plugins a run report”teardown takes the run’s RunReport (teardown(run?)), and PluginCache has a getRun(name) method: a test double that implements PluginCache adds getRun: async () => null.
v0.0.637
Section titled “v0.0.637”vx init writes no package.json-derived config
Section titled “vx init writes no package.json-derived config”vx init hands any repo with a package.json, pnpm-workspace.yaml, turbo.json or nx.json to @vzn/vx-migrate.
Its report says vx-migrate:, and --keep installs what it declares. Both runners need bunx @vzn/vx-migrate --from.
With none of those files, vx init writes a .vx/workspace.ts that declares no plugin and an empty root vx.config.ts.
To map your scripts, run bunx @vzn/vx-migrate (with --from scripts beside another source).
@vzn/vx drops findManifestRoot, listPackages, PackageMeta and LoadReads. ApplyMigrationArgs.metas is MigrationMember[].
A project is a directory with a vx.config
Section titled “A project is a directory with a vx.config”A project is a directory with a vx.config. A package.json member is no project without one, unless a lockfile plugin (pnpm(), bun(), npm(), yarn()) adds it.
A project’s name is its config name, else a plugin’s, else its path (// for the root). Two projects with one name are refused.
Lock version 2 is refused: re-run vx lock.
Plugin contexts drop packageJson, and so does ProjectMeta. PackageMeta keeps it for vx init.
Core keys no package file
Section titled “Core keys no package file”Core leaves package.json, the root lockfiles and install settings out of every cache key. Without a lockfile plugin, an install changes no key.
Declare pnpm(), bun(), npm() or yarn() from @vzn/vx-lockfile in .vx/workspace.ts.
TaskInputs drops packageJsonDigest and workspaceFingerprint.
npm() reads npm-shrinkwrap.json first. bun() refuses a lone bun.lockb: run bun install --save-text-lockfile.
Project edges come only from plugins
Section titled “Project edges come only from plugins”Project edges come only from plugins. Without a plugin that returns deps, there are no package edges.
Add pnpm(), bun(), npm() or yarn() from @vzn/vx-lockfile to .vx/workspace.ts.
A ^task with no edge source is refused (VX_E_DEPENDS_ON). That includes the default build’s ^build.
--affected stops comparing manifests at the base. A dependency change reaches it through the lockfile.
Catalogs and workspace: / npm: / file: range resolution are gone. Removed exports: buildPackageGraph, the Catalogs type.
Drop the config eval cache; all verbs read the lock
Section titled “Drop the config eval cache; all verbs read the lock”The config eval cache is gone: index SCHEMA_VERSION v35 drops its tables. Run history starts empty once; nothing to do.
Removed exports: ConfigEvalStore, LoadProjectConfigOptions, the Cache config-eval methods, and the options of loadProjectConfig.
vx info drops its config errors row. vx show and vx info need a lock file: run vx lock.
Runs read only .vx/projects.lock.json
Section titled “Runs read only .vx/projects.lock.json”--frozen, --no-frozen, run.frozen, VX_RUN_FROZEN and run({ frozen }) are removed. .vx/lock.json is renamed .vx/projects.lock.json.
Remove the vx prune verb
Section titled “Remove the vx prune verb”vx prune is gone; it is an unknown verb.
Rename vx cache prune to vx cache clean
Section titled “Rename vx cache prune to vx cache clean”vx cache prune is vx cache clean; the old name is an unknown subcommand. A bare vx cache clean clears this repo’s cache and run history instead of exiting 1.
Write the lock minified, a review copy per config
Section titled “Write the lock minified, a review copy per config”.vx/lock.json is written minified; re-run vx lock and commit the lock and each project’s vx.lock.json.
Check graph rules only in vx lock, never in a run
Section titled “Check graph rules only in vx lock, never in a run”A run does not refuse overlapping outputs or an input glob that matches another task’s outputs. Run vx lock (or vx lock --check in CI) to check run.rules.
Move the workspace config and lock into .vx
Section titled “Move the workspace config and lock into .vx”vx.workspace.* and vx-lock.json are not read. Move the workspace config to .vx/workspace.ts (its relative imports gain a ../) and re-run vx lock.
Retire @vzn/vx-mcp for the agent skill and vx last --stats
Section titled “Retire @vzn/vx-mcp for the agent skill and vx last --stats”@vzn/vx-mcp and vx mcp are gone.
Install the agent skill instead (bunx skills add vznjs/vx) and read the CLI’s --format json. For run history, use vx last --stats.
@vzn/vx stops exporting clampInt, collectInfo, maskedCommand, maskedLine and the run-history queries:
cacheKeyDiff,latestRunId,resolveRunId,inputWritersrootCauses,runFailures,taskLog,whyDidThisRerunQuery
Drop rename shims, flag aliases and lock path fields
Section titled “Drop rename shims, flag aliases and lock path fields”Old names stop working. An old config key or flag fails the unknown field or flag check. An old VX_* variable is ignored.
vx migrate, vx prune and vx stats are unknown verbs unless a plugin declares them.
--cache→--cache-policy--download→--cache-download
vx-lock.json is version 2 (project name → resolved config). Re-run vx lock.
vx lock --check reports one drift message per project.
Read the default key first; a scope only names writes
Section titled “Read the default key first; a scope only names writes”A cache scope reads the default key first and writes only its own key, locally and remotely.
'trusted' and 'read-only' are plain scope names. For a read-only run, set cache.policy to 'remote:r'.
Off CI, the default policy writes nothing to the remote cache.
RunOptions.defaultCacheScope→RunOptions.remoteReadOnlyByDefaultCachePolicy.remoteScopeandscopeCachePolicyare removed.
The cache moves to vx-cache-v43, so every cached task misses once after you upgrade.
Never delete a committed file under an output
Section titled “Never delete a committed file under an output”GitFilesCache output-split helpers are removed; committed files under outputs are never cleaned.
Check graph rules in vx lock; runs are frozen under CI
Section titled “Check graph rules in vx lock; runs are frozen under CI”Under CI a run reads its configs from vx-lock.json, and writes that file first when it is missing.
To evaluate the configs instead, pass --no-frozen or set VX_RUN_FROZEN=false.
vx lock refuses a graph that breaks run.rules, and vx lock --check reports it.
vx.workspace.* marks the workspace root
Section titled “vx.workspace.* marks the workspace root”Every verb but vx init needs a vx.workspace.* file; without one it stops with VX_E_NO_WORKSPACE. A global vx hands off only to the workspace root’s own node_modules/@vzn/vx.
One path per setting, env and flag derived from it
Section titled “One path per setting, env and flag derived from it”vx.workspace keys, VX_* variables and some flags are renamed; old names are refused.
Set cache policy in vx.workspace, scope under cache
Section titled “Set cache policy in vx.workspace, scope under cache”The top-level cacheScope workspace key is removed; use cache: { scope }.
DetailsFor plugin authors and server hosts
Discover names projects and supplies edges
Section titled “Discover names projects and supplies edges”The NamedProject type is DiscoveredProject; a discover entry’s name is optional and it may carry deps and reach.
Output stage lets a plugin draw the terminal
Section titled “Output stage lets a plugin draw the terminal”PLUGIN_HOOKS gains output after telemetry (15 hooks).
A cache plugin provides only the remote
Section titled “A cache plugin provides only the remote”A cache hook returns a RemoteCacheLayer (has, get, put, optional hasMany), not a layer over ctx.localCache; LayeredCache leaves the public API and CacheContext loses localCache and policy.
v0.0.636
Section titled “v0.0.636”Replace rewrittenInputs with cache.inputStability
Section titled “Replace rewrittenInputs with cache.inputStability”cache.rewrittenInputs and VX_REWRITTEN_INPUTS are gone. Use cache.inputStability instead:
strategy:'immutable','mutable'or'unchecked'severity:'warn'or'error''withhold'→'immutable','compare'→'mutable'- env vars:
VX_INPUT_STABILITY,VX_INPUT_STABILITY_SEVERITY
v0.0.635
Section titled “v0.0.635”github() is undefined off Actions; skip falsy plugins
Section titled “github() is undefined off Actions; skip falsy plugins”@vzn/vx-ci’s github() returns undefined outside GitHub Actions; a caller reading its fields must handle undefined.
DetailsFor plugin authors and server hosts
Skip the schedule stage when every task is a hit
Section titled “Skip the schedule stage when every task is a hit”PreparedRun.priorities is a function returning the schedule stage’s weights, and the stage runs after setup, only when a task will start.
v0.0.633
Section titled “v0.0.633”One entry_inputs row per entry, not per component
Section titled “One entry_inputs row per entry, not per component”SCHEMA_VERSION v34. The first run drops the local index once; artifact files stay and are re-adopted on their next hit.
Store small artifacts inline in the store index
Section titled “Store small artifacts inline in the store index”SCHEMA_VERSION v33. The first run drops the local index once; artifact files stay and are re-adopted on their next hit.
v0.0.632
Section titled “v0.0.632”Connect a bare endpoint with TLS, as Bazel does
Section titled “Connect a bare endpoint with TLS, as Bazel does”A vx-reapi endpoint with no scheme uses TLS; a plaintext server needs grpc:// or tls: false.
v0.0.628
Section titled “v0.0.628”Replay stderr on cache hits
Section titled “Replay stderr on cache hits”Every cached task misses once after upgrading to vx-cache-v42.
v0.0.598
Section titled “v0.0.598”DetailsFor plugin authors and server hosts
Drop unread store fields, fix chunking comments
Section titled “Drop unread store fields, fix chunking comments”Cache.storeFallback and Cache.storeMoved are removed; nothing read them.
v0.0.597
Section titled “v0.0.597”Clean through an in-project output link, bump to v41
Section titled “Clean through an in-project output link, bump to v41”Every cached task misses once after upgrading to vx-cache-v41.
v0.0.596
Section titled “v0.0.596”Refuse env names sh would drop
Section titled “Refuse env names sh would drop”exec.env define and passThrough names must be shell identifiers ([A-Za-z_][A-Za-z0-9_]*); other names are refused at load.
Accept readonly lists in every config array field
Section titled “Accept readonly lists in every config array field”Config array fields are typed readonly; code that mutates a resolved config list must copy it first.
v0.0.595
Section titled “v0.0.595”Refuse a tag that --filter tag: cannot name
Section titled “Refuse a tag that --filter tag: cannot name”A tag that --filter tag: cannot select (**, an upper-case glob such as A*) is refused at config load.
DetailsFor plugin authors and server hosts
Dry prune on an earlier index previews the store
Section titled “Dry prune on an earlier index previews the store”Cache.orphansBeforeReset is gone; open a Cache in ‘preview’ mode instead.
v0.0.559
Section titled “v0.0.559”Bump CACHE_VERSION to vx-cache-v40
Section titled “Bump CACHE_VERSION to vx-cache-v40”Every cached task misses once after the upgrade.
v0.0.518
Section titled “v0.0.518”Rename @vzn/vx-github to @vzn/vx-ci
Section titled “Rename @vzn/vx-github to @vzn/vx-ci”Import github() from ‘@vzn/vx-ci’ instead of ‘@vzn/vx-github’.
v0.0.515
Section titled “v0.0.515”DetailsFor plugin authors and server hosts
Keep artifacts when the store schema changes
Section titled “Keep artifacts when the store schema changes”Cache.getMany and CacheLayer.getMany take an optional per-hash get context; a layer that ignores it is unchanged.
v0.0.512
Section titled “v0.0.512”Share cache entries across workspaces
Section titled “Share cache entries across workspaces”SCHEMA_VERSION v32; existing entries miss once.
v0.0.505
Section titled “v0.0.505”Count restored and up-to-date hits everywhere
Section titled “Count restored and up-to-date hits everywhere”The local index schema moves from SCHEMA_VERSION v30 to v31. Run history starts empty once; nothing to do.
The old artifacts stay on disk. Run vx cache prune to remove them.
If you read these types, expect extra fields: WhyDidThisRerun (thisRun / previousRun), RunSummaryRow, InvocationDetail, RunSummaryRecord, CacheStats.
v0.0.496
Section titled “v0.0.496”Drop the end-of-run failure recap
Section titled “Drop the end-of-run failure recap”Src/orchestrator/failure-recap.ts leaves the package, with formatFailureRecap and DefaultLogger.failureRecap.
v0.0.478
Section titled “v0.0.478”Key the blob-size verdict by the index file’s hash
Section titled “Key the blob-size verdict by the index file’s hash”SCHEMA_VERSION v29 -> v30; an older index is dropped on first open and its artifacts are left for vx cache prune.
v0.0.451
Section titled “v0.0.451”Run every Nx executor through nx-exec
Section titled “Run every Nx executor through nx-exec”A migrated config writes nx-exec lines where it wrote jest, vite, tsc, node and other executor commands.
v0.0.424
Section titled “v0.0.424”Keep existing configs in vx init, write the rest
Section titled “Keep existing configs in vx init, write the rest”vx init where configs already exist exits 0 (kept) instead of 1 (refused).
v0.0.422
Section titled “v0.0.422”Refuse the wire-form options reapi() ignored
Section titled “Refuse the wire-form options reapi() ignored”reapi() does not accept onWarn, tlsCaPem, tlsClientCertPem or tlsClientKeyPem; use tlsCertificate, tlsClientCertificate and tlsClientKey (PEM files).
DetailsFor plugin authors and server hosts
Inline the wire-only keys
Section titled “Inline the wire-only keys”@vzn/vx-reapi’s plugin-api record does not list the WireOnly type (it was never exported; ReapiPluginOptions is unchanged in shape).
v0.0.419
Section titled “v0.0.419”DetailsFor plugin authors and server hosts
Stop exporting the wire and Merkle internals
Section titled “Stop exporting the wire and Merkle internals”@vzn/vx-reapi stops exporting its wire and Merkle internals. These exports are gone, with the wire and Merkle types:
ReapiClient,reapiExecutor,acceptsTask,globToOutputPath,outputPathSetsbuildInputTree,canDigest,decodeDirectory,decodeTree,digestWithencodeAction,encodeCommand,encodeDigest,encodeDirectory,encodeNodeProperties,sha256assertBunSupportsChunking,CHUNK_BYTES,SAFE_CHUNK_BYTES,MIN_BUNCOMPRESSOR,DIGEST_FUNCTION,OUTPUT_DIRECTORY_FORMAT
v0.0.417
Section titled “v0.0.417”DetailsFor plugin authors and server hosts
Export only the four plugins
Section titled “Export only the four plugins”@vzn/vx-migrate exports only its four plugins. These exports are gone, with their types:
mapTurboWorkspace,mapNxWorkspace,nxExecCommand,parseNxGraph,readNxJsonFactsTurboRemoteCache,NxRemoteCache,resolveTurboCacheConfig,resolveNxCacheConfigturboRemoteAccess,artifactTag,VERCEL_API,MIN_SIGNATURE_KEY_LENGTHmigrateCmd,parseMigrateArgs
v0.0.416
Section titled “v0.0.416”DetailsFor plugin authors and server hosts
Stop exporting the parser namespaces
Section titled “Stop exporting the parser namespaces”@vzn/vx-lockfile does not export the pnpmLock, bunLock, npmLock and yarnLock namespaces.
v0.0.415
Section titled “v0.0.415”DetailsFor plugin authors and server hosts
Stop exporting the OTLP builders
Section titled “Stop exporting the OTLP builders”@vzn/vx-otel stops exporting its OTLP builders. These exports are gone:
buildLogsRequest,buildMetricsRequest,buildTraceRequestresourceAttributes,runSpanAttributes,taskSpanAttributes,taskStatusCodeSEMCONV,VX_ATTR- the types
KeyValue,OtlpLogRecord,OtlpSpan
Import only the plugin itself.
v0.0.412
Section titled “v0.0.412”DetailsFor plugin authors and server hosts
Stop exporting the Checks API helpers
Section titled “Stop exporting the Checks API helpers”@vzn/vx-github does not export buildCheckRunPayload, clampSummary, postCheckRun, resolveCheckRunEnv or the CheckRunEnv type.
v0.0.401
Section titled “v0.0.401”DetailsFor plugin authors and server hosts
Refuse a plugin option value of the wrong kind
Section titled “Refuse a plugin option value of the wrong kind”refuseUnknownOptions(factory, options, known) takes a PluginOptionKinds<Options> record in place of a list of option names (released in 0.0.397).
Pass each option with its kind. The type checker derives the kinds from your options interface.
v0.0.324
Section titled “v0.0.324”Type generated configs from the @vzn/vx/config entry
Section titled “Type generated configs from the @vzn/vx/config entry”vx init and vx-migrate write import type { ProjectConfig } from '@vzn/vx/config', and @vzn/vx exports ./config.
v0.0.321
Section titled “v0.0.321”Adopt Turbo and Nx only
Section titled “Adopt Turbo and Nx only”lage(), wireit(), workspaceScripts(), the lage-worker bin and vx-migrate --from lage|wireit|scripts are removed.
v0.0.319
Section titled “v0.0.319”Drop moon support
Section titled “Drop moon support”moon(), mapMoonWorkspace and vx-migrate --from moon are removed.
v0.0.314
Section titled “v0.0.314”Say in vx info when the sandbox runs untraced
Section titled “Say in vx info when the sandbox runs untraced”vx info’s JSON and vx mcp’s getWorkspaceInfo gain sandbox.untraced (string | null).
v0.0.267
Section titled “v0.0.267”Map Turbo task tags to nothing
Section titled “Map Turbo task tags to nothing”The turbo-nx-support record moves turbo.json tasks.*.interruptible from not-supported to not-applicable.
v0.0.229
Section titled “v0.0.229”Take a run id prefix in whyDidThisRerun
Section titled “Take a run id prefix in whyDidThisRerun”@vzn/vx packs src/orchestrator/run-id.ts in place of src/cli/run-id.ts, and vx-mcp’s whyDidThisRerun runId description names a prefix.
v0.0.204
Section titled “v0.0.204”DetailsFor plugin authors and server hosts
Run Turbo root tasks with no root vx.config
Section titled “Run Turbo root tasks with no root vx.config”PLUGIN_HOOKS gains discover after config.
v0.0.185
Section titled “v0.0.185”Type-check unknown keys in defineWorkspace
Section titled “Type-check unknown keys in defineWorkspace”DefineWorkspace rejects keys the schema does not declare at type-check time. vx already refused them at load.
v0.0.184
Section titled “v0.0.184”Type-check unknown keys in defineProject
Section titled “Type-check unknown keys in defineProject”DefineProject rejects keys the schema does not declare at type-check time. vx already refused them when it loaded the config.
v0.0.98
Section titled “v0.0.98”Remove the vx stats alias before 1.0
Section titled “Remove the vx stats alias before 1.0”vx stats is removed; run vx info, which prints the same report.
You can now find every change between your vx and the newest one, with the fix for each.