clan: the locked-input prefetch runs ON the box — --store ssh-ng:// fetched on the operator's machine and pushed anyway (GOTCHAS #343) #1865
No reviewers
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss!1865
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "session/prefetch-on-the-box"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fire 5 (drive
20260925T040123Z, #1855) was the first live run of #1862. I sampled bens-mac-04's traffic duringenroll-copy, and it shows the prefetch never ran on the box:nix flake prefetch --store ssh-ng://root@<box> https://releases.nixos.org/…/nixexprs.tar.xz?narHash=…Cause.
--storenames where the result lands. Nix's fetchers run in the client process. So #1803's github prefetch, and #1862's tarball extension of it, only moved the push. They never removed it.Fix.
prefetchInputsOnTargetrunsssh ssh://<box> nix … flake prefetch '<ref>'through the adapter's existingsshRunseam. The ref is single-quoted for the remote shell. It uses the same host-key posture and keepalives as the ssh-ng copy.WithOnTargetPrefetch()option, which the operator app'swiring_prod.gosets. Seam tests that don't opt in never shell out, which mirrorsWithRemoteResolverWarmup.?narHash=ref each realised the lock's exact/nix/store/…-source.Tests.
TestPrefetch_RunsOnTheBoxOverItsOwnSSHDoorandTestPrefetch_OffUnlessWiredOnfailed before the fix and pass after it.internal/...andapp/helperare green, and vet and golangci-lint are clean.This adds GOTCHAS #343 and a STATUS entry. Fire 6 proves it live.
Refs #1855
🤖 Generated with Claude Code
https://claude.ai/code/session_013h5C35beyRQMAA1QjxZGk7
--store ssh-ng://fetched on the operator's machine and pushed anyway (GOTCHAS #343)