Skip to content

Releases

v0.8.1

Choose a tag to compare

@github-actions github-actions released this 07 Oct 03:41
59e42db

Rent from a laptop with no other machine

Your laptop can now be its own cloud peer with no extra configuration. If the runner on the laptop has [cloud.lambda], --where rents through it when none of your runners matches, without adding it as a peer:

errand setup --local
# add to the runner's errandd.toml:
#   [cloud.lambda]
#   api_key_file = "/Users/you/.config/errand/lambda-api-key"
errand setup
errand --where gpu=h100 -- python train.py

The local runner only supplies leases. --where never runs jobs on it unless you add [peers.local] to your config.toml, so a Mac with cloud offers doesn't start taking --where os=darwin jobs. It rents even when one of your peers is asleep, and a hung local runner never delays a runner of yours that matches. Placement still takes at most about two seconds.

The laptop's runner is what ends leases, so while the laptop sleeps nothing releases them and Lambda keeps billing until it wakes. Run errand leases release <name> before you close the lid. Details: Only one machine?

Upgrading

brew upgrade lydakis/errand/errand
errand setup

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 06 Oct 23:40
9359a7b

Rent a GPU when none of yours has one (experimental)

When --where asks for something none of your runners has, errand can now lease a machine for it from a cloud peer: one of your runners that rents machines, installs errand on them, and releases them once they sit idle. Your job runs on the rented machine directly, like on any runner.

Lambda Cloud is built in. On a runner that is always on, save a Lambda API key in a file (mode 600), add two lines to its errandd.toml, and run errand setup:

[cloud.lambda]
api_key_file = "/home/you/.config/errand/lambda-api-key"

Then, from your laptop:

$ errand --where gpu=h100 -- python train.py
errand: no runner of yours matches gpu=h100; leasing gpu-1x-h100-sxm5 ($2.99/h) from cabal
errand: cabal: ready after 2m41s
errand: lease cabal-7f3a ready (linux/amd64, 26 cpu, 1x NVIDIA H100 80GB HBM3 (80 GiB))
  • --where gpu rents the cheapest GPU with capacity, gpu=h100 the cheapest H100, gpus>=8 an eight-GPU box. The price is shown before anything is rented.
  • Nothing above max_price_per_hour ($10/h unless you change it) is rented. A request only a dearer machine could serve fails with the price and the setting to raise.
  • The next matching run reuses the same lease. While it lasts, --on cabal-7f3a, ps, attach, fetch, -L and workspaces work as with any runner, from any of your devices.
  • A lease ends after it sits idle (20m by default), at its lifetime limit (12h), or with errand leases release cabal-7f3a. errand leases lists them. It stays up while a job or upload is running, or while finished results haven't been fetched.
  • Other providers plug in through acquire and release commands.

This is experimental, and it spends money. The idle and lifetime limits are enforced by the cloud peer, so they hold only while it runs; errand sets no spending cap on your Lambda account. Leased Windows machines need the tailnet. Details: docs/CLOUD.md.

GPUs in --where

--where gpu, gpus>=N, gpu=MODEL and vram>=N pick runners by the GPUs nvidia-smi reports, for example errand --where gpu=a100,vram>=80 -- python train.py. errand peers has a GPUS column.

Faster

Across the whole edit-run loop, measured against 0.7.0 on the same Mac with a 10,000-file checkout: repeat runs, runs after an edit, and time to first output are about 30% faster, a one-file save syncs 28% faster, and a burst of saves settles twice as fast. The runner uses about 80% less CPU per job.

Also

  • errand attach --no-follow HANDLE prints what a job has written so far and returns. --tail N and --since 10m narrow the output, followed or not.
  • An offline peer now fails in under a second with the reason (for example Tailscale reports cabal offline, last seen 3h ago) instead of stalling ps, df, workspaces or --on for up to 30s.
  • If a runner dies mid-job, errand stops waiting within about a minute and says so, instead of retrying for the job's whole time limit.
  • Jobs on a Linux runner set up by errand setup get the user session (XDG_RUNTIME_DIR, DBUS_SESSION_BUS_ADDRESS), so systemctl --user works.
  • errand gc changes cleans up job records from older versions, and errand push from another clone of the repository gives the right error.

