Repository navigation
Description
internal/fuse/kernel_options_live_test.go is behind the fuse_mount build tag, and both the test file
and ci.yml give the same reason: ubuntu-latest has no /dev/fuse. That reason is false, measured
in #541's packaging job on 2026-09-20 (run 35488688077):
crw-rw-rw- 1 root root 10, 229 Sep 20 04:15 /dev/fuse
fusermount3 version: 3.14.0
The device is a world-writable character device, fusermount3 is on PATH, and /etc/fuse.conf
exists — none of them installed by that job, which reports 0 upgraded, 1 newly installed for the
.deb alone. ubuntu-latest ships all three.
The claim was never probed; it was written down. It then justified a coverage gap in the file's own
doc comment:
Behind the
fuse_mountbuild tag, and therefore run by nothing by default, because it needs
/dev/fuse— absent on GitHub'subuntu-latestrunners […] That is a real coverage gap and it is
stated rather than papered over.
The gap is real. Its stated cause is not.
Why this suite in particular
It is the only test in the repository that observes the kernel's half of the direct-I/O contract.
kernel_options_test.go asserts FOPEN_DIRECT_IO reaches the kernel; that flag's entire purpose is to
change what the kernel does with a second read(2) of bytes it already holds, which no inspection of
OpenOut can show. This file reads one offset twice through a real mount and counts arriving READ
requests. #180 was filed about nine MountOptions fields that named real capabilities and reached
nothing — this is the test that would have caught the rest of that class.
It also needs nothing else: liveMount calls testaws.Start(t), the in-process substrate endpoint, so
there is no bucket, no credential and no network on this path. The device was the whole barrier.
What is not yet known
Whether the suite passes there. Unmeasured, and this issue should not assume it:
- The mount is created under
t.TempDir()by a non-rootgo test, so it goes throughfusermount3's
setuid path rather than the root path The rpm is never installed, and no CI mount ever completes #149 exercised. - The assertions count kernel READ requests, and page-cache behaviour is a property of the kernel
version. A runner kernel that answers differently from a developer's would be a finding, not a
failure — but it has to be seen before a required gate depends on it. ubuntu-latestmigrates to Ubuntu 26 starting 2026-10-19, which changes that kernel.
So the work is: run it, read the result, and only then decide whether it becomes a gate.
Work
- Run
go test -tags=fuse_mount -race ./internal/fuse/onubuntu-latest— once, in a
continue-on-errorstep or a scratch branch, to see what it actually does. - If it passes: give it a real cell. It cannot join the
build-tagsmatrix, which vets rather than
tests, deliberately — several of those tags need credentials that this one does not. A separate job,
or afuse_mountentry in the existing test matrix. - If it does not pass: record what the kernel actually did in the file's doc comment, which is the
artifact either way. - Correct the two comments regardless — done in test(ci): install the rpm, and complete a read-only mount (#149) #541, referencing this issue.
make test-fuse-mountis the existing entry point; keep it working as the local path.
The transferable defect
A comment is not an observation, and an unprobed claim that justifies skipping a test is the most
expensive kind: it removes the thing that would have contradicted it. CLAUDE.md already says to
establish a capability by probing rather than asking, for backends. The same rule applies to the
runner — ls -l /dev/fuse is three characters of evidence and it sat unwritten for as long as the
comment did.
Activity
docs(ci): ubuntu-latest has /dev/fuse, and four comments said otherwise
test(ci): install the rpm, and complete a read-only mount (#149) (#541)
fix(fuse): a FileSystem built with no cache reads from the backend in…
MUTATION (do not merge): openFlags sends no flags, to show the live s…
Revert "MUTATION (do not merge): openFlags sends no flags, to show th…
docs(fuse): record what the fuse_mount suite found on the runner, and…
test(config): requiredChecks transcribes fuse-mount, now a required c…