Repository navigation
feat(pages): serve objectfs.io, and gate what the page is allowed to claim - #429
Merged
Merged
Conversation
…claim Pages was off on this repository for its entire history. `pages.yml` turns the domain into a served site: a landing page from `web/` at the root, the MkDocs tree beneath it at `/docs/`. The page states the contract, including the part that is a list of refusals — no atomic rename, no cross-host locking, no concurrent-writer safety, no checksum on a partial read, no Windows. A reader who learns from the front page that SQLite and Git-inside-the-mount do not work across hosts has been told the thing that would otherwise cost them a corrupted repository, and every documentation tree here has a history of the opposite: docs-platform's getting-started opened with `curl https://get.objectfs.io | sh` beside an apt repository, a Homebrew tap and an AUR package, none of which existed, and docs/index.md published five throughput figures of which zero were measured. The site quotes no throughput number for that reason. `benchmarks/` exists; until it runs against a named bucket and object size, silence is the honest answer. So the page is gated rather than trusted, by internal/config/landing_page_test.go: its install flags must be flags scripts/install.sh parses, no release version may appear outside a code block, no subdomain but the apex may be linked, every local reference must resolve inside web/ — all the deploy copies — and web/CNAME must name the domain, since a deploy missing that file clears the custom domain and takes the site down with no commit that looks responsible. Six mutations of those properties each fail the intended test. Only the apex is served, and resolution cannot tell you that. Porkbun answers a wildcard, so `get.`, `packages.`, `docs.` and any typo resolve identically and complete no TLS handshake — which is why the domain check is a test and not a glance at dig. `mkdocs build` runs `--strict`, which meant fixing eight warnings it had been emitting into a site nobody built: seven links from inside docs/ up to the repository-root README.md and SECURITY.md, correct on GitHub and dead in any built site, two of them also aimed at `#supported-operations` where the heading is `## Supported filesystem operations` — so those two were broken on GitHub as well. docs-platform/ is deliberately not published: two sites answering the same question, with no rule for which is current, is how the fabricated install channels survived. Also corrects two comments in release.yml that this change makes false: the deleted `update-docs` note asserting Pages is not enabled, and the packaging note's claim about what the apex resolves to.
scttfrdmn
added a commit
that referenced
this pull request
Aug 14, 2026
…o host is absent install.sh's header said "Both objectfs.io and packages.objectfs.io resolve to registrar parking IPs", which stopped being true when #429 put the landing page and the docs on Pages. The conclusion is unchanged and the reason it is unchanged is the part worth writing down: Porkbun answers a wildcard, so packages.objectfs.io resolves exactly like every other name under the domain and completes no TLS handshake. Resolution was never the evidence — which is the same argument the landing-page domain test exists to make.
scttfrdmn
added a commit
that referenced
this pull request
Aug 14, 2026
…433) * ci: stop install-script from throwing away the output it asserts on The success branch captured the install output in a command substitution without `|| true`, so under `set -e` a failing install killed the step at the assignment and `echo "$out"` never ran. The log then held only bash's /opt/ofs/bin/objectfs: No such file or directory Process completed with exit code 127 and none of the three ::error:: messages below it — messages written specifically for the runs where they would now never be printed. The refusal branch above already has `|| true` for exactly this reason. Found while diagnosing a transient rockylinux:9 failure on #431 whose only diff was a toolchain line. The same job passed on main and on #430 at the same time, and the rerun was green, so the failure was a flake — but the flake's cause is unrecoverable because the step discarded the evidence. A job whose assertions can only be read when they pass reports the same non-answer this job exists to reject. The idempotency step below has the same shape and does not need the same fix: its substitution ends in `[ ... ] && echo SAME || echo DIFFERENT`, which exits 0 regardless. * docs(install): objectfs.io is served now, and that is not why the repo host is absent install.sh's header said "Both objectfs.io and packages.objectfs.io resolve to registrar parking IPs", which stopped being true when #429 put the landing page and the docs on Pages. The conclusion is unchanged and the reason it is unchanged is the part worth writing down: Porkbun answers a wildcard, so packages.objectfs.io resolves exactly like every other name under the domain and completes no TLS handshake. Resolution was never the evidence — which is the same argument the landing-page domain test exists to make.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pages was off on this repository for its entire history — which is why
release.yml's deletedupdate-docsjob could only ever have failed. It is on now (build_type: workflow, custom domainobjectfs.io), the Porkbun records point the apex at GitHub's addresses, and this PR is the content: a landing page fromweb/at the root, the MkDocs tree beneath it at/docs/.What the page says
It states the contract, including the part that is a list of refusals — no atomic rename, no cross-host locking, no concurrent-writer safety, no checksum on a partial read, no Windows. That is not modesty. A reader who learns from the front page that SQLite and Git-inside-the-mount do not work across hosts has been told the thing that would otherwise cost them a corrupted repository, and every documentation tree here has a history of the opposite:
docs-platform/guide/getting-started.mdopened withcurl -sSL https://get.objectfs.io | sh— a getting-started guide whose first command is a domain that has never served anything — beside an apt repository, a Homebrew tap and an AUR package, none of which existed.docs/index.mdpublished five throughput figures. Zero were measured; the last was CargoShip's number for CargoShip's workload.The site quotes no throughput number for that reason.
benchmarks/exists, and until it runs against a named bucket and object size, silence is the honest answer.The terminal on the page deliberately demonstrates a failure reaching the caller — a failed PUT failing the syscall with a non-zero exit status — because that is the project's actual thesis and it is not what a hero terminal usually shows.
Why it is gated rather than trusted
internal/config/landing_page_test.go, five gates:InstallCommandsMatchTheScriptinstall.shline has a parsing case inscripts/install.shStatesNoVersionX.Y.Zin prose outside a<pre>— theversionconstant is the only authority, after five files claimed five different numbersNamesNoUnservedDomainIsDeployedWithItsAssetshref/srcresolves insideweb/, which is all the deploy copies;web/CNAMEnames the domainPagesWorkflowBuildsDocsStrictly--strictand the CNAME check survive in the workflowAll six mutations of those properties fail the intended test and are clean when restored. What this cannot check is whether a sentence is true — only whether it agrees with something else in the repository that is itself checked. That is the same reason the page says nothing about throughput: a claim with nothing to agree with cannot be gated, so the page does not make it.
Two failure modes the workflow guards
CNAMEin the artifact clears the custom domain configured on the repository. The site would go down with no commit that looks responsible, so the assembly step greps for it and the test does too.mkdocs buildwithout--strictpublishes a broken site silently. Turning it on meant fixing eight warnings it had been emitting into a site nobody built: seven links from insidedocs/up to the repository-rootREADME.md/SECURITY.md, correct on GitHub and dead in any built site, two of them also aimed at#supported-operationswhere the heading is## Supported filesystem operations— so those two were broken on GitHub as well. They survived because nothing had ever built the tree.docs-platform/is deliberately not published:ci.ymlalready gates it, and two sites answering the same question with no rule for which is current is how the install-channel fabrications survived.Only the apex is served, and DNS cannot tell you that
Porkbun answers a wildcard, so
get.,packages.,docs.,community.and any typo resolve to the same record and complete no TLS handshake. An unconfigured subdomain is indistinguishable from a deliberate one by resolution alone — which is why the domain check is a test and not a glance atdig.Also in here
release.ymlhad two comments this change makes false: theupdate-docsnote asserting Pages is not enabled, and the packaging note's claim about what the apex resolves to. Both corrected.docs/index.md,docs-platform/index.mdandmkdocs.yml'ssite_urlupdated for the same reason.Verification
go build ./... && gofmt -l . && go vet ./... && golangci-lint run— cleango test -race ./...— clean, full suitemkdocs build --strict— clean/,/css/style.css,/assets/favicon.svg,/docs/all 200; every local reference resolvesbash -s --piped formhttps_enforcedis stillfalse— the API returns404 The certificate does not exist yetuntil GitHub provisions one, so that gets set after this deploys.