Upgrading

0.8.0 drops the fallbacks it kept for older runners, so a 0.8.0 client can fail against a 0.7.0 runner (errand peers flags a runner on a different version). Upgrade clients and runners together, then run errand setup on each runner when it's idle:

brew upgrade lydakis/errand/errand
errand setup

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 01 Oct 05:33
eac5c5c

Windows runner (experimental)

A Windows PC can now be an errand runner. Send jobs to it from your Mac or Linux machine over Tailscale, the same way you use any other runner:

errand peers add winpc winpc.your-tailnet.ts.net
errand --on winpc -- cargo test

On the Windows PC, install with Scoop:

scoop bucket add errand https://github.com/lydakis/scoop-errand
scoop install errand
errand setup

Or grab errand_0.7.0_windows_amd64.zip / _arm64.zip below, unzip errand.exe somewhere permanent and run .\errand.exe setup. Setup needs no admin rights. It registers a Task Scheduler task that starts the runner when you sign in.

What works: commands and exit codes, live logs, file round trips (exec bits survive the trip), --apply, Ctrl-C and errand kill (the whole process tree stops), .cmd/.bat programs and PATHEXT lookup, symlinks (with Developer Mode on), and restarting after sign-in.

This is experimental. It's tested in CI on Windows Server 2025 (amd64) and by hand on Windows 11 (arm64). Expect rough edges and expect behavior to change between releases. Not supported yet:

  • Sending jobs from Windows (the client). It now says so instead of failing oddly.
  • SSH transport to a Windows runner (Tailscale only for now).
  • Named caches, graceful Ctrl-C, recovering jobs across a runner restart, and running while nobody is signed in.

The Windows binaries aren't signed yet, so a browser download shows a SmartScreen warning. Details: docs/WINDOWS.md.

Upgrading

Upgrade clients and runners together, then run errand setup on each runner when it's idle:

brew upgrade lydakis/errand/errand
errand setup

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 27 Sep 05:22
c2dbf0e

Errand 0.6.0 makes push --watch about 3x faster in Git checkouts, fixes a macOS watch hang, makes errand df fast, and lists workspaces from every runner.

Faster watch in Git checkouts

Git-selected watches now refresh edited files incrementally instead of rerunning Git selection on every save. Atomic saves, creates and deletes stay on the incremental path too.

Median visible delivery at 10,000 files on an M1 Max MacBook, v0.5.0 → v0.6.0:

Case v0.5.0 v0.6.0
Git tracked in-place edit 956 ms 310 ms
Git create 993 ms 322 ms
Explicit rename-over save 502 ms 293 ms
Explicit in-place edit 345 ms 297 ms

Git cases are about 3x faster on the MacBook and 2.4x on a Mac mini. See WATCH_NATIVE.md for every case and host. ERRAND_TRACE_WATCH=1 logs each preparation's mode and fallback reason.

Fixes

  • macOS watch hang. A Git-selected push --watch watched the directory holding ~/.gitconfig, which is $HOME. On macOS that opened ~/Desktop and similar folders, and a background process could hang on the privacy prompt before its first receipt. Watch now watches global Git config and excludes files themselves and polls them for replacements.
  • errand df is fast. Local change inventory uses a read-only walk, so df no longer waits on transfer locks. On one Mac it went from about 21 s to 1 s.
  • df sizes named caches. Runners now measure idle named caches whose size is unknown, the way gc does, so df no longer reports them as unmeasured while gc could free gigabytes. The first df after upgrading remeasures sizes recorded by older releases.
  • gc changes and gc all skip moved or deleted workspaces. Their transfer state is kept and reported as skipped instead of failing the command, including --dry-run.
  • errand workspaces lists every configured runner, with a PEER column and a peer JSON field. Unreachable runners are reported and set the exit status without hiding the others.
  • errand --version prints the version.

Upgrade

brew update
brew upgrade lydakis/errand/errand

Update clients and runners together. On each runner, run errand setup when idle from a terminal or independent service context to restart the daemon with the upgraded binary.

Source builds require Go 1.27 or later. Release assets cover macOS and Linux on arm64 and amd64; macOS binaries are signed and notarized.

Full changes: v0.5.0...v0.6.0

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 18 Sep 04:49

Errand 0.5.0 adds continuous local-to-runner updates for persistent development workspaces and improves shared transfer preparation, workspace initialization, and change application.

Watch local edits

errand push --watch --apply --profile dev

Watch sends an initial push, batches later saves, and applies changes through the same transactional path as explicit push. It reports transfer receipts, retries transient connection failures, and stops on conflicts. Ctrl-C stops watching while the remote application keeps running. Omitting --apply continuously stages changes instead.

Faster shared file operations

  • Retain validated snapshots and reuse transfer checkpoints across requests, reducing repeated inventory decoding, copying, and metadata work.
  • Stage transfers and initialize workspaces directly from verified sources, with shared materialization and fewer intermediate copies.
  • Apply eligible batches of existing regular files with grouped publication across multiple parent directories. Backups remain synchronized before replacement, and commit still waits for the required publication barriers.
  • On macOS, combine final same-device parent publication into member syncs plus one full device barrier. In the final native comparison, 128-file apply across 128 parents fell from about 1.50 seconds to 1.00 second, with a 33% median paired reduction and faster results in every round against both controls. This is a workload-specific result, not a blanket command-latency claim.

Reliability and diagnostics

  • Strengthen source-mutation classification and watch retry behavior.
  • Preserve verified checkpoint publication and exercise grouped-apply recovery through process-exit and synchronization-failure tests.
  • Report Git operational failures directly instead of presenting them as merge conflicts.
  • Add optional grouped-apply eligibility diagnostics and retain reproducible APFS/Btrfs benchmark evidence.

Experimental disk journals, exchange-rename installation, and filesystem-wide syncfs remain disabled or deferred.

Upgrade

brew update
brew upgrade lydakis/errand/errand

Update clients and runners together. On each runner, run errand setup when idle from a terminal or independent service context to restart the daemon with the upgraded binary.

Source builds require Go 1.27 or later. Release assets cover macOS and Linux on arm64 and amd64; macOS binaries are signed and notarized.

Full changes: v0.4.4...v0.5.0

v0.4.4

Choose a tag to compare

@github-actions github-actions released this 12 Sep 22:28

Persistent workspace pushes and fetches now spend less time synchronizing staged files, with native filesystem handling for macOS and Linux.

  • Batch staging work with bounded concurrency and explicit durability barriers before publication.
  • Reclaim abandoned temporary blobs when retrying interrupted transfers, preserving published content and storage limits.
  • Restore file and directory permissions before synchronization, including restrictive modes.
  • Add a reproducible push benchmark with command timings, transfer receipts, and failure diagnostics.

No configuration changes are required. Upgrade the clients and runners, then run errand setup on each idle runner to adopt the new daemon version.

Validation passed on native macOS/APFS and Linux/Btrfs, including race tests, recovery regressions, and concurrent workspace pushes. Synthetic performance measurements and their limits are documented in PERFORMANCE.md.

Full changelog: v0.4.3...v0.4.4

v0.4.3

Choose a tag to compare

@github-actions github-actions released this 12 Sep 19:18

Smaller persistent-workspace pushes

Persistent-workspace pushes now reuse hash-verified snapshot cache contents and upload only missing file bodies. The complete source manifest is still verified, and the existing push/apply workflow is unchanged.

  • Reuse cached contents across workspace creation and subsequent pushes.
  • Retry the same frozen source with a full upload if cached contents disappear or are corrupt, including when corrupt-cache cleanup fails.
  • Deduplicate content hashes during negotiation and cache population.
  • Support large negotiation responses and give durable push staging the bulk-operation timeout.
  • Share cache ingestion and fallback policy between job submission and workspace pushes, with regression coverage for recovery and compatibility.

