Skip to content

chore: a docs path that never existed, and four duplicate link definitions - #398

Merged
scttfrdmn merged 1 commit into
mainfrom
chore/housekeeping-docs-changelog
Aug 9, 2026
Merged

scttfrdmn merged 1 commit into
mainfrom
chore/housekeeping-docs-changelog

Conversation

@scttfrdmn

Copy link
Copy Markdown
Owner

Two independent housekeeping items from the same round. No behavior change.

1. docs/index.md pointed at a directory that does not exist

  • Systemd integration: service templates under deployments/

There is no deployments/ in this tree, and no deploy/ either — checked, not assumed. The real artifact is a single templated unit, configs/systemd/[email protected].

Replaced with the path plus the part that isn't guessable from the filename:

  • Systemd integration: one templated unit, configs/systemd/[email protected] — systemctl start objectfs@research-data reads /etc/objectfs/research-data.yaml, which must set mount.uri

That last clause matters because one unit file serves every instance and the instance name is the only thing systemd passes it, so the per-instance config is the only place the bucket can be named. The unit's own header says so; the docs page did not.

Same class of defect as the GetPredictiveCache symbol in #223 — a path in prose with nothing checking it. Grepped for other copies before committing: README.md:323 already links the correct file, and no other doc names a nonexistent deployment directory. This was the only stale one.

2. Four duplicate link reference definitions in CHANGELOG.md

ref kept removed
#179 1649 2690
#373 1655 2691
#240 1697 4084
#245 2961 4085

Reference definitions are document-scoped, so the later copies resolved nothing the first had not already resolved — markdownlint reported all four as MD053 on every run. Kept the first occurrence in each pair, which is the one in release-section order.

  • MD053: 4 → 0
  • MD052 (undefined reference): stays at 0, so every use still finds its definition — the thing that would actually break if the wrong copy were deleted

A stray double blank line (MD012) in the v0.12.0 section went with them. Not in scope as filed, but it was one line in a file already being edited and it was in the way of reading the output that matters.

Why these survived: CHANGELOG.md is excluded from the markdownlint pre-commit hook. The findings were real and blocked nothing, which is the condition under which lint output stops being read at all.

Verification

  • npx [email protected] CHANGELOG.md docs/index.md — no MD053, no MD052, no MD012; the only remaining findings are the pre-existing MD013 line-length ones in the old machine-generated v0.10.x sections, untouched here
  • configs/systemd/[email protected] confirmed present and its documented config path read from the file itself rather than from memory

Deliberately not included

Six merged branches (origin/cleanup/remove-dead-code, origin/fix/js-sdk-typecheck-and-fabrications, origin/v0.10.1-integrity, origin/v0.11.0-cli-subcommands, and local pr/191/pr/263) and one stash are still around. Deleting a remote branch is outward-facing and one of those was previously declined for deletion, so they are left for a specific instruction rather than folded into a housekeeping PR.

@scttfrdmn
scttfrdmn force-pushed the chore/housekeeping-docs-changelog branch from 98f93df to b8e7bd7 Compare August 9, 2026 01:20
…tions

docs/index.md said systemd "service templates under `deployments/`". There is no
deployments/ in this tree and no deploy/ either — verified, not assumed. The real
artifact is one templated unit, configs/systemd/[email protected], and the line
now names it plus the part that is not guessable from the filename: `systemctl
start objectfs@research-data` reads /etc/objectfs/research-data.yaml, which must
set mount.uri, because one unit file serves every instance and the instance name
is the only thing systemd hands it.

Same class as the GetPredictiveCache symbol in #223 — a path in prose with
nothing checking it. Grepped for other copies: README.md already links the real
file, and no other doc names a nonexistent deployment directory, so this was the
only stale one.

CHANGELOG.md had four duplicate link reference definitions — #179 and #373
defined at both 1649/1655 and 2690/2691, #240 at 1697 and 4084, #245 at 2961 and
4085. Reference definitions are document-scoped, so the later copies resolved
nothing the first had not; markdownlint reported all four as MD053 on every run.
Kept the first occurrence in each pair, which is the one in release-section order.
MD053 is now 0 (was 4) and MD052 stays clean, so every use still finds a
definition. A stray double blank line (MD012) in the v0.12.0 section went too.

They survived because CHANGELOG.md is excluded from the markdownlint pre-commit
hook: the findings were real and blocked nothing, which is the condition under
which lint output stops being read at all.
@scttfrdmn
scttfrdmn force-pushed the chore/housekeeping-docs-changelog branch from b8e7bd7 to 4a1113a Compare August 9, 2026 01:24
@scttfrdmn
scttfrdmn merged commit 33816e6 into main Aug 9, 2026
35 checks passed
@scttfrdmn
scttfrdmn deleted the chore/housekeeping-docs-changelog branch August 9, 2026 01:29
@scttfrdmn scttfrdmn mentioned this pull request Aug 9, 2026
scttfrdmn added a commit that referenced this pull request Aug 9, 2026
Bumps the version constant, promotes `## [Unreleased]` to `## [0.13.0] - 2026-08-09`, and moves the
supported-versions table on.

`cmd/objectfs/main.go`'s constant is the only authority for the version — `release.yml` seds it and
fails the release if the tag disagrees — so this is the one place it changes. The CHANGELOG's
Unreleased section was audited against all 18 commits in `v0.12.0..main` before promotion rather than
trusted: every user-facing change is present, and the two commits without an entry (#398, #392) are
test-infrastructure with nothing a user can observe.

The release lede states what the tag is actually about, which is that two subsystems that existed and
did nothing now do something. `cluster.enabled: true` started a gossip ring and stopped: no
ClusterManager, no coordinator on FileSystem, `AnnounceKey`/`QueryKeyOwnership` returning
ErrNotSupported from stubs. And `internal/awsrates` held live-API-verified prices with every path to a
user severed, percentiles were declared and never assigned over a histogram that was `ms % 100`, an
acceleration fallback was permanent and invisible, and compression ran zstd over BAM and then discarded
the result.

Two things the lede is careful about, because a release note that oversells is the failure mode this
project has a history of:

- **Peer data fetch is not in this release.** Metadata travels over gossip; the bytes come from S3. The
  reason is measured, not architectural taste: a sealed datagram carries 5802 bytes of payload, so a
  128 KiB read is 21x over and used to fail as a 30-second timeout on a different host (#399).
- **Cost accounting is not Cost Explorer.** The counts come from a middleware in the AWS SDK's
  Deserialize step because that layer and the wrapper layer disagree — a 5 GB PutObject is one wrapper
  call and 641 requests — and they are this mount's requests, per attempt, excluding 5xx.

SECURITY.md's 0.12.0 row says its `cluster.*` settings had no security posture rather than implying
they had a weak one: a 0.12.0 mount never started coordination at all, which is what #139 fixed, so
0.13.0 is the first release where those keys mean anything and it refuses to start a cluster without a
gossip secret.

Verified: go build, gofmt, go vet, golangci-lint (0 issues), `go test -race ./...` with no FAIL, panic
or data race, and the four CHANGELOG/version invariant tests in internal/config that police link
references, the Unreleased compare target, and consecutive-release compare links.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant