Repository navigation
Releases
ObjectFS v0.17.1
The 0.17.0 release built and never published, for the second time in three releases, and again because
a gate was wrong rather than an artifact.
0.17.0 has no downloadable binaries. It is a valid module version — go get github.com/scttfrdmn/[email protected] resolves and always will — but there is no release page and no
tarball, deb or rpm carrying it. Everything 0.17.0 added is in 0.17.1; this is the release to install.
Fixed
-
release.yml's asset inventory reported a correct tarball as broken. The step that checks every
published asset failed with "dist/objectfs-linux-amd64.tar.gzdoes not contain a file named
objectfs-linux-amd64", and then printedobjectfs-linux-amd64on the following line as part of its
own diagnostic. The archive was right.tar -tzf "$tgz" | grep -qx "objectfs-$platform" || fail # under `set -o pipefail`
grep -qexits at its first match. If tar still has a member name to write it is killed by SIGPIPE,
andpipefailpromotes that to a failed pipeline because the match succeeded. What decides it is
whether any member follows the one that matched — not buffering, which was the first guess and was
wrong. Measured against a two-member archive whose first member is 25MB: matching the first name exits
141, matching the last name exits 0. Through 0.16.0 these tarballs held exactly one member, so nothing
followed the match and tar was already finished; 0.17.0 was the first tag wheremount.objectfs(#533)
came after it.ci.ymlhad the same line and was green throughout, for the mirror-image reason: it matches
mount.objectfs, which tar lists last. Reordering the archive members would have started it failing on
a correct tarball. Both now read the listing once and match it with a herestring, which has no writer
process to signal. That is also why no pull request could have caught this: one fact, checked in two
places, written two different ways, and the copy that only ever runs on a tag was the wrong one. -
The release job now asserts the mount helper in both directions — present in the three Linux
tarballs, absent from the two darwin ones. #533 added the helper andallow_different_binary_count: trueto permit the asymmetry, and that setting makes every other asymmetry equally legal, so a
helper that stopped being built, or started being built for a platform with no
/sbin/mount.$TYPEprotocol, would have been silence rather than a build failure.
Verify a download. The authenticated path first, because the quick one below it is
only an integrity check: a per-asset .sha256 is served from the same release as the
asset it describes, so it detects a corrupt download and proves nothing about origin.
# 1. authenticity: the checksum list is signed by this repository's release workflow,
# keylessly, so there is no public key to fetch and trust out of band.
cosign verify-blob \
--bundle checksums.txt.cosign.bundle \
--certificate-identity 'https://github.com/scttfrdmn/objectfs/.github/workflows/release.yml@refs/tags/v0.17.1' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
checksums.txt
# 2. integrity: your download against that now-trusted list.
sha256sum --ignore-missing -c checksums.txt
Without cosign, an integrity-only check (no authenticity guarantee). A per-asset
.sha256 holds a bare digest with no filename, which sha256sum -c cannot read, so
the filename is supplied here:
printf '%s %s\n' "$(cat objectfs-<platform>.tar.gz.sha256)" objectfs-<platform>.tar.gz \
| sha256sum -c
Container image: ghcr.io/scttfrdmn/objectfs:0.17.1
Full changelog: https://github.com/scttfrdmn/objectfs/blob/v0.17.1/CHANGELOG.md
ObjectFS v0.16.0
Fan-out reads, fstab mounts, and a gate that can see what it is gating.
The read path stops paying for its own optimism: a range read of a compressed object now probes the
fan-out with one chunk instead of committing a full wave, so discovering that an object is not
seekable costs one chunk rather than most of the object.
An ObjectFS filesystem can now be mounted the way every other filesystem on the machine is. The Linux
packages ship mount.objectfs and link it at /sbin/mount.objectfs, which is the path mount(8)
compiles in and resolves an unknown -t objectfs to — so both mount -t objectfs s3://bucket /mnt and
an /etc/fstab line work, and the packaging job now proves it by installing the deb and running
mount -t objectfs against real util-linux rather than asserting the file exists.
The rest is the gate, which turned out to have been checking less than it claimed in four separate
ways. A pull request based on anything other than main ran no jobs at all and read as green
because the checks never existed rather than because they passed. G115 was excluded from the linter, so
twelve integer-conversion alerts nobody could see were hiding four real defects — one of which could
record a tar entry's file mode as a different, entirely plausible mode. The coverage job's
internal/fuse floor was being decided by runner load. And no job in any workflow declared
timeout-minutes, so a hung one held the required checks for six hours. Each of those is now enforced
by a test that walks the tree rather than by a list of the cases someone had already thought of.
Fixed
-
A tar entry could state one file mode and have a different, entirely plausible one recorded.
BuildIndexFromBytesnarrowedtar.Header.Mode(anint64read from a 12-byte field of an archive
this process did not write) to theuint32anArchiveEntryrecords. So mode0x1_0000_0644
narrowed to0644and-1to0777with every special bit, with nothing downstream able to tell
the difference. Go's ownarchive/tarwrites and reads back both of those values in its default and
GNU formats — measured, not assumed — so producing such an archive takes no special tooling.An entry whose mode cannot be recorded as what it says now stops the index with a new
ErrMalformedEntryrather than being recorded as something else. The bound is representability and
deliberately not the permission mask: a tar mode field legitimately carries file-type bits, and
Apache Commons Compress writes0100644for a regular file, so masking would reject archives from a
mainstream producer. (#525) -
The predictive cache named four of its six model weights after unprintable control characters, and
training wrote keys prediction never read. The fallback ingetFeatureNamewas"feature_" + string(rune(index)), which builds the Unicode codepoint numberedindex— so feature 6 was named
"feature_\x06", not"feature_6". Worse, the named-feature list existed twice, once in
getFeatureNameand once inline inPredictionModel.predict, and the two disagreed past index 5.
updateModelwrote a weight under one spelling andpredictlooked one up under another; a map
lookup that misses is not an error, so the feature silently contributed nothing to the prediction and
training on it had no effect at all.One
featureNamefunction now serves both sides, so they agree by construction, and the fallback
formats the index as decimal text. (#525) -
An empty connection pool panicked instead of returning an error.
recovery.ConnectionPool.GetConnectioncomputed its round-robin index as
nextIndex.Add(1) % uint32(len(cp.managers)), andNewConnectionPoolaccepts size 0 without
complaint — a pool size read from configuration is how that happens. The firstGetConnectionthen
died with an integer divide by zero, in the package whose entire subject is surviving failures. It
now returns anErrCodeConnectionPoolerror that says the pool holds no connections, which is a
different diagnosis from the "no healthy connections available" the retry loop reports. (#525) -
A multipart upload of a file past roughly 1.25 TiB asked S3 for part numbers it rejects.
CalculateOptimalChunkSize's size ladder tops out at eight times the configured base chunk, so with
the 16 MiB default the largest part is 128 MiB and 10,000 parts cover 1.25 TiB — but the base is
configuration, and at a 5 MiB base the ceiling binds at 400 GiB. Past it, every part number above
10,000 is rejected individually, after the first 10,000 have been transferred, billed, and left in
the bucket for an abort to clean up. The chunk size now grows to keep the part count inside S3's
ceiling, which is what S3 wants for an object that size anyway, and is capped at the 5 GiB maximum
part. Fixed in the pure function rather than at its one call site, so the invariant holds for
anything that computes a part count from it — today's in-memory path cannot reach 1.25 TiB, but a
streaming one would. (#525) -
A pull request based on anything other than
mainran no CI at all.ci.ymland
security.ymlboth filtered theirpull_requesttrigger onbranches: [main], so a stacked pull
request — one whose base is another feature branch — started none of their jobs: nottest, not
lint, notcoverage, notSecurity Scan, not one of the twelvebuild-tags/cross-buildcells.
Nothing failed, which is what made it invisible. The checks never existed, sogh pr checks
returned a single row,dependabot skipping, and the pull request read as green because nothing
was red. #511 was reviewed in that state.The window also closes at precisely the moment it stops being useful: GitHub retargets a stacked
pull request tomainwhen its parent merges, so CI first runs after review has already happened
against zero signal.security.ymlwas not named in the report but had the same filter, and it matters more there —
Security Scanis a required status check onmain, so the trigger being filtered out meant a
check that is supposed to be able to block a merge could not report at all. Thepushtrigger keeps
itsbranches: [main]in both files; that filter is a different question with a correct answer,
which is to stop a feature-branch push from duplicating the pull request's own run.
(#512) -
The
coveragegate flaked oninternal/fuse, failing unrelated pull requests. Two runs of the
job on the same commit measured the package at 71.84% and 72.54% against a floor of 72, so a
0.5-point margin was being decided by how loaded the runner was; one Dependabot bump that does not
import the package at all failed on it.The two profiles differ by exactly eight statements, and all eight are one arm:
fetchserving a
read from a GET already in flight, thesliceit takes from that leader, andcoveringLocked's
returning branch. A follower only exists when a second read for a contained range arrives while the
first GET is still outstanding — which an idle machine arranges by accident and a loaded runner does
not — so the arm was covered by luck rather than by a test.Those statements are owned by tests now, which removes the swing and also covers six statements
that had never been executed on any run. The floor stays at 72 deliberately: ratcheting it to the
new measurement would spend the margin the work was done to create. (#438) -
A hung CI job could hold a pull request's required checks for six hours. No job in any of the
five workflows declaredtimeout-minutes, so every one of them inherited GitHub's default of 360
minutes. Nothing here takes anything like that — the whole gate is under five minutes of wall clock
and the longest job anywhere is a 15-minute two-platform docker build — so a job that reaches the
default has not run long, it has hung: a test deadlocked on a channel, anapt-getwaiting on a
prompt that will never come, acurlto a host that stopped answering.cancel-in-progressdoes
not rescue it, because a new push cancels the run rather than the wait and then starts its own
six-hour clock.All 23 eligible jobs now carry a bound sized from observed runtime — a generous multiple of each
job's worst measured run with a floor of 10 minutes, so a hang fails in minutes and a slow runner
never fails at all. The 24th,release.yml'sgate, cannot have one: Actions rejects
timeout-minuteson a job that calls a reusable workflow, and rejects it by failing the entire file
before any job starts. It is bounded by the jobs inside the workflow it calls.TestEveryWorkflowJobHasATimeoutwalks.github/workflowsrather than naming files, so a workflow
added later cannot arrive without one, and it bounds the value at 60 minutes as well as requiring
it:timeout-minutes: 360would satisfy a presence check while bounding nothing. (#531)
Added
-
An
/etc/fstabmount helper, so an ObjectFS filesystem can be mounted the way every other
filesystem on the machine is. The Linux packages now shipmount.objectfsand link it at
/sbin/mount.objectfs, which makes both of these work:mount -t objectfs s3://bucket /mnt/objectfs -o _netdev,config=/etc/objectfs/config.yaml s3://bucket /mnt/objectfs objectfs _netdev,config=/etc/objectfs/config.yaml 0 0mount(8)resolves a filesystem type it does not know by exec'ing/sbin/mount.TYPE. That path is
compiled into util-linux — not searched for onPATH, with no configuration for it — so the filename
is the registration, and there was previously nothing there: an fstab entry failed withunknown filesystem type 'objectfs'and no other information. The binary is packaged to
/usr/bin/mount.objectfs, because nfpm has onebindirper package and/usr/binis where
objectfsmust be;scripts/postinstall.shcreates th...
ObjectFS v0.15.1
The 0.15.0 release built and never published.
Everything up to the last step went green: the 40-job gate, five tarballs, three debs, three rpms with
their checksum siblings, the Docker image pushed, the release binary scanned. Then the step that
checksums every asset and signs the list exited on sha256sum: objectfs-0.15.0-1.aarch64.rpm.sha256: no properly formatted checksum lines found, and no release page was ever created.
The cause is a format assumption that was written down as fact. GoReleaser's checksum: split: true
writes a bare digest — 64 lowercase hex characters, no filename, no trailing newline, 64 bytes
exactly — and sha256sum -c cannot read that at all; it needs a <hash> <name> line and fails the
whole file. The workflow ran sha256sum -c "$asset.sha256" over all eleven, under a comment asserting
"the <hash> <name> form that both this file and the per-asset siblings are written in". Review had
nothing to catch: the code agreed with its own documentation. scripts/install.sh had it right the
whole time, by comparing the digest directly rather than shelling out to check mode, which is also why
this was invisible until a real publish.
The v0.15.0 tag stays where it is. proxy.golang.org had already cached it by the time the failure
was diagnosed, so its hash is in the checksum database permanently; moving the tag would make go get
fail for every consumer forever, and GlobalFS pins this module. So v0.15.0 remains a valid module
version whose code is exactly this code, and 0.15.1 is the first tag of it that publishes assets. The
0.15.0 entry above describes what shipped; nothing in it changed.
Fixed
- The release could not publish.
release.yml's checksum-and-sign step no longer uses
sha256sum -con a per-asset.sha256. It reads the digest withtr -d '[:space:]'— chosen over
awk '{print $1}'so that a<hash> <name>sibling, which a future GoReleaser orsplit: false
would write, is rejected loudly rather than silently absorbed — then asserts the shape (lowercase
hex, nothing else) and the length (64, because a truncated digest still compares equal to itself)
before comparing it againstchecksums.txt. Dropping-ccosts no coverage:checksums.txtis
computed bysha256sum $assetsfrom the bytes on disk one line above, so comparing each sibling
against it is what verifies the sibling against the artifact. - The release notes printed a command that cannot work. The integrity-only fallback said
sha256sum -c objectfs-<platform>.tar.gz.sha256, which fails on every asset of every release for
the reason above. It now supplies the filename the bare digest lacks.SECURITY.mdcarried the same
command and has the same fix.
Added
internal/config/release_checksums_test.go— the coupling that was missing..goreleaser.yml
produces this format,release.ymlcross-checks and documents it, andscripts/install.shverifies
every user's download with it; nothing tied the three together, and the break was invisible until a
release was half-published. Three tests: no consumer passes a.sha256sibling to check mode
(walking.github/workflows/rather than enumerating it, so the next workflow is covered too, and
skipping comments, since both files now describe the broken command on purpose);.goreleaser.yml
still setssplit: trueandalgorithm: sha256, because turning split off publishes no siblings at
all andinstall.shtreats a missing one as fatal; andinstall.shstill verifies by comparing a
non-empty published digest against a computed one — the non-vacuity guard, since a rewrite that
dropped verification entirely would satisfy the prohibition perfectly. Each was verified by
reintroducing the corresponding defect and watching the test fail.
Verify a download. The authenticated path first, because the quick one below it is
only an integrity check: a per-asset .sha256 is served from the same release as the
asset it describes, so it detects a corrupt download and proves nothing about origin.
# 1. authenticity: the checksum list is signed by this repository's release workflow,
# keylessly, so there is no public key to fetch and trust out of band.
cosign verify-blob \
--bundle checksums.txt.cosign.bundle \
--certificate-identity 'https://github.com/scttfrdmn/objectfs/.github/workflows/release.yml@refs/tags/v0.15.1' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
checksums.txt
# 2. integrity: your download against that now-trusted list.
sha256sum --ignore-missing -c checksums.txt
Without cosign, an integrity-only check (no authenticity guarantee). A per-asset
.sha256 holds a bare digest with no filename, which sha256sum -c cannot read, so
the filename is supplied here:
printf '%s %s\n' "$(cat objectfs-<platform>.tar.gz.sha256)" objectfs-<platform>.tar.gz \
| sha256sum -c
Container image: ghcr.io/scttfrdmn/objectfs:0.15.1
Full changelog: https://github.com/scttfrdmn/objectfs/blob/v0.15.1/CHANGELOG.md
ObjectFS v0.14.0
Packaging, and a release that carries its own packages.
.deb and .rpm files are attached to this release alongside the binary tarballs. That is the whole
of the packaging deliverable: there is no apt or yum repository to add, and nothing published points at
one. The machinery to build and sign both repositories exists and is exercised against a throwaway key
on every pull request, and it stays dormant until a signing key is configured — the Added entry below
has the reasoning, which is that a repository nobody can verify is worse than no repository.
The milestone this release is named for closed with its two remaining items moved out rather than
finished: the /sbin/mount.objectfs fstab helper (#136) and the Rocky Linux 9 install-to-fstab CI job
that depends on it (#149) are both in Future Work now. They are named here rather than left for the
version number to imply they shipped.
Security
-
A new gosec finding now blocks a merge (#415). It did not before, and the reason is worth
stating precisely because everything about it looked correct:Security Scanruns
gosec -no-fail, so the job passed on any number of findings, and the check that did go red was
gosec— the code-scanning check derived from the SARIF upload, a different check with a different
name. That one reports on pull requests and not onpush: main, so it could never join the required
contexts: a required check that does not always report blocks every PR forever. The upshot was that
#414 added auint64 → int64conversion, gosec reported "1 new alert", and the PR stayed mergeable.
It was caught by someone reading the checks by hand.-no-failstays, because the upload needs the complete report — including the threesdks/c
findings the SARIF format fix back-fills a path onto, which reach no other tool. The gate is instead
a new final step running.github/scripts/gosec-gate.sh, which diffs the report against
.github/gosec-baseline.txt.Security Scanis a job name, so it reports on every trigger, which
is what lets it be required.The baseline is the twelve pre-existing G115 integer conversions across eight files, keyed by
(rule, file, count)— not by line number, which moves whenever anything above it moves. A
severity threshold was not an option: all twelve areerrorlevel, identical to what a new finding
would report, so there is nothing to threshold on. The ratchet is exact in both directions, so
fixing one of these also fails until its line goes with it; a slot kept after its finding was
fixed is permanent headroom for the next conversion in that file. -
toolchainbumped to go1.26.6, clearing seven standard-library advisoriesgovulncheckbegan
reporting the moment that patch release shipped: quadratic complexity innet/url'sresolvePath,
JavaScript regexp context tracking inhtml/template, a post-handshake message limit in
crypto/tls,ReadHeaderTimeouton the unencrypted HTTP/2 check innet/http, recursion depth
guards inencoding/xmlandencoding/asn1, and Punycode label rejection ingolang.org/x/net/idna.
All seven were reachable from this code — the xml one throughCopyObject, the asn1 one through the
predictive cache'sClose, the idna one throughtestawsand the S3 client — and none was a defect
in it.This is the procedure the comment above the directive already describes, and it is worth noting what
the failure looked like:Security Scanwent from green to red on every branch with no commit
touching Go code, because the advisory database learned about a fix before this repository did. A
security gate that turns red on its own is working.govulncheck ./...reports no vulnerabilities on
1.26.6.
Added
-
Signed apt and yum repositories, built and tested but deliberately not published (#138, part
(c)).pages.ymlconstructs both from the release assets and signs them whenever a signing key is
available at deploy time,ci.yml'srepo-installjob builds them against a throwaway key on every
pull request and installs from them in three containers, andscripts/setup-repo-debian.shand
scripts/setup-repo-rhel.shconfigure them with verification on. No key exists, so nothing is
published:objectfs.io/aptandobjectfs.io/yumare unserved and no page names them.The decision, since the rest of this entry describes a repository nobody can add. Publishing an
apt or yum repository means holding a signing key —apt updaterefuses an unsigned repository and
only accepts one marked[trusted=yes], which turns authenticity off, andgpgcheckis dnf's
default. So an unsigned repository is not a lesser version of a signed one; it is a repository
nothing can install from. A key then has to be kept out of reach and rotated for as long as anyone
has the repository configured, and a key gone stale is worse for those machines than no repository
was, because it leaves a trusted signer behind. Hosting was never the obstacle — GitHub Pages holds
~33 MB of packages per release against a 1 GB cap, so a five-release bound is ~165 MB — and neither
was the code, which is written and verified. What was not worth taking on is the key.Packages ship attached to each release instead, and unsigned, with a published SHA-256 per asset:
install.shverifies the tarball's with no flag to skip it, andapt install ./file.debanddnf install ./file.rpmcheck the package's own digests. That establishes that a file arrived intact,
not who built it, which is the difference between a checksum and a signature and is what an unsigned
release offers.Publishing is one repository secret away.
release.ymlsigns whenGPG_SIGNING_KEYis set and
warns and skips when it is not;pages.ymlpublishes on the same condition. The whole path stays
exercised on every pull request precisely so that turning it on is a secret rather than a rewrite —
a dormant capability that stops being tested is one that no longer exists, and that gets discovered
at the moment someone tries to use it.The rest of this entry records what was built and what building it found.
The two scripts do not offer the same guarantee, and the asymmetry is apt's and rpm's rather than
this project's.setup-repo-debian.shwrites a deb822 entry withSigned-By:, which authorises
the key for this repository and no other; a key in/etc/apt/trusted.gpg.d— whereapt-key add,
which #138's text specifies, would put it — is a valid signer for every repository the machine
reads, Debian's ownopenssh-serverincluded. rpm has no equivalent:rpm --importadds the key to
a single system-wide keyring,gpgkey=in a.repofile does not create a per-repository one, and
so trusting this repository on a RHEL-family machine means trusting the key for everything.
setup-repo-rhel.shprints that before importing anything rather than papering over it.Both fail closed. An index that does not verify is refused and there is no flag to proceed anyway;
repo_gpgcheck=1is set alongsidegpgcheck=1on the rpm side, which is the setting that is off by
default everywhere and therefore the one worth turning on deliberately. When no signing key is
available at deploy time, no repository is published rather than an unsigned one — an unsigned
repository would fail at a user'sapt updateinstead of in CI.Four defects were found by installing from a real repository in a container, and none of them was
reachable any other way:- nfpm builds unsigned rpms. The repository was signed and the packages were not, so the first
run onrockylinux:9downloaded the package and failed withError: GPG check FAILED. Worth
being precise about why the deb had no such problem, because it is the reason only the rpm needs a
signature block: apt'sInReleasesignature covers thePackagesindexes, which carry each
.deb's checksum, so one signature at the top transitively covers the packages. rpm has no such
chain — each package stands alone, and an unsigned one is unsigned however well signed the
metadata around it is.nfpm.yamlnow carries anrpm.signatureblock (on the top-levelrpm:
section, not underoverrides.rpm:, which nfpm rejects outright), andrelease.ymlsigns the rpm
whenever a key is available. With no key it warns and ships unsigned, and then asserts the packages
really are unsigned rather than skipping the check — because no-secret and
key-never-reached-nfpm produce identical green runs, and the second is the defect above. rpm -Kexits 0 for an unsigned package. Unsigned printsdigests OKand returns 0; signed
printsdigests signatures OKand also returns 0. Measured, not assumed. A check on the exit
status alone passes for every unsigned package ever built while reporting that it verified a
signature, so the assertion matches the text.zypperdoes not read/etc/yum.repos.d. It reads/etc/zypp/repos.d, so a yum-only script
succeeds on openSUSE and configures nothing: every step reports success, the.repofile looks
correct, andzypper install objectfscannot find the package.opensuse/leap:15.6is in the
matrix for exactly this.repreprokeeps one version per suite. Indexing five releases with it would have silently
published one — a retention bound of five shipping as a bound of one.dpkg-scanpackagesplus
apt-ftparchivehave no version policy and no database.
Five documented one-liners were a 404 until the deploy served the scripts they name, which is the
same defectinstall.shspent a year in and worse, since these are piped intosudo bash. Both are
now copied and byte-compared at deploy time and listed in the workflow's paths filter — a stale
installer installs an old binary, while a stale setup script installs an ol... - nfpm builds unsigned rpms. The repository was signed and the packages were not, so the first
ObjectFS v0.13.0
Two things that existed and did nothing now do something.
cluster.enabled: true started a gossip ring and stopped there: the adapter never constructed a
ClusterManager, FileSystem had no coordinator, and AnnounceKey/QueryKeyOwnership returned
ErrNotSupported from stubs. A cluster's nodes could see each other and could not use each other. Now a
write invalidates what peers have cached at the ETag it wrote, a cache miss learns from peers which keys
are hot and reads further because of it, and a joining node is told what to warm before it serves its
first request. The bytes still come from S3 — peer data fetch is not in this release, and [#399] is why:
a sealed gossip datagram tops out at 5802 bytes of payload, so the datagram carries the metadata and
S3 carries the object. That is the honest version of the feature rather than a 128 KiB read that fails as
a 30-second timeout on a different host.
The observability half is the same shape. internal/awsrates held request prices verified against the
live AWS Pricing API and every path from a rate to a user was severed — a cost package with no
importer, a RecordCost with no caller, a report behind a config key no mount could set. Latency
percentiles were declared and never assigned, computed from a histogram that was ms % 100 rather than
a bucketing, so 50 ms and 250 ms shared a bucket. A Transfer Acceleration fallback was permanent for the
life of the mount, invisibly. Compression ran zstd over BAM, tar.zst and JPEG and then discarded the
result. Each of those was a feature the documentation described, and none of them could be observed or
switched back, which is the difference this tag is about.
Milestone v0.13.0 — Cache Warming & Operational Excellence closed at zero open, 20 issues.
Cost accounting is worth one caution: the request counts come from a middleware in the AWS SDK's
Deserialize step, not from the wrapper layer, because those two disagree — a 5 GB PutObject is one
wrapper call and 641 requests to S3. The figures are what S3 was asked for by this mount, per attempt,
excluding 5xx. They are not a substitute for Cost Explorer, and the metric's help text says so.
Added
-
Data that arrived compressed is no longer compressed again ([#184]). With compression enabled, a
write abovemin_sizewhose leading bytes name a compressed format — gzip, zstd, bzip2, lz4, xz, zip,
PNG, JPEG, GIF, WebP, MP4, Matroska, Ogg, MP3, PDF — is stored as-is and the codec is never entered.
These are the formats a research bucket is mostly made of, and a BAM counts: BGZF is gzip per block, so
its first bytes are gzip's.Measured on an Apple M4 Max at zstd level 3, six runs per case compared with
benchstat: an 8 MiB zstd
frame goes from 1.85 ms and 33 MiB of allocation to 3 ns and none, 1 MiB from 237 µs to 3 ns,
64 KiB from 7.4 µs to 3 ns. Data the skip does not apply to is unchanged — 1 MiB of compressible text is
91.5 µs against 90.4 µs, which is the row that says the check pays for itself, since a gate that taxes
the compressible path is not a win. Reproduce withBenchmarkCompressAlreadyCompressed,
BenchmarkCompressCompressibleTextandBenchmarkGateVersusAnalyzeininternal/compression.The gate is a magic-byte comparison at 17 ns, not the full analyzer.
Analyzealso runs a Shannon
entropy pass over its 4 KiB sample, which costs 3.8 µs and was +53% on a 64 KiB text write for a
figure the decision does not use — so the write path calls a newAlreadyCompressed, and both it and
Analyzeclassify through the sameclassifyByMagic, leaving one authority on what "already
compressed" means. The check sits after themin_sizefloor, so an object below the floor is not
sampled, and after the enabled check, so a mount with compression off samples nothing at all.Not done, deliberately: nothing is skipped on entropy. High entropy is evidence that compression
will not help, not proof, and no threshold for it has been measured here — declining to compress on a
guess is worse than spending the pass. Formats whose compression is internal to the container (CRAM,
Parquet, ORC, HDF5, Zarr) are also not skipped, since the container's magic bytes say nothing about its
contents;docs/features/compression.mdnow sorts the formats into the two lists explicitly, and
TestAlreadyCompressedMatchesTheDocumentedFormatListsfails if that page and the table disagree. -
A mount now publishes what it is spending at AWS ([#226]).
objectfs_s3_costis a new gauge family
carrying billable request counts by pricing group, bytes retrieved, three dollar figures, and — beside
each — the rate it was computed at, labelled with the region the rates were resolved for and the storage
tier they belong to. Before this,internal/awsratesheld a rate table verified against the live AWS
Pricing API by an integration test, and every path from a rate to a user was severed: the
access-pattern report was gated behind a config key no mount could set,internal/costhad zero
importers, andmetrics.RecordCosthad no caller anywhere.The requests are counted in the AWS SDK's own response path, not at the wrapper layer, and that is
the substance of it rather than a detail. The eight places this backend records metrics are not
one-to-one with billable calls: a 5 GBPutObjectis one wrapper call and 641 requests to S3 — one
CreateMultipartUpload, 639UploadParts, oneCompleteMultipartUpload— and a largeCopyObject,
a parallel ranged read and the capability probes fan out the same way, one of them counted nowhere at
all. Every one of those errors is in the direction that flatters. A middleware in the SDK's Deserialize
step, installed on every client this package builds including the connection pool's, cannot disagree
with what S3 received because it is what S3 received. It counts per attempt, since the retryer
re-enters that step; it requires a response, since a connect or DNS failure never reached S3 and is not
billed; and it counts only statuses below 500, because AWS does not bill for its own server errors
and does bill 4xx — aHeadObjectreturning 404 is a charged read, and 5xx during an S3 event would
otherwise inflate the figure at the moment an operator is looking at it hardest.Four pricing groups, not AWS's two request tiers: writes, lists, reads, and the free operations. Lists
are separate from writes even though the published price list calls both "Tier1", because on
DEEP_ARCHIVE a PUT is $0.05 per 1,000 and a LIST is $0.005 per 1,000 — a factor of ten, and pricing
a directory traversal at the write rate would overstate it worst on the class where the error is largest.
Classification is by operation-name prefix and an unrecognized operation counts as a write, so an
operation this code has never heard of makes the reported cost too high rather than too low.What the figures are is stated narrowly, because a cost number that implies more than it knows is worse
than none. They are this process's spend since it started, at list prices for the first volume band:
not a bill, and not a reconciliation of one.bytes_storedis what this mount has uploaded, not the
bucket's size — nothing lists the bucket, since that would be a billed request per scrape to publish a
metric. Every figure is monotonic and there is no reset, because rate-of-change is the form a useful
alert on cost takes and a counter something can zero is one that will be zeroed. A fresh mount reports
read_requestsof 1 before any filesystem work:NewBackend's health check is aHeadBucket, AWS bills
it, and the tests assert that 1 rather than asserting zero.Verified against a recording proxy rather than against the counter's own arithmetic: the tests compare
what the tally counted with what the S3 endpoint actually received, including a multipart write where
both sides must agree and the count must exceed the number of parts, and an injected 500 where the
counted total must equal the observed total minus the server errors. The dollar assertions state AWS's
published rates as literals and divide in the test, per the lesson from [#220]: the old tests passed
1024*1024*1024bytes, called it one GB, and asserted the per-GB rate came back — an expectation that
holds under both the right divisor and the wrong one. Byte-to-GB conversion goes through
awsrates.GBFromBytesthroughout, and the mutation to a binary divisor is caught with a ratio of
0.9313, which is exactly the 7.4% gap. -
A cache miss now reads further when a peer holds more of the object ([#142]). A read that misses
asks the cluster who holds the key and, if some peer holds a range reaching past what was just read,
reads ahead to the end of that range — capped at 4 MiB per miss. The bytes come from S3, not from the
peer: a gossip datagram carries 5802 bytes of object at the default limit, so a 128 KiB read is 21×
over and fails as a 30-second timeout on the requesting host ([#399]). What a peer's claim is evidence
of is that the key is hot in this cluster, which is the one thing a cold node cannot learn on its own,
and it is worth acting on even when the bytes still cost an S3 read.A claim is acted on only at the version this node is reading. A holder's range describes the object
it cached; against a different version the object may have a different length entirely, so warming on it
would fetch bytes chosen by a claim about something else. A version mismatch — or no known version on
either side — warms nothing, which costs exactly the read the application asked for. Every claim at the
matching version is considered and the furthest-reaching one wins, since holders arrive freshest-first
and freshest is not furthest.Warming goes through the existing read-ahead queue, so it inherits clamping to ...
ObjectFS v0.12.0
Coordination stops pretending. ObjectFS's distributed layer had a consistency taxonomy, a Raft log,
and a CacheReplicator; what it did was send the same PUT to N nodes writing the same key and call
majority success linearizable. That is replaced by compare-and-swap on the object store itself —
Backend.PutObjectIf asserts a precondition, internal/coord's lease re-asserts the CAS on every
guarded action, and an endpoint that cannot honour a precondition is refused rather than downgraded.
The code that simulated the guarantee is deleted rather than left as a fallback, because a fallback
here reports success to every contender for a lease, which is the outcome the mechanism exists to
prevent.
This tag carries two closed milestones: Distributed Foundations & Install Simplicity (24 issues)
and Test Harness, Coverage & Build Hygiene (24 issues). Both were at zero open before it was
cut.
The second is what makes the first credible. Four SDKs shipped in this repository and not one of
them compiled: the JavaScript SDK had 48 tsc errors, the Java SDK four mvn compile errors, and
the C SDK a maximum-length S3 key that came back one byte short — each surviving because no CI job
ran the compiler. Four build tags carried code nothing built. Ten tests in tests/fuse_test.go
asserted against the mock they constructed rather than against the filesystem they discarded. A
release that adds a coordination primitive on top of that has no basis for the claim, so the gates
came first: every build tag compiles in CI, every SDK builds and tests, the lint backlog is 570 →
299, and the four suites that could not fail are gone rather than repaired.
Two findings are worth reading before deploying. Ceph RGW ≤ 19.2.0 implements conditional writes
partially — it answers 412 for a key that does not exist, rejects the quoted ETag it just
returned, and ignores preconditions on CompleteMultipartUpload, so a conditional write large
enough to be multipart is silently unconditional. The mount-time capability probe now detects this
and refuses; docs/design/conditional-write-compatibility.md records the full matrix, measured
against real AWS, MinIO and RGW endpoints rather than read from documentation. Separately, gossip
had no message authentication, and a cluster will not start without a shared secret.
What changed
- Added — 19 entries
- Fixed — 75 entries
- Changed — 13 entries
- Removed — 8 entries
- Security — 2 entries
The full text of each entry is in CHANGELOG.md, under [0.12.0].
It is long by intent: an entry records what was wrong and how the fix was verified,
which is the evidence a filesystem release has to carry.
Verify a download:
sha256sum -c objectfs-<platform>.tar.gz.sha256
Container image: ghcr.io/scttfrdmn/objectfs:0.12.0
Full changelog: https://github.com/scttfrdmn/objectfs/blob/v0.12.0/CHANGELOG.md
ObjectFS v0.11.0
POSIX completeness and write-path safety: the operations a user reaches for first — rm, rmdir,
mv, chmod — do the thing rather than returning an error or, worse, succeeding without acting. All
28 issues on the milestone closed before this tag was cut.
Two themes run through it. The first is that a configuration key should select something: nine
blocks that a loader had never read now reach the code they name, and the pricing region — read at
exactly one line, and only to label a summary — now picks the prices, so a mount in sa-east-1 no
longer reports us-east-1's rates under its own region's name. The second is that a fix is paired
with the mechanism that fails if it recurs, because most of what this release corrects was invisible
to the compiler, to vet, and to lint: a config key nothing reads, a cost figure nothing checks, a
gate that cannot fail.
This is the first release cut from the merge commit that closes its milestone, which is the rule
v0.10.3 established after two tags shipped without the work they were named for.
Added
-
rmandrmdirwork.UnlinkandRmdirdelete the object rather than returning EROFS
([#163]). The stub they replace was itself a fix — go-fuse defaults an unimplemented
NodeUnlinkerto success, so before itrmexited 0, the kernel dropped the inode, and the
object stayed in the bucket billing with no path that reached it. Three details are load-bearing
and are pinned by tests:- Deleting a file discards whatever the write path still holds for it.
echo x > f; rm fis
ordinary and the kernel does not guarantee a flush before the unlink, so a surviving dirty range
would be PUT back by the next flush or by the unmount — the file returning from the dead at its
written size, with no error anywhere. rmdirrefuses a non-empty directory with ENOTEMPTY. S3 has no directories, so removing a
prefix's marker object while objects remain under it would succeed at the storage layer and leave
every one of them present, billing, and unreachable through the filesystem.- A missing file is ENOENT, not success. The backend's
DeleteObjectno-ops a key that is not
there — S3's contract — so absence is checked explicitly, and it is checked against both the
bucket and the write path:Createrecords attributes without a PUT, so a just-created file is
real and visible tostatwith no object behind it yet.
- Deleting a file discards whatever the write path still holds for it.
-
mvworks, and the README says exactly how far short of POSIX it falls.Renamecopies
server-side and then deletes, per object; renaming a directory moves everything under its prefix
([#164]). Before this, go-fuse's default for an absentNodeRenameranswered everymvwith
ENOTSUP. Six properties are load-bearing, each pinned by a test that was verified by mutation —
the implementation was broken in that specific way and the test watched to fail:- Each source object is deleted only after its own copy has succeeded. An interruption
therefore leaves the data at the old name, the new name, or both — never at neither. Duplicated
data is an operator's cleanup problem; missing data is not recoverable, so the ordering is fixed
in that direction deliberately, and a partial directory move is resumable by re-running the same
mv. - The copy is server-side. Reading and rewriting through the process would make renaming a
10 GiB file cost 20 GiB of transfer, and renaming a directory that times the object count.
Objects above S3's 5 GiB single-partCopyObjectlimit route throughUploadPartCopy. - The write path is flushed before the copy runs. A copy acts on objects, so a file whose only
content is dirty ranges in memory is invisible to it:echo hi > a; mv a bwould have copied a
key that did not exist yet, deleted the source, and then flushed the pending ranges back to the
old name — the file landing at neither name the user asked for. - The moved node is repointed, recursively for a directory.
go-fuse'sMvChildre-parents the
same inode, so theFileNodesurvives a rename holding the path it was constructed with. A
stored path is stale the moment a rename succeeds, and the consequence is silent in a way nothing
would catch: aftermv a b, a write tobflushed toaand recreated the source the rename
had just deleted. A stale key is a valid key, so every S3 call succeeds. - Prefix matching is on a path boundary.
mv dir dir-newmust not movedir2/file. That is not
a hypothetical spelling mistake — it is the same defect the cache'skeyMatcheshad, found in the
same audit. renameat2'sRENAME_EXCHANGEandRENAME_NOREPLACEare refused withEINVAL, not
approximated. Both are atomicity promises copy-then-delete cannot keep,EINVALis what the
kernel and libc expect for an unsupported flag, andmvand Git fall back correctly on it. A
foreignnewParentisEXDEV, which is what go-fuse's ownLoopbackNodeanswers.
There is no atomic alternative to reach for. S3's
RenameObject, added in 2026, is
directory-bucket (S3 Express) only, and object annotations — which ObjectFS needs for POSIX
attributes — are unsupported on directory buckets, so the two features are mutually exclusive. The
README now carries a Rename is not atomic section stating what a concurrent reader can observe,
what an interruption leaves behind, and which tools that breaks: anything relying on the
write-temp-then-rename idiom for atomic replacement is not safe here between concurrent writers. - Each source object is deleted only after its own copy has succeeded. An interruption
-
types.Backend.CopyObject, a server-side copy that preserves content encoding, content type,
storage class, and user metadata. Each of the four is a requirement rather than a nicety, and the
interface documentation says which failure each one prevents: the read path dispatches decoding on
the storedContent-Encodingand fails closed on one it cannot handle, so dropping it would leave a
compressed object permanently unreadable with its bytes intact; the storage-class default is
STANDARD, so dropping it would silently promote the object out of the tier being paid for; and
POSIX mode, ownership, and mtime live in user metadata and nowhere else, so dropping it would reset
a file's permissions, which is not a thingrenamedoes. Encryption is applied from configuration
rather than copied from the source, so a key rotation reaches renamed objects. -
internal/testaws: aDirectoryMarkerDeletecapability probe, andRequireDirectoryMarkerDelete
to skip on its absence. Deleting adir/marker whiledir/childstill exists panics the substrate
emulator, because its object store is a filesystem abstraction wheredir/is the directory
holding the child, and removing it orphans the child (filed as
scttfrdmn/substrate#534, reproduced against
afero alone with no substrate involved). In S3 a key is an opaque string anddir/is an ordinary
object, so this is the emulator's property and not ObjectFS's — which is the reason for a runtime
probe rather than an assertion either way. The alternative was to assert the emulator's behavior as
expected, which would encode a dependency's bug as this project's contract. -
internal/storage/s3/copy_live_test.go(-tags=integration) covers the multipart copy path against
real AWS, at real part sizes. It has no hermetic equivalent: substrate dispatches on
x-amz-copy-sourcebefore checkinguploadId, so it answers anUploadPartCopyas a whole-object
copy with a 200 (substrate#532). That leaves the branch where a mistake is most expensive resting on
nothing but reading — abandoned multipart parts are billed and invisible toListObjects. Two
shapes, both deliberate: a legal three-part copy with a short final part, which is where
inclusive/exclusive range mistakes surface, and an illegal one that S3 rejects at
CompleteMultipartUpload, which is how the abort path gets a failure arriving after every part has
already uploaded. -
A
fuse:section in the configuration file, and it is the first one any loader has read
([#180]).direct_io,keep_cache, andsync_read. Nine fields oninternal/fuse.MountOptionsand
internal/fuse.Configcarried yaml tags for a whole release and were decoded by nothing, because
config.Configurationhad nofusekey at all — so afuse:block in a config file was silently
discarded, and the two flags that reach the kernel per-open were settable in Go and returned as the
literal0from everyOpen. All three new fields default to false, false is the kernel's own
behavior for each, andNewDefaulttherefore names nofusesection: the zero value is the
default, and a second place for it to live is how the last set drifted.Each of the four seams between the YAML key and the value the kernel receives is now asserted by a
test verified by mutation — the mapping was deleted or reverted to v0.10.0's code and the intended
test watched to fail. That is the point of the change rather than a detail of it: every one of those
nine fields was correct at the layer that declared it, and died at a boundary no test crossed. The
adapter mapping in particular passed its package's whole suite with the three assignment lines
removed, which is why it was extracted into a method that can be called without a mount.What the flags do to the kernel — whether a second
read(2)at the same offset reaches the
filesystem, whether cached pages surviveopen(2)— cannot be observed without/dev/fuse, so it
lives behind afuse_mountbuild tag with amake test-fuse-mounttarget. CI compiles the tag it
cannot run, because a build tag nothing compiles is how four others in this repo came to carry code
that does not build ([#240]). Those tests fail rather than skip when the device is ab...
ObjectFS v0.10.3
Part 4 of the v0.10.0 audit: say only what the code does, and bill accurately. The audit found that
documentation, cost figures, and repository metadata each asserted things no mechanism checked, so
most of what follows is a correction paired with the gate that fails if it recurs — five of them,
now running on every PR.
This release exists because of a numbering defect worth stating plainly, since it is the second
instance of the same one. v0.10.2 was tagged when the first of this milestone's twelve issues
closed, and the remaining eleven landed after it — so the tag published under that number holds the
packaging fix and none of the work below, exactly as v0.10.1 was tagged two hours before the
module-path fix it was cut for. A tag is not a promise that can be revised: it is already in the
GitHub releases list and cached by the Go module proxy, which resolves a version to one tree
forever. So the fix is a new number rather than a moved tag, and the rule that prevents a third
instance is to cut the tag from the merge commit that closes the milestone, not from the one that
opens it.
Added
- A gate that fails when
CHANGELOG.md's version headings and its link definitions disagree. Keep a Changelog puts each release in a bracketed heading and defines the link separately at the bottom of the file — two hand edits per release with nothing connecting them, and markdown fails silently in both directions. An undefined reference renders as the literal text[0.10.2]instead of a link; a definition with no section renders as nothing. Neither breaks a build, fails a lint, or produces a visibly wrong page, so the only witness is a reader noticing a heading stopped being clickable, which is not a thing readers report. Both halves had already broken:[0.10.2]was never defined at all, and[Unreleased]still compared fromv0.10.1— so the link that answers "what is onmainbut not released" spanned two releases and 52 entries of already-released work.internal/config/changelog_test.gochecks three properties: every section has a definition and every definition has a section,[Unreleased]compares from the version constant, and each release's diff starts at the release immediately before it. The third exists because that failure is the one that renders and resolves — copying the previous definition and editing only the right-hand side produces a real GitHub diff covering more releases than the section it is attached to. All four failure modes were verified by mutation, which is also how the orphan-definition message got fixed: it printed the URL where the version belonged. This is the same defect the release itself is about, one file over — a fact restated in a second place with no mechanism to notice the two have drifted - A gate that fails when documentation names a Go symbol or a CLI flag that does not exist.
internal/config/docs_symbols_test.goextractspkg.Symbolreferences from fenced Go blocks — checked against the packages that same block imports, parsed withgo/ast— andobjectfscommand lines from shell blocks, checked against the flagscmd/objectfs/main.goactually declares. This is the mechanism #182 asked for, and the point is that it fires at authoring time: correcting the nineteen files that issue cataloged only resets the clock, since a fenced code block is a string as far as the compiler, vet, and lint are concerned. It found eleven defects on its first run, listed under Fixed below, and a companion test compares the flag list againstmain.goso the two cannot drift apart silently. The admission rule — which references get checked — was chosen by measuring three candidates rather than guessed: checking everylowercase.Uppercasein every Go block gives 93 findings of which 3 are real (s3.Clientis the AWS SDK,errors.Isis the standard library), file-scoped imports give 5 of which 3 are real, and block-scoped gives 3 of 3 with no false positives. Its one known blind spot is stated in the test rather than left to be discovered: a continuation block that uses a package imported by the block above it is not checked - A gate that fails when documentation links at a page that does not exist.
internal/config/docs_links_test.goextracts every relative markdown link from every tracked markdown file and resolves it on disk — relative paths against the linking file's directory, root-absolute paths indocs-platform/against VitePress's routing rule, where/guide/installationis served fromguide/installation.mdand/api/fromapi/index.md. This is #208's mechanism, and it is a Go test rather than the link checker in CI that issue proposed for three reasons recorded in the file: it needs no network and no new tool, so pre-commit and CI check at identical fidelity; it sits with the gates a contributor already satisfies; and an exemption can carry its reason in code, the waydocsExemptFromConfigSchemadoes. It found 45 dead links, not the 24 the issue catalogued — because #208 was written by walkingdocs/, and two whole classes live outside it: 13 links into SDKexamples/directories that have never existed, and 8 root-absolute VitePress routes. That gap is the finding, and it is the same shape asdocs_test.go'snestedSectionNames: scoping a gate to where the defects were already known is how the next cluster stays invisible. A link target is a path, not a symbol, which is why the symbol gate above cannot see it — a link written as[tuning]followed by(./perf.md)is prose to the compiler, to vet, and to lint, and stays prose after the file is renamed. A third test asserts the walk's reach rather than its findings, and it earns its place: a mutation that made the link regexp match nothing left the resolving test passing on zero links and green, and only the reach test caught it - A gate that checks
mkdocs.yml's nav against the tree, in both directions.TestMkDocsNavMatchesTheTreeasserts that every nav entry has a file and that every page underdocs/is either in the nav or exempt with a stated reason. Both directions, because that is how the defect ran: 47 of 50 entries pointed at no file, and 14 of the 17 pages in the tree were missing from the nav. Checking only that entries resolve would have left the orphans, which is the half a reader loses — a page absent from the nav is a page nobody finds. A nav entry is a link target with a different syntax, and that syntax is why it went unchecked: the link gate walks markdown, andnav:is YAML. It is a line scan rather than a YAML parse for a stated reason —mkdocs.ymlcarries!!python/name:tags for the emoji and superfences extensions, so decoding it needs a custom resolver or unsafe mode, and the nav is a flat list of- Title: path.mdlines that needs neither docs/features/compression.md— what transparent compression costs, and when it saves nothing. The question it answers is the one #186 was filed for: project-level compression saves bandwidth and end-to-end latency, so what else does it buy? Less than you would expect. It names four costs, each measured rather than asserted: a compressed object is not readable by anything but ObjectFS (aws s3 cpand boto3 both write the raw zstd frame to disk with a successful exit status — no error to notice); a 4 KiB read of a compressed object transfers the whole stored object, which is 1,836× / 7,344× / 29,380× amplification at 16/64/256 MiB; enabling compression turns off parallel range reads for every object in the bucket, compressed or not; and on the three tiers with a 128 KB billable floor, compressing a 100 KB object to 40 KB changes the invoice by zero. Byte counts are presented as the result and wall-clock only as an aside, for a reason stated on the page — bytes are a property of the design, latency is a property of the day, and the audit's 15.6×/43×/216.5× and this page's 3.0×/5.0×/12.3× are the same defect measured on different days. Every figure is either linked to the AWS page that publishes it or carries its bucket, region, date, and payload, which isdocs-platform/index.md's standard after its hardcoded chart was removed. Two of the numbers #186 itself specified are wrong, and the page states what AWS publishes instead: AWS applies no minimum billable object size toGLACIER,DEEP_ARCHIVE, orINTELLIGENT_TIERING. The archive classes' 40 KB is metadata added per object (32 KB at the archive rate, 8 KB at Standard), which points the opposite way from a floor — compression does reduce the bill there, it just cannot touch the surcharge, which is about 23× the payload for a 10 KB object onDEEP_ARCHIVE. Writing the page found three defects, filed as #228, #229, and #230- A gate that fails when
.github/labels.ymland the repository's labels disagree — in both directions.internal/config/labels_test.gois the fifth mechanical gate, and it exists because the file is a hand-maintained description of state held on GitHub and nothing compared the two, so they had drifted by nine labels. Both directions, because only one is intuitive: all nine existed on GitHub and were absent from the file, none the other way, so a sync that creates labels from the file is green on every one of them — it has nothing to create. That is the failure mode #190's own acceptance criteria name, and the test for the gate is the one they specify: create a label on GitHub without touching the file and confirm the job notices. Verified by doing exactly that, with a throwawayzz-drift-probe. Colors and descriptions are compared too, not just names — a label the file describes differently from the label that exists is drift with a longer fuse, because the name still filters correctly and nothing looks wrong. #190 proposed apaths:-filtered sync job that runs whenlabels.ymlchanges; measurement is why this one runs unconditionally instead. Every drift this repository has had originated on GitHub — tw...
ObjectFS v0.10.2
A packaging release, cut for one reason: v0.10.1 was tagged two hours before the module-path fix
merged, so the published tag still declared module github.com/objectfs/objectfs and
go get github.com/scttfrdmn/[email protected] failed with module declares its path as — the exact
defect #213 was filed for. The fix existed on main and in no tag, which from a user's position is
indistinguishable from not being fixed. Everything else here is the packaging and contributor-path
work that landed alongside it.
Added
SECURITY.md— a security policy, with private vulnerability reporting enabled on the repository so a finding has somewhere to go that is not the public issue tracker. It documents what a reader cannot get from the code quickly: that the trust boundary is the mounting host and ObjectFS enforces no authorization of its own, that two unauthenticated HTTP listeners bind all interfaces by default (:8080metrics anddebugendpoints,:8081health) with the switch that turns each off, thatmode: offis the encryption default and what changed after the withdrawn v0.10.0at_restkey, and both stated limits of the SHA-256 read verification — a partial read is not verified, and an object with no recorded checksum verifies trivially. Every claim in it was verified by execution rather than read off the configuration schema, which is how the two listener defects below were found
Fixed
- The test harness could record a request after the client already had the response, so its own assertions were load-dependent.
internal/testawsproxies every request and logs it, and the read-path suite asserts on that log: bytes transferred and GETs issued are how read amplification and cache behaviour are measured, because neither the AWS SDK nor the emulator reports them. The log entry was appended afterproxy.ServeHTTPreturned — but the proxy writes the body to the socket inside that call, so a client could hold every byte of a response whose request was not yet recorded. Measured at 45–70 of 640 concurrent ranged reads. The visible symptom was in a different package:internal/fuseTestShortFileIsServedFromCachefailed on its precondition — "the first read issued no GET" — which reads as the read path serving bytes from a cache the fixture had just created empty, in a test whose entire subject is cache correctness. One CI run in seven. Requests are now published on arrival and their response fields filled in on completion, with the accessors waiting for anything still in flight; verified in both directions, since a regression test that cannot fail proves nothing - The module could not be imported under the name it gave for itself.
go.moddeclaredmodule github.com/objectfs/objectfs, and the code lives atgithub.com/scttfrdmn/objectfs. Go resolves an import path by fetching that path, sogo get github.com/scttfrdmn/objectfsfailed on the mismatch between the path requested and the path declared, while the declared path is a different project — an unrelated Python repository from 2017, 28 stars, last pushed 2019, in a single-repo organisation created the same day. Nothing published has ever existed at the declared path, which is whypkg.go.devhad nothing to index and the Go Reference badge rendered empty. The path is corrected ingo.modand in all 154 files that named it — 132 Go files, plus thegoimportslocal-prefixessetting in.golangci.yml, theDockerfileimage-source label, and the repository URLs in the Python and JavaScript SDK manifests, which pointed contributors at the wrong project. Verified by building an external consumer module against the corrected path, rather than by grepping for the string. This is breaking for any code that imported the old path, though nothing could have: it was never fetchable - Dependabot could not update Go dependencies, and had never merged anything. Two unrelated defects presenting as one symptom. The Go ecosystem failed on twelve consecutive weekly runs while
dockersucceeded in the same runs — Dependabot aborts per-ecosystem, so one broken ecosystem is silent unless the run list is read. The cause was upstream and is now resolved:proxy.golang.orghad no.modfor the pinnedcargoshipversion, Go fell through to direct git, and git reported the proxy's 404 ascould not read Username for 'https://github.com'— an authentication message for what was not an authentication failure, which is what sent the previous diagnosis after a credential that was never missing. Separately and more consequentially,.github/dependabot.ymllabelled every PRautomergeand that label did not exist; Dependabot drops unknown labels without reporting it, and every approve and merge step independabot-automerge.ymlwas gated on it, so 46 PRs were opened and none were ever merged. The label is now declared in.github/labels.ymlalongside the four others the config names .github/dependabot.yml:mavenandnpmecosystems forsdks/java,docs-platform, andsdks/javascript. Eight open Dependabot alerts — five againstjackson-databind, three againstvite, three of the eight high severity — were against manifests no ecosystem entry covered, so nothing could act on them.sdks/javascriptis included because CI runsnpm install && npm testthere on every PR, which makes its dependencies executed code. A ceiling worth stating: the npm security updates still cannot apply, because neither directory commits a lockfile and Dependabot cannot determine the installed version without one (#214).github/workflows/dependabot-automerge.ymlwaited oncheck-regexp: (test|lint|security).*, which is case-sensitive and start-anchored, so it matched 2 of the 9 checks CI produces and ignoredcoverage,config-examples, everycross-buildmatrix leg,sdk-metrics,fuzz-smoke, andSecurity Scan. The wait step is removed rather than corrected: which checks must pass now lives in branch protection onmain, which also governs human PRs and cannot drift from a regexp in a workflow file. Native auto-merge is enabled on the repository, without which the--autoflag would have failed even once the label matcheddocs-platform/docker-compose.ymlwas not valid YAML. Twohealthcheckentries put a bare URL inside a flow sequence, where the scanner readshttpas a plain scalar and then meets:in place of,or]. Docker's own parser is lenient enough to accept it, so it went unnoticed — butpre-commit run check-yaml --all-filesfailed on the file, which is the first thing a new contributor runs.gitignoredid not covercoverage/, the directorymake coveragewrites into. The three barecoverage.*filenames only match a profile written to the repository root, which no target producesscripts/setup-hooks.sh— the first commandCONTRIBUTING.mdtells a contributor to run — failed on any current macOS or Debian host, and exited 0 having installed nothing. Five defects:pip3 install pre-commitran first and dies withexternally-managed-environmenton a Homebrew or Debian Python (PEP 668), and because the installer was an if/elif chain testing only whether each command exists, a failingpip3never fell through to thebrewbranch that would have worked; the failure happened inside a condition, soset -euo pipefaildid not catch it; it installed gosec fromgithub.com/securecodewarrior/gosec, which is a 404 (the real module issecurego/gosec, whichsecurity.ymlalready uses); it pinned golangci-lint v1.55.2 against aversion: "2"config only v2.x can parse, handing contributors a lint failure that looks like their fault; and it wrote a.golangci.ymlif none was present, containing linters removed from golangci-lint years ago — now that a real config is committed, that branch would have overwritten it with an unusable one. Each install method is now tried until one succeeds,pipxfirst, every path verifies the command is onPATHafterwards, and the golangci-lint check is version-aware rather than presence-only. It also no longer overwrites.git/hooks/pre-commitwith a hand-rolled wrapper that blocked any commit touching a line matchingfmt.PrintorTODO, including inside a string literal or a comment explaining why a TODO is deliberatemakeprinted fouroverriding commands for targetwarnings on every invocation, includingmake help.BUILD_DIR := buildandCOVERAGE_DIR := coveragemade the directory-creation rule readbin build dist coverage:, colliding with the realbuildandcoveragetargets. The build worked — the later recipe wins, and both are.PHONY— but a build system that opens with four warnings reads as unmaintained, and the names would have genuinely collided the moment one stopped being.PHONY. Replaced with a%/.mkdirsentinel rule, which keeps the pattern out of the target namespace, declared as an order-only prerequisite so writing one binary does not rebuild its siblingspre-commit run --all-filescould not complete: thepretty-format-yamlhook crashed on import, because the pinned rev importspkg_resources, which modern setuptools no longer ships (Python 3.14 here). Bumped to a rev that does not. Fixing it exposed a second problem worth recording, since the obvious repair is the wrong one:check-yamlis PyYAML and follows YAML 1.1, where a bare URL in a flow sequence is a syntax error, whilepretty-format-yamlis ruamel and follows YAML 1.2, where it is legal — so quoting the URL to satisfy the first makes the second strip the quotes straight back off, and the two hooks disagree forever. Thedocker-compose.ymlhealthchecks are now block sequences, the one form both parsers accept and where there are no quotes left to remove.golangci.ymlis excluded from thepretty-format-yamlhook, which damages it: the formatter dedents every block sequence to its parent's column, destroying the nesting tha...
ObjectFS v0.10.1
Every entry below is user-facing, and the release is almost entirely one thing: the defects a deep
audit of v0.10.0 found, and the harness that would have caught them. v0.10.0 is withdrawn.
Four defects in v0.10.0 were verified by execution to lose or corrupt data, and one prevented the
shipped default configuration from mounting at all. They were not independent — they clustered in
three subsystems whose designs could not express what they were asked to do, which is why this
release adds internal/vfs rather than patching six call sites. The write path could not represent
an offset write, the read cache could not hit as keyed, and the FUSE node layer was missing most of
its contract.
The reason 32,680 lines of tests across 90 files caught none of it: every one was a seam defect —
a value correctly produced at one layer and silently dropped at the boundary to the next. A mock on
the far side of a seam agrees with its caller by construction. internal/testaws and
internal/difftest exist to remove that blind spot.
What changed
- Added — 57 entries
- Removed — 16 entries
- Changed — 34 entries
- Fixed — 101 entries
- Deprecated — 1 entry
The full text of each entry is in CHANGELOG.md, under [0.10.1].
It is long by intent: an entry records what was wrong and how the fix was verified,
which is the evidence a filesystem release has to carry.
Verify a download:
sha256sum -c objectfs-<platform>.tar.gz.sha256
Container image: ghcr.io/scttfrdmn/objectfs:0.10.1
Full changelog: https://github.com/scttfrdmn/objectfs/blob/v0.10.1/CHANGELOG.md