diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 025fbbe7..2c2469a6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,9 +41,9 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - - uses: jdx/mise-action@d5574b52816a478f9d4e6529a3f6ff17a8a36785 # v5.2.8 + - uses: jdx/mise-action@90f833d396d0cc3674b631d2d225e306476c303a # v5.2.10 with: - version: 2026.11.8 + version: 2026.11.10 # npm's downloads for the docs' diagrams (lint:docs runs docs:diagrams), keyed on the lock. npm ci # checks each package against the lock's integrity, and the Docs workflow, which publishes, keeps # no cache. @@ -67,9 +67,9 @@ jobs: with: persist-credentials: false # Only Go and govulncheck, cached apart from the check jobs' full set. - - uses: jdx/mise-action@d5574b52816a478f9d4e6529a3f6ff17a8a36785 # v5.2.8 + - uses: jdx/mise-action@90f833d396d0cc3674b631d2d225e306476c303a # v5.2.10 with: - version: 2026.11.8 + version: 2026.11.10 install_args: go go:golang.org/x/vuln/cmd/govulncheck cache_key_prefix: mise-v1-vuln # mise run would install the rest of mise.toml's tools first. @@ -90,9 +90,9 @@ jobs: with: persist-credentials: false # Only Go, cached apart from the check jobs' full set. - - uses: jdx/mise-action@d5574b52816a478f9d4e6529a3f6ff17a8a36785 # v5.2.8 + - uses: jdx/mise-action@90f833d396d0cc3674b631d2d225e306476c303a # v5.2.10 with: - version: 2026.11.8 + version: 2026.11.10 install_args: go cache_key_prefix: mise-v1-nocgo - run: go test -count=1 ./internal/landlock/... ./internal/proxy/... @@ -113,9 +113,9 @@ jobs: with: persist-credentials: false # Only Go and nilaway, cached apart from the other jobs' tools. - - uses: jdx/mise-action@d5574b52816a478f9d4e6529a3f6ff17a8a36785 # v5.2.8 + - uses: jdx/mise-action@90f833d396d0cc3674b631d2d225e306476c303a # v5.2.10 with: - version: 2026.11.8 + version: 2026.11.10 install_args: go go:go.uber.org/nilaway/cmd/nilaway cache_key_prefix: mise-v1-nilaway # scripts/nilaway.sh exits 3 on a finding the baseline hasn't, and diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e7132ee5..459fe887 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -57,10 +57,10 @@ jobs: persist-credentials: false # Full history, for each page's last updated date. fetch-depth: 0 - - uses: jdx/mise-action@d5574b52816a478f9d4e6529a3f6ff17a8a36785 # v5.2.8 + - uses: jdx/mise-action@90f833d396d0cc3674b631d2d225e306476c303a # v5.2.10 with: - version: 2026.11.8 - install_args: go hugo-extended node markdownlint-cli2 vale lychee + version: 2026.11.10 + install_args: go hugo node markdownlint-cli2 vale lychee # The workflow publishes, so no job in it reads a cache another run could have written. cache: false # It draws the diagrams first (docs:diagrams), which the build below uses too. @@ -89,10 +89,10 @@ jobs: with: persist-credentials: false fetch-depth: 0 - - uses: jdx/mise-action@d5574b52816a478f9d4e6529a3f6ff17a8a36785 # v5.2.8 + - uses: jdx/mise-action@90f833d396d0cc3674b631d2d225e306476c303a # v5.2.10 with: - version: 2026.11.8 - install_args: go hugo-extended node + version: 2026.11.10 + install_args: go hugo node # What's published is built from no cache. cache: false # The diagrams, drawn before the build (docs/render-diagrams.mjs). @@ -157,10 +157,11 @@ jobs: persist-credentials: false # Full history, for each page's last updated date. fetch-depth: 0 - - uses: jdx/mise-action@d5574b52816a478f9d4e6529a3f6ff17a8a36785 # v5.2.8 + - uses: jdx/mise-action@90f833d396d0cc3674b631d2d225e306476c303a # v5.2.10 with: - version: 2026.11.8 - install_args: go hugo-extended node + version: 2026.11.10 + # No install_args: every tool in the tag's mise.toml, as a tag from before Hugo 0.170 names + # Hugo as hugo-extended. # What's published is built from no cache. cache: false # The tag's diagrams, drawn before the build, when its docs draw them (docs/render-diagrams.mjs); diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 6ec98316..82850c92 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -50,9 +50,9 @@ jobs: tar -xzf "$RUNNER_TEMP/$f" -C "$HOME/.local" echo "$HOME/.local/bin" >> "$GITHUB_PATH" "$HOME/.local/bin/limactl" --version - - uses: jdx/mise-action@d5574b52816a478f9d4e6529a3f6ff17a8a36785 # v5.2.8 + - uses: jdx/mise-action@90f833d396d0cc3674b631d2d225e306476c303a # v5.2.10 with: - version: 2026.11.8 + version: 2026.11.10 # devvm's image keys are computed while it builds, so the cache key # hashes what goes into them that this checkout fixes: assets/, the # pinned tool lock, e2e's Ubuntu release and Lima's version. A stale diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index bc04ea83..c1c35edf 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -68,9 +68,9 @@ jobs: with: persist-credentials: false # Only Go, cached apart from the other workflows' tools. - - uses: jdx/mise-action@d5574b52816a478f9d4e6529a3f6ff17a8a36785 # v5.2.8 + - uses: jdx/mise-action@90f833d396d0cc3674b631d2d225e306476c303a # v5.2.10 with: - version: 2026.11.8 + version: 2026.11.10 install_args: go cache_key_prefix: mise-v1-fuzz # go test keeps a target's corpus in GOCACHE's fuzz folder, under the diff --git a/.github/workflows/pins.yml b/.github/workflows/pins.yml index 31cef13e..919231c4 100644 --- a/.github/workflows/pins.yml +++ b/.github/workflows/pins.yml @@ -26,9 +26,9 @@ jobs: with: persist-credentials: false # mise for the dev tools' newest versions; no tools, as nothing builds. - - uses: jdx/mise-action@d5574b52816a478f9d4e6529a3f6ff17a8a36785 # v5.2.8 + - uses: jdx/mise-action@90f833d396d0cc3674b631d2d225e306476c303a # v5.2.10 with: - version: 2026.11.8 + version: 2026.11.10 install: false cache: false - name: Check the pins diff --git a/.github/workflows/vuln.yml b/.github/workflows/vuln.yml index a6144647..85a8f58c 100644 --- a/.github/workflows/vuln.yml +++ b/.github/workflows/vuln.yml @@ -27,9 +27,9 @@ jobs: with: persist-credentials: false # Only Go and govulncheck. - - uses: jdx/mise-action@d5574b52816a478f9d4e6529a3f6ff17a8a36785 # v5.2.8 + - uses: jdx/mise-action@90f833d396d0cc3674b631d2d225e306476c303a # v5.2.10 with: - version: 2026.11.8 + version: 2026.11.10 install_args: go go:golang.org/x/vuln/cmd/govulncheck cache: false - name: Scan main and the releases diff --git a/assets/layers/base.sh b/assets/layers/base.sh index 11275f8c..2b82826f 100755 --- a/assets/layers/base.sh +++ b/assets/layers/base.sh @@ -4,11 +4,11 @@ set -euxo pipefail : "${devvm_arch:?}" "${devvm_libc:?}" # devvm's prelude (prelude.sh) comes before this script # Pinned downloads (scripts/bump.sh updates them). -mise_version=2026.11.8 -mise_sha256_arm64=0de1450dcc3f838e372e05e8c5231423760ad3f22d14275ef340bc0a250303ce -mise_sha256_amd64=32b6abe844efa43d37d7ac4ed21d2ec41e9479d66feb19b0db8d2c548cd6e36d -mise_sha256_arm64_musl=3febd613b6e49f928acdacda006662cee252f160ebc3fc48f5197260e61dc758 -mise_sha256_amd64_musl=1fe64489a99b6227b7f7e67ae4dd3293c20ecbbcd74b1367456010359383e712 +mise_version=2026.11.10 +mise_sha256_arm64=86ef275d541c5243cd20b1c0fcd16810e5f3601113d8db09278d0608617a3833 +mise_sha256_amd64=b603a4f48563fc379a794d9ea2cf9f709ed276c9141068604cb0c59fa3e674a9 +mise_sha256_arm64_musl=d33f9febe2bfd13213f7fe23ba43fffe133b37737d970680c2aeba66366ff9c2 +mise_sha256_amd64_musl=ae1f7752483862f46f6eb0ffa58d3bdec8d5af8da78d98b0df477466747cba2b git_lfs_version=3.8.1 git_lfs_sha256_arm64=67895dd77b63329796bc5efdd47b57f218e1f7b98717ebaf936a8238dbcaec0f git_lfs_sha256_amd64=e72cf723a4a660438862282e8aecf3885fc8123e88bfcad534cf6b941a354b75 diff --git a/assets/layers/docker.sh b/assets/layers/docker.sh index 7420ccaa..4d6e21e0 100644 --- a/assets/layers/docker.sh +++ b/assets/layers/docker.sh @@ -5,10 +5,10 @@ set -euxo pipefail : "${devvm_libc:?}" # devvm's prelude (prelude.sh) comes before this script # Pinned downloads (scripts/bump.sh updates them). Docker's repository has no snapshots: its packages # are pinned by version. -docker_version=29.9.3 +docker_version=29.10.0 containerd_version=2.4.2 buildx_version=0.39.0 -compose_version=5.7.1 +compose_version=5.8.0 model_version=1.2.9 docker_gpg_sha256=1500c1f56fa9e26b9b8f42452a553675796ade0807cdce11975eb98170b3a570 diff --git a/docs/content/docs/contributing/_index.md b/docs/content/docs/contributing/_index.md index 935fe37b..ad91f4ac 100644 --- a/docs/content/docs/contributing/_index.md +++ b/docs/content/docs/contributing/_index.md @@ -36,7 +36,7 @@ mise installs every tool at the version pinned in `mise.toml`, checked against ` | govulncheck | checking dependencies for known vulnerabilities | | nilaway | finding where a nil value may be dereferenced | | goreleaser | release builds ([Maintaining](maintaining.md#releasing)) | -| hugo-extended | the docs site | +| hugo | the docs site | | vale, markdownlint-cli2, lychee | linting the docs | | node | running markdownlint-cli2, and drawing the docs site's diagrams with pele, which `docs/package.json` pins ([diagrams](docs.md#writing-docs)) | | shellcheck | linting shell scripts | diff --git a/docs/content/docs/contributing/tests.md b/docs/content/docs/contributing/tests.md index a4777431..9ba2e09c 100644 --- a/docs/content/docs/contributing/tests.md +++ b/docs/content/docs/contributing/tests.md @@ -192,7 +192,7 @@ The sections so far: - `from`: run with a `docker` that isn't running, so nothing comes from Docker. Its container images go by their pinned digests, as `node:24@sha256:…`, so devvm looks them up nowhere, except the company proxy's `alpine:3.21`, which keeps its tag so that devvm's registry lookup is checked too. A VM from `node:24` with node, python and Claude Code on the docker and nix layers (Debian 12, in a home of its own) boots, with its base keyed by the pinned digest, its node, python and claude at the locked versions, GNU `tar` as its commands find it, its tool images built in a clone of devvm's own Ubuntu base when the run builds them, the docker layer's Docker from Docker's Debian repository, and the nix layer's Nix under systemd running `nix run nixpkgs#hello` and a build in Nix's sandbox, then, after `devvm network allowlist` and `devvm restart`, transparent mode's checks as the network section has them, and with its service stopped, Lima's DNS and a public server answering nothing; a VM from `alpine:3` with node and dotnet, which its `package.json` and `global.json` call for, on the docker, nix and desktop layers runs node and pnpm from musl tool images, and dotnet's musl SDK with ICU, which makes and runs a console project, built in its own base and keyed and recorded by its digest, the docker layer's Docker on OpenRC, the desktop layer's programs from Alpine's packages, with no crashed services, and the nix layer's Nix as an OpenRC service, with `nix run nixpkgs#hello` and a sandboxed build, then after `devvm network allowlist` and `devvm restart` transparent mode's checks on OpenRC and musl, as for Debian 12, and a download only its daemon makes from a host that isn't allowed refused with the proxy's `403`, and with GNU `tar` as its commands find it, `devvm history import` puts an export into it, while an export with a path outside the agents' history imports nothing there, and on a Linux host, given Lima's `mmap` with no mode chosen, `devvm mount-cache none` gives it `none` at its next start, through the restart that a remount Alpine refuses gets, which devvm's portable check of the folder confirms; base builds from `ubuntu:26.04`; and the build VM and its temporary folders are gone. - `link`: links between VMs, each check the end-to-end proof of a row of the threat check in [the design note](../internals/design.md#links-between-vms). It runs devvm with a soft limit of 256 open files, macOS's default, as the link sessions it starts get that limit too, and it makes two small open targets, each forwarding no port and running servers on its own `127.0.0.1` (`/var/tmp/e2e-link.pl`, in perl, which every base has), and a client that forwards every port. Each of the three reserves the link checks' ports (`ip_local_reserved_ports`), so Linux never gives one to a connection's own end, where a connection that just ended would hold it for a minute and a later server or `ssh -R` couldn't bind it. `sshd -T` in each VM shows remote forwards allowed on `127.77.*:*` alone, at the address the host asks for, and the client's own Lima rules ignore every port. A port the target doesn't publish is refused by `devvm link add`, and once a port is published, `devvm link add` on the running client reaches it within seconds as `NAME:PORT` and `NAME.devvm.internal:PORT`, by curl and by a raw TCP client (bash's `/dev/tcp`), while with `--as NAME` the target's folder name doesn't resolve. Two targets on one port are each reached by their own name, port 80 is linked on port 80, `devvm link` and `devvm link publish` list what they hold with `"version": 1` in their `--json`, and `devvm network allowlist` is refused for the client while it links to open targets. A published port that isn't linked has nothing listening for it, `devvm link unpublish` refuses the link's next connection, logs it and names the client, and `devvm link rm` takes the listener away within seconds. In the client, sshd listens only on its own port and the links' addresses, and nothing from a link listens on `127.0.0.1`, `::1` or every address, so this machine gets no forward of a link, while a server of the client's own on `127.0.0.1` with a link's port is forwarded as usual. Each link's socket is mode 600 in the run folder of mode 700, and the link session and every process it starts listen on no TCP port and connect only to the VMs' ssh ports. `ssh -R` into the client binds nothing outside `127.77.0.0/16` (`rfwd_links`). A program in the client that holds a link's address first fails that link alone with `link_port_taken`, 256 connections at once, past the socket's backlog of 128 on macOS, are all carried, and a 257th is refused and logged as `link_limit`. Root in the client then loosens its sshd and the link session connects again: with `PermitListen any` the client binds only the links' addresses, because the host asks for nothing else, and with `GatewayPorts yes` too, the link session still listens on no TCP port of this machine and connects only to the VMs' sshd. `devvm network log` shows the links' connections and refusals. A stopped target refuses the connection, logs `link_target_stopped` and stays stopped, and the client's launch warns of it. Once it's restarted, the link works again. `devvm rm` of the target removes the client's link, names the client and removes its sockets, and a VM made again in that folder isn't linked. Then the client and one target get the allowlist tier, the target while it runs. Until the target restarts, `devvm ls` shows it `unenforced`, the client's next connection is refused and logged as `unenforced` while the target's server runs, and `devvm link add` and the client's launch warn of it (`link_target_unenforced`). Once both have restarted, the client reaches its link by curl through its proxy settings and by a raw TCP client while a direct connection fails. A link added while the client runs is reached at once by curl through its proxy, by `GET` and `CONNECT`, with no link name in `NO_PROXY` and the client's boot and host keys unchanged, and the client's proxy refuses names, ports and addresses that aren't on its own list, while the target's proxy refuses the client's link name. `devvm link add` refuses an open target, `devvm network open` is refused for the target, and with the rule broken by hand in the target's state the next connection is refused and the client's launch warns and runs without the link until the rule holds again. In the `--from` tier, an Alpine client reaches its link to port 80. `devvm rm` of the client leaves no link session, socket, pid file, log or link state. -Every section but `tools` uses the shared tools' versions pinned in `tests/e2e-mise.lock`, for both architectures' glibc and musl VMs, and the `--from` checks start from container images pinned by digest in `tests/e2e/from_test.go` (`fromNodeDigest`, `fromAlpineDigest` and `fromUbuntuDigest`). The images built from them stay valid until a pin moves. base starts from the dated release of Ubuntu's cloud image that `e2eUbuntuRelease` in `tests/e2e/sandbox_test.go` names, given to devvm as `DEVVM_UBUNTU_RELEASE`, in place of the newest that a user's devvm pins, so base's key stays the same between runs and on every machine of one architecture. Its packages are those its key recorded at its first build in the sandbox, which stay in the sandbox's package cache through `--clean`, so base built again under the same key installs the same packages until `assets/` or the release changes its key. `scripts/bump.sh e2e-tools` moves the lock to upstream's newest versions, resolved with devvm's pinned host mise, `scripts/bump.sh e2e-from` moves the digests to what Docker Hub has for each tag, and `scripts/bump.sh e2e-ubuntu` moves the release to the newest Ubuntu lists; `scripts/bump.sh --check` shows them against upstream. The lock's first line is the SHA-256 of the `assets/shared-tools/mise.toml` it was resolved from, and a run stops at once when that file has changed since, until `scripts/bump.sh e2e-tools` resolves the lock again. +Every section but `tools` uses the shared tools' versions pinned in `tests/e2e-mise.lock`, for both architectures' glibc and musl VMs, and the `--from` checks start from container images pinned by digest in `tests/e2e/from_test.go` (`fromNodeDigest`, `fromAlpineDigest` and `fromUbuntuDigest`). The images built from them stay valid until a pin moves. base starts from the dated release of Ubuntu's cloud image that `e2eUbuntuRelease` in `tests/e2e/sandbox_test.go` names, given to devvm as `DEVVM_UBUNTU_RELEASE`, in place of the newest that a user's devvm pins, so base's key stays the same between runs and on every machine of one architecture. devvm keeps a release it has pinned, so when the sandbox's pin names another release, after `scripts/bump.sh e2e-ubuntu` moves `e2eUbuntuRelease`, the run deletes that pin before its first section, and the next build pins `e2eUbuntuRelease`. Its packages are those its key recorded at its first build in the sandbox, which stay in the sandbox's package cache through `--clean`, so base built again under the same key installs the same packages until `assets/` or the release changes its key. `scripts/bump.sh e2e-tools` moves the lock to upstream's newest versions, resolved with devvm's pinned host mise, `scripts/bump.sh e2e-from` moves the digests to what Docker Hub has for each tag, and `scripts/bump.sh e2e-ubuntu` moves the release to the newest Ubuntu lists; `scripts/bump.sh --check` shows them against upstream. The lock's first line is the SHA-256 of the `assets/shared-tools/mise.toml` it was resolved from, and a run stops at once when that file has changed since, until `scripts/bump.sh e2e-tools` resolves the lock again. base, the `--from` bases and the shared tool images stay cached between runs, except what a rebuild or gc deletes: every stale image in the sandbox (other selections' bases, whose features differ, among them) and every unused tool image (an earlier `from` run's musl ones, and the `tools` section's newest versions where they differ from the pins); every other VM a run makes is deleted at its end, and its project folders are unlocked and deleted. Each check prints `[n/N]`, how long it took and the time left as the last complete run of each of its sections measured it, and a heartbeat every minute shows the latest output. e2e keeps each section's times in a file of its own in slot 0's state folder, `timings/plain/SECTION`, or `timings/features/SECTION` for a run whose base has every feature, because that run also checks base's features. So a run of any selection, in any slot, estimates from and compares with the sections it runs. A check fails on its first failure, except the few marked `Flaky`, which flake on timing, such as the network section's check that the proxy's password was in no host process's arguments, and the link section's 256-connection check and its stopped-target check. When one of these fails, e2e shows its output and runs it once more, and a second failure fails it. Its result says `retried once`, its line in the timings has a third field, `retried`, and the summary counts the retried checks and names each one. A check a run has nothing for is counted as `SKIP`: base's features, with base cached. A section that runs fewer checks than its last complete run with the same `tests/e2e` Go files fails the run, because an error ended it early, and e2e keeps the times it had. After you edit those files, each section's first complete run sets the count the next runs compare with. Checks look for devvm's messages with `devvm _msg`, never by their wording. The Go tests that need a real VM or desktop, `TestE2EExecQuoting`, `TestE2ESelfCheck` and `TestE2EDesktop`, skip unless their `DEVVM_E2E_*` variables are set, and e2e runs each of them through `s.GoE2E`, which sets those variables in the test's environment, so a value such as the desktop's password is in no process's arguments. diff --git a/docs/hugo.yaml b/docs/hugo.yaml index f43d6264..fdb00cbe 100644 --- a/docs/hugo.yaml +++ b/docs/hugo.yaml @@ -11,7 +11,6 @@ enableGitInfo: true module: hugoVersion: - extended: true min: "0.146.0" imports: - path: github.com/imfing/hextra diff --git a/internal/tools/mise.go b/internal/tools/mise.go index b073a4e1..6f565092 100644 --- a/internal/tools/mise.go +++ b/internal/tools/mise.go @@ -24,13 +24,13 @@ import ( // The mise devvm resolves the tools lock with, on the host: pinned, and // checked against its checksum before it runs. -const miseVersion = "2026.11.8" +const miseVersion = "2026.11.10" var miseSHA256 = map[string]string{ - "macos-arm64": "3e390ecbcf7f03e91e72c920a248a0f149f00d77ae95d37ea1736a1c7b42fee6", - "macos-x64": "efedda14eb491af096dc27daaccfd5c57caaf77f1b79c5e387b8a091b8938f66", - "linux-arm64": "0de1450dcc3f838e372e05e8c5231423760ad3f22d14275ef340bc0a250303ce", - "linux-x64": "32b6abe844efa43d37d7ac4ed21d2ec41e9479d66feb19b0db8d2c548cd6e36d", + "macos-arm64": "3f4ba9d21c6f2170048d0870fd98ab287e04730b76a6fc8e83964d59c80eb704", + "macos-x64": "7eab8054d301b75dcbd93440ff184bee6864d95799cfdc4a00ce858313b68783", + "linux-arm64": "86ef275d541c5243cd20b1c0fcd16810e5f3601113d8db09278d0608617a3833", + "linux-x64": "b603a4f48563fc379a794d9ea2cf9f709ed276c9141068604cb0c59fa3e674a9", } const miseURL = "https://github.com/jdx/mise/releases/download/v%[1]s/mise-v%[1]s-%[2]s" diff --git a/mise.lock b/mise.lock index d9db96e8..3725964b 100644 --- a/mise.lock +++ b/mise.lock @@ -88,9 +88,9 @@ backend = "go:go.uber.org/nilaway/cmd/nilaway" specifiers = ["0.0.0-20261112030514-ccd005690d1e"] [[tools."go:golang.org/x/vuln/cmd/govulncheck"]] -version = "1.9.0" +version = "1.10.0" backend = "go:golang.org/x/vuln/cmd/govulncheck" -specifiers = ["1.9.0"] +specifiers = ["1.10.0"] [[tools.golangci-lint]] version = "2.15.0" @@ -226,52 +226,52 @@ checksum = "sha256:fd5a6dc69e46a0970593e70d85a7e75f16714e9c61d6d72ccc324eb82df5b url = "https://github.com/gotestyourself/gotestsum/releases/download/v1.13.0/gotestsum_1.13.0_windows_amd64.tar.gz" url_api = "https://api.github.com/repos/gotestyourself/gotestsum/releases/assets/291996823" -[[tools.hugo-extended]] -version = "0.169.0" -backend = "aqua:gohugoio/hugo/hugo-extended" -specifiers = ["0.169.0"] +[[tools.hugo]] +version = "0.170.1" +backend = "aqua:gohugoio/hugo" +specifiers = ["0.170.1"] -[tools.hugo-extended."platforms.linux-arm64"] -checksum = "sha256:5b190e5d2836c09efe25cc6249f70bde8a6c5331ef412a4c9137e9d5de89a515" +[tools.hugo."platforms.linux-arm64"] +checksum = "sha256:6f57f13bc47c000c0d36c7f5a446d6c06f7956d8e102cc2a13735e0c0225b2d2" checksum_source = "mise-versions" -url = "https://github.com/gohugoio/hugo/releases/download/v0.169.0/hugo_extended_0.169.0_linux-arm64.tar.gz" -url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/682125186" +url = "https://github.com/gohugoio/hugo/releases/download/v0.170.1/hugo_0.170.1_linux-arm64.tar.gz" +url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/759871399" -[tools.hugo-extended."platforms.linux-arm64-musl"] -checksum = "sha256:5b190e5d2836c09efe25cc6249f70bde8a6c5331ef412a4c9137e9d5de89a515" +[tools.hugo."platforms.linux-arm64-musl"] +checksum = "sha256:6f57f13bc47c000c0d36c7f5a446d6c06f7956d8e102cc2a13735e0c0225b2d2" checksum_source = "mise-versions" -url = "https://github.com/gohugoio/hugo/releases/download/v0.169.0/hugo_extended_0.169.0_linux-arm64.tar.gz" -url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/682125186" +url = "https://github.com/gohugoio/hugo/releases/download/v0.170.1/hugo_0.170.1_linux-arm64.tar.gz" +url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/759871399" -[tools.hugo-extended."platforms.linux-x64"] -checksum = "sha256:c41672a0725d307758a132bc94a962e59760eb33f9ba08c991b81f9881d6fa7d" +[tools.hugo."platforms.linux-x64"] +checksum = "sha256:841a5462853aefc9942e4de1e8a5d75584b6a5181941e6ad3f1d745190e03cd8" checksum_source = "mise-versions" -url = "https://github.com/gohugoio/hugo/releases/download/v0.169.0/hugo_extended_0.169.0_linux-amd64.tar.gz" -url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/682125110" +url = "https://github.com/gohugoio/hugo/releases/download/v0.170.1/hugo_0.170.1_linux-amd64.tar.gz" +url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/759871396" -[tools.hugo-extended."platforms.linux-x64-musl"] -checksum = "sha256:c41672a0725d307758a132bc94a962e59760eb33f9ba08c991b81f9881d6fa7d" +[tools.hugo."platforms.linux-x64-musl"] +checksum = "sha256:841a5462853aefc9942e4de1e8a5d75584b6a5181941e6ad3f1d745190e03cd8" checksum_source = "mise-versions" -url = "https://github.com/gohugoio/hugo/releases/download/v0.169.0/hugo_extended_0.169.0_linux-amd64.tar.gz" -url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/682125110" +url = "https://github.com/gohugoio/hugo/releases/download/v0.170.1/hugo_0.170.1_linux-amd64.tar.gz" +url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/759871396" -[tools.hugo-extended."platforms.macos-arm64"] -checksum = "sha256:d48dfd5adab308f941e83e48c5ba925747cf383395972278942cf526ad27cf38" +[tools.hugo."platforms.macos-arm64"] +checksum = "sha256:f7672f5e47f13c488ecd9ae96450ed9d2044629d60fe23570312e896c1918d73" checksum_source = "mise-versions" -url = "https://github.com/gohugoio/hugo/releases/download/v0.169.0/hugo_extended_0.169.0_darwin-universal.pkg" -url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/682125254" +url = "https://github.com/gohugoio/hugo/releases/download/v0.170.1/hugo_0.170.1_darwin-universal.pkg" +url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/759871553" -[tools.hugo-extended."platforms.macos-x64"] -checksum = "sha256:d48dfd5adab308f941e83e48c5ba925747cf383395972278942cf526ad27cf38" +[tools.hugo."platforms.macos-x64"] +checksum = "sha256:f7672f5e47f13c488ecd9ae96450ed9d2044629d60fe23570312e896c1918d73" checksum_source = "mise-versions" -url = "https://github.com/gohugoio/hugo/releases/download/v0.169.0/hugo_extended_0.169.0_darwin-universal.pkg" -url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/682125254" +url = "https://github.com/gohugoio/hugo/releases/download/v0.170.1/hugo_0.170.1_darwin-universal.pkg" +url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/759871553" -[tools.hugo-extended."platforms.windows-x64"] -checksum = "sha256:396b4c8326dc2dd61c2618f825042781c5ea43e1ac1375a2204a9fde4e98b84c" +[tools.hugo."platforms.windows-x64"] +checksum = "sha256:e4a8bec642b5d18f451452fafb318bbb6b7f09e5208f3dca76a204c888c9e072" checksum_source = "mise-versions" -url = "https://github.com/gohugoio/hugo/releases/download/v0.169.0/hugo_extended_0.169.0_windows-amd64.zip" -url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/682125356" +url = "https://github.com/gohugoio/hugo/releases/download/v0.170.1/hugo_0.170.1_windows-amd64.zip" +url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/759871573" [[tools.lychee]] version = "0.24.2" @@ -422,51 +422,51 @@ url = "https://github.com/koalaman/shellcheck/releases/download/v0.11.0/shellche url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/279056944" [[tools.vale]] -version = "3.26.0" +version = "3.27.0" backend = "aqua:vale-cli/vale" -specifiers = ["3.26.0"] +specifiers = ["3.27.0"] [tools.vale."platforms.linux-arm64"] -checksum = "sha256:3154179f4611140c9af54a8b3bc6a90bc02b73fe6c1f635369604dde0490406d" +checksum = "sha256:dcaee812fd892c5750702d16ed348a1f7113be57c73cf36fe9e016c789cae6e2" checksum_source = "mise-versions" -url = "https://github.com/vale-cli/vale/releases/download/v3.26.0/vale_3.26.0_Linux_arm64.tar.gz" -url_api = "https://api.github.com/repos/vale-cli/vale/releases/assets/695681932" +url = "https://github.com/vale-cli/vale/releases/download/v3.27.0/vale_3.27.0_Linux_arm64.tar.gz" +url_api = "https://api.github.com/repos/vale-cli/vale/releases/assets/740781556" [tools.vale."platforms.linux-arm64-musl"] -checksum = "sha256:3154179f4611140c9af54a8b3bc6a90bc02b73fe6c1f635369604dde0490406d" +checksum = "sha256:dcaee812fd892c5750702d16ed348a1f7113be57c73cf36fe9e016c789cae6e2" checksum_source = "mise-versions" -url = "https://github.com/vale-cli/vale/releases/download/v3.26.0/vale_3.26.0_Linux_arm64.tar.gz" -url_api = "https://api.github.com/repos/vale-cli/vale/releases/assets/695681932" +url = "https://github.com/vale-cli/vale/releases/download/v3.27.0/vale_3.27.0_Linux_arm64.tar.gz" +url_api = "https://api.github.com/repos/vale-cli/vale/releases/assets/740781556" [tools.vale."platforms.linux-x64"] -checksum = "sha256:22aa69a556558e4a9dfc63c17030777383d8d3c48dcdfad655fa98e839d666ed" +checksum = "sha256:c80d62f6bce87b81843ac5b512a26e63213927b957adba0a64fc594570da2000" checksum_source = "mise-versions" -url = "https://github.com/vale-cli/vale/releases/download/v3.26.0/vale_3.26.0_Linux_64-bit.tar.gz" -url_api = "https://api.github.com/repos/vale-cli/vale/releases/assets/695681930" +url = "https://github.com/vale-cli/vale/releases/download/v3.27.0/vale_3.27.0_Linux_64-bit.tar.gz" +url_api = "https://api.github.com/repos/vale-cli/vale/releases/assets/740781554" [tools.vale."platforms.linux-x64-musl"] -checksum = "sha256:22aa69a556558e4a9dfc63c17030777383d8d3c48dcdfad655fa98e839d666ed" +checksum = "sha256:c80d62f6bce87b81843ac5b512a26e63213927b957adba0a64fc594570da2000" checksum_source = "mise-versions" -url = "https://github.com/vale-cli/vale/releases/download/v3.26.0/vale_3.26.0_Linux_64-bit.tar.gz" -url_api = "https://api.github.com/repos/vale-cli/vale/releases/assets/695681930" +url = "https://github.com/vale-cli/vale/releases/download/v3.27.0/vale_3.27.0_Linux_64-bit.tar.gz" +url_api = "https://api.github.com/repos/vale-cli/vale/releases/assets/740781554" [tools.vale."platforms.macos-arm64"] -checksum = "sha256:a6c3370f53bad93086c6b85f3163676e44e08049d69743afdcc13f3aab5b7482" +checksum = "sha256:91bcd6352a832e5995a61dde73ee6367c5006669c6efa4091e0404ec8d7dd7e3" checksum_source = "mise-versions" -url = "https://github.com/vale-cli/vale/releases/download/v3.26.0/vale_3.26.0_macOS_arm64.tar.gz" -url_api = "https://api.github.com/repos/vale-cli/vale/releases/assets/695682018" +url = "https://github.com/vale-cli/vale/releases/download/v3.27.0/vale_3.27.0_macOS_arm64.tar.gz" +url_api = "https://api.github.com/repos/vale-cli/vale/releases/assets/740781550" [tools.vale."platforms.macos-x64"] -checksum = "sha256:df42b317be6ece6a6a70d06b952deec581d047046eb93ea4632f58da56a86ff9" +checksum = "sha256:0288ab603ee6d67240ac5b97e67b0915efcfc28bb33f212a885110a2a5a6e2bc" checksum_source = "mise-versions" -url = "https://github.com/vale-cli/vale/releases/download/v3.26.0/vale_3.26.0_macOS_64-bit.tar.gz" -url_api = "https://api.github.com/repos/vale-cli/vale/releases/assets/695681994" +url = "https://github.com/vale-cli/vale/releases/download/v3.27.0/vale_3.27.0_macOS_64-bit.tar.gz" +url_api = "https://api.github.com/repos/vale-cli/vale/releases/assets/740781555" [tools.vale."platforms.windows-x64"] -checksum = "sha256:c42f4b413aa29b6b36fa4e3ac0c18322588a54ac860db4c84b8255997f7d1ec2" +checksum = "sha256:26e61cc58ac4180866d068dc2325d2625560c8cc518de7e7b5523211a5ab0cbc" checksum_source = "mise-versions" -url = "https://github.com/vale-cli/vale/releases/download/v3.26.0/vale_3.26.0_Windows_64-bit.zip" -url_api = "https://api.github.com/repos/vale-cli/vale/releases/assets/695681931" +url = "https://github.com/vale-cli/vale/releases/download/v3.27.0/vale_3.27.0_Windows_64-bit.zip" +url_api = "https://api.github.com/repos/vale-cli/vale/releases/assets/740781617" [[tools.zizmor]] version = "1.32.0" diff --git a/mise.toml b/mise.toml index 4b1307c2..9d1b6d89 100644 --- a/mise.toml +++ b/mise.toml @@ -8,12 +8,12 @@ CGO_ENABLED = "0" go = "1.27.4" golangci-lint = "2.15.0" gotestsum = "1.13.0" -"go:golang.org/x/vuln/cmd/govulncheck" = "1.9.0" +"go:golang.org/x/vuln/cmd/govulncheck" = "1.10.0" # nilaway has no releases: a pseudo-version, its newest commit's. "go:go.uber.org/nilaway/cmd/nilaway" = "0.0.0-20261112030514-ccd005690d1e" goreleaser = "2.20.2" -hugo-extended = "0.169.0" -vale = "3.26.0" +hugo = "0.170.1" +vale = "3.27.0" lychee = "0.24.2" node = "24.22.3" markdownlint-cli2 = "0.24.1" @@ -117,7 +117,7 @@ run = "GOOS=linux scripts/nilaway.sh" [tasks.deadcode] description = "List functions nothing calls" -run = "go run golang.org/x/tools/cmd/deadcode@v0.52.0 ./..." +run = "go run golang.org/x/tools/cmd/deadcode@v0.53.0 ./..." [tasks.cli-docs] description = "Generate the CLI reference (docs/content/docs/cli) and the pages' generated blocks" diff --git a/tests/e2e-mise.lock b/tests/e2e-mise.lock index ab6ee4a9..52a98540 100644 --- a/tests/e2e-mise.lock +++ b/tests/e2e-mise.lock @@ -33,62 +33,62 @@ checksum = "sha256:6e9c37098b293920aed28bfb51ab240e26d23bfdd9bbfecb3ad428ac16654 url = "https://github.com/oven-sh/bun/releases/download/bun-v1.4.4/bun-linux-x64-musl-baseline.zip" [[tools.claude]] -version = "2.1.322" +version = "2.1.326" backend = "aqua:anthropics/claude-code" specifiers = ["latest"] [tools.claude."platforms.linux-arm64"] -checksum = "sha256:65c1ad35e804ef463f34585d0c080afd4bf2e9018c7bad1f29efb8df4e9c3750" +checksum = "sha256:61d9c24ad8aa6356e076753760641521d8c85f3e37a3641412eaae4d5885141f" checksum_source = "mise-versions" -url = "https://github.com/anthropics/claude-code/releases/download/v2.1.322/claude-linux-arm64.tar.gz" -url_api = "https://api.github.com/repos/anthropics/claude-code/releases/assets/729756936" +url = "https://github.com/anthropics/claude-code/releases/download/v2.1.326/claude-linux-arm64.tar.gz" +url_api = "https://api.github.com/repos/anthropics/claude-code/releases/assets/756011682" [tools.claude."platforms.linux-arm64-musl"] -checksum = "sha256:6a76c3d064b1f9af9995402a6e50498a7491eba15f48c98e0119a13b88bc2c19" +checksum = "sha256:c48b1f6e2fe0e521a5f5ce936abd8dcac34ed497b151542ab997f5796308be86" checksum_source = "mise-versions" -url = "https://github.com/anthropics/claude-code/releases/download/v2.1.322/claude-linux-arm64-musl.tar.gz" -url_api = "https://api.github.com/repos/anthropics/claude-code/releases/assets/729756940" +url = "https://github.com/anthropics/claude-code/releases/download/v2.1.326/claude-linux-arm64-musl.tar.gz" +url_api = "https://api.github.com/repos/anthropics/claude-code/releases/assets/756011685" [tools.claude."platforms.linux-x64"] -checksum = "sha256:3d2bc5ae54d4d4cd63510e9fcca5b6d48d2b18806708df8c8f691aa486c5dca8" +checksum = "sha256:30f5542005d138d74eaba6af8de7a6678e71e87dc4ba929435ac2ff9011d5a53" checksum_source = "mise-versions" -url = "https://github.com/anthropics/claude-code/releases/download/v2.1.322/claude-linux-x64.tar.gz" -url_api = "https://api.github.com/repos/anthropics/claude-code/releases/assets/729757174" +url = "https://github.com/anthropics/claude-code/releases/download/v2.1.326/claude-linux-x64.tar.gz" +url_api = "https://api.github.com/repos/anthropics/claude-code/releases/assets/756012058" [tools.claude."platforms.linux-x64-musl"] -checksum = "sha256:28a7eca835d0da7a2c70d8bb4aea62e90cc7446b30a4f21505390fe9957fd58c" +checksum = "sha256:b1d3cedcaf268905289bced2edc2cb046a8fae95194750df3665a1ca5b895efe" checksum_source = "mise-versions" -url = "https://github.com/anthropics/claude-code/releases/download/v2.1.322/claude-linux-x64-musl.tar.gz" -url_api = "https://api.github.com/repos/anthropics/claude-code/releases/assets/729756935" +url = "https://github.com/anthropics/claude-code/releases/download/v2.1.326/claude-linux-x64-musl.tar.gz" +url_api = "https://api.github.com/repos/anthropics/claude-code/releases/assets/756011683" [[tools.codex]] -version = "0.167.2" +version = "0.169.1" backend = "aqua:openai/codex" specifiers = ["latest"] [tools.codex."platforms.linux-arm64"] -checksum = "sha256:56b08c1214e062a5b61684bacb5033c4372a01062a47c87c49a32be83af70695" +checksum = "sha256:3de502ad37d6f58e4dbc917d76ccbc8f3c16a4084cfaa78afadaf6c86559bcec" checksum_source = "mise-versions" -url = "https://github.com/openai/codex/releases/download/rust-v0.167.2/codex-package-aarch64-unknown-linux-musl.tar.gz" -url_api = "https://api.github.com/repos/openai/codex/releases/assets/737166959" +url = "https://github.com/openai/codex/releases/download/rust-v0.169.1/codex-package-aarch64-unknown-linux-musl.tar.gz" +url_api = "https://api.github.com/repos/openai/codex/releases/assets/760857421" [tools.codex."platforms.linux-arm64-musl"] -checksum = "sha256:56b08c1214e062a5b61684bacb5033c4372a01062a47c87c49a32be83af70695" +checksum = "sha256:3de502ad37d6f58e4dbc917d76ccbc8f3c16a4084cfaa78afadaf6c86559bcec" checksum_source = "mise-versions" -url = "https://github.com/openai/codex/releases/download/rust-v0.167.2/codex-package-aarch64-unknown-linux-musl.tar.gz" -url_api = "https://api.github.com/repos/openai/codex/releases/assets/737166959" +url = "https://github.com/openai/codex/releases/download/rust-v0.169.1/codex-package-aarch64-unknown-linux-musl.tar.gz" +url_api = "https://api.github.com/repos/openai/codex/releases/assets/760857421" [tools.codex."platforms.linux-x64"] -checksum = "sha256:3d77be1748d35a4bb0e7f8752cde3b11890c63338e8c599f01eafa4a59e17b3d" +checksum = "sha256:738df5b3182e2b858a48143f0c2fff288d8dd200330dadfe4c5c9f3eac7e2244" checksum_source = "mise-versions" -url = "https://github.com/openai/codex/releases/download/rust-v0.167.2/codex-package-x86_64-unknown-linux-musl.tar.gz" -url_api = "https://api.github.com/repos/openai/codex/releases/assets/737172355" +url = "https://github.com/openai/codex/releases/download/rust-v0.169.1/codex-package-x86_64-unknown-linux-musl.tar.gz" +url_api = "https://api.github.com/repos/openai/codex/releases/assets/760865678" [tools.codex."platforms.linux-x64-musl"] -checksum = "sha256:3d77be1748d35a4bb0e7f8752cde3b11890c63338e8c599f01eafa4a59e17b3d" +checksum = "sha256:738df5b3182e2b858a48143f0c2fff288d8dd200330dadfe4c5c9f3eac7e2244" checksum_source = "mise-versions" -url = "https://github.com/openai/codex/releases/download/rust-v0.167.2/codex-package-x86_64-unknown-linux-musl.tar.gz" -url_api = "https://api.github.com/repos/openai/codex/releases/assets/737172355" +url = "https://github.com/openai/codex/releases/download/rust-v0.169.1/codex-package-x86_64-unknown-linux-musl.tar.gz" +url_api = "https://api.github.com/repos/openai/codex/releases/assets/760865678" [[tools.cursor]] version = "2026.11.11-b912975" @@ -175,32 +175,32 @@ checksum = "sha256:2db4f8a40abe5f5b5d119964223fedc9c4c7c5e7c632901ae860af522c784 url = "https://unofficial-builds.nodejs.org/download/release/v24.22.3/node-v24.22.3-linux-x64-musl.tar.gz" [[tools.opencode]] -version = "2.2.7" +version = "2.3.0" backend = "github:anomalyco/opencode" specifiers = ["2"] [tools.opencode."platforms.linux-arm64"] -checksum = "sha256:c1682057f0815cb2abdd6e00305f1146ebaf1c167f0335cdb74ddc80008120e7" -url = "https://github.com/anomalyco/opencode/releases/download/v2.2.7/opencode-linux-arm64.tar.gz" -url_api = "https://api.github.com/repos/anomalyco/opencode/releases/assets/731038368" +checksum = "sha256:3207fb5cdec448d479242c0f1a14f4f7bdfcad3a79209b5eb8f9003725e93711" +url = "https://github.com/anomalyco/opencode/releases/download/v2.3.0/opencode-linux-arm64.tar.gz" +url_api = "https://api.github.com/repos/anomalyco/opencode/releases/assets/742964968" provenance = "github-attestations" [tools.opencode."platforms.linux-arm64-musl"] -checksum = "sha256:a03405f94ae02db7acb0870cf32030bab86460dc7faf524780e9cae305526b96" -url = "https://github.com/anomalyco/opencode/releases/download/v2.2.7/opencode-linux-arm64-musl.tar.gz" -url_api = "https://api.github.com/repos/anomalyco/opencode/releases/assets/731038192" +checksum = "sha256:a0c7a2cbde0f888fe784e31170332f738db1f110509dc3981f5a2760c6323c40" +url = "https://github.com/anomalyco/opencode/releases/download/v2.3.0/opencode-linux-arm64-musl.tar.gz" +url_api = "https://api.github.com/repos/anomalyco/opencode/releases/assets/742964958" provenance = "github-attestations" [tools.opencode."platforms.linux-x64"] -checksum = "sha256:89a6cee227b54bc011179c528a5e63176032462b1a5e21723b616801cddc2ca7" -url = "https://github.com/anomalyco/opencode/releases/download/v2.2.7/opencode-linux-x64.tar.gz" -url_api = "https://api.github.com/repos/anomalyco/opencode/releases/assets/731038589" +checksum = "sha256:fc0f81522aceeabac47693d88389efa2bc517ce74c2c38fd6967819fcc6e4d3b" +url = "https://github.com/anomalyco/opencode/releases/download/v2.3.0/opencode-linux-x64.tar.gz" +url_api = "https://api.github.com/repos/anomalyco/opencode/releases/assets/742965383" provenance = "github-attestations" [tools.opencode."platforms.linux-x64-musl"] -checksum = "sha256:c1801a36bf61e03eafac8d7f4521a200e4d3cd76cf43b36621cb78b460b851ee" -url = "https://github.com/anomalyco/opencode/releases/download/v2.2.7/opencode-linux-x64-musl.tar.gz" -url_api = "https://api.github.com/repos/anomalyco/opencode/releases/assets/731038510" +checksum = "sha256:dcefa5e90cbd3dc37f7d9741854854021b4b4d495644a6c2bfaf5b0c1634c986" +url = "https://github.com/anomalyco/opencode/releases/download/v2.3.0/opencode-linux-x64-musl.tar.gz" +url_api = "https://api.github.com/repos/anomalyco/opencode/releases/assets/742965244" provenance = "github-attestations" [[tools.pi]] @@ -233,32 +233,32 @@ url = "https://github.com/earendil-works/pi/releases/download/v1.5.2/pi-linux-x6 url_api = "https://api.github.com/repos/earendil-works/pi/releases/assets/731292534" [[tools.pnpm]] -version = "12.18.0" +version = "12.21.0" backend = "aqua:pnpm/pnpm" specifiers = ["latest"] [tools.pnpm."platforms.linux-arm64"] -checksum = "sha256:700bd1aa4028465b80e62b7c5bec8455be60bbafaf53a3262a4ab8e2057712ac" -url = "https://github.com/pnpm/pnpm/releases/download/v12.18.0/pnpm-linux-arm64.tar.gz" -url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/711505548" +checksum = "sha256:6c5913a48c93b3a556b71c3bd9bf12c6bf9fbfbbbd2dcbd1d52a85c539751b9e" +url = "https://github.com/pnpm/pnpm/releases/download/v12.21.0/pnpm-linux-arm64.tar.gz" +url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/744357257" provenance = "github-attestations" [tools.pnpm."platforms.linux-arm64-musl"] -checksum = "sha256:86c80eb744b1ff41ca7400bb1f8ca5fb522b2101da39ac93bd45f3bc652e5cfb" -url = "https://github.com/pnpm/pnpm/releases/download/v12.18.0/pnpm-linux-arm64-musl.tar.gz" -url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/711505545" +checksum = "sha256:4faedaaa333b44d940ce5e38c223e829124affdbe5a6d3f694a69dd979a5a8d8" +url = "https://github.com/pnpm/pnpm/releases/download/v12.21.0/pnpm-linux-arm64-musl.tar.gz" +url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/744357263" provenance = "github-attestations" [tools.pnpm."platforms.linux-x64"] -checksum = "sha256:3726060e236c0db3e7124c0a5af123c840ba0cb76682149b63ea0baf290017c2" -url = "https://github.com/pnpm/pnpm/releases/download/v12.18.0/pnpm-linux-x64.tar.gz" -url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/711505542" +checksum = "sha256:84c4773bcf4a217f4083cd7b2a91e4cee6103cf42426c1282ef37d308f55a410" +url = "https://github.com/pnpm/pnpm/releases/download/v12.21.0/pnpm-linux-x64.tar.gz" +url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/744357264" provenance = "github-attestations" [tools.pnpm."platforms.linux-x64-musl"] -checksum = "sha256:faaed5856527e4f1e8d5e16edf797c6e643cbe1521e3d15e2d791e8295489fb1" -url = "https://github.com/pnpm/pnpm/releases/download/v12.18.0/pnpm-linux-x64-musl.tar.gz" -url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/711505536" +checksum = "sha256:6dbcd9ea8ed37b5acbe279159ad0ed3a4ac614f5d7ae62d5ba51d32a85a589d7" +url = "https://github.com/pnpm/pnpm/releases/download/v12.21.0/pnpm-linux-x64-musl.tar.gz" +url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/744357269" provenance = "github-attestations" [[tools.python]] @@ -287,35 +287,35 @@ url = "https://github.com/astral-sh/python-build-standalone/releases/download/20 provenance = "github-attestations" [[tools.rust]] -version = "1.99.1" +version = "1.100.0" backend = "core:rust" specifiers = ["latest"] [[tools.uv]] -version = "0.13.7" +version = "0.13.9" backend = "aqua:astral-sh/uv" specifiers = ["latest"] [tools.uv."platforms.linux-arm64"] -checksum = "sha256:71279f8d3c67241e807b9d8db872d1bf541579fb9f08b7d1eb1682196d1e57dc" -url = "https://github.com/astral-sh/uv/releases/download/0.13.7/uv-aarch64-unknown-linux-gnu.tar.gz" -url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/704009469" +checksum = "sha256:0797542018e541a9288855df555c8077eed06f7a47d206362030480e8ecc9f3d" +url = "https://github.com/astral-sh/uv/releases/download/0.13.9/uv-aarch64-unknown-linux-gnu.tar.gz" +url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/758513657" provenance = "github-attestations" [tools.uv."platforms.linux-arm64-musl"] -checksum = "sha256:2d3ec076a0c4c0e8250bb6418c44080828b544f1a3be0b6e46adf9fb6923de45" -url = "https://github.com/astral-sh/uv/releases/download/0.13.7/uv-aarch64-unknown-linux-musl.tar.gz" -url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/704009487" +checksum = "sha256:37fbb7c5bc66cf99c12aa881949d216181e201dec449772c4329e56487d61179" +url = "https://github.com/astral-sh/uv/releases/download/0.13.9/uv-aarch64-unknown-linux-musl.tar.gz" +url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/758513671" provenance = "github-attestations" [tools.uv."platforms.linux-x64"] -checksum = "sha256:c5221ff41b7892bfc223543883600125f6a47fe845093e0f5bdff4f359196d83" -url = "https://github.com/astral-sh/uv/releases/download/0.13.7/uv-x86_64-unknown-linux-gnu.tar.gz" -url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/704009823" +checksum = "sha256:a7fbaff2b9a271d85c1bdb540941090fd1ce011797b4abeb48e4dcd39c2471d5" +url = "https://github.com/astral-sh/uv/releases/download/0.13.9/uv-x86_64-unknown-linux-gnu.tar.gz" +url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/758513954" provenance = "github-attestations" [tools.uv."platforms.linux-x64-musl"] -checksum = "sha256:287491da03f2a785c70fa75b13e1f849918c2f2b5415fe84876b8214eeb792f9" -url = "https://github.com/astral-sh/uv/releases/download/0.13.7/uv-x86_64-unknown-linux-musl.tar.gz" -url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/704009859" +checksum = "sha256:58ccf5f1792b8a5a88d01bc910ea131a8b3db4a319a17ad5fad75e0845a3e271" +url = "https://github.com/astral-sh/uv/releases/download/0.13.9/uv-x86_64-unknown-linux-musl.tar.gz" +url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/758513984" provenance = "github-attestations" diff --git a/tests/e2e/from_test.go b/tests/e2e/from_test.go index 252c5cb2..c8c6f24b 100644 --- a/tests/e2e/from_test.go +++ b/tests/e2e/from_test.go @@ -24,7 +24,7 @@ const fromNodeDigest = "sha256:9d266751ca3d7fdbe651c878ffd5ad0a42fed49a18c283509 const fromAlpineDigest = "sha256:f59abe656b692d901e184be3445e084786602108599d2a51d229c0f5a48c71bf" -const fromUbuntuDigest = "sha256:065aa8626841f16057b78b027b464cd59c4fac36c204c72dcbf48d66f5fa8a96" +const fromUbuntuDigest = "sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db" const ( fromNode = "node:24@" + fromNodeDigest diff --git a/tests/e2e/harness_test.go b/tests/e2e/harness_test.go index b020f4a9..2ecd3753 100644 --- a/tests/e2e/harness_test.go +++ b/tests/e2e/harness_test.go @@ -330,3 +330,38 @@ func TestHarnessProjectVMs(t *testing.T) { t.Errorf("got %v, want %v", got, want) } } + +// repin deletes a sandbox's Ubuntu pin that names a release other than +// e2eUbuntuRelease, or doesn't parse, so the next build pins +// e2eUbuntuRelease, and keeps e2eUbuntuRelease's. +func TestHarnessRepin(t *testing.T) { + for _, tc := range []struct { + name string + pin string // "" for none + kept bool + }{ + {name: "no pin"}, + {name: "the pinned release", pin: `{"release": "` + e2eUbuntuRelease + `"}`, kept: true}, + {name: "another release", pin: `{"release": "release-20200101"}`}, + {name: "a record that doesn't parse", pin: `{"release":`}, + } { + t.Run(tc.name, func(t *testing.T) { + images := filepath.Join(t.TempDir(), "images") + if tc.pin != "" { + if err := os.MkdirAll(images, 0o700); err != nil { + t.Fatal(err) + } + if err := os.WriteFile(ubuntuPin(images), []byte(tc.pin), 0o600); err != nil { + t.Fatal(err) + } + } + if err := repin(images); err != nil { + t.Fatalf("repin: %v", err) + } + _, err := os.Stat(ubuntuPin(images)) + if kept := err == nil; kept != tc.kept { + t.Errorf("pin kept: %v, want %v (stat: %v)", kept, tc.kept, err) + } + }) + } +} diff --git a/tests/e2e/images_test.go b/tests/e2e/images_test.go index 3fd9755e..7e4fb7d9 100644 --- a/tests/e2e/images_test.go +++ b/tests/e2e/images_test.go @@ -6,7 +6,6 @@ import ( "context" "crypto/sha256" "encoding/hex" - "encoding/json" "errors" "fmt" "io" @@ -146,21 +145,6 @@ func listedRelease(ctx context.Context) (string, error) { return slices.Max(rs), nil } -// pinned is a field of the cloud image pinned in the sandbox, as devvm -// recorded it (images/ubuntu.json). -func pinned(s *S, field string) string { - b, err := os.ReadFile(filepath.Join(s.Paths.Images, "ubuntu.json")) - if err != nil { - return "" - } - var m map[string]any - if json.Unmarshal(b, &m) != nil { - return "" - } - v, _ := m[field].(string) - return v -} - // first is the first of keys, nothing when there's none. func first(keys []string) string { if len(keys) == 0 { @@ -262,11 +246,11 @@ func imagesRecord(s *S, kb string) { return errors.New("base isn't there, stopped") case rec("chain") != "base="+kb || rec("libc") != "gnu" || rec("from") != "": return errors.New("base's record has another chain, C library or --from") - case !Matches(rec("built"), `^[0-9-]+T[0-9:]+Z$`) || pinned(s, "release") != release: + case !Matches(rec("built"), `^[0-9-]+T[0-9:]+Z$`) || pinned(s.Paths.Images, "release") != release: return errors.New("base's record has no build time, or another release is pinned") - case rec("digest") != "https://cloud-images.ubuntu.com/releases/resolute/"+release+"/"+pinned(s, "file")+" "+pinned(s, "digest"): + case rec("digest") != "https://cloud-images.ubuntu.com/releases/resolute/"+release+"/"+pinned(s.Paths.Images, "file")+" "+pinned(s.Paths.Images, "digest"): return errors.New("base's record has another cloud image") - case !Matches(pinned(s, "digest"), `^sha256:[0-9a-f]{64}$`): + case !Matches(pinned(s.Paths.Images, "digest"), `^sha256:[0-9a-f]{64}$`): return errors.New("the pinned cloud image has no SHA-256") } return nil diff --git a/tests/e2e/runner_test.go b/tests/e2e/runner_test.go index 2a2d8867..bcc8432e 100644 --- a/tests/e2e/runner_test.go +++ b/tests/e2e/runner_test.go @@ -6,7 +6,6 @@ import ( "context" "crypto/sha256" "encoding/hex" - "encoding/json" "errors" "fmt" "io" @@ -373,14 +372,9 @@ func (r *runner) newestSummary(ok bool) { if err != nil { listed = "nothing" } - got := "nothing" - if b, err := os.ReadFile(filepath.Join(r.sb.images(), "ubuntu.json")); err == nil { - var m map[string]any - if json.Unmarshal(b, &m) == nil { - if v, _ := m["release"].(string); v != "" { - got = v - } - } + got := pinned(r.sb.images(), "release") + if got == "" { + got = "nothing" } r.out.line("e2e: newest base: Ubuntu listed %s as its newest; devvm pinned %s", listed, got) if !ok { diff --git a/tests/e2e/sandbox_test.go b/tests/e2e/sandbox_test.go index 95028f96..1a227846 100644 --- a/tests/e2e/sandbox_test.go +++ b/tests/e2e/sandbox_test.go @@ -8,8 +8,10 @@ import ( "context" "crypto/sha256" "encoding/hex" + "encoding/json" "errors" "fmt" + "io/fs" "os" "os/exec" "path/filepath" @@ -57,7 +59,7 @@ const ( // starts from here, in place of the newest a user's devvm pins, so base // stays cached between runs (scripts/bump.sh e2e-ubuntu moves it). devvm // still checks its signed checksums. -const e2eUbuntuRelease = "release-20261016" +const e2eUbuntuRelease = "release-20261108" // slotWork, slotLima and slotService are slot k's state folder, Lima home // and Keychain service. @@ -219,9 +221,49 @@ func (sb *sandbox) setup(ctx context.Context, out *output) error { if sb.o.clean { sb.clean(ctx, out) } + if !sb.o.newest { + // A --newest-base run pins the newest itself. + if err := repin(sb.images()); err != nil { + return err + } + } return sb.refuseLeftovers(ctx) } +// repin deletes the Ubuntu pin in images, a sandbox's images folder, when +// it names a release other than e2eUbuntuRelease, as devvm keeps a pin it +// has (DEVVM_UBUNTU_RELEASE only picks the first): the next build pins +// e2eUbuntuRelease, under a key of its own. +func repin(images string) error { + if pinned(images, "release") == e2eUbuntuRelease { + return nil + } + if err := os.Remove(ubuntuPin(images)); err != nil && !errors.Is(err, fs.ErrNotExist) { + return err + } + return nil +} + +// ubuntuPin is the record of the cloud image devvm pinned for base, in +// images, a sandbox's images folder. +func ubuntuPin(images string) string { return filepath.Join(images, "ubuntu.json") } + +// pinned is a field of the cloud image pinned in images, a sandbox's +// images folder, as devvm recorded it, or "" when none is or the record +// doesn't parse. +func pinned(images, field string) string { + b, err := os.ReadFile(ubuntuPin(images)) + if err != nil { + return "" + } + var m map[string]any + if json.Unmarshal(b, &m) != nil { + return "" + } + v, _ := m[field].(string) + return v +} + // refuseLeftovers stops the run when the sandbox's Lima home has project // VMs an earlier run left (--reuse keeps its own), naming the commands // that delete them, as a check would trip over them.