docs(adr): 0052 keeps forge-test caches on VM-local disk #734

Merged
hexajon merged 1 commit from issue-730-forge-cache-local-disk-doc into main 2026-10-06 18:46:38 +00:00
Owner

Summary

ADR 0052 point 3 now records where the forge-test caches live. The VM keeps the Go build cache, the Go module cache, and the resolved forge binary on local disk, not on the virtiofs persistent mount: a Go build and a running forge binary memory-map these files, and virtiofs rejects mmap (ENXIO), so a build on the mount fails at import. The persistent mount gives up warming these across runs, and each run re-fetches and rebuilds. The provisioning that sets GOCACHE, GOMODCACHE, and the binary-cache path, plus the confirming run, ride with #692.

Refs #730

## Summary ADR 0052 point 3 now records where the forge-test caches live. The VM keeps the Go build cache, the Go module cache, and the resolved forge binary on local disk, not on the virtiofs persistent mount: a Go build and a running forge binary memory-map these files, and virtiofs rejects mmap (ENXIO), so a build on the mount fails at import. The persistent mount gives up warming these across runs, and each run re-fetches and rebuilds. The provisioning that sets GOCACHE, GOMODCACHE, and the binary-cache path, plus the confirming run, ride with #692. Refs #730
docs(adr): 0052 keeps forge-test caches on VM-local disk
All checks were successful
drift / forgejo-smoke (pull_request) Has been skipped
drift / govulncheck (push) Has been skipped
drift / surface-diff (push) Successful in 24s
drift / forgejo-smoke (push) Has been skipped
ci / mcp-conformance (push) Successful in -15s
ci / gate (push) Successful in 11m24s
ci / gate (pull_request) Successful in 28m54s
ci / mcp-conformance (pull_request) Successful in 2m11s
drift / govulncheck (pull_request) Has been skipped
drift / surface-diff (pull_request) Successful in 1m5s
2a93f4b12d
Refs #730
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sixfold-space/madtea!734
No description provided.