Upgrade both the client and runner to benefit from cached pushes. Older runners and runners with snapshot caching disabled continue to receive full uploads. Metadata transfer, local snapshot validation, and durable staging still contribute to total push time.

Full changelog: v0.4.2...v0.4.3

v0.4.2

Choose a tag to compare

@github-actions github-actions released this 12 Sep 16:25

Errand 0.4.2 improves persistent development and monorepo setup while keeping native commands.

  • Select an existing persistent workspace through a profile, with a documented install, run, push, and hot-reload loop.
  • Load explicitly declared local environment files without preparing shell exports.
  • Declare named-cache directory groups for monorepos, with stable per-directory cache identities, bounded discovery, and bindings frozen at persistent workspace creation.
  • Report push and fetch transfers consistently, including file counts, transferred bytes, and elapsed time. File delivery remains distinct from application readiness.
  • Fix pushes to persistent workspaces with named caches incorrectly reporting a changed selection policy.
  • Require explicit recovery for interrupted automatic applies and expose recovery state in status and diagnostics.
  • Harden release source validation and CI cache isolation; update golang.org/x/sys.

Upgrade with brew update and brew upgrade lydakis/errand/errand. On runners, run errand setup when idle from a terminal outside an Errand job to adopt the installed version.

Existing exact named-cache declarations remain supported. Switching a declaration to a directory group creates new cache identities; persistent workspace bindings remain fixed until the workspace is recreated.

Full changes: v0.4.1...v0.4.2

v0.4.1

Choose a tag to compare

@github-actions github-actions released this 12 Sep 02:34

No usage telemetry

Errand no longer collects or sends usage analytics. This release removes the PostHog sender, installation identifiers, first-run notices, configuration controls, and telemetry hooks in command startup, job admission, and exit.

There is no opt-in switch or analytics delivery wait. Job execution, runner selection, and fetch/apply behavior are unchanged.

Upgrade

If your personal ~/.config/errand/config.toml contains a [telemetry] table, remove that table before upgrading. Configuration remains strict, so removed settings are rejected. Old ERRAND_TELEMETRY and ERRAND_TELEMETRY_DEBUG environment variables have no effect in this release.

brew update
brew upgrade lydakis/errand/errand

On each runner, run errand setup when idle to adopt the installed binary. Client-only machines need no setup.

Old telemetry-id and telemetry-id.notice files beside personal configuration are unused and may be deleted manually. Older installed versions still contain their original telemetry behavior until upgraded.

See the upgrade guide for details.

Full changelog: v0.4.0...v0.4.1

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 12 Sep 01:50

What's new

  • Choose a runner by requirements. errand --where 'os=linux,go' -- go test ./... selects among your configured runners using their capabilities and available job capacity. Save requirements in configuration or profiles, and inspect selection with errand config and errand doctor.
  • Faster job startup. Reduce snapshot-selection work and runner preparation overhead, with filesystem-capability-based cloning and copying.
  • Reuse installed dependency trees. Named caches preserve real directory trees, including node_modules, across jobs. Independent workspaces can share a cache concurrently. See the cache guide for pnpm setup and shared-file behavior.
  • More reliable workspace transfers. Separate transfer and download locks so retained-result retrieval does not block workspace operations unnecessarily.
  • Clearer documentation. The README introduces runner selection; the roadmap records completed work and keeps speculative features deferred.

Upgrade

brew update
brew upgrade lydakis/errand/errand

On each runner, run errand setup when jobs are idle to adopt the installed version. Client-only machines need no setup. Update clients and runners together; errand peers shows the running daemon versions.

Daemons on 0.2.1 or earlier must be stopped before upgrading. Follow the manual upgrade instructions.

Full changelog: v0.3.0...v0.4.0