Repository navigation
chore(deps): bump Lima to v2.2.1; ptr.Of → new(), boot-session pidfiles - #46
Merged
Merged
Conversation
Lima v2.2.1 removed pkg/ptr, which is why Dependabot's go_modules job
failed ("does not contain package github.com/lima-vm/lima/v2/pkg/ptr").
- ptr.Of(x) → new(x) (Go 1.26 value-accepting new; go.mod is already 1.26)
- hostagent: store.WritePIDFile, which records the boot session so a
pidfile from a previous boot is not trusted (PID reuse)
- hostagent: port upstream's batched syncWriter (fsync at most every
100ms instead of per write; flushed on exit)
Builds on #44 (x/net v0.60.0 fixes GO-2026-6603/6610/6611/6612/6617).
Closes #15
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bcollard
force-pushed
the
chore/lima-v2.2.1
branch
from
October 19, 2026 16:45
eddbb0c to
37107be
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lima v2.2.1 (stable) removed
pkg/ptr, so Dependabot'sgo_modulesjob has failed since 2026-10-13 trying to bump it. This does the two follow-ups from #15, which v2.2.1 unblocks (no need to wait for v2.3.0).ptr.Of(x)→new(x)internal/limatemplate/template.go,internal/vm/mounts_test.gostore.WritePIDFile(boot-session aware)internal/cli/hostagent.gosyncWriter(fsync ≤ every 100ms, flushed on exit), ported from upstreamcmd/limactl/hostagent.gointernal/cli/hostagent.goIncludes #44's commit (x/net v0.60.0 fixes the 5 govulncheck findings failing CI/Security).
Verified:
go build,go vet,go test ./...,govulncheck(no module findings). The v2.2.1 guest-agent release assets exist. Not yet tested against a live VM — the guest agent version changes, so the nextmarina updownloads v2.2.1's.Closes #15
🤖 Generated with Claude